1.Functional Description
1.1Purpose
This function will attempt to commit inventory from the Item Location (F41021) file by Lot or using
the Expiration Date parameter to locate unexpired lots. It will write/update commitment records to the
Batch WO Commitments (F31UI001) User Index file for the inventory that it commits.
1.2Setup Notes and Prerequisites
None.
1.3Special Logic
None
2.Technical Specifications
2.4Processing
Set off the Read Another Record flag.
Set off the Update flag.
Zero out the Primary Location Quantity Available workfield.
Call the Get Item Location By Commitment Method (B4000780.C) business function in Initialization mode
(first pass only). Otherwise call B4000780 in Read mode.
If there were no errors returned then
from the Item Master Primary Unit of Measure (IMUOM1) parameter to the Parts List Unit of Measure
(UM) parameter using Get Item UOM Conversion Factor (B4000520.C). Save the original Quantity Available
value.
If the Quantity Available is greater than or equal to the Open Quantity parameter then
If the Potency Conversion parameter is on then load the User Index's Quantity Ordered with the
Open Quantity parameter value. Else, convert the Open Quantity parameter from the Item Master Primary
Unit of Measure to the Parts List Unit of Measure and load the result to the User Index's Quantity
Ordered.
Zero out the User Index's Quantity On WO Hard Commit ($1QOWO).
If the Item Branch's Stocking Type (IBSTKT) is not 'B' then
with the Open Quantity parameter value. Else, convert the Open Quantity parameter from the Parts
List Unit of Measure to the Item Master Primary Unit of Measure and load the result to the User
Index's Quantity On WO Hard Commit.
Update flag is on then set the Update Parts List (UFLG) parameter to 'Y. Otherwise, set the Update
Parts List parameter to blank.
Write the User Index record.
Call B4000780 in Close mode and end the business function.
Go to the B4000780 call.
Primary Location Quantity Availbale workfield.
Zero out the Batch WO Commitments User Index (F3100UI001) Quantity Ordered ($1UORG).
If the Potency Conversion parameter is on then load the User Index's Quantity Ordered with the
Quantity Available value. Else, convert the Quantity Available from the Item Master Primary Unit of
Measure to the Parts List Unit of Measure and load the result to the User Index's Quantity Ordered.
Zero out the User Index's Quantity On WO Hard Commit ($1QOWO).
If the Item Branch's Stocking Type (IBSTKT) is not 'B' then
with the Quantity Available value. Else, load original Quantity Available to the User Index's
Quantity On WO Hard Commit.
If the Open Quantity is greater than zero then go to the Init/Read B4000780 call. Otherwise, call
B4000780 in Close mode and end the business function.
^
D3100680 - Allocate By Lot Number / Lot Expiration Date
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnShortItemNumber | ITM | MATH_NUMERIC | NONE | NONE |
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item
| ||||
szBusinessUnit | MCU | char | NONE | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
cAllocationMode | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cPotencyConversion | EV02 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
szItemMasterPrimaryUOM | 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). | ||||
szPartsListUOM | UM | char | NONE | NONE |
A user defined code (00/UM) that identifies the unit of measurement for an amount or quantity. For example, it can represent a barrel, box,
| ||||
mnOpenQuantity | QNTY | MATH_NUMERIC | NONE | NONE |
The number of units that the system applies to the transaction. | ||||
cItemBranchStockingType | STKT | char | NONE | NONE |
A user defined code (41/I) that indicates how you stock an item, for example, as finished goods or as raw materials. The following stocking
| ||||
cLotProcessing | SRCE | char | NONE | NONE |
A code that indicates whether lot or serial number is assigned. Lot and serial number processes use the Lot Master table (F4108).
Valid
| ||||
jdExpirationDate | DATE01 | JDEDATE | NONE | NONE |
Event point for JDE Date. | ||||
mnLastComponentLineNumber | LNID | MATH_NUMERIC | NONE | NONE |
A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns
| ||||
mnPercentOfScrap | SCRP | MATH_NUMERIC | NONE | NONE |
The percentage of unusable component material that is created during the manufacture of a particular parent item.
During DRP/MPS/MRP
| ||||
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
| ||||
cSuppressErrorMessages | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
szComputerID | CTID | char | NONE | NONE |
mnUniqueKeyID | UKID | MATH_NUMERIC | NONE | NONE |
This field is a unique number used to identify a record in a file. | ||||
mnJobNumber | JOBS | MATH_NUMERIC | NONE | NONE |
The job number (work station ID) which executed the particular job. | ||||
szStdUOMConversionFlag | TFLA | char | NONE | NONE |
Allows you to bypass the item-specific unit of measure and use the standard unit of measure. Valid values are:
blank Use the item-specific
| ||||
cPartialsAllowed | PRTA | char | NONE | NONE |
When you specify component and substitute items on the bill of material, this field indicates whether the total quantity is required to be
| ||||
cFixedOrVariableQty | FORQ | char | NONE | NONE |
A code that indicates if the quantity per assembly for an item on the bill of material varies according to the quantity of the parent item
| ||||
mnCacheJobnumber | JOBS | MATH_NUMERIC | OPT | NONE |
The job number (work station ID) which executed the particular job. | ||||
mnCacheDocNumber | DOCO | MATH_NUMERIC | OPT | NONE |
A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry,
| ||||
nCurrentRowNumber | INT01 | integer | OPT | NONE |
Number of Days in Future to Query for Responses Due. | ||||
nLastRowNumber | INT01 | integer | OPT | NONE |
Number of Days in Future to Query for Responses Due. | ||||
szProgramID | PID | char | OPT | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
mnComponentLineNo | CPNB | MATH_NUMERIC | OPT | NONE |
A number that specifies how the system displays the sequence of components on a single-level bill of material. This number initially
| ||||
cMode | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
szLocation | LOCN | char | OPT | NONE |
The storage location from which goods will be moved. | ||||
szOrderType | DCTO | char | OPT | NONE |
A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has
| ||||
szLotGroup | LOTGRP | char | OPT | NONE |
Lot Group is the name of a user defined list of allowed non-blank lot status codes. Entry of a Lot Group name in the Processing Option will
|
B3101600 Cache Parts List | ||||
B3101940 Cache, F31172 processing | ||||
B4000460 Free Ptr To Data Structure | ||||
B4000520 Get Item UoM Conversion Factor | ||||
B4000780 Get Itm Loc By Commitment | ||||
XF41021 Update F41021 Locations |
None |