Overview
The following section outlines how Unimarket uses common cXML elements such as Header and Address elements which are common across Purchase Orders, Invoices and other cXML integration points.
This documentation should be read in conjunction with the technical documentation relating to the specific cXML integration point being implemented.
cXML Address elements
Please refer to Community Help > Community Management for information on how locations/addresses can be setup in Unimarket. Below is an example cXML Address element used in a 'ShipTo' element.
Current format
<Address addressID="testcode" isoCountryCode="NZ"> <Name xml:lang="en">Anne Arundel</Name> <PostalAddress name="default"> <DeliverTo>Amy Demo</DeliverTo> <Street>testline1</Street> <Street>testline2</Street> <Street>testline3</Street> <City>auckland</City> <State>Auckland</State> <PostalCode>1000</PostalCode> <Country isoCountryCode="NZ">New Zealand</Country> </PostalAddress> </Address> |
The cXML fields map to Unimarket fields as follows:
cXML Field |
Example |
Unimarket Location Code |
Mandatory |
<Address addressID> |
testcode |
Location Code |
N |
<Name> |
Anne Arundel |
Organisation or Community name |
N |
<DeliverTo> |
Amy Demo |
Buyer name |
N |
<Street> |
testline1 |
Location Address Line1 |
Y |
<Street> |
testline2 |
Location Address Line2 |
N |
<Street> |
testline3 |
Location Address Line3 |
N |
<City> |
auckland |
Location City |
Y |
<State> |
Auckland |
Location State or Region |
N |
<PostalCode> |
1000 |
Location Zip code |
N |
<Country> |
New Zealand |
Location Country |
Y |
<Country isoCountryCode> |
NZ |
Country Code |
Y |