1.Functional Description
1.1Purpose
This function will attempt to commit inventory from the Item Location (F41021) primary location and
then the secondary locations. 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.
Call Verify and Get Item Location (XF41021.C) to check if the primary location exists for the Item
Number (ITM) and Branch/Plant (MCU) parameters passed in (Index = '4', Keys = '3'). If the primary
location does not exist then
If Open Quantity parameter is greater than zero set on the Cross Branch Boundaries parameter for
B4000780 and go to the Init/Read B4000780 call.
Control parameter is '2' then set on the Cross Branch Boundaries parameter for B4000780.
Call the Get Item Location By Commitment Method (B4000780.C) business function in Init & Read mode
(on first pass and once again if Cross Branch Boundaries parameter was set on). Otherwise call B4000780
in Read mode.
Discontinue processing if a the F41021 record was not found.
If there were no errors returned then
from the Item Master Primary Unit of Measure (IMUOM1) parameter to the Parts List Unit of Measure
(WLUM) 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.
Otherwise, set the Update Parts List flag to blank.
Write the User Index record.
End the business function.
Go to the if...then statement before the B4000780 call.
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.
Otherwise, set the Update Parts List flag to blank.
Write the User Index record.
If the Open Quantity is greater than zero then go to the if...then statement before the B4000780
call. Else, call B4000780 in Close mode and end the business function.
If Open Quantity parameter is greater than zero set on the Cross Branch Boundaries parameter for
B4000780 and go to the Init/Read B4000780 call.
D3100670 - Allocate By Location
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
| ||||
cPotencyConversion | EV01 | 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
| ||||
cCommitmentControl | FLD1 | char | NONE | NONE |
An option that determines how the system commits inventory to a work order, and specifies the inventory location to which commitments are
| ||||
mnLastComponentLineNo | 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
| ||||
szComputerID | CTID | char | NONE | NONE |
mnJobNumber | JOBS | MATH_NUMERIC | NONE | NONE |
The job number (work station ID) which executed the particular job. | ||||
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
| ||||
mnUniqueKeyID | UKID | MATH_NUMERIC | NONE | NONE |
This field is a unique number used to identify a record in a file. | ||||
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
| ||||
szComponentItemNo2nd | CPIL | char | NONE | NONE |
The system provides three separate item numbers.
They are:
1. Item Number (short) - An eight digit, computer assigned, completely
| ||||
szDescriptionLine1 | DSC1 | char | NONE | NONE |
Brief information about an item; a remark or an explanation. | ||||
szLineType | LNTY | char | NONE | NONE |
A code that controls how the system processes lines on a transaction. It controls the systems with which the transaction interfaces, such as
| ||||
szComponentThirdNumber | CPIA | char | NONE | NONE |
The system provides three separate item numbers plus an extensive cross reference capability to alternate item numbers.
These 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
| ||||
mnPartsListComponentLineNo | 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 | ||||
B4000520 Get Item UoM Conversion Factor | ||||
B4000780 Get Itm Loc By Commitment | ||||
XF41021 Update F41021 Locations |
None |