XML API for Sage 50 Project Record
The PostTrans XML API for Sage 50 provides to ability to update, or create Project Record details in Sage 50, from a simple to understand XML file, which can be combined to update Project details before importing and Sales Order, Invoice, Credit, Product Adjustment etc.
The following XML file if submitted to import directory or IMAP e-mail account. At the top of the XML file, we can optionally set the Sage 50 Company for the Sage 50 API to import or update Project details and override settings which can also be set in XML_API_mappings.xml (“View >> Mapping Settings” menu)
Click here for an overview of the XML API for Sage 50
List of Examples
Example - 90 Project.xml
<?xml version="1.0" ?>
<sage50Data>
<settings> <!-- Optional overide settings/mappings -->
<companyCode>DEMO01</companyCode>
<mappings>
mappingReset // Clear all settings 50_XML_API_mappings.xml
CuCreditLimit,onlyOnCreate //Do not set if account already exisits
CuTaxCode,onlyOnCreate
CuCurrency,onlyOnCreate
cuDateOpened,onlyOnCreate
</mappings>
</settings>
<!-- see https://www.posttrans.co.uk/XML-API/XML-API-for-Sage-50/Project-Record -->
<Project>
<PjCode>TEST-PROJ-03</PjCode>
<PjName>Comtek Accounts</PjName>
<PjDesc>Long description</PjDesc>
<PjStartDate>2017-02-20</PjStartDate>
<PjEndDate>2050-02-20</PjEndDate>
<PjCustCode>ABS001</PjCustCode>
<PjOrderNo>SO30681236</PjOrderNo>
<PjAnalysis1>User 1</PjAnalysis1>
<PjAnalysis2>User 2</PjAnalysis2>
<PjAnalysis3>User 3</PjAnalysis3>
</Project>
</sage50Data>