RevenueRecognitionRule Data Type

Implemented Interfaces
IReferenceEntity, Serializable
Properties
name data type constraints description
disabled boolean  
code string required, max size: 255, min size: 1
appendGeneratedCode boolean  
descriptionAndCode string  
startDelay number  
startEvent RevenueRecognitionEventEnum  
codeChanged boolean  
notified boolean  
referenceCode string  
stopDelay number  
startUnit RevenueRecognitionDelayUnitEnum  
parentEntityType object  
referenceDescription string  
auditable Auditable  
transient boolean  
parentEntity BusinessEntity  
stopEvent RevenueRecognitionEventEnum  
id number  
version number  
stopUnit RevenueRecognitionDelayUnitEnum  
descriptionOrCode string  
historized boolean  
script ScriptInstance  
auditableFields array of AuditableFieldHistory  
description string max size: 255, min size: 0
active boolean  

Example

{
  "disabled" : true,
  "code" : "...",
  "appendGeneratedCode" : true,
  "descriptionAndCode" : "...",
  "startDelay" : 12345,
  "startEvent" : "INVOICE_DATE",
  "codeChanged" : true,
  "notified" : true,
  "referenceCode" : "...",
  "stopDelay" : 12345,
  "startUnit" : "MONTH",
  "parentEntityType" : { },
  "referenceDescription" : "...",
  "auditable" : {
    "created" : 12345,
    "updater" : "...",
    "lastModified" : 12345,
    "updated" : 12345,
    "lastUser" : "...",
    "creator" : "..."
  },
  "transient" : true,
  "parentEntity" : {
    "description" : "...",
    "code" : "...",
    "version" : 12345,
    "parentEntity" : { },
    "id" : 12345,
    "transient" : true,
    "historized" : true,
    "descriptionOrCode" : "...",
    "auditable" : {
      "created" : 12345,
      "updater" : "...",
      "lastModified" : 12345,
      "updated" : 12345,
      "lastUser" : "...",
      "creator" : "..."
    },
    "referenceDescription" : "...",
    "referenceCode" : "...",
    "codeChanged" : true,
    "parentEntityType" : { },
    "notified" : true,
    "appendGeneratedCode" : true,
    "descriptionAndCode" : "...",
    "auditableFields" : [ {
      "notified" : true,
      "historized" : true,
      "notfiable" : true,
      "historable" : true,
      "auditType" : "RENEWAL",
      "fieldName" : "...",
      "currentState" : { },
      "previousState" : { }
    }, {
      "notified" : true,
      "historized" : true,
      "notfiable" : true,
      "historable" : true,
      "auditType" : "RENEWAL",
      "fieldName" : "...",
      "currentState" : { },
      "previousState" : { }
    } ]
  },
  "stopEvent" : "SUBSCRIPTION_START",
  "id" : 12345,
  "version" : 12345,
  "stopUnit" : "MONTH",
  "descriptionOrCode" : "...",
  "historized" : true,
  "script" : {
    "description" : "...",
    "scriptParameters" : [ {
      "descriptionI18n" : {
        "property1" : "...",
        "property2" : "..."
      },
      "defaultValue" : "...",
      "mandatory" : true,
      "scriptInstance" : { },
      "allowedValues" : "...",
      "collection" : true,
      "className" : "...",
      "valuesSeparator" : "...",
      "code" : "...",
      "id" : 12345,
      "version" : 12345,
      "transient" : true
    }, {
      "descriptionI18n" : {
        "property1" : "...",
        "property2" : "..."
      },
      "defaultValue" : "...",
      "mandatory" : true,
      "scriptInstance" : { },
      "allowedValues" : "...",
      "collection" : true,
      "className" : "...",
      "valuesSeparator" : "...",
      "code" : "...",
      "id" : 12345,
      "version" : 12345,
      "transient" : true
    } ],
    "parentEntityType" : { },
    "historized" : true,
    "code" : "...",
    "descriptionAndCode" : "...",
    "id" : 12345,
    "transient" : true,
    "referenceDescription" : "...",
    "sourcingRoles" : [ "...", "..." ],
    "parentEntity" : {
      "description" : "...",
      "code" : "...",
      "version" : 12345,
      "parentEntity" : { },
      "id" : 12345,
      "transient" : true,
      "historized" : true,
      "descriptionOrCode" : "...",
      "auditable" : { },
      "referenceDescription" : "...",
      "referenceCode" : "...",
      "codeChanged" : true,
      "parentEntityType" : { },
      "notified" : true,
      "appendGeneratedCode" : true,
      "descriptionAndCode" : "...",
      "auditableFields" : [ { }, { } ]
    },
    "disabled" : true,
    "scriptErrors" : [ {
      "message" : "...",
      "sourceFile" : "...",
      "lineNumber" : 12345,
      "columnNumber" : 12345
    }, {
      "message" : "...",
      "sourceFile" : "...",
      "lineNumber" : 12345,
      "columnNumber" : 12345
    } ],
    "referenceCode" : "...",
    "descriptionOrCode" : "...",
    "version" : 12345,
    "auditableFields" : [ {
      "notified" : true,
      "historized" : true,
      "notfiable" : true,
      "historable" : true,
      "auditType" : "STATUS",
      "fieldName" : "...",
      "currentState" : { },
      "previousState" : { }
    }, {
      "notified" : true,
      "historized" : true,
      "notfiable" : true,
      "historable" : true,
      "auditType" : "RENEWAL",
      "fieldName" : "...",
      "currentState" : { },
      "previousState" : { }
    } ],
    "error" : true,
    "codeChanged" : true,
    "executionRoles" : [ "...", "..." ],
    "notified" : true,
    "appendGeneratedCode" : true,
    "auditable" : {
      "created" : 12345,
      "updater" : "...",
      "lastModified" : 12345,
      "updated" : 12345,
      "lastUser" : "...",
      "creator" : "..."
    },
    "reuse" : true,
    "script" : "...",
    "sourceTypeEnum" : "JAVA_CLASS",
    "descriptionI18n" : {
      "property1" : "...",
      "property2" : "..."
    },
    "active" : true,
    "scriptInstanceCategory" : {
      "descriptionOrCode" : "...",
      "appendGeneratedCode" : true,
      "version" : 12345,
      "transient" : true,
      "historized" : true,
      "descriptionAndCode" : "...",
      "descriptionI18n" : {
        "property1" : "...",
        "property2" : "..."
      },
      "description" : "...",
      "notified" : true,
      "referenceDescription" : "...",
      "auditableFields" : [ { }, { } ],
      "code" : "...",
      "parentEntityType" : { },
      "referenceCode" : "...",
      "id" : 12345,
      "codeChanged" : true,
      "auditable" : { },
      "parentEntity" : { }
    }
  },
  "auditableFields" : [ {
    "notified" : true,
    "historized" : true,
    "notfiable" : true,
    "historable" : true,
    "auditType" : "RENEWAL",
    "fieldName" : "...",
    "currentState" : { },
    "previousState" : { }
  }, {
    "notified" : true,
    "historized" : true,
    "notfiable" : true,
    "historable" : true,
    "auditType" : "RENEWAL",
    "fieldName" : "...",
    "currentState" : { },
    "previousState" : { }
  } ],
  "description" : "...",
  "active" : true
}