RevenueRecognitionRule Data Type

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

Example

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