Documentation >
MAC-PAC Technical Library >
Manufacturing >
Transfer Control >
Programs >
Transfer Order Shipping - Purpose >
Transfer Order Shipping - Calculations
Transfer Order Shipping - Calculations
TC120E
A. Housekeeping
1. The company name is retrieved from the System Control file (CT100M).
2. The following general processing information is retrieved from the Reference file (REFERP):
a. Date format code (category 049)
b. Order status array (category 403)
c. User authorized company/warehouse (category 409)
d. Decimals for quantity fields (category 446)
e. Default document type (category 328)
f. Workstation company/warehouse (category 428)
g. File status code (category 015)
3. All fields and variables are defined and initialized.
B. Mainline
Control is passed among the following three screens:
1. Transfer Order Shipping Function Select screen (TC120S01)
From the Function Select screen, a request is made to ship a previously entered transfer order. The supplying company/warehouse entered must equal the supplying company/warehouse on the Transfer Order Header file (TC100M1). F17 may be used to change the supplying company/warehouse combination. Line Statuses may be entered on the Function Select screen. If entered, only lines with entered statuses are displayed. If they are left blank, lines are displayed regardless of their statuses.
a. The Function Select screen is displayed. The following command keys are available: F3 - Exit, F2 - Command, F17 - New Company/Warehouse, F9 - Inquiry, and F22 - New Transaction Date.
b. The Function Select screen request is validated. See the Transfer Control User Manual, File Maintenance Screens for validation rules. The header and shipment work files are locked at this point to ensure they may be updated.
c. If the order number, company/warehouse combination, and transaction date are valid, control is passed to the Transfer Order Shipping Multi-Line screen (TC120S02).
d. The Transfer Control Defaults (category D05) is retrieved with the transfer order sourcing company/warehouse combination.
2. Transfer Order Multi-Line screen (TC120S02)
The multi-line screen allows the entry of detailed shipping transactions against existing transfer order lines. The user can reverse shipments for a line if no receipts have been recorded for this line. All shipments of this line will be reversed by employing this option. The user may ship against all lines as long as the shipment quantity does not exceed the reserved quantity (for each line). The user may specify bill of lading information such as the carrier code, total number of boxes, goods destination, and consolidated Bill of Lading flag. If the use ESL/SSD flag on Reference File category 133 is set to 'Y', the user may also specify whether to create an invoice as a result of the transfer order shipment.
a. The multi-line screen is displayed.
b. The following command keys are available: F4 - Prompt, F5 - Detail, F3 - Exit, return to the Function Select screen, F20 - Complete, and F21 - End Shipment.
(1) F20 - Complete causes the program to validate all fields on the screen that are enterable. If no quantity to be shipped is entered and F20 is pressed, the quantity to be shipped defaults into the shipment quantity field. This may be maintained after being defaulted into the shipment quantity field.
(2) F21 ends the shipment if all enterable fields are valid.
c. Any input lines on the screen are validated. See the Transfer Control User Manual, File Maintenance Screens for validation rules.
3. Transfer Order Shipping Line Detail Screen (TC120S03)
The detail screen is accessed from the multi-line screen via F5 - Display Detail. (This is accomplished by placing an X in the select field for only one of the lines to be shipped and pressing the F5 key.)
a. The line detail screen is displayed.
b. The only command keys available are F4 - Prompt and F8 - Multi-Line. The F8 key may be used at any time to exit this screen and return to the multi-line screen.
c. The subfile allows the user to specify more than one sourcing stock location and balance type to be used for the shipment. If the part has a configuration code (PMCFCO = 1, 2, 3, or 4) the lot number must exist on the Configuration Assignment Master file (EC170M) for the part.
d. If all of the fields are validated and the Enter key is pressed, control is passed back to the multi-line screen and the quantity to be shipped is formatted with the quantity to be shipped from the detail screen.
4. Control is passed to the Transfer Order Shipping Update program (TC125E) when F21 is pressed and there is a pending Reversal Transaction.
F21 - End Shipment causes validation of all fields. If all fields are valid, control and various parameters are passed to TC125E, the online shipping update program. When update process is complete, the update program passes control back to this program and the Function Select screen is displayed.