Pastel Partner
Provides integration into Sage50cloud Pastel Partner via the Sage50cloud Sage50cloud Pastel Partner SDK.
This is for the legacy Connector, for the latest Connector see:
Sage50cloud Pastel Partner
Revision History
18.0.0.2 Tidied up support for Partner V19
18.0.0.3 Added support for optional fields, updated node samples.
Properties
Connection
Type: Connection Input
Defines a connection to a Sage50cloud Pastel Partner installation and company database.
CompanyDatabase
Type: String
The path to the company database - eg. C:\PASTEL18\COMPANYNAME
ProgramPath
Type: String
The path to the Pastel installation - eg. C:\PASTEL18
Module
Type: List Input
The Module that will be affected by the transaction.
Accounts
Documents
GlBatches
RequestXml
Type: Xml Input
The request to be sent to Sage50cloud Pastel Partner in XML form.
ResponseXml
Type: Xml Output
The response received back from Pastel partner in XML form.
Remarks
This Node reduces the complexity of integrating into Sage Pastel by enabling integration regardless of the location of the application server. The Node also abstracts away the underlying pipe-delimited strings expected by the SDK and instead exposes well structured XML documents.
Use the Node Samples provided with this Node to get started quickly.
Requirements and Setup
- Install the Sage50cloud Pastel Partner SDK on the server that Sage50cloud Pastel Partner is installed on (download the SDK from the Additional Downloads tab at http://pastelupdate.sagesouthafrica.co.za/)
- Contact Sage to register the SDK, there is no additional cost to do this and you do notneed the Developer license of the SDK. Once registered you should see
Software Developer Kit
listed in the modules section of the Help/About dialog - Install a 32bit DropPoint on the Sage50cloud Pastel Partner Server
Working with Sage50cloud Pastel Partner
The Sage50cloud Pastel Partner Connector supports writing of transactional and master data and should always be used for this purpose.
To read data, use an ODBC Query to query the PervasiveSQL database, specifying a ConnectionString in the following form:
Driver={Pervasive ODBC Client Interface}; servername=server_name_or_ip; dbq=data_source_name
Note that as with the Sage50cloud Pastel Partner Connector, you must use a 32bit DropPoint to communicate with the PervasiveSQL database.
Troubleshooting
If you get the error "Unable to instance SDK. Ensure the Sage50cloud Pastel Partner connector is running through a 32bit DropPoint and that the Pastel SDK has been installed on the server", run through the following diagnostics points.
- Ensure that the Flowgear DropPoint service is running using a named user account with administrative privileges.
- Ensure that you have installed the 32bit DropPoint version.
- Ensure that the Pastel SDK is registered successfully. (Check Requirements and Setup section).
- Re-register the Pastel SDK files by running the following in the command prompt window:
1.regsvr32 "C:\Program Files (x86)\Common Files\Sage Pastel\PasSDK.dll
2.regsvr32 "C:\Program Files (x86)\Common Files\Sage Pastel\SDKPasV{YourPastel Partner Version}.dll
Examples
Refer to Node Samples for example uses.