![]() |
VOOZH | about |
The CData Excel Add-In for Sage 300 provides formulas that can query Sage 300 data. The following three steps show how you can automate the following task: Search Sage 300 data for a user-specified value and then organize the results into an Excel spreadsheet.
The syntax of the CDATAQUERY formula is the following:
=CDATAQUERY(Query, [Connection], [Parameters], [ResultLocation]);
This formula requires three inputs:
Connection: Either the connection name, such as Sage300Connection1, or a connection string. The connection string consists of the required properties for connecting to Sage 300 data, separated by semicolons.
Sage 300 requires some initial setup in order to communicate over the Sage 300 Web API.
Authenticate to Sage 300 using Basic authentication.
You must provide values for the following properties to successfully authenticate to Sage 300. Note that the provider reuses the session opened by Sage 300 using cookies. This means that your credentials are used only on the first request to open the session. After that, cookies returned from Sage 300 are used for authentication.
The procedure below results in a spreadsheet that organizes all the formula inputs in the first column.
=CDATAQUERY("SELECT * FROM OEInvoices WHERE AllowPartialShipments = '"&B5&"'","User="&B1&";Password="&B2&";URL="&B3&";Company="&B4&";Provider=Sage300",B6)
👁 Formula inputs used in this example. (Google Apps is shown.)Download a free trial of the Excel Add-In for Sage 300 to get started:
Download NowLearn more:
👁 Sage 300 IconThe Sage 300 Excel Add-In is a powerful tool that allows you to connect with live Sage 300 data, directly from Microsoft Excel.
Use Excel to read, write, and update Sage 300 Invoices, Receipts, Refunds, etc. Perfect for mass imports / exports / updates, data cleansing & de-duplication, Excel based data analysis, and more!