Mass EDI Doc Status Code Change

Menu Access
 Character: EDI 7 7
 GUI: EDI: System

When the Generate EDI Data function is run, the system assigns a batch number to each EDI document which is processed, and changes the status code to "2", which means that the document was sent. If, for example, the generated data is not translated properly, the status code must be changed back to "1" to indicate that the EDI document was not sent. While this can be done using the EDI Document Review function, it will take time to do, especially if there are many documents in the batch.

The Mass EDI Document Status Code Change function helps reduce the time it takes to make this type of change. The user is prompted for the range of batches to be processed, document types to process, and the new status code. The system changes each EDI document's status code to the status code specified, and then sets the original document's (i.e., PPS, invoice, purchase order, etc.) Send-edi switch accordingly. If the EDI document's status code is set to "4", then the original document's Send-edi switch will be set to "no", otherwise it is set to "yes".

If the system cannot update the original document's Send-edi switch, a message displays. In this case, run the function again to ensure that all documents affected are properly updated.

This function can be run at any time and is stackable. This function should be stacked if there are many batches to process, or there are many documents in a batch.

images/wpe1.jpg (51246 bytes)

Field Description
From-batch Enter the first batch for the range. Defaults to "1",
   to start from the first batch on file.
To-batch   Enter the last batch for the range. Defaults to
   "99999999", to process up to the last batch on file.
Doc-match  Enter "*" to change the status code for all document types, or the digit(s) of the document type or types desired (e.g., to change the status code for only picking slips and invoices, enter "12" in this field). At present, these document types are supported.
Set-status Enter the status code to use for the batches of EDI documents. For the GUI version just choose the status from the combo box. The table below explains what the status codes are.
Status Code Definition
1 This document has not yet been sent via EDI.
5 This document was generated by EDI.
2 This document was generated by EDI.
3 This document is on hold because the user is unsure whether or  not the document will be sent by  EDI.
4 This document will not be sent by EDI. It will be mailed,  faxed, etc., to the customer or  vendor. If the EDI document's status code is set to "4", the document's Send-edi switch is set to "no", otherwise it is set to "yes".

Last updated October 20, 2006