Custom ERP export data template
You can use this business rule template to create a new business rule for each custom ERP connection to export its data.
This business rule template has the following input and output variables.
Input variables
|
Input Variable |
Data Type |
Description |
|---|---|---|
|
Invoice XML |
String |
The XML file content that is exported. The XML content is passed as a string so users can save it to any custom location or data source. |
|
ERP Connection ID |
Short |
The custom ERP connection ID. (Default: 0) |
|
ERP Connection Name |
String |
The custom ERP connection name. |
Output variables
|
Output Variable |
Data Type |
Description |
|---|---|---|
|
Is Successful |
Bool |
Indicates whether the data exported was successfully. (Default: false) |
|
Error Code |
String |
In case of a failure, configure a user-friendly, non-technical error code to explain the failure. |
|
Message |
String |
In case of a failure, configure a detailed error message to explain the failure. |
|
Additional Information |
String |
In case of a failure, include the error stack trace or other additional information that offers further details to explain the failure. |
|
Request Status |
String |
Return a status from one of the following:
|