RevenueRecognitionRuleDto Data Type

The Class RevenueRecognitionRuleDto.

Implemented Interfaces
Serializable
Properties
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" : "MONTH",
  "code" : "...",
  "startEvent" : "SERVICE_PERIOD_START",
  "stopDelay" : 12345,
  "description" : "...",
  "stopUnit" : "DAY",
  "stopEvent" : "INVOICE_DUE_DATE",
  "updatedCode" : "...",
  "script" : {
    "disabled" : true,
    "executionRoles" : [ "...", "..." ],
    "type" : "JAVA",
    "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" : "..."
  }
}