MaintainDisbursement
The MaintainDisbursement business rule will allow an activity to update the dynamic fields of a single disbursement regardless of the disbursement status code. Fixed fields on the target disbursement record cannot be updated. Even if they are configured, the system will ignore instructions to change the values of these fields:
- DISBURSEMENTGUID
- POLICYGUID
- ROLEGUID
- ACTIVITYGUID
- DISBURSEMENTNUMBER
- DISBURSEMENTDATE
- DISBURSEMENTTYPECODE
- DISBURSEMENTSTATUSCODE
- DISBURSEMENTAMOUNT
- TAXABLEAMOUNT
- CURRENCYCODE
Element/Tag | Definition | Attribute | Element/Attribute Value and Description |
---|---|---|---|
<MaintainDisbursement> |
The opening and closing elements of this business rule. |
||
<Disbursements> |
Required |
||
<Disbursement> |
Required; Defines the disbursement to apply. |
DISBURSEMENTGUID |
MathVariable containing disbursement GUID. |
<CopyToDisbursementFields> |
Required |
|
|
<Fields> |
Required, |
|
|
<Field> |
Required |
|
|
<From> |
Required; Name of the data source to copy. |
|
Field or MathVariable name. |
<To> |
Required Name of the target field to update. |
Disbursement Field Name | |
<RollbackFieldsOnReverse> |
Optional Used to indicate whether the changes should be rolled back when the activity is reversed. |
True: changes should be rolled back on reverse. This is the default behavior. False:changes should not be rolled back on reverse. |
|
<Test> |
Optional Expression should evaluate to true/false; disbursement record's fields in the test expression are available along with the math and fields of the transaction. |
Expression using Or, And and parentheses. Note: when multiple <Test> elements are configured, it is expected that all Test elements resolve to TRUE for the overall <Tests> to be considered TRUE (logical AND operation) and the other parts of the configuration in relation to <Tests> element is executed |
XML Example
<MaintainDisbursement>
<Disbursements>
<Disbursement DISBURSEMENTGUID="GUID">
<CopyToDisbursementFields>
<Fields>
<Field>
<From>MathDate</From>
<To>CheckClearedDate</To>
</Field>
</Fields>
</CopyToDisbursementFields>
<RollbackFieldsOnReverse>
<Test>TransactionField = MathVariable Or ...And ()</Test>
</RollbackFieldsOnReverse>
</Disbursement>
</Disbursements>
</MaintainDisbursement>