I have dependencies between a composite object that needs validation.

I have a composite DTO (CA), that has 1 BI, 1..* OI's, and 1..* Prod's. But
there are fields in the BI that are dependant on fields in the various OI's?

I.E:

CA:
 |--> 1 BI
     |--> BI.EIN
     |--> BI.Type
 |--> 1..* OI
     |--> OI.SSN
 |--> 1..* PROD


For example, the BI.EIN# can not be the same as the OI.SSN# on any of
the OI's if the BI.Type is _NOT_ "Sole Proprietor".

Can anyone help with a way to design my validation?


---
Thanks

Mick Knutson
415-222-1020
---



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to