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

Transaction Template Structures

Datafile Software

Transaction Template Structures


Most Datafile applications are based on linked master and detail databases, so the Datafile XML template generally matches to a similar model, being primarily driven by, or related to, the master file of the pair. In fact, all the current XML transactions match to one of five different types of template:

Type 1, create input records (for example, sales orders). From a header/detail-style of XML file, this creates a single temporary database, each record containing the master (order header) elements as well as the details for that particular order line. Datafile master/detail records (orders, say) are then created from that via a standard Datafile batch update accessory, such as the SOP batch update accessory.

Type 2, output from master/detail files (for example, outgoing XML files such as sales acknowledgements and delivery notifications, or purchase orders). This is driven by processing the master file, picking up the associated details on the way.

Type 3, output only transactions (for example, invoices and credit notes). These are driven from the master file (sales accounts file, say), but only output the transaction details in a header/detail style of XML file. The XML transaction header is created from one type of transaction (type 1 or 3, say) and the XML transaction details from another (type 9s, in this case).

Type 4, update records (such as purchase order responses). This is designed to update details in an existing master/detail file combination. These XML file types generally only occur in the purchase order cycle, and the transactions are designed to chain out to a suitable Datafile application document option as each XML document is deconstructed, to complete input processing before moving on to the next document.

Type 5, create transactions only (such as purchase invoices and credit notes direct into the purchase ledger). This type creates transaction data direct in the purchase ledger, without going via purchase orders (see type 4). In this case the type 1/3 records, together with their associated type 9 records, are created from XML header and details elements respectively.
Custom Fields
  • Release ID: Standard
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Input XML File Questions
Viewed 1427 times since Mon, Jul 9, 2012
Date and Time
Viewed 1424 times since Mon, Jul 9, 2012
EAN/Locns (Incoming Messages)
Viewed 3792 times since Thu, Jul 5, 2012
Application Considerations - Other Considerations
Viewed 1476 times since Tue, Jul 10, 2012
Specific Trading Partner Notes - Kingfield Heath
Viewed 1419 times since Tue, Jul 10, 2012
Missing Elements (Input XML Files)
Viewed 1531 times since Mon, Jul 9, 2012
XML Schema Definition (XSD)
Viewed 1571 times since Tue, Jul 10, 2012
Database Profile Copy Items
Viewed 1426 times since Tue, Jul 10, 2012
Sending/Receiving XML Files
Viewed 1806 times since Tue, Jul 10, 2012
XML Audit Trail Error Codes
Viewed 1950 times since Tue, Jul 10, 2012