The Class OccTemplateDto.
| name | data type | constraints | description |
|---|---|---|---|
| id | number | The id. | |
| auditableField | array of AuditableFieldDto | ||
| accountingCode | string | The accounting code. | |
| code | string | required | The code |
| |
|
|
|
| occCategory | OperationCategoryEnum | The occ category. | |
| description | string | The description | |
| |
|
|
|
| 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" : "..."
}