MAC-PAC Homecontact ussupport login 
Documentation > MAC-PAC Technical Library > Manufacturing > Transfer Control > Programs > Transfer Control Transfer Order Maintenance - Purpose > Transfer Control Transfer Order Maintenance - Calculations

Transfer Control Transfer Order Maintenance - Calculations

TC100E

A.   Housekeeping

1.   Parameters, key lists, and constants used by the program are defined.  Work fields are defined and initialized.

The following information is retrieved from the Reference file:

a.   CPF file access status codes (category 015).

b.   The date format record (category 049).  If this record is not found, a message is sent to the system operator, the date format defaults to MMDDYY, and processing continues.

c.   The number of decimal places for quantity fields (category 446).

d.   The array containing valid company/warehouse combinations for the user (category 409).  If no record is found, the user is authorized to all company/warehouse combinations.

3.   The following information is retrieved from the System Control file (CT100M).

a.   The company name record (COMNAM).

b.   Balance type information (ICCTL2).

4.   The valid company/warehouse array (CWA), plant ID array (PLT), and plant flag array (PLF) are loaded from the Warehouse Description file (IC170M).  Arrays containing ship via codes (category 227), route codes (category 320), picker release codes (category D15), FOB codes (category 419), planner codes (category 235), valid print codes (category D16), and valid order status codes (category 403) are loaded from the Reference file. The default FOB code is set to the first FOB code read on the Reference file.

5.   Default values are retrieved.  If the default company/warehouse for the workstation is not found, an error message is displayed.

B.   Mainline

Control is passed among six screens.

1.   Transfer Order Maintenance Function Select screen (TC100S01)

a.   The Function Select screen is displayed.  The user may request an add, change, or close transaction.  Command keys are available for exit, fast path, and transfer to the Transfer Order Inquiry program (TC800E).

b.   The Function Select screen request is validated.  See the Transfer Control User Manual, File Maintenance Screens for validation rules.

c.   Fields are initialized on the header screen.

(1)  For add transactions, defaults are moved to fields.

(2)  For change or close transactions, totals are set on the order recap screen from the Transfer Order Line file (TC100M2).

d.   If all fields are valid, the transaction type determines which screen is displayed next:

Transaction Type

Screen Display

Add
Change
Close

Transfer Order Multi-Line screen
 Transfer Order Recap screen
Transfer Order Recap screen

2.   Transfer Order Maintenance Header screen (TC100S02)

The header screen allows the entry and maintenance of order-level data.  The following processing is performed:

a.   If the header has not been posted previously, the header information is displayed using default values.  Otherwise, values from the header record are displayed.

b.   The screen is validated.  See the Transfer Control User Manual, File Maintenance Screens for validation rules.

c.   If an exception occurs on a header and is not caught in screen validation, an error report (TC530X) is printed when picker processing is executed.

d.   If all fields are valid, the following occurs:

(1)  If this is an add transaction, and if order numbers are system generated (defined on Reference File category D05), the current transfer order number is retrieved from Reference File category D09.

(2)  The data on the screen is posted to the Transfer Order Header file (TC100M1).

(3)  For change transactions, the order in use flag (THRUSE) is set to 1.  This prevents the order from being maintained simultaneously by two users.

e.   At the end of a successful order maintenance transaction, the audit trail and transaction register records and associated error message records are written.

f.    The following conditions determine which screen is displayed next:

Condition to Display

Screen Display

1.   An add transaction is being processed and the header fields are all valid.

Multi-Line

2.   Previous screen was the Multi-Line screen.

Multi-Line

3.   Previous screen was the comments screen.

Comments

4.   Previous screen was the recap screen.

Recap

3.   Transfer Order Maintenance Multi-Line screen (TC100S03)

The multi-line screen allows the addition and maintenance of line records to the Transfer Order Line file (TC100M2).  Up to 99 line records can be added or changed per multi-line screen.

Four fields must be entered for a line add:  Part Number, Promised Shipment Date, Order Due Date, and Quantity to be Shipped.  The following processing is performed:

a.   The multi-line screen is displayed.

b.   The user must enter a part number to use the F16 key for requisition search.  Dates and a quantity may be entered for the search but are not required.  Once the user selects a requisition line and control is returned from the valid values program, the order line quantity is set to the requisition quantity.  If a quantity existed in the transfer order line prior to search and a requisition is returned, the line quantity is incremented by the requisition quantity.  Line Number, Line Status, and SKU are display fields only.

c.   Valid command keys include:

F3  -Exit

F4  -Prompt

F7  -Header

F9  -Stock Status

F10 -Function Select

F12 -Comments

F13 -Time Phased P/A

F15 -Rekey Data

F16 -Requisition

F24 -More Keys

4.   Transfer Order Maintenance Recap screen (TC100S04)

The recap screen allows the user to end the transfer order transaction.  It provides a summary of all the lines posted and the transfer order totals.  From this screen, the user can request the picker document to be reprinted.  The following processing is performed:

a.   Command keys are available to display the following screens:

F3  -Exit

F5  -Multi-Line

F7  -Header

F9  -Warehouse Stock Status

F10 -Function Select

F12 -Comments

F13 -Time Phased P/A

F21 -Close Order

F22 -End Order

F23 -Close Line

F24 -More Keys

Command keys are also available to end the order and to close a particular line.  All lines must be fully shipped or have nothing shipped to be closed.

b.   The screen is validated.  The Reprint Picker and Sel fields are the only enterable fields.  An X must be placed in the Sel field next to a particular line to request a command function for that line.

c.   End Order processing is performed if F22 is pressed.

(1)  If all lines are closed, warehouse balances and other totals are summed.

(2)  If this is not a close transaction but all line items are closed, the order is closed when the user exits the conversation by pressing F3, F10, or F22.

5.   Transfer Order Comments screen (TC100S05) and Transfer Order Header Comments screen (TC100S06)

The comments screen allows the maintenance of comment records for an order.  Comments can be added for the transfer order header as well as for each transfer order line.  Each comment has an associated print code, which determines where the comment will be printed.  To close or cancel a comment line, both the print code and comment text must be blanked out.  Valid print codes are found on category D16 on the Reference file.  The screen has one command key, F8 - Return.

a.   Screen validation is performed.  See the Transfer Control User Manual,, Screens Section, for validation rules.

b.   Comment processing is performed:

(1)  Comments are posted to the Transfer Order Comment file (TC100M3).  Audit trails and transaction register records and associated error messages are written.

(2)  If the comments displayed were for the header, and if any of the transfer order header information was changed, the new data will be posted to the Transfer Order Header file (TC100M1) and the comments will be written to the Transfer Order Comments file (TC100M3).

TC100E Program Menu