Account and Price Item Derivation (for the Ancillary Pricing Rule Type Category)

The Validate Transaction and Derive Price Item (C1-TXNIP) batch maps an ancillary transaction to one or more price item and price item parameters which are defined in the respective primary pricing rule type. This is possible when an algorithm created using the C1_​ACCPRIDRV algorithm type is attached to the Account and Price Item Derivation system event of the primary pricing rule type.

This algorithm fetches the effective pricing rule for each price item and price item parameters combination specified in the primary pricing rule type on the derivation date. The system considers the paid date as the derivation date. This algorithm first searches for the effective pricing rule for a price item and price item parameters combination which is defined for the policy at the bill group level. If the system does not find any effective pricing rule for a price item and price item parameters combination which is defined for the policy at the bill group level, it inherits the effective pricing rule for a price item and price item parameters combination from the parent customer level.

For example, if the system receives an ancillary transaction with the following details:

  • UDF_​CHAR_​6 is set to BC1

  • UDF_​CHAR_​7 is set to PASS

  • UDF_​DATE_​1 is set to 15-03-2018

  • Transaction Record Type is set to TR1

The following table illustrates how the pricing rules are defined for the ancillary transactions at different assignment levels:
Transaction Record Type Primary Pricing Rule Type Price Item Price Item Parameters Pricing Rule Pricing Start Date Pricing End Date Pricing Arrangement Assignment Level
TR1 ANCILLARY P1 BCHGLINETYPE = UDF_​CHAR_​6 and PRICINGARRANGEMENT = UDF_​CHAR_​7 C1P1 01-01-2018 31-12-2018 Pass Through without Markup or Markdown Parent Customer
C2P1 01-01-2018 31-12-2018 Pass Through without Markup or Markdown Bill Group
C3P1 01-01-2018 31-12-2018 Pass Through without Markup or Markdown Bill Group
P2 C1P2 01-06-2017 31-12-2017 Pass Through without Markup or Markdown Bill Group
C2P2 01-01-2018 31-12-2018 Pass Through without Markup or Markdown Parent Customer
C3P2 01-01-2019 30-06-2019 Pass Through without Markup or Markdown Bill Group
Note:

Here, the Pass Through without Markup or Markdown pricing arrangement identifier is set to PASS in the ANCILLARY pricing rule type. This means that the system will consider only effective pricing rules where the pricing arrangement is set to Pass Through without Markup or Markdown when the ancillary transaction is received where UDF_​CHAR_​7 is set to PASS.

Here, the paid date is mapped to the UDF_​DATE_​1 field in the ANCILLARY pricing rule type.

Example 1: Effective Pricing Rule Derivation

In the example 1, the system fetches C2P1 and C2P2 pricing rules for P1 and P2, respectively, because of the following reasons:

  • The paid date (i.e. 15-03-2018) of the ancillary transaction falls within the C2P1 and C2P2 pricing rules’ date range (i.e. 01-01-2018 to 31-12-2018).

  • The pricing arrangement is set to Pass Through without Markup or Markdown in the C2P1 and C2P2 pricing rules.

Note that the effective pricing rule for P1 is derived at the bill group level, whereas the effective pricing rule for P2 is derived from the parent customer level.

Note: The price item parameters (i.e. BCHGLINETYPE and PRICINGARRANGEMENT) must be defined in the Billable Charge Line Type Parameter and Pricing Arrangement Parameter option types of the C1-ASOBLLNG feature configuration, respectively. Otherwise, erroneous results might occur.

The system then derives the account with a particular invoice type (to which a price item must be billed) based on the priority which is defined for the respective price item in the pricing rule type.

For example, the following table illustrates the accounts to which the charges of P1 and P2 should be billed based on the given priority:
Price Item Priority Invoice Type Account
P1 10 Standard A1
20 Retention A2
P2 10 Retention A2
20 Standard A1

Example 2: Priority Based Account Derivation

In the example 2, while mapping the claim transaction to P1, the system checks whether an account where the Invoice Type (C1INVTYP) characteristic is set to Standard exists for the bill group. If so, it considers the standard account (A1) of the bill group for billing. However, if an account where the Invoice Type (C1INVTYP) characteristic is set to Standard does not exist for the bill group, the system checks whether an account where the Invoice Type (C1INVTYP) characteristic is set to Retention exists for the bill group. If so, it considers the retention account (A2) of the bill group for billing. If an account where the Invoice Type (C1INVTYP) characteristic is set to Retention does not exist for the bill group, the status of the transaction is changed to Error.

Similarly, while mapping the claim transaction to P2, the system considers the account of the bill group which is available based on the priority. The system derives the billing account for only those price items for which the effective pricing rule is derived.

