sageCall
Description
Is a function that are needed when user want to use sage table.
Input / Parameters
No | Name | Description | Data Type | Required |
---|---|---|---|---|
1 | connector | Name of connector and created in the Services and Global Components page. | String | Yes |
2 | ent | Name of Sage table | String | Yes |
3 | function | The function from the Web Service to be executed. | String | Yes |
4 | data | This contains the main parameter in the function being called. | Object | No |
5 | extra | No |
Output
Callback
Video
Example
The user wants to use Sage table.
Step
Create SAGE Connector in Services and define the name, url and timeOut. Name: conn url: http://sage300demo.sageasiapac.com basepath: /Sage300WebApi apiVersion: 1.0 tenant: - company: SAMLTD user: DEMO password: **** timeOut: 30000
Make sure Sage table exist inside the services.
Call the function "sageCall".
Add a console after callback function for display response from console.
Result
Links
N/A
Last updated