The Class RevenueRecognitionRuleDto.
name | data type | constraints | description |
---|---|---|---|
disabled | boolean | Is entity disabled. Value is ignored in Update action - use enable/disable API instead. | |
id | number | The id. | |
startDelay | number | The start delay. | |
auditableField | array of AuditableFieldDto | ||
startUnit | RevenueRecognitionDelayUnitEnum | The start unit. | |
code | string | required | The code |
startEvent | RevenueRecognitionEventEnum | The start event. | |
stopDelay | number | The stop delay. | |
description | string | The description | |
stopUnit | RevenueRecognitionDelayUnitEnum | The stop unit. | |
stopEvent | RevenueRecognitionEventEnum | The stop event. | |
updatedCode | string | The updated code. | |
script | ScriptInstanceDto | The script. |
Example
{ "disabled" : true, "id" : 12345, "startDelay" : 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" : "..." } ], "startUnit" : "DAY", "code" : "...", "startEvent" : "SUBSCRIPTION_START", "stopDelay" : 12345, "description" : "...", "stopUnit" : "MONTH", "stopEvent" : "SUBSCRIPTION_STOP", "updatedCode" : "...", "script" : { "disabled" : true, "executionRoles" : [ "...", "..." ], "type" : "JAVA_CLASS", "sourcingRoles" : [ "...", "..." ], "id" : 12345, "reuse" : true, "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" : "..." } ], "scriptInstanceCategoryCode" : "...", "script" : "...", "code" : "...", "description" : "...", "updatedCode" : "..." } }