Note: The characteristic type which indicates the type of account (for example, C1INVTYP) must be specified in the Invoice Type Characteristic Type option type of the C1-ASOBLLNG feature configuration. Otherwise, erroneous results might occur.

Once the account is derived, the system then checks whether the account has one active contract of the contract type which is associated with the price item. If so, it fetches the contract for further processing. Once the effective pricing rule, account, and active contract are derived, the transaction is mapped to the respective price item, price item parameters, and account. A transaction leg is created for each price item, price item parameters, and account combination. For example, if the system receives an ancillary transaction with the following details:

  • UDF_​CHAR_​6 is set to BC1

  • UDF_​CHAR_​7 is set to PASS

  • UDF_​DATE_​1 is set to 15-03-2018

  • Transaction Record Type is set to TR1

For example, the following table illustrates how the ancillary transaction legs are created for each price item, price item parameters, and account combination:
Transaction Record Type Primary Pricing Rule Type Price Item Price Item Parameters Effective Pricing Rule Pricing Arrangement Account Active Contract Transaction Leg
TR1 ANCILLARY P1 BCHGLINETYPE = UDF_​CHAR_​6 and PRICINGARRANGEMENT = UDF_​CHAR_​7 PR1 Pass Through without Markup or Markdown A1 C1 TL1
P2 PR2 Pass Through without Markup or Markdown A2 C2 TL2
P3 PR3 Pass Through without Markup or Markdown A3 C3 TL3
Note: Here, the paid date is mapped to the UDF_​DATE_​1 field and the Pass Through without Markup or Markdown pricing arrangement identifier is set to PASS in the ANCILLARY pricing rule type.

Example 3: Transaction Leg Derivation

In the example 3, the system maps the ancillary transaction to the following price item, price item parameters, and account combinations:

  • Price Item: P1; Price Item Parameter: BCHGLINETYPE = BC1 and PRICINGARRANGEMENT = Pass Through without Markup or Markdown; and Account: A1

  • Price Item: P2; Price Item Parameter: BCHGLINETYPE = BC1 and PRICINGARRANGEMENT = Pass Through without Markup or Markdown; and Account: A2

  • Price Item: P3; Price Item Parameter: BCHGLINETYPE = BC1 and PRICINGARRANGEMENT = Pass Through without Markup or Markdown; and Account: A3

In the example 3, the system creates three transaction legs - TL1, TL2, and TL3 for the ancillary transaction. Once a transaction leg is created, the respective effective pricing rule is stamped against the transaction leg. In addition, the price item parameters of the transaction leg are grouped. In the example 3, the system creates one price item parameter group which contains the following price item parameters:

  • BCHGLINETYPE = BC1

  • PRICINGARRANGEMENT = PASS

A group is used to determine the price item pricing. A unique group ID is generated for each group. If a group with a set of price item parameters already exists in the system, a new group is not created. Instead, the existing group is used for determining the price item pricing.

Note: The price item parameter group contains only those price item parameters included in the primary pricing rule type for which the parameter usage is set to Pricing.

If a pricing group is used while defining a pricing rule for a bill group, the system fetches the pricing rule for an ancillary transaction when the following conditions are met:

  • The paid date of the ancillary transaction falls within the pricing rule's date range.

  • The employee attributes specified in the ancillary transaction match the criteria defined in any one of the pricing group rule.

  • The pricing arrangement specified in the ancillary transaction matches the pricing arrangement specified in the pricing rule.

Let us understand this with the help of an example. An ancillary transaction is received with the following details:

  • UDF_​CHAR_​1 is set to X

  • UDF_​CHAR_​2 is set to Western

  • UDF_​CHAR_​3 is set to Indian

  • UDF_​CHAR_​4 is set to HR

  • UDF_​CHAR_​5 is set to Permanent

  • UDF_​CHAR_​6 is set to BC1

  • UDF_​CHAR_​7 is set to PASS

  • UDF_​DATE_​1 is set to 26-01-2018

  • Transaction Record Type is set to TR6

For example, the following table illustrates an effective pricing rule which is defined using an ancillary pricing rule type and where a pricing group is used:
Transaction Record Type Primary Pricing Rule Type Price Item Price Item Parameters Pricing Rule Pricing Start Date Pricing End Date Pricing Group Pricing Group Rule Pricing Arrangement
TR6 ANCILLARY P1 BCHGLINETYPE = UDF_​CHAR_​6 and PRICINGARRANGEMENT = UDF_​CHAR_​7 PR1 01-01-2018 31-12-2018 PG1 Rule 1 (where Source System = X, Parameter 1 = Western, Parameter 2 = Indian, Parameter 3 = HR, and Parameter 4 = Permanent) Pass Through without Markup or Markdown
Rule 2 (where Source System = X, Parameter 1 = Eastern, and Parameter 2 = Indian, Parameter 3 = HR, and Parameter 4 = Permanent) Pass Through without Markup or Markdown
Note: Here, the source system is mapped to the UDF_​CHAR_​1 field, the parameter 1 is mapped to the UDF_​CHAR_​2 field, the parameter 2 is mapped to the UDF_​CHAR_​3 field, the parameter 3 is mapped to the UDF_​CHAR_​4 field, the parameter 4 is mapped to the UDF_​CHAR_​5 field, the paid date is mapped to the UDF_​DATE_​1 field, and the Pass Through without Markup or Markdown pricing arrangement identifier is set to PASS in the ANCILLARY pricing rule type.

