Feature - Delete Order Tracking Note When Void Completed VICS BOL
However, when the user
chooses to “Void” a “Completed” bill of lading, the application does not delete the tracking
note for that order. This is due to the fact that there are many ways a
tracking note can be created. The application does know know if the tracking note was
created by the VICS BOL in the first place, so it can’t be deleted.
Since the
tracking note on the order is not deleted, if the user made a mistake when completing the
order and then they choose to void the completed bill of lading, when they make their correction with
the new Pro# or ARN# a new tracking note is written to the order with the
correct Pro# or ARN#. In the meantime, the old tracking note is still on
the order.
When generating the ASN, the first tracking note is used and, as a result, the wrong tracking note gets sent on the ASN.
To resolve this issue, a “unique identifier” will be written to the note so the application knows for sure that the
note was created by VICS BOL. The following text will be placed in the NOTE_TOPIC field:
CPBOLMNT:XXXXXXXXX Where CPBOLMNT is the main program for VICS BOL. The XXXXXXXXX is the 9 digits BOL number.
With this change, when the user chooses to void the completed bill of lading, the application can look for the tracking note with the above pattern. If found, the application knows that the tracking note was created by BOL in the first place and, therefore, it can be deleted.
Programs Modified: CP0112, CP0200, CPBOLMNT, CPSHPUPD, CPSHPVER
CLS