Cancel Requisitions {FPMO1-6}

Fields in the option:

Block 1:  Cancel Complete
Type
&
Length
Description
Document Type A2 The Document Type the user wishes to cancel. The documents available to be cancelled are determined by the menu option i.e. if called from the requisition option only requisitions can be cancelled.     
Document Number A10 The Document Number that the user wishes to cancel.  The <List of Values> on the field will list the Document Number, Document Type, Process Date and Creditor Code (only orders and GRVs) of documents with status Normal and with items not copied or partially copied to a higher document in the hierarchy. The user can select a document from the <List of Values> or enter a document number if known to the user. Only valid documents will be accepted.
Type Code A1 Valid values are Change, Complete or Cancel.  The following describes each value:
Cancel  - Usage is to cancel a document that was not used in a higher hierarchy document.
Complete - If the user wants to cancel a document but the document was used in a higher hierarchy document.
Change - Usage is to make changes to the document if status Normal.

If a document is cancelled or completed on selecting the Document Type and Number, the program will automatically set the value of the field to the action allowed for the document i.e. cancel or complete. The user is not allowed to update the action.

If the user must enter a change reason the program will automatically pop up in the option in which the user is busy with the value of the field as change and force the user to enter a change reason.

The rest of the fields are mandatory as soon as the type code is not null.
Reinstate Requisition A1 When this field is equal to Yes when an Order is cancelled the requisition will be reinstated. When this field is equal to No the requisition will not be reinstated. 

The field is only used when cancelling an order. It has no meaning when completing an order or when cancelling/completing requisitions. 

Date and Time DD-MON-YYYY hh24mm The system will complete this field with the system date and time. The user can only query this field.
Reason Code A6 Enter a valid reason code for the Type Code as defined on option {FPMC-8}.  The description of the Reason Code will be displayed.  A list function will display all the valid reason codes for the type code plus the reason code description.
User A8 The system will default the user code that cancelled or completed this record. The user can only query this field.

Example:

Example of foyapp.fmb

   

History Of Changes

Date System Version By Whom Job Description
08-Jun-2007 v01.0.0.0 Amanda Nell t134663 New manual format.
26-Jan-2009 v01.0.0.1 Marchand Hildebrand t152121 Proof Read System Owner
31-Jul-2013 v03.0.0.0 Raymond Schoonraad t189288 Add Reinstate Requisition