Example 4: Effective Pricing Rule is Defined Using a Pricing Group

In the example 4, the system considers the PR1 pricing rule for P1 because of the following reasons:

  • The paid date (i.e. 26-01-2018) of the ancillary transaction falls within the PR1 pricing rule's date range (i.e. 01-01-2018 to 31-12-2018).

  • The employee attributes specified in the ancillary transaction match the criteria defined in the Rule 1 (i.e. Source System = X, Parameter 1 = Western, Parameter 2 = Indian, Parameter 3 = HR, and Parameter 4 = Permanent).

  • The pricing arrangement is set to Pass Through without Markup or Markdown within Rule 1 of the PR1 pricing rule.

The system then stores the pricing group rule which is satisfied against a parameter which is defined in the Pricing Group Rule Parameter option type of the C1-ASOBLLNG feature configuration. In such case, the price item parameter group contains the price item parameters and the pricing group rule parameter. For example, Group A contains BCHGLINETYPE = BC1, PRICINGARRANGEMENT = PASS, and Pricing Group Rule Parameter = Rule 1.

In the example 4, the system could find the exact match for pricing parameters defined in the pricing group rule. However, if the exact match is not available, the system finds the effective pricing rule using the best fit match for the pricing parameters defined in the pricing group rule. Note that the system searches for the exact match in the effective pricing rules at both the bill group and parent customer levels. If the exact match is not available at both the levels, the system finds the effective pricing rule using the best fit match for the pricing parameters (defined in the pricing group rule) first at the bill group level and then at the parent customer level.

Let us understand this with the help of an example. An ancillary transaction is received with the following details:

  • UDF_​CHAR_​1 is set to X

  • UDF_​CHAR_​2 is set to Western

  • UDF_​CHAR_​3 is set to Indian

  • UDF_​CHAR_​4 is set to HR

  • UDF_​CHAR_​5 is set to Permanent

  • UDF_​CHAR_​6 is set to BC1

  • UDF_​CHAR_​7 is set to PASS

  • UDF_​DATE_​1 is set to 31-05-2018

  • Transaction Record Type is set to TR6

For example, the following table illustrates the effective pricing rules which are available during the best fit match:
Transaction Record Type Primary Pricing Rule Type Price Item Price Item Parameters Pricing Rule Pricing Start Date Pricing End Date Pricing Group Pricing Group Rule Pricing Arrangement
TR6 ANCILLARY PP1 BCHGLINETYPE = UDF_​CHAR_​6 and PRICINGARRANGEMENT = UDF_​CHAR_​7 PR1 01-01-2018 31-12-2018 PG1 Rule 1 (where Source System = X and Parameter 1= Western) Pass Through without Markup or Markdown
Rule 1 (where Source System = X and Parameter 1 = Western) Pass Through without Markup or Markdown
Rule 2 (where Source System = X and Parameter 1 = Eastern) Pass Through without Markup or Markdown
Rule 2 (where Source System = X and Parameter 1 = Eastern) Pass Through without Markup or Markdown
PP2 PR2 01-01-2018 31-12-2018 PG2 Rule 1 (where Source System = X, Parameter 1 = Eastern, Parameter 2 = Indian, Parameter 3 = HR, and Parameter 4 = Permanent) Pass Through without Markup or Markdown
Rule 1 (where Source System = X, Parameter 1 = Eastern, Parameter 2 = Indian, Parameter 3 = HR, and Parameter 4 = Permanent) Pass Through without Markup or Markdown
Rule 2 (where Source System = X, Parameter 1 = Western, Parameter 2 = Indian, Parameter 3 = HR, and Parameter 4 = Permanent) Pass Through without Markup or Markdown
Rule 2 (where Source System = X, Parameter 1 = Western, Parameter 2 = Indian, Parameter 3 = HR, and Parameter 4 = Permanent) Pass Through without Markup or Markdown
Note: Here, the source system is mapped to the UDF_​CHAR_​1 field, the parameter 1 is mapped to the UDF_​CHAR_​2 field, the parameter 2 is mapped to the UDF_​CHAR_​3 field, the parameter 3 is mapped to the UDF_​CHAR_​4 field, the parameter 4 is mapped to the UDF_​CHAR_​5 field, the paid date is mapped to the UDF_​DATE_​1 field, and the Pass Through without Markup or Markdown pricing arrangement identifier is set to PASS in the ANCILLARY pricing rule type.

