[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [ubl-dev] Creating a new document....
Well, I think I've created a new CAC (ABIE??) with introducing a JobSheet and JobSheetLineItem types, but as I said, I'm a complete newbie and am fumbling in the dark a bit (esp with terminology and 'the rules' of naming) I found the contact ABIE isn't quite 'big' enough, with me having to put the mobile, pager and home phone numbers into the OtherCommunication ASBIE Also, I found the Item ABIE restrictive too. If I have a model of mobile phone, I need the Model number, Serial Number, IMEI recorded My logic was to do: Serial Number mapped to ManufacturersItemIdentification Model number to me mapped to CatalogueItemIdentification IMEI mapped to AdditionalItemIdentification I don't feel right about putting the model number in CatalogueItemIdentification, but I didn't know what else do without creating my own 'JobsheetItemType' I'm expecting (and hoping a little) to have someone step out of the shadows and say 'no no no, you've got it all wrong!' -----Original Message----- From: Stephen Green [mailto:stephen_green@seventhproject.co.uk] Sent: Friday, June 25, 2004 1:04 AM To: ubl-dev@lists.oasis-open.org Subject: Re: [ubl-dev] Creating a new document.... Steven That's excellent. Were you able to do all necessary customization of the common ABIEs, etc without resorting to new CAC or CBC Schemas then? That would be very encouraging. I'd like to do the same with 'UBL Lite' but hoping to get away with keeping the same namespaces in the invoice and order documents (if that's the way it goes) (for reasons folk will be tired of hearing) Thanks for sharing it with us. Stephen Green ----- Original Message ----- From: "Steven Herod" <sherod@tedis.com.au> To: <ubl-dev@lists.oasis-open.org> Sent: Thursday, June 24, 2004 11:06 AM Subject: [ubl-dev] Creating a new document.... > Hello. > > I've finished my first draft of my 'new document from scratch'. > > After my last post 1 or 2 people expressed interested in knowing how I went, > so here is a summary for those interested. > > I initially tried the cut and paste method in excel that was suggested by > Chin Chee-Kai but I had little success in getting UBLish to give me an XSD > based on my new document type (Undoubtedly I am doing something wrong) > > Instead I used XML Spy. > > I started by attempting to reproduce the sample Invoice schema in a new xsd > and worked through the steps of setting up the xsd imports and the > namespaces by hand (I had not done this in XML Spy before so it was a > learning experience). > > Then I added the Invoice elements via CutnPaste, renaming the Invoice and > InvoiceType to JobSheet and JobSheetType to reflect the differing function > of the document schema I was creating. > > After that it was a process of adding and removing elements as needed, > keeping in mind Chin's comments about treating ABIE's as atomic entities and > making sure I used the BBIE's when I needed additional basic elements (or as > the building blocks of my own types). I also changed the cardinality of > some elements (I only need three line items for instance, not an unbounded > number) > > Anyway, I've gone from 'what is UBL?' to this in about 2 man days and I'm > not sure I've done anything but create a FrankenSchema. > > Anyway, I've attached a zip archive of the xsd I created and the xls which > shows the mappings from the customer CVS representation to this > FrankenSchema. There is also a word document describing the purpose of a > Job sheet. > > Thank you for your time > > > Regards > Steven Herod > TEDIS > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]