1.Functional Description
1.1Purpose
To add records to the Shop Floor Control Parts List (F3111).
1.2Setup Notes and Prerequisites
Set on "Suppress Error Messages" to suppress the runtime error message handling. Otherwise, if an
error occurs the error message will be displayed on the message line.
'b7The file pointer to the original F3111 record (GENLNG) will be used to retrieve information to
be copied to the new F3111 record.
'b7The Mode will determine which information will be copied from the original F3111 record, and
the values to be updated from the designated update fields.
1.3Special Logic
None.
2.Technical Specifications
2.4Processing
Use the File Pointer to retrieve the Shop Floor Control Parts List Record entered by the user..
If allocation of memory for the File Pointer fails, Error Message ID is assigned '4365' (No Memory.
If the DS Suppress Error Message is not equal to '1', SetGBRError where error message is '4365' (No
Memory ).
If the File Pointer is not NULL and Mode is '1':
Update the new Parts List record with the values from the following fields from the original Parts
List record.
DOCO, DCTO, SFXO, MTBM, FORQ, ITC, COBY, COTY, RKCO, OPSQ, RSCP, SCRP, REWP,
ASIP, CPYP, STPP, LOVD, CMCU, AN8, LNTY, TRDJ, DRQJ, EA, RTG, MCU, CMRV, COMM,
URCD, URDT, URAT, URRF, URAB.
Calculate the component line number 'CPNT' for the new Parts List record by adding 10 to the
to the component line number from the original Parts List record. (NOTE: this field is currently
calculated by using a data dictionary value to increment the original value)
Calculate the bubble sequence 'BSEQ' for the new Parts List record by adding 1 to the bubble
sequence from the original Parts List record.
Call Get MFG Unique ID (B3100490) to retrieve the unique key ID 'UKID' for the new Parts List
record.
Update the new Parts List record with the values of the "update" fields passed in for Mode 1.
If the Mode is equal to '1' and the Memory Allocation fails, return Error Message ID '4365' (No
Memory).
^
D3100630 - AddARowToPartsListTable
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
idFilePointerF3111 | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
cMode | MODE | char | NONE | NONE |
The processing mode used in Purchase Order Consolidator to signify when specific orders are being processed. | ||||
cSuppressErrorMessages | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
szErrorMessageID | DTAI | char | NONE | NONE |
A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or
| ||||
mnComponentItemNoShort | CPIT | MATH_NUMERIC | NONE | NONE |
The short identifier for the component item number. | ||||
szComponentItemNo2nd | CPIL | char | NONE | NONE |
The system provides three separate item numbers.
They are:
1. Item Number (short) - An eight digit, computer assigned, completely
| ||||
szComponentThirdNumber | CPIA | char | NONE | NONE |
The system provides three separate item numbers plus an extensive cross reference capability to alternate item numbers.
These item
| ||||
szDescription | DSC1 | char | NONE | NONE |
Brief information about an item; a remark or an explanation. | ||||
szDescription2 | DSC2 | char | NONE | NONE |
A second, 30-character description, remark, or explanation. | ||||
szLocation | LOCN | char | NONE | NONE |
The storage location from which goods will be moved. | ||||
mnQuantityOrdered | UORG | MATH_NUMERIC | NONE | NONE |
The quantity of units affected by this transaction. | ||||
szUnitOfMeasure | UOM | char | NONE | NONE |
A user defined code (00/UM) that indicates the quantity in which to express an inventory item, for example, CS (case) or BX (box). | ||||
szUserID | USER | char | NONE | NONE |
The code that identifies a user profile. | ||||
szProgramID | PID | char | NONE | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
szWorkstationID | JOBN | char | NONE | NONE |
The code that identifies the work station ID that executed a particular job. | ||||
jdDateUpdated | UPMJ | JDEDATE | NONE | NONE |
The date that specifies the last update to the file record. | ||||
mnTimeOfDay | TDAY | MATH_NUMERIC | NONE | NONE |
The computer clock in hours:minutes:seconds. | ||||
szLot | LOTN | char | NONE | NONE |
A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics. | ||||
mnUnitsQuanBackOrHeld | SOBK | MATH_NUMERIC | NONE | NONE |
The number of units backordered in Sales Order Management or in Work Order Processing, using either the entered or the primary unit of
| ||||
cCommittedHS | COMM | char | NONE | NONE |
A value that indicates whether you specified from which Location and Lot a particular item was to come. If you specified a storage area, the
|
B3100490 Get Next Unique ID For Mfg. |
F3111 Work Order Parts List |