Documentation >
MAC-PAC Reference Library >
Distribution >
Order Processing >
Key Concepts and Procedures >
Technical Information >
Online Transaction Recovery
Online Transaction Recovery
Order Processing has the capability to recover failed transactions online. Each online update program monitors whether a transaction requiring recovery was requested on the Function Select screen. If the failed transaction does require recovery, one of the following two conditions must be met:
· The transaction requested must be recovered by the same user, from the same workstation, and with the same job number as when it failed.
· The job for the failed transaction must NOT be active on the system. (No spool files for the failed transaction's job can exist on the system.)
If one of the two conditions has been met, the transaction can be recovered. If the transaction failed before any order or document lines were posted, the program will recover the transaction header information and display the header screen with a recovery message. If the transaction failed after any lines were posted, the program will recover the header and posted lines and display the recap screen with a recovery message. In either case, the user should complete the transaction or cancel it, if allowed.
Initiating Transaction Recovery
To initiate recovery of a failed transaction in Sales Order Maintenance or Open Order Shipping and Billing, enter the Function Select information that was entered for the original transaction. The program will automatically recover all header information and posted lines. A message will be displayed identifying that the transaction is in recovery mode.
To initiate recovery in Postbilling and Debit/Credit Memo Entry, press F8 - Recover Document. A document number field will then be displayed. Enter both the Function Select information that was entered for the original transaction and the document number. The program will automatically recover all header information and posted lines. A message will be displayed identifying that the transaction is in recovery mode. If the transaction failed after F22 - End Billing was pressed, no document header or line information can be changed, and the document cannot be canceled. To cancel recovery mode in Postbilling and Debit/Credit Memo Entry, press F8 - Cancel Recovery.
Considerations
A user can only recover a failed sales order transaction in the program in which it failed (for example, a backorder release maintained in Sales Order Maintenance when it failed cannot be recovered in Open Order Shipping and Billing).
Even if a failed transaction's job does not appear on the display active jobs screen, the Order Processing programs will consider the job active and will not allow recovery if spool files for the job still exist on the system.