| name | data type | description |
|---|---|---|
| code | string | |
| description | string | |
| disabled | boolean | |
| startDelay | number | |
| startUnit | RevenueRecognitionDelayUnitEnum | |
| startEvent | RevenueRecognitionEventEnum | |
| stopDelay | number | |
| stopUnit | RevenueRecognitionDelayUnitEnum | |
| stopEvent | RevenueRecognitionEventEnum | |
| script | ScriptInstanceDto |
Example
{
"code" : "...",
"description" : "...",
"disabled" : true,
"startDelay" : 12345,
"startUnit" : "DAY",
"startEvent" : "INVOICE_DATE",
"stopDelay" : 12345,
"stopUnit" : "MONTH",
"stopEvent" : "SERVICE_PERIOD_STOP",
"script" : {
"executionRoles" : [ {
"name" : "...",
"description" : "...",
"permission" : [ { }, { } ],
"role" : [ { }, { } ]
}, {
"name" : "...",
"description" : "...",
"permission" : [ { }, { } ],
"role" : [ { }, { } ]
} ],
"sourcingRoles" : [ {
"name" : "...",
"description" : "...",
"permission" : [ { }, { } ],
"role" : [ { }, { } ]
}, {
"name" : "...",
"description" : "...",
"permission" : [ { }, { } ],
"role" : [ { }, { } ]
} ],
"code" : "...",
"description" : "...",
"type" : "JAVA",
"script" : "..."
}
}