Automating the EDI Input Sort with SYSPRO e.Net

Last modified: 30 September 2025.

Note: The following requires a base Cadacus Solutions for SYSPRO release of 12/19/2024 or later. The features to run documents and acknowledgements require programs dated 4/20/2025 or later.

The EDI input sort can be called as a SYSPRO business object. SYSPRO's e.Net system manager is required. The business object to call is the EDI010.

 

Type - Transaction, Post


XMLParameter

Element Example Notes
EDIInputSort   Root element.
Parameters   Start of export parameters

Sample XMLParameter

<EDIInputSort>
</EDIInputSort>

XMLIn

Element Example  Notes
EDIInputSort   Root element.
CommunicationsPath TEST The communications path the process
AllPaths Yes Indicates if all communications paths should be processed.
File   Performs the input sort on a specific file
RunImports Yes/No If Yes then any imports found during the sort will be run. To run imports this must be set, the system default will not be used.
AbortUnknown Yes/No If Yes then no imports will be run if unknown documents are found.
RunAcknowledgements Yes/No If Yes then acknowledgements will be setup/created based on the Acknowledgements flag.
Acknowledgements  
  • No - No acknowledgement processing
  • Yes - Setup the acknowledgement "in" file for any received documents
  • Generate - Create the acknowledgements for any received documents
  • Send - Create and send (call the output combine) for needed acknowledgements

Note: Only one of the tags CommunicationsPath, AllPaths or File may be used at a time.

Sample XMLIn

<EDIInputSort>
  <CommunicationsPath>TEST</CommunicationsPath>
</EDIInputSort>

XMLOut

Elements Notes
EDIInputSort Root element
Sort Start of the returned information.
CommunicationsPath The trading partner code for which the import was performed.
ArchivedReportFile The name of the archived report is report history is enabled in the system setup.
Errors A count of the errors on the report.
Warnings A count of the warnings on the report.
ReportNumber The report number of the report in the SQL tables if saving of the report to SQL is enabled.
ErrorMessage The number of documents exported.

Sample XMLOut

<EDIInputSort>
 <Sort>
  <CommunicationsPath>TEST</CommunicationsPath>
  <ArchivedReportFile>c:\EDI\Reports\Sort\Sort-08234034.txt</ArchivedReportFile>
  <Errors>0</Errors>
  <Warnings>0</Warnings>
  <ReportNumber>1230</ReportNumber>
 </Sort>
</EDIInputSort>