Calculation variables

BriteCore’s rating engine provides several variables you can use in your calculations. Variable calculations simply perform the calculation and store it in the reference name. The result can then be shared and used by other calculations.

Note: All shared calculations are variable calculations.

Available variables

bc.policyInceptionDate (Copy link)

The date on which the policy was first created.

bc.age(bc.policyInceptionDate)

If the policy inception date is 2014-01-01 and the rating date is 2017-01-01, then the above calculation will resolve to 3.

bc.transactionEffectiveDate (Copy link)

The effective date of the current transaction.

bc.age(bc.transactionEffectiveDate)

bc.policyTermEffectiveDate (Copy link)

The effective date of the current term.

bc.age(bc.policyTermEffectiveDate)

bc.risk.inception_date (Copy link)

The date when the risk has been added. Once the quote is bound, this data value will never change.

collisionDeductible if bc.risk.inception_date == bc.transactionEffectiveDate else bc.risk.get(bc.fields.initialCollisionDeductible)

bc.isTransactionNewBusiness (Copy link)

Returns True if the current transaction type is New Business; otherwise, it will return False.

2 if bc.isTransactionNewBusiness else 4

If the transaction type is New Business, then the above calculation will return 2; otherwise, it will return 4.

bc.isTransactionRenewal (Copy link)

Returns True if the current transaction type is Renewal; otherwise, it will return False.

2 if bc.isTransactionRenewal else 4

If the transaction type is Renewal, then the above calculation will return 2; otherwise, it will return 4.

bc.isTransactionEndorsement (Copy link)

Returns True if the current transaction type is Endorsement; otherwise, it will return False.

2 if bc.isTransactionEndorsement else 4

If the transaction type is Endorsement, then the above calculation will return 2; otherwise, it will return 4.

bc.isTransactionCancellation (Copy link)

Returns True if the current transaction type is Cancellation; otherwise, it will return False.

2 if bc.isTransactionCancellation else 4

If the transaction type is Cancellation, then the above calculation will return 2; otherwise, it will return 4.

bc.isTransactionReinstatement (Copy link)

Returns True if the current transaction type is Reinstatement otherwise it will return False.

2 if bc.isTransactionReinstatement else 4

If the transaction type is Cancellation, then the above calculation will return 2; otherwise, it will return 4.

bc.isTransactionRewrite (Copy link)

Returns True if the current transaction type is Rewrite; otherwise, it will return False.

2 if bc.isTransactionRewrite else 4

If the transaction type is Rewrite, then the above calculation will return 2; otherwise, it will return 4.

Additional calculation information