[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [ubl] use of 'ID' in documents
this comes from trying to implement a rule that goes along the lines of... "all documents must have an ID. However with some documents (eg Order) it may be either the BuyersID and/or the SellersID" unfortunately we dont have schema (or spreadsheet) syntax for "either are optional but one must be used" - which is actually a common rule in the real world. What we have don is the best we can. Anne Hendry wrote: > We notice that some documents contain an 'ID' element. The 'ID' > elements seem to be mandatory. The documents that don't have 'ID' > seem to have 'BuyersID' and 'SellersID', but those are optional. > > Is this an intended modeling aspect that assumes in the documents that > don't have 'ID' the users would implement either a BuyersID or > SellersID, even though they are both optional? Do we want to > duplicate this model for new documents? When do you determine you > want a mandatory ID vs. two optional Buyers|Sellers IDs? > > Thanks, > Anne > > > --------------------------------------------------------------------- > To unsubscribe from this mail list, you must leave the OASIS TC that > generates this mail. You may a link to this group and all your TCs in > OASIS > at: > https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php > -- regards tim mcgrath phone: +618 93352228 postal: po box 1289 fremantle western australia 6160 DOCUMENT ENGINEERING: Analyzing and Designing Documents for Business Informatics and Web Services http://mitpress.mit.edu/catalog/item/default.asp?sid=632C40AB-4E94-4930-A94E-22FF8CA5641F&ttype=2&tid=10476
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]