FpML Issues Tracker

712: cd-37 firing too often, some of the rule should be in the context

May 20, 2008

closed

Minor

Always

Validation Rules

Admin

None

Summary

The rule cd-37 is firing too often - i.e. firing outside of its business scope. Some of the rule body should be in the context.

The rule today: " Context: CashSettlementTerms (complex type) cd-37 (Mandatory) Preconditions: SameCurrency quotationAmount/amount >= minimumQuotationAmount/amount, if both elements are present. "

The proposed rule written out in the FpML style: " Contexts: CashSettlementTerms (complex type) cd-37 (Mandatory) Conditions: SameCurrency, quotationAmount exists, minimumQuotationAmount exists quotationAmount/amount >= minimumQuotationAmount/amount "

Notes:

  • matthewdr

    06/03/08 1:49 pm

    The proposed rule written out in the FpML style:

    Contexts: CashSettlementTerms (complex type)
    cd-37 (Mandatory)
    Conditions: SameCurrency((quotationAmount/amount, minimumQuotationAmount/amount)), quotationAmount exists, minimumQuotationAmount exists
    quotationAmount/amount >= minimumQuotationAmount/amount

  • matthewdr

    06/03/08 1:50 pm

    Agreed at VWG. Marc Gratacos to implement.

  • lyteck

    06/03/08 7:17 pm

    implemented as agreed

  • Leave an update

    You must be logged in to post an update.