Example 5: Effective Pricing Rule Derivation Using Best Fit Match for Pricing Parameters

In the example 5, the system could not find the exact match for the pricing parameters (i.e. Source System = X, Parameter 1 = Western, Parameter 2 = Indian, Parameter 3 = HR, and Parameter 4 = Permanent) in the effective pricing rule for PP1. Therefore, the system searches for the best fit match. While searching for the best fit match, the system rules out the optional parameter 4 (i.e. Parameter 4 = Permanent) and then checks whether the pricing group rule where Source System = X, Parameter 1 = Western, Parameter 2 = Indian, and Parameter 3 = HR exists in the effective pricing rule. If so, it considers the pricing group rule for further processing. If not, the system then rules out the optional parameter 3 (i.e. Parameter 3 = HR) and then checks whether the pricing group rule where Source System = X, Parameter 1 = Western, and Parameter 2 = Indian exists in the effective pricing rule. If so, it considers the pricing group rule for further processing. If not, the system then rules out the optional parameter 2 (i.e. Parameter 2 = Indian) and then checks whether the pricing group rule where Source System = X and Parameter 1 = Western exists in the effective pricing rule. If so, it considers the pricing group rule for further processing. If not, the status of the transaction is changed to Error.

In the example 5, the system considers Rule 1 where Source System = X and Parameter 1 = Western as the best fit match in the PR1 pricing rule for PP1. In addition, the pricing arrangement is set to Pass Through without Markup or Markdown within Rule 1 of the PR1 pricing rule. Therefore, the system fetches PR1 as the effective pricing rule for PP1. In addition, the system fetches PR2 as the effective pricing rule for PP2. The system creates two price item parameter groups - One contains BCHGLINETYPE = BC1, PRICINGARRANGEMENT = PASS, and Pricing Group Rule Parameter = Rule 1 and another contains BCHGLINETYPE = BC1, PRICINGARRANGEMENT = PASS, and Pricing Group Rule Parameter = Rule 2. Once the price item parameter group is created, the system creates the aggregation parameter group. An aggregation parameter group contains all price item parameters included in the related pricing rule type for which the parameter usage is set to Aggregation.

If the effective pricing rule is not derived for a price item and price item parameters combination or if the account or active contract for the account is not derived, the system does not create a transaction leg for the respective price item.

For example, the following table illustrates that transaction legs are created only when effective pricing rule and account with an active contract are derived for a price item and price item parameters combination:
Primary Pricing Rule Type Price Item Price Item Parameters Effective Pricing Rule Account Active Contract Transaction Leg
ANCILLARY PP11 BCHGLINETYPE = UDF_​CHAR_​6 and PRICINGARRANGEMENT = UDF_​CHAR_​7 - - - -
PP12 PR12 A1 C1 TL11
PP13 PR13 - - -
PP14 PR14 A2 - -
PP15 PR15 - - -
PP16 - - - -
PP17 PR17 A2 C2 TL12

Example 6: No. of Transaction Legs Derived

In the example 6, the system could not find the effective pricing rule for PP11 and PP16, the required account for PP13 and PP15, and the active contract for PP14 on A2. Therefore, in this case, the system creates two transaction legs - TL11 and TL12 for the transaction.

If the eligibility rule type is defined of a price item, the system maps the ancillary transaction to the price item when the eligibility rule is satisfied. If the eligibility rule is not satisfied, the system does not consider the price item for billing. For example,

Price Item Eligibility Criteria Met Effective Pricing Rule Account Active Contract Transaction Leg
PE1 Yes PR1 A1 C1 TL1
PE2 - PR2 - - -
PE3 No - - - -
PE4 Yes - - - -
PE5 Yes PR3 A2 - -
PE6 Yes PR4 - - -

Example 7: Price Item Eligibility for Transaction Leg Derivation

In the example 7, the eligibility criteria was defined for PE1, PE3, PE4, PE5, and PE6. The eligibility criteria was satisfied for PE1, PE4, PE5, and PE6, but not for PE3. Further, the system could not find the effective pricing rule for PE4, the required account for PE2 and PE6, and the active contract for PE5 on A2. Therefore, in this case, the system creates one transaction leg (i.e. TL1) for the ancillary transaction. For more information, refer to the Price Item Eligibility section.

Once a transaction leg is created, the derivation date is set as the processing date corresponding to the transaction leg.