Importing Inventory Adjustments into Sage 50 US
This task will import inventory adjustments in the Sage 50 US Inventory Adjustment XML format into Sage 50 US. This allows you to adjust the stock level of your products in Sage 50 US. The task does not support updating existing inventory adjustments in Sage, it will only create new ones.
Settings
Sage Connection
Required
The connection to Sage 50 US to use. See the Connecting to Sage 50 US article if you require more information on how to create/manage connections.
Note
This task uses the COM interface. You will need to provide a Company Username and Company Password in your Sage 50 US connection, if user security is enabled in Sage.
Fail File
Required
The name of a file for "failed" imports to be sent to. Defaults to sage_50_us_import_inventory_adjustments_fail.xml.
Input File
Required
The source file that you want to import in XML format. Defaults to (Output from previous task).
Success File
Required
The name of a file for "successful" imports to be sent to. Defaults to sage_50_us_import_inventory_adjustments_success.xml.
Zynk Settings
See Common Task Settings.
Example
A sample input file is shown below. See Sage 50 US Inventory Adjustment XML for full documentation of the XML format.
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfInventoryAdjustment>
<InventoryAdjustment>
<ItemID>TEST0001</ItemID>
<ReferenceNumber>ZYNK4</ReferenceNumber>
<Date>2026-01-31T09:00:00</Date>
<ReasonToAdjust>New stock</ReasonToAdjust>
<InventoryAccount>1200</InventoryAccount>
<AmountAdjusted>9</AmountAdjusted>
<InventoryAdjustmentLines>
<InventoryAdjustmentLine>
<GLSourceAccount>5000</GLSourceAccount>
<UnitCost>9</UnitCost>
<Quantity>3</Quantity>
<Amount>-27</Amount>
</InventoryAdjustmentLine>
</InventoryAdjustmentLines>
</InventoryAdjustment>
</ArrayOfInventoryAdjustment>