Skip to content

Importing Allocation Sessions into Sage 200

This task allows you to allocate existing transactions in Sage 200, via an XML file provided in Sage 200 XML format.

Settings

Sage 200 Connection

Required
The Sage 200 connection to use. See the Connecting to Sage 200 article if you require more information on how to create/manage connections

Input File

Required
The source file for importing in Zynk XML format.

Fail File

Required
The name of the file to store failed allocation sessions in Zynk XML format.

Success File

Required
The name of the file to store the successfully imported allocation sessions in Zynk XML format.

Zynk Settings

See Common Task Settings

Examples

A sample input file for creating an allocation between a sales invoice and sales receipt is shown below.

<?xml version="1.0" encoding="utf-8"?>
<Company
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <AllocationSessions>
    <AllocationSession>
      <UniqueId>5006</UniqueId>
      <AllocationDate>2013-11-07T00:00:00</AllocationDate>
      <AccountReference>WEBSALES</AccountReference>
      <AllocationType>ManualPayment</AllocationType>
      <AllocationTransactions>
        <AllocationTransaction>
          <UniqueId>4987</UniqueId>
          <TransactionNumber>4</TransactionNumber>
          <Reference>0000000003</Reference>
          <SecondReference>0000000009</SecondReference>
          <Value>12</Value>
          <AllocationValue>12</AllocationValue>
          <TransactionType>SalesInvoice</TransactionType>
        </AllocationTransaction>
        <AllocationTransaction>
          <UniqueId>4998</UniqueId>
          <TransactionNumber>5</TransactionNumber>
          <Reference>PAY</Reference>
          <SecondReference>0000000003</SecondReference>
          <Value>-12</Value>
          <AllocationValue>-12</AllocationValue>
          <TransactionType>SalesReceipt</TransactionType>
        </AllocationTransaction>
      </AllocationTransactions>
    </AllocationSession>
  </AllocationSessions>
</Company>