FpML Issues Tracker
closed
Minor
Always
Validation Rules
Admin
sheinrich
Summary
The rule states: Context: BrokerEquityOption (complex type) eqd-25 (Mandatory) Preconditions: SameCurrency If numberOfOptions, equityPremium/paymentAmount and equityPremium/pricePerOption are present then: equityPremium/pricePerOption * numberOfOptions = equityPremium/paymentAmount/amount.
The rule should state: Context: BrokerEquityOption (complex type) eqd-25 (Mandatory) Preconditions: SameCurrency If numberOfOptions, equityPremium/paymentAmount and equityPremium/pricePerOption are present then: equityPremium/pricePerOption/amount * numberOfOptions = equityPremium/paymentAmount/amount.
The difference is the correct version has: equityPremium/pricePerOption/amount
Notes:
mgratacos
08/24/07 1:25 pm
EQDWG/VWG Meeting today:
pricePerOption is of type Money. The path should go to the amount element as Matthew suggests.
iyermakova
08/24/07 7:39 pm
eqd-25 equityPremium/pricePerOption/amount XPath was corected
The rule now state:
Context: BrokerEquityOption (complex type)
eqd-25 (Mandatory)
Preconditions: SameCurrency
If numberOfOptions, equityPremium/paymentAmount and equityPremium/pricePerOption are present then: equityPremium/pricePerOption/amount * numberOfOptions = equityPremium/paymentAmount/amount.
iyermakova
08/24/07 7:46 pm
eqd-25 equityPremium/pricePerOption/amount XPath was corected
the change is in the trunk