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
Run XML Transaction Extensions
Viewed 1920 times since Thu, Jul 5, 2012
Application Considerations - Faxed/Phoned Orders
Viewed 9581 times since Tue, Jul 10, 2012
Purchase Ledger Transactions
Viewed 1985 times since Tue, Jul 10, 2012
Call XML Option From ProFiler Queued Menu
Viewed 1969 times since Tue, Jul 10, 2012
Constants File
Viewed 2097 times since Mon, Jul 9, 2012
XML Definition Process
Viewed 2233 times since Mon, Jul 9, 2012
Permitted Characters
Viewed 2142 times since Mon, Jul 9, 2012
Namespaces
Viewed 47903 times since Tue, Jul 10, 2012
XML Template Display
Viewed 2131 times since Mon, Jul 9, 2012
Example of XML Document
Viewed 2523 times since Tue, Jul 10, 2012