FpML Issues Tracker
closed
Minor
Always
Validation Rules
Admin
None
Summary
A new rule is needed to ensure BusinessCenters are disjoint.
The new rule is: " shared-21 (Mandatory) Context: BusinessCenters(complex type) Rule: The combination of businessCenter businessCenter/@businessCenterScheme must be distinct for each businessCenter. Comment: Each business centre must be uniquely identified. "
Notes:
matthewdr
06/03/08 1:36 pm
Agreed at VWG. Marc Gratacos to implement. The equivalence test will be represented as a function at Marc Gratacos’s request.
lyteck
07/07/08 2:28 pm
fixed as proposed (using new specs format)
matthewdr
08/12/08 5:07 pm
”
Function: different-BusinessCenters
The combination of businessCenter and businessCenter/@businessCenterScheme must be distinct for each businessCenter.
* parameter: businessCenter (fpml:BusinessCenter) (cardinality: min=1)
* test: All businessCenter must not be the same and all businessCenter/@businessCenterScheme must not be the same.
* result: true/false (boolean)
”
* With a parameter with a cardinality of 1 it doesn’t make senses to say “All”.
lyteck
08/19/08 9:00 pm
fixed using format proposed in issue 722:
added comment: Each business centre must be uniquely identified. The businessCenterScheme is part of the businessCenter uniqueness check.
updated rule definition: Each businessCenter must be unique. An business center is identified by businessCenter.
(the previous note from Matthew is no longer applicable to shared-212 when the rule is rewritten without a function as agreed in 722)
matthewdr
08/20/08 9:27 am
Closing after review of the resolution.