Exporting Suppliers from Sage 200
This task will export suppliers in Sage 200 Supplier 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
Characters To Cleanse
Optional
A list of characters to remove from the output file. Use this if your Sage data contains characters that are not valid for XML documents (e.g. �
).
Export Settings
Required
- Date Created - Used when exporting new records. Only records created after this date will be exported. The date will update automatically each time the task runs.
- Export Modified, New or All Records - Used to choose which records should be included in the export. Note that the 'Modified' setting will also export any new records.
- Op Lock - Used when exporting modified records. Only records where the Op Lock is greater than this value will be exported. The value will update automatically each time the task runs.
- When initially setting up the task, the Op Lock value will default to 0, this will export all records the first time that it runs.
- If you would like the integration to pick up all records modified from now on, enter a value of MAX into the Op Lock setting and press Enter, Zynk will attempt to read the current highest value from Sage 200. Please note that you need to have a connection set up to the Sage 200 company on the task, and the user that Zynk is running as must be able to access the company).
- Page Size - The maximum number of records in each batch read from Sage. Increasing this will speed up the export but use more memory. Defaults to 100.
- Timeout (seconds) - Specify the timeout for the task you're running. Defaults to 30.
- Use Caching - Will cache certain common types which could be referenced in mulitple places, to minimise the amount of database activity, and decrease to overall export time. This will use more memory, if you encounter out of memory issues, then try disabling this setting.
Query Settings
Optional
- Columns - Used to enter the column names to export from the Sage database. Be sure to include the table name eg.
[SLCustomerAccount].[CustomerAccountNumber]
- Joins - Allows data to be exported from other tables in the Sage database. Required when exporting data from tables not included in the standard export.
- Where Clauses - Allows filters to be set to limit the data that is exported.
Output File
Required
The file to save the exported records to, in Zynk XML format.
Zynk Settings
Examples
Sample output file:
<?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">
<Suppliers>
<Supplier>
<Id>1234</Id>
<UniqueId>1620</UniqueId>
<CompanyName>Zynk Software</CompanyName>
<AccountOpened xsi:nil="true" />
<AccountReference>ZYN001</AccountReference>
<VatNumber>GB12345</VatNumber>
<CreditLimit>1000</CreditLimit>
<Balance>270</Balance>
<SupplierInvoiceAddress>
<Title>Mr.</Title>
<Forename>Joe</Forename>
<Surname>Bloggs</Surname>
<Company>Zynk Software</Company>
<Description>Joe Bloggs - NE2 3AE</Description>
<Address1>Flemming Business Centre</Address1>
<Address2>Jesmond</Address2>
<Address3 />
<Address4 />
<Town>Newcastle</Town>
<Postcode>NE2 3AE</Postcode>
<County />
<Country />
<CountryName />
<Telephone>0845 123 2920</Telephone>
<TelephoneCountryCode />
<TelephoneAreaCode />
<Fax />
<FaxCountryCode />
<FaxAreaCode />
<Mobile />
<MobileCountryCode />
<MobileAreaCode />
<Email>[email protected]</Email>
<ContactName>Joe Bloggs</ContactName>
<Website>www.example.com</Website>
<Birthdate xsi:nil="true" />
<Notes />
<TaxCode>1</TaxCode>
<CustomFields />
<Activities />
<Groups />
<Roles />
</SupplierInvoiceAddress>
<SupplierDeliveryAddress>
<Title>Mr.</Title>
<Forename>Joe</Forename>
<Surname>Bloggs</Surname>
<Company>Zynk Software</Company>
<Description>Joe Bloggs - NE2 3AE</Description>
<Address1>Flemming Business Centre</Address1>
<Address2>Jesmond</Address2>
<Address3 />
<Address4 />
<Town>Newcastle</Town>
<Postcode>NE2 3AE</Postcode>
<County />
<Country> </Country>
<CountryName />
<Telephone>0845 123 2920</Telephone>
<TelephoneCountryArea />
<TelephoneAreaCode />
<Fax />
<FaxCountryCode />
<FaxAreaCode />
<Mobile />
<MobileCountryCode />
<MobileAreaCode />
<Email>[email protected]</Email>
<ContactName>Joe Bloggs</ContactName>
<Website>www.example.com</Website>
<Birthdate xsi:nil="true" />
<Notes />
<TaxCode>1</TaxCode>
<CustomFields />
<Activities />
<Groups />
<Roles />
</SupplierDeliveryAddress>
<ChargeCredit xsi:nil="true" />
<Currency>GBP</Currency>
<TermsAgreed>true</TermsAgreed>
<AccountOnHold>false</AccountOnHold>
<IsActive xsi:nil="true" />
<AccountStatus xsi:nil="true" />
<Priority xsi:nil="true" />
<ShortName>Internet</ShortName>
<FixedDiscount xsi:nil="true" />
<OverrideNominalCode xsi:nil="true" />
<OverrideTaxCode xsi:nil="true" />
<PaymentDays>0</PaymentDays>
<RestrictMailing xsi:nil="true" />
<SendElectronicInvoice xsi:nil="true" />
<SendElectronicLetter xsi:nil="true" />
<SettlementDays xsi:nil="true" />
<SettlementDiscount xsi:nil="true" />
<Contacts />
<TaxCode>1</TaxCode>
<PaymentGroupDescription />
<PaymentGroup>0</PaymentGroup>
<Banks />
<AnalysisCodes />
<CustomFields />
<KeepTransactionsFor>30</KeepTransactionsFor>
</Supplier>
</Suppliers>
</Company>