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

 


Help: OASIS Mailing Lists Help | MarkMail Help

ubl-dev message

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


Subject: UBL / PreisShare hybrid catalogue localization


David, 

OK - here's a ZIP with the CAM template and revised catalogue localized
layout for PreisShare. 

Noticed I changed a couple of things to keep them closer to UBL, and
make them more extensible in future. 

I also included the HTML rules report that CAM generates + the lookup
files.

Enjoy, DW

p.s. I'm also using the associative validation with template location
here - so you can point to the URL where the template is (right now it
defaults to the same sub-directory as the instance "./[name.cam]"). 
 
"The way to be is to do" - Confucius (551-472 B.C.)
 

 -------- Original Message --------
Subject: [ubl-dev] Re: Catalogue Re: [ubl-dev] B2B and IT standards...
interesting paper and Gartner's view
From: David Lyon <david.lyon@preisshare.net>
Date: Tue, February 06, 2007 6:05 am
To: Stephen Green <stephen.green@bristol.gov.uk>
Cc: ubl-dev@lists.oasis-open.org

Hi Steve,

looks good.....

Implementing that will probably keep me busy (and quiet) for a few 
days... :-)

Regards

David

Stephen Green wrote:
> Just to add an amended PreisShare xml file for a pricelist document
> which matches the UBL equivalent at
> http://lists.oasis-open.org/archives/ubl-dev/200702/msg00041.html
>
> <Price_List price_List_ID="007" issue_Date="2007-01-01">
> <Vendor_Information>
> <PreisShare_ID>038454332</PreisShare_ID>
> <Organisation_Name>Yada Computers</Organisation_Name>
> <Address_Line_1>3a River Road</Address_Line_1>
> <Address_Line_2/>
> <Suburb_Town>Naremburn</Suburb_Town>
> <State_Region>NSW</State_Region>
> <ZIP_Postcode>2566</ZIP_Postcode>
> <Country_Code list_ID="ISO3166-1" url="http://docs.oasis-open.org/ubl/os-ubl-2.0/cl/gc/default/CountryIdentificationCode-2.0.gc";>AU</Country_Code>
> </Vendor_Information>
> <Receiver_Information>
> <PreisShare_ID>1</PreisShare_ID>
> <Organisation_Name></Organisation_Name>
> <Address_Line_1></Address_Line_1>
> <Address_Line_2/>
> <Suburb_Town></Suburb_Town>
> <State_Region></State_Region>
> <ZIP_Postcode></ZIP_Postcode>
> <Country_Code></Country_Code>
> </Receiver_Information>
> <Product_Information>
> <Product_Group>
> <Group_Description>Parts</Group_Description>
> <Product_Items>
> <Product>
> <PLU>37380</PLU>
> <Name>Net Switch 10/100 24P rt 19"</Name>
> <Actual_Price iso_3166-1_Currency_Code="NZD" url="http://docs.oasis-open.org/UBL/os-UBL-2.0/cl/gc/cefact/CurrencyCode-2.0.gc";>106.6</Actual_Price>
> <Price_Base_Quantity unece_7_04_Units_Of_Measure_Code="C62" unece_7_04_Units_Of_Measure_Name="one" url="http://docs.oasis-open.org/UBL/os-UBL-2.0/cl/gc/cefact/UnitOfMeasureCode-2.0.gc";>1</Price_Base_Quantity>
> </Product>
> <Product>
> <PLU>GE00447</PLU>
> <Name>Geh K Ext. LC-POWER EH-25MP Multimedia HDD Player 2,5"</Name>
> <Actual_Price/>
> </Product>
> </Product_Items>
> </Product_Group>
> </Product_Information>
> </Price_List>
>
> I just added a few things like document ID and issue date (attributes on document root),
> codelist bindings to help UBL-interop and base quantity added to price (seems sensible).
>
> My UBL subset adds a few things like multiple descriptive elements (for multiple languages
> - a good add from Denmark to UBL documents in general I think), a country name, etc in
> addresses (in case a country is created which doesn't yet have a code) and other minor 
> things. Otherwise the subset at http://lists.oasis-open.org/archives/ubl-dev/200702/msg00041.html
> seems a close match to the PreisShare xml format. Hence I'd suggest encapsulating it in some
> CAM.
>
> All the best
>
> Stephen Green
>
> 

sample-catalogue.zip



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