OccTemplateDto Data Type

The Class OccTemplateDto.

Implemented Interfaces
Serializable
Properties
name data type constraints description
id number   The id.
auditableField array of AuditableFieldDto  
accountingCode string   The accounting code.
code string required The code
accountCode string   The account code.
occCategory OperationCategoryEnum   The occ category.
description string   The description
accountCodeClientSide string   The account code client side.
updatedCode string   The updated code.
journalCode string   The journal code.
accountingScheme AccountingSchemeDto   The accounting scheme.
contraAccountingCode string   contract accounting code
contraAccountingCode2 string   commission accounting code

Example

{
  "id" : 12345,
  "auditableField" : [ {
    "entityClass" : "...",
    "fieldName" : "...",
    "id" : 12345,
    "changeOrigin" : "...",
    "auditableField" : [ { }, { } ],
    "originName" : "...",
    "code" : "...",
    "previousState" : "...",
    "currentState" : "...",
    "description" : "...",
    "created" : "...",
    "updatedCode" : "...",
    "actor" : "..."
  }, {
    "entityClass" : "...",
    "fieldName" : "...",
    "id" : 12345,
    "changeOrigin" : "...",
    "auditableField" : [ { }, { } ],
    "originName" : "...",
    "code" : "...",
    "previousState" : "...",
    "currentState" : "...",
    "description" : "...",
    "created" : "...",
    "updatedCode" : "...",
    "actor" : "..."
  } ],
  "accountingCode" : "...",
  "code" : "...",
  "occCategory" : "CREDIT",
  "description" : "...",
  "updatedCode" : "...",
  "journalCode" : "...",
  "accountingScheme" : {
    "longDescription" : "...",
    "id" : 12345,
    "auditableField" : [ {
      "entityClass" : "...",
      "fieldName" : "...",
      "id" : 12345,
      "changeOrigin" : "...",
      "auditableField" : [ { }, { } ],
      "originName" : "...",
      "code" : "...",
      "previousState" : "...",
      "currentState" : "...",
      "description" : "...",
      "created" : "...",
      "updatedCode" : "...",
      "actor" : "..."
    }, {
      "entityClass" : "...",
      "fieldName" : "...",
      "id" : 12345,
      "changeOrigin" : "...",
      "auditableField" : [ { }, { } ],
      "originName" : "...",
      "code" : "...",
      "previousState" : "...",
      "currentState" : "...",
      "description" : "...",
      "created" : "...",
      "updatedCode" : "...",
      "actor" : "..."
    } ],
    "longDescriptionsTranslated" : [ {
      "languageCode" : "...",
      "description" : "..."
    }, {
      "languageCode" : "...",
      "description" : "..."
    } ],
    "code" : "...",
    "scriptCode" : "...",
    "description" : "...",
    "updatedCode" : "..."
  },
  "contraAccountingCode" : "...",
  "contraAccountingCode2" : "..."
}