MaintainBillDetail
MaintainBillDetail Business Rule enables editing existing bill detail records. This rule will be attached to a transaction and included in the TransactionBusinessRulesPacket. This rule will allow the modification of existing bill detail records as well as their soft deletion (expiration) including changing the value of any existing dynamic field as well as the following fixed fields on AsBillDetail.
- BillGroupGUID
- BillGroupType
- ReceivableDueType
- Amount
- DueDate
Element/Tag | Definition | Attribute | Element/Attribute Value and Description |
---|---|---|---|
<MaintainBillDetail> |
The opening and closing tag of the MaintainBillDetail Business Rule. |
|
|
Required Element Specifies the bill detail record to be updated. |
BILLDETAILGUID | Math Variable containing a bill detail record GUID. | |
<CopyToMaintainBillDetailFields> |
Optional element: May exist with ShadowBillDetail element. opening element defining the fields to update
|
||
<Fields> |
Required element: Contains the specified fields |
||
<Field> |
Required, Repeatable Element Standard Copy of Fields Syntax |
||
<From> |
Required element: Defines the field or math variable the value will come from |
|
|
<To> |
Required element: Defines the field or math variable the value will go to. |
|
|
<ShadowBillDetail> |
Optional element: May exists with CopyToBillDetailFields section. Indicates the specified field to be shadowed. |
|
Math variable or Literal Value "YES" or "NO" Default Value is "No" Note: If the value is 'Yes', then <ShadowBillDetail> takes precedence over <ReconcileBillDetail>. |
<ReconcileBillDetail> |
Math variable or Literal Value "YES" or "NO" Note: If the vaue is'Yes' and <ShadowBillDetail> status is 'NOT SHADOWED', then the status of the billDetail is changed to 'RECONCILED'. |
XML Schema
<MaintainBillDetail BILLDETAILGUID="[Mathvariable GUID]">
<CopyToBillDetailFields>
<Fields>
<Field>
<From>[MathVariable or Field]</From>
<To>[Literal Field Name]</To>
</Field>
</Fields>
</CopyToBillDetailFields>
<ShadowBillDetail>[Yes or No or Math Variable]</ShadowBillDetail>
</MaintainBillDetail>
XML Example
<MaintainBillDetail BILLDETAILGUID="BillDetailGUIDMV">
<CopyToBillDetailFields>
<Fields>
<Field>
<From>Activity:NewAmount</From>
<To>Amount</To>
</Field>
</Fields>
<Field>
<From>BillDetailChangeDateMV</From>
<To>BillDetailChangeDate</To>
</Field>
</Fields>
</CopyToBillDetailFields>
<ShadowBillDetail>Yes</ShadowBillDetail>
</MaintainBillDetail>