OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ubl-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: RE: [ubl-comment] To define propietary business documents


Title: RE: [ubl-comment] To define propietary business documents

Hi Thomas

To me your examples are indeed status codes such as codes 159 - loading alongside or 161 - loading at anchor from the UN/ECE Recommended Code List No. 24 - transport status codes. The reference to these can be found at http://www.unece.org/cefact/ (please note that the word 'status' has been inadvertently omitted from the name of this code list on this web-site).

regards

Sue

Sue Probert

Senior Director, Document Standards
Commerce One
Tel: +44 17534 830000
email: sue.probert@commerceone.com


-----Original Message-----
From: Thomas Y.T. Lee [mailto:ytlee@csis.hku.hk]
Sent: 01 July 2002 03:58
To: Todd Boyle
Cc: ubl-comment@lists.oasis-open.org
Subject: Re: [ubl-comment] To define propietary business documents


Hi Todd,

It happens to me that I can't get rid of code sometimes. For example, when
I want to model a small enumeration like whether a ship status is
"loading", "discharge", or "transit", it would be strange to use id. What
CCT should I model a ShipStatus? Id (ShipStatusId), Code (ShipStatusCode),
Name (ShipStatusName), or Text (ShipStatusText)? Seems code sounds more
appropriate. I may be wrong since I still don't have full understanding of
the specs, as I said. What do you think?

Best regards,

Thomas

On Sun, 30 Jun 2002, Todd Boyle wrote:

> Use ID.  Forget about code. Codes are evil.  :-)
>
> Some owners of list data will use the CCTS "Code" type.
> When you encounter them you can
>
>   - wrapper them as an Identifier type, or
>
>   - if the set is small or static, in your market or community then, put the
>   whole set or subset, in your runtime, or XML schema.  But don't
> attempt to put the entire EDIFACT code lists, like
> CommerceOne did with their XDR version of XCBL, "XCBL30.xdr"
> which is 691Kb.
> http://www.google.com/search?q=AmericanPsychiatricAssociationDiagnosticStatisticalManualOfMentalDisorders




----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC