Exporting Prices from Sage 50 US
This task will export price information from Sage 50 US in the XML format shown at the end of this article. You can choose to export either all, modified or only new records, and can filter the exports if only a subset of your price information is required.
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.
Export New, Modified or All Records
Required
Setting to determine which records are exported from Sage. This setting defaults to Modified
. The following options are available:
- New - Will only export records created since the last time the task was ran.
- Modified - Will only export records updated in Sage since the last time the task was ran.
- All - Will always export all records.
Filters
Optional
Settings to allow only specific records to be exported from Sage. See the Sage 50 US Filters article for more information.
Output File
Required
The name of the file to export to. Defaults to sage_50_us_export_prices.xml
.
Example
A sample output file is shown below.
<?xml version="1.0" encoding="utf-8"?>
<ArrayOfPrices>
<Prices xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<ExternalId />
<Key>7daf3aa1-8dcd-48f3-bbfd-a55c46dcc1c5</Key>
<InventoryItemReference>18929</InventoryItemReference>
<PartNumber />
<PriceLevels>
<PriceLevel>
<Enabled>true</Enabled>
<Level>1</Level>
<Name>Price Level 1</Name>
<UnitPrice>5</UnitPrice>
</PriceLevel>
<PriceLevel>
<Enabled>true</Enabled>
<Level>2</Level>
<Name>Price Level 2</Name>
<UnitPrice>10</UnitPrice>
</PriceLevel>
</PriceLevels>
</ArrayOfPrices>