GenerateBillDetail

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

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

<GenerateBillDetail>

The opening element

<BillDetail>

Required & Repeatable Element:

Contains the detail for the Bill receivable or due

   
 

Required Element

Defines the code value of the money (receivable) due.

Examples could be premium, fees or loan repayments

RECEIVABLEDUETYPE

Literal Value of Math variable containing a code value from AsCodeReceivableDueType

 

Required Element

Defines the entity GUID that the bill detail is to be associated with such as a class, list bill, aggreement or group customer. Used by the FindBillDetail activity function when building a bill.

BILLGROUPGUID Literal Value of Math variable containing a bill group GUID
 

Required Element

A user defined code that indicates what entity the BillGroupGUID comes from

BILLGROUPTYPE Literal Value of Math variable containing a code from AsCodeBillGroupType
<Tests>

Optional Element

Standard tests section that indicates if the BillDetail element should process. All tests contains Billl to process

 

 

<Test>

Optional & Repeatable Element

Standard test expression

 

 

<BillAmount>

Required Element

Holds the currency amount of receivable/ due

 

Math Variable containing a currency amount

 

Required Element

Defines the entity that the receivable due will credit. Usually a policy, client or segment

BILLENTITYGUID

Math Variable containing an entity GUID
 

Required Element

A user defined code that indicates what entity the BillEntityGUID comes from

BILLENTITYTYPE Literal Value of Math variable containing a code from AsCodeBillEntityType
 

Required Element

The date the receivable due is expected to be paid

DUEDATE Value should be a Math Variable containing a date

<Fields>

Optional Element

Specifies dynamic fields to insert from the BillDetailScreen definition

   

<Field>

Required & Repeatable Element

Standard create fields syntax

   
<From>

Required Element

Defines the field or math variable the value will come from

   
<To>

Required Element

Names the bill detail field the value will go to.

   

 

XML Example

<GenerateBillDetail>
<BillDetail RECEIVABLEDUETYPE="Premium" BILLGROUPGUID="BillGroupGUIDMV" BILLGROUPTYPE="GroupCustomer">
<Tests>
<Test>1=1</Test>
</Tests>
<BillAmount BILLENTITYGUID="BillEntityGUIDMV" BILLENTITYTYPE="BillEntityTypeMV" DUEDATE="BillDueDateMV">BillDueAmountMV</BillAmount>
<Fields>
<Field>
<From>BillDetailCreationDateMV</From>
<To>BillDetailCreationDate</To>
<DataType>Date</DataType>
</Field>
</Fields>
</BillDetail>
</GenerateBillDetail>

XML Schema

<GenerateBillDetail>
<BillDetail RECEIVABLEDUETYPE=”[AsCodeValue]” BILLGROUPGUID=”[MathVariable GUID]” BILLGROUPTYPE=”[AsCodeValue]”>
<Tests>
<Test>[test expression]</Test>
</Tests>
<BillAmount BILLENTITYGUID=”[MathVariable GUID]” BILLENTITYTYPE=”[AsCodeValue]” DUEDATE=”[MathVariable Date]”>[MathVariable Currency Amount]</BillAmount>
<Fields>
<Field>
<From>[MathVariable or Field]</From>
<To>[Literal Field Name]</To>
</Field>
</Fields>
</BillDetail>
</GenerateBillDetail>

 

 

 

 

 

 

 

 

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