OCCTemplate Data Type

Implemented Interfaces
IReferenceEntity, Serializable
Properties
name data type constraints description
accountingScheme AccountingScheme  
accountingCode AccountingCode  
auditableFields array of AuditableFieldHistory  
parentEntityType object  
referenceCode string  
parentEntity BusinessEntity  
contraAccountingCode2 AccountingCode  
description string max size: 255, min size: 0
occCategory OperationCategoryEnum  
codeChanged boolean  
notified boolean  
manualCreationEnabled boolean  
referenceDescription string  
version number  
descriptionAndCode string  
appendGeneratedCode boolean  
auditable Auditable  
historized boolean  
descriptionOrCode string  
id number  
code string required, max size: 255, min size: 1
accountCodeClientSide string  
transient boolean  
contraAccountingCode AccountingCode  
journal Journal  

Example

{
  "accountingScheme" : {
    "descriptionOrCode" : "...",
    "referenceDescription" : "...",
    "auditableFields" : [ {
      "fieldName" : "...",
      "notfiable" : true,
      "auditType" : "OTHER",
      "historized" : true,
      "previousState" : { },
      "currentState" : { },
      "historable" : true,
      "notified" : true
    }, {
      "fieldName" : "...",
      "notfiable" : true,
      "auditType" : "STATUS",
      "historized" : true,
      "previousState" : { },
      "currentState" : { },
      "historable" : true,
      "notified" : true
    } ],
    "historized" : true,
    "notified" : true,
    "codeChanged" : true,
    "id" : 12345,
    "parentEntityType" : { },
    "auditable" : {
      "created" : 12345,
      "creator" : "...",
      "lastUser" : "...",
      "updater" : "...",
      "updated" : 12345,
      "lastModified" : 12345
    },
    "scriptInstance" : {
      "historized" : true,
      "sourcingRoles" : [ "...", "..." ],
      "reuse" : true,
      "appendGeneratedCode" : true,
      "auditable" : { },
      "parentEntity" : { },
      "codeChanged" : true,
      "scriptInstanceCategory" : { },
      "scriptErrors" : [ { }, { } ],
      "executionRoles" : [ "...", "..." ],
      "referenceDescription" : "...",
      "disabled" : true,
      "auditableFields" : [ { }, { } ],
      "code" : "...",
      "notified" : true,
      "descriptionOrCode" : "...",
      "referenceCode" : "...",
      "parentEntityType" : { },
      "error" : true,
      "sourceTypeEnum" : "JAVA_CLASS",
      "transient" : true,
      "descriptionAndCode" : "...",
      "description" : "...",
      "id" : 12345,
      "active" : true,
      "script" : "...",
      "version" : 12345
    },
    "longDescription" : "...",
    "version" : 12345,
    "referenceCode" : "...",
    "transient" : true,
    "parentEntity" : {
      "referenceDescription" : "...",
      "auditableFields" : [ { }, { } ],
      "parentEntity" : { },
      "codeChanged" : true,
      "description" : "...",
      "auditable" : { },
      "transient" : true,
      "referenceCode" : "...",
      "version" : 12345,
      "code" : "...",
      "parentEntityType" : { },
      "id" : 12345,
      "notified" : true,
      "appendGeneratedCode" : true,
      "descriptionAndCode" : "...",
      "historized" : true,
      "descriptionOrCode" : "..."
    },
    "description" : "...",
    "appendGeneratedCode" : true,
    "longDescriptionI18n" : {
      "property1" : "...",
      "property2" : "..."
    },
    "descriptionAndCode" : "...",
    "code" : "..."
  },
  "accountingCode" : {
    "auditable" : {
      "created" : 12345,
      "creator" : "...",
      "lastUser" : "...",
      "updater" : "...",
      "updated" : 12345,
      "lastModified" : 12345
    },
    "chartOfAccountTypeEnum" : "EXPENSE",
    "chartOfAccountViewTypeEnum" : "VIEW",
    "active" : true,
    "notified" : true,
    "codeChanged" : true,
    "disabled" : true,
    "descriptionAndCode" : "...",
    "appendGeneratedCode" : true,
    "parentEntityType" : { },
    "id" : 12345,
    "parentAccountingCode" : { },
    "migrated" : true,
    "historized" : true,
    "descriptionOrCode" : "...",
    "referenceDescription" : "...",
    "version" : 12345,
    "reportingAccount" : "...",
    "description" : "...",
    "code" : "...",
    "auditableFields" : [ {
      "fieldName" : "...",
      "notfiable" : true,
      "auditType" : "STATUS",
      "historized" : true,
      "previousState" : { },
      "currentState" : { },
      "historable" : true,
      "notified" : true
    }, {
      "fieldName" : "...",
      "notfiable" : true,
      "auditType" : "STATUS",
      "historized" : true,
      "previousState" : { },
      "currentState" : { },
      "historable" : true,
      "notified" : true
    } ],
    "parentEntity" : {
      "referenceDescription" : "...",
      "auditableFields" : [ { }, { } ],
      "parentEntity" : { },
      "codeChanged" : true,
      "description" : "...",
      "auditable" : { },
      "transient" : true,
      "referenceCode" : "...",
      "version" : 12345,
      "code" : "...",
      "parentEntityType" : { },
      "id" : 12345,
      "notified" : true,
      "appendGeneratedCode" : true,
      "descriptionAndCode" : "...",
      "historized" : true,
      "descriptionOrCode" : "..."
    },
    "notes" : "...",
    "referenceCode" : "...",
    "transient" : true
  },
  "auditableFields" : [ {
    "fieldName" : "...",
    "notfiable" : true,
    "auditType" : "OTHER",
    "historized" : true,
    "previousState" : { },
    "currentState" : { },
    "historable" : true,
    "notified" : true
  }, {
    "fieldName" : "...",
    "notfiable" : true,
    "auditType" : "RENEWAL",
    "historized" : true,
    "previousState" : { },
    "currentState" : { },
    "historable" : true,
    "notified" : true
  } ],
  "parentEntityType" : { },
  "referenceCode" : "...",
  "parentEntity" : {
    "referenceDescription" : "...",
    "auditableFields" : [ {
      "fieldName" : "...",
      "notfiable" : true,
      "auditType" : "RENEWAL",
      "historized" : true,
      "previousState" : { },
      "currentState" : { },
      "historable" : true,
      "notified" : true
    }, {
      "fieldName" : "...",
      "notfiable" : true,
      "auditType" : "OTHER",
      "historized" : true,
      "previousState" : { },
      "currentState" : { },
      "historable" : true,
      "notified" : true
    } ],
    "parentEntity" : { },
    "codeChanged" : true,
    "description" : "...",
    "auditable" : {
      "created" : 12345,
      "creator" : "...",
      "lastUser" : "...",
      "updater" : "...",
      "updated" : 12345,
      "lastModified" : 12345
    },
    "transient" : true,
    "referenceCode" : "...",
    "version" : 12345,
    "code" : "...",
    "parentEntityType" : { },
    "id" : 12345,
    "notified" : true,
    "appendGeneratedCode" : true,
    "descriptionAndCode" : "...",
    "historized" : true,
    "descriptionOrCode" : "..."
  },
  "contraAccountingCode2" : {
    "auditable" : {
      "created" : 12345,
      "creator" : "...",
      "lastUser" : "...",
      "updater" : "...",
      "updated" : 12345,
      "lastModified" : 12345
    },
    "chartOfAccountTypeEnum" : "REVENUE",
    "chartOfAccountViewTypeEnum" : "VIEW",
    "active" : true,
    "notified" : true,
    "codeChanged" : true,
    "disabled" : true,
    "descriptionAndCode" : "...",
    "appendGeneratedCode" : true,
    "parentEntityType" : { },
    "id" : 12345,
    "parentAccountingCode" : { },
    "migrated" : true,
    "historized" : true,
    "descriptionOrCode" : "...",
    "referenceDescription" : "...",
    "version" : 12345,
    "reportingAccount" : "...",
    "description" : "...",
    "code" : "...",
    "auditableFields" : [ {
      "fieldName" : "...",
      "notfiable" : true,
      "auditType" : "STATUS",
      "historized" : true,
      "previousState" : { },
      "currentState" : { },
      "historable" : true,
      "notified" : true
    }, {
      "fieldName" : "...",
      "notfiable" : true,
      "auditType" : "RENEWAL",
      "historized" : true,
      "previousState" : { },
      "currentState" : { },
      "historable" : true,
      "notified" : true
    } ],
    "parentEntity" : {
      "referenceDescription" : "...",
      "auditableFields" : [ { }, { } ],
      "parentEntity" : { },
      "codeChanged" : true,
      "description" : "...",
      "auditable" : { },
      "transient" : true,
      "referenceCode" : "...",
      "version" : 12345,
      "code" : "...",
      "parentEntityType" : { },
      "id" : 12345,
      "notified" : true,
      "appendGeneratedCode" : true,
      "descriptionAndCode" : "...",
      "historized" : true,
      "descriptionOrCode" : "..."
    },
    "notes" : "...",
    "referenceCode" : "...",
    "transient" : true
  },
  "description" : "...",
  "occCategory" : "CREDIT",
  "codeChanged" : true,
  "notified" : true,
  "manualCreationEnabled" : true,
  "referenceDescription" : "...",
  "version" : 12345,
  "descriptionAndCode" : "...",
  "appendGeneratedCode" : true,
  "auditable" : {
    "created" : 12345,
    "creator" : "...",
    "lastUser" : "...",
    "updater" : "...",
    "updated" : 12345,
    "lastModified" : 12345
  },
  "historized" : true,
  "descriptionOrCode" : "...",
  "id" : 12345,
  "code" : "...",
  "accountCodeClientSide" : "...",
  "transient" : true,
  "contraAccountingCode" : {
    "auditable" : {
      "created" : 12345,
      "creator" : "...",
      "lastUser" : "...",
      "updater" : "...",
      "updated" : 12345,
      "lastModified" : 12345
    },
    "chartOfAccountTypeEnum" : "LIABILITIES",
    "chartOfAccountViewTypeEnum" : "REGULAR",
    "active" : true,
    "notified" : true,
    "codeChanged" : true,
    "disabled" : true,
    "descriptionAndCode" : "...",
    "appendGeneratedCode" : true,
    "parentEntityType" : { },
    "id" : 12345,
    "parentAccountingCode" : { },
    "migrated" : true,
    "historized" : true,
    "descriptionOrCode" : "...",
    "referenceDescription" : "...",
    "version" : 12345,
    "reportingAccount" : "...",
    "description" : "...",
    "code" : "...",
    "auditableFields" : [ {
      "fieldName" : "...",
      "notfiable" : true,
      "auditType" : "RENEWAL",
      "historized" : true,
      "previousState" : { },
      "currentState" : { },
      "historable" : true,
      "notified" : true
    }, {
      "fieldName" : "...",
      "notfiable" : true,
      "auditType" : "RENEWAL",
      "historized" : true,
      "previousState" : { },
      "currentState" : { },
      "historable" : true,
      "notified" : true
    } ],
    "parentEntity" : {
      "referenceDescription" : "...",
      "auditableFields" : [ { }, { } ],
      "parentEntity" : { },
      "codeChanged" : true,
      "description" : "...",
      "auditable" : { },
      "transient" : true,
      "referenceCode" : "...",
      "version" : 12345,
      "code" : "...",
      "parentEntityType" : { },
      "id" : 12345,
      "notified" : true,
      "appendGeneratedCode" : true,
      "descriptionAndCode" : "...",
      "historized" : true,
      "descriptionOrCode" : "..."
    },
    "notes" : "...",
    "referenceCode" : "...",
    "transient" : true
  },
  "journal" : {
    "appendGeneratedCode" : true,
    "historized" : true,
    "auditable" : {
      "created" : 12345,
      "creator" : "...",
      "lastUser" : "...",
      "updater" : "...",
      "updated" : 12345,
      "lastModified" : 12345
    },
    "transient" : true,
    "referenceDescription" : "...",
    "description" : "...",
    "version" : 12345,
    "parentEntity" : {
      "referenceDescription" : "...",
      "auditableFields" : [ { }, { } ],
      "parentEntity" : { },
      "codeChanged" : true,
      "description" : "...",
      "auditable" : { },
      "transient" : true,
      "referenceCode" : "...",
      "version" : 12345,
      "code" : "...",
      "parentEntityType" : { },
      "id" : 12345,
      "notified" : true,
      "appendGeneratedCode" : true,
      "descriptionAndCode" : "...",
      "historized" : true,
      "descriptionOrCode" : "..."
    },
    "auditableFields" : [ {
      "fieldName" : "...",
      "notfiable" : true,
      "auditType" : "RENEWAL",
      "historized" : true,
      "previousState" : { },
      "currentState" : { },
      "historable" : true,
      "notified" : true
    }, {
      "fieldName" : "...",
      "notfiable" : true,
      "auditType" : "OTHER",
      "historized" : true,
      "previousState" : { },
      "currentState" : { },
      "historable" : true,
      "notified" : true
    } ],
    "id" : 12345,
    "notified" : true,
    "descriptionOrCode" : "...",
    "descriptionAndCode" : "...",
    "parentEntityType" : { },
    "code" : "...",
    "referenceCode" : "...",
    "occTemplates" : [ {
      "accountingScheme" : { },
      "accountingCode" : { },
      "auditableFields" : [ { }, { } ],
      "parentEntityType" : { },
      "referenceCode" : "...",
      "parentEntity" : { },
      "contraAccountingCode2" : { },
      "description" : "...",
      "occCategory" : "DEBIT",
      "codeChanged" : true,
      "notified" : true,
      "manualCreationEnabled" : true,
      "referenceDescription" : "...",
      "version" : 12345,
      "descriptionAndCode" : "...",
      "appendGeneratedCode" : true,
      "auditable" : { },
      "historized" : true,
      "descriptionOrCode" : "...",
      "id" : 12345,
      "code" : "...",
      "accountCodeClientSide" : "...",
      "transient" : true,
      "contraAccountingCode" : { },
      "journal" : { }
    }, {
      "accountingScheme" : { },
      "accountingCode" : { },
      "auditableFields" : [ { }, { } ],
      "parentEntityType" : { },
      "referenceCode" : "...",
      "parentEntity" : { },
      "contraAccountingCode2" : { },
      "description" : "...",
      "occCategory" : "CREDIT",
      "codeChanged" : true,
      "notified" : true,
      "manualCreationEnabled" : true,
      "referenceDescription" : "...",
      "version" : 12345,
      "descriptionAndCode" : "...",
      "appendGeneratedCode" : true,
      "auditable" : { },
      "historized" : true,
      "descriptionOrCode" : "...",
      "id" : 12345,
      "code" : "...",
      "accountCodeClientSide" : "...",
      "transient" : true,
      "contraAccountingCode" : { },
      "journal" : { }
    } ],
    "accountOperations" : [ {
      "historized" : true,
      "collectionDate" : 12345,
      "paymentDeferralCount" : 12345,
      "subscription" : { },
      "seller" : { },
      "customerAccount" : { },
      "paymentInfo2" : "...",
      "paymentVentilation" : { },
      "parentCFEntities" : [ { }, { } ],
      "paymentHistories" : [ { }, { } ],
      "matchingAmount" : 12345.0,
      "rejectedPayment" : { },
      "auditableFields" : [ { }, { } ],
      "bankLot" : "...",
      "matchingStatus" : "R",
      "ddRequestItem" : { },
      "invoices" : [ { }, { } ],
      "unMatchingAmount" : 12345.0,
      "bankReference" : "...",
      "version" : 12345,
      "uuid" : "...",
      "cfAccumulatedValues" : { },
      "taxAmount" : 12345.0,
      "description" : "...",
      "bankCollectionDate" : 12345,
      "type" : "...",
      "auditable" : { },
      "accountingSchemeEntries" : [ { }, { } ],
      "reason" : "CLOSED_PERIOD",
      "orderNumber" : "...",
      "journal" : { },
      "accountingExportFile" : "...",
      "billingAccountName" : "...",
      "notified" : true,
      "operationNumber" : 12345,
      "paymentInfo6" : "...",
      "transient" : true,
      "operationAction" : "NONE",
      "paymentInfo3" : "...",
      "parentEntityType" : { },
      "referenceCode" : "...",
      "paymentInfo1" : "...",
      "reference" : "...",
      "paymentInfo5" : "...",
      "status" : "POSTED",
      "cfValues" : { },
      "descriptionOrCode" : "...",
      "referenceDescription" : "...",
      "matchingAmounts" : [ { }, { } ],
      "dueDate" : 12345,
      "parentEntity" : { },
      "depositDate" : 12345,
      "transactionCategory" : "CREDIT",
      "accountingDate" : 12345,
      "paymentAction" : "PENDING_PAYMENT",
      "descriptionAndCode" : "...",
      "accountCodeClientSide" : "...",
      "amount" : 12345.0,
      "id" : 12345,
      "transactionDate" : 12345,
      "paymentInfo4" : "...",
      "paymentInfo" : "...",
      "accountingCode" : { },
      "appendGeneratedCode" : true,
      "amountWithoutTax" : 12345.0,
      "code" : "...",
      "codeChanged" : true,
      "paymentMethod" : "PAYPAL"
    }, {
      "historized" : true,
      "collectionDate" : 12345,
      "paymentDeferralCount" : 12345,
      "subscription" : { },
      "seller" : { },
      "customerAccount" : { },
      "paymentInfo2" : "...",
      "paymentVentilation" : { },
      "parentCFEntities" : [ { }, { } ],
      "paymentHistories" : [ { }, { } ],
      "matchingAmount" : 12345.0,
      "rejectedPayment" : { },
      "auditableFields" : [ { }, { } ],
      "bankLot" : "...",
      "matchingStatus" : "R",
      "ddRequestItem" : { },
      "invoices" : [ { }, { } ],
      "unMatchingAmount" : 12345.0,
      "bankReference" : "...",
      "version" : 12345,
      "uuid" : "...",
      "cfAccumulatedValues" : { },
      "taxAmount" : 12345.0,
      "description" : "...",
      "bankCollectionDate" : 12345,
      "type" : "...",
      "auditable" : { },
      "accountingSchemeEntries" : [ { }, { } ],
      "reason" : "FORCED",
      "orderNumber" : "...",
      "journal" : { },
      "accountingExportFile" : "...",
      "billingAccountName" : "...",
      "notified" : true,
      "operationNumber" : 12345,
      "paymentInfo6" : "...",
      "transient" : true,
      "operationAction" : "TO_REFUND",
      "paymentInfo3" : "...",
      "parentEntityType" : { },
      "referenceCode" : "...",
      "paymentInfo1" : "...",
      "reference" : "...",
      "paymentInfo5" : "...",
      "status" : "EXPORT_FAILED",
      "cfValues" : { },
      "descriptionOrCode" : "...",
      "referenceDescription" : "...",
      "matchingAmounts" : [ { }, { } ],
      "dueDate" : 12345,
      "parentEntity" : { },
      "depositDate" : 12345,
      "transactionCategory" : "CREDIT",
      "accountingDate" : 12345,
      "paymentAction" : "PENDING_PAYMENT",
      "descriptionAndCode" : "...",
      "accountCodeClientSide" : "...",
      "amount" : 12345.0,
      "id" : 12345,
      "transactionDate" : 12345,
      "paymentInfo4" : "...",
      "paymentInfo" : "...",
      "accountingCode" : { },
      "appendGeneratedCode" : true,
      "amountWithoutTax" : 12345.0,
      "code" : "...",
      "codeChanged" : true,
      "paymentMethod" : "CARD"
    } ],
    "codeChanged" : true
  }
}