GenerateBill

This rule is attached to a transaction and included in the TransactionBusinessRulesPacket. This rule will interface between the transaction and the AsBill and AsBillDetail and AsBillDetailGroup table records. When the activity executes, the rule will process and for each Bill element whose tests resolve to true (or no tests are present), a bill record will be created and inserted into AsBill<GenerateBillDetail>

GenerateBill Element/Attribute Table
Element/Tag Definition Attribute Element/Attribute Value and Description/ Value

<GenerateBill>

The opening and closing tag of the GenerateBill Business Rule.

 

<Bill>

Required & Repeatable Element:

This element is used to specify the Bill Information

 
 

Require Element

Specifies the math variable containing the array of the bill detail records. This Array is expected to be created by the Final Bill Detail activity function

Value should be Math Variable containing an array of pending Bill detail records

 

BILLDETAILARRAY

Field and Math Variable

 

Required Element

Defines the Entity that generated the bill. usually a group customer, class or client (list bill)

Value should be Math variable containing an entity GUID

 

 

BILLOWNERGUID Field and Math Variable
 

Required Element

A user defined code that indicates what entity the BillOwnerGUID comes from Literal value or Math Variable containing a code value from AsCodeBillOwnerType

BILLOWNERTYPE Field and Math Variable
<Tests>

Optional Element

Standard tests section that indicates if the Bill element should process. All tests must resolve to true for the containing Bill to process

 

 

<Test>

Optional & Repeatable Element

Standard test expression

 

 

<Reference ID>

Optional Element

Allows a user defined identifier to be added to the bill record

 

Field or Math Variable containing and Identifier data type value

 

Optional Element

Allows the configuration to persist the original ReferenceID value in the case of undo/redo or recycling the activity

PERSISTONCYCLE

Literal value or Math Variable containing a value of 'Yes' or 'No'

Default value is "No"

 

 

XML Example

<GenerateBill>
<Bill BILLDETAILARRAY="BillDetailArrayMV" BILLOWNERGUID="Activity:BillOwnerGUID" BILLOWNERTYPE="GroupCustomer">
<Tests> </Tests>
<ReferenceID PERSISTONRECYCLE="Yes">ReferenceIDMV</ReferenceID>
</Bill>
</GenerateBill>

 

XML Schema

<GenerateBill>
<Bill BILLDETAILARRAY="BillDetailArrayMV" BILLOWNERGUID="Activity:BillOwnerGUID" BILLOWNERTYPE="GroupCustomer">
<Tests>
<Test>[Expression]</Test>
</Tests>
<ReferenceID PERSISTONRECYCLE="[Yes or No or Math Variable]">[MathVariable or Field]</ReferenceID>
</Bill>
</GenerateBill>

 

 

 

 

Oracle Insurance Logo Copyright © 2017, Oracle and/or its affiliates. All rights reserved. About Oracle Insurance | Contact Us