Home » Categories » Solutions by Business Process » E-Business » XML

Maintain XML Lookup Files

Datafile Software

Maintain XML Lookup Files


In the sales order cycle, the orders we receive will need to specify product codes and delivery locations for the orders. To ensure that no product codes from two different suppliers are coincidentally the same, it is very common to use a 13-digit EAN code for the products being ordered. This code encompasses a unique supplier code, which is issued by a national body (the UK body is known as GS1 UK†), with a simple numeric part number for each product that the supplier has in their price list.X

Since these numbers are unlikely to bear any relationship to your current stock codes, the XML process must know how to translate from one to the other. This is achieved by maintaining an XML lookup table.

Customer locations are likely to exist in your sales ledger as delivery address codes, and again the customer will use their own codes for these in the XML files. These too must be maintained in the table. It is not uncommon for customers to use EAN codes for their locations, although many others may use a shorter alphanumeric code.

You will need to maintain an extra data item in the stock file to hold the product EAN code, and in the sales ledger accounts file to hold the customer location code. The following options update the lookup table from these two files, and allow you to make manual entries too.

In the purchase order cycle, similar options may apply.
Custom Fields
  • Release ID: Standard
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
dfd
Viewed 1779 times since Mon, Jul 9, 2012
XML Transaction Types
Viewed 4003 times since Tue, Jul 10, 2012
key
Viewed 1414 times since Mon, Jul 9, 2012
Example Datafile XML Template
Viewed 14667 times since Tue, Jul 10, 2012
Missing Element Tags
Viewed 1503 times since Mon, Jul 9, 2012
Purchase Order Cycle
Viewed 1506 times since Tue, Jul 10, 2012
Purchase Order Header (POH)
Viewed 3758 times since Tue, Jul 10, 2012
Stock Control (STA)
Viewed 1493 times since Tue, Jul 10, 2012
Database Profile Copy Items
Viewed 1519 times since Tue, Jul 10, 2012
decimals
Viewed 4014 times since Mon, Jul 9, 2012