InventoryAvailAndCommitment

Inventory Availability And Commitment

Major Business Rule

Object Name: B4200380

Parent DLL: CDIST

Location: Client/Server

Language: C

Data Structure

D4200380 - InventoryAvailabilityAndCommitment

Special Input Expected
DOCOSales Order NumberKey

DCTOSales Order TypeKey

KCOOSales Order CompanyKey

LNIDSales Detail Line NumberKey

BACKBackorder Flag

OTOTOrder Total

FAPForeign Order Total

CRYRCurrency Control

EV01Kit BalancingFuture Use.

'1' = kit balancing on

EV02Check Availability At Branch Level'1' = Before sourcing by

location, check the 

availability at the

branch level first.

PIDProgram ID

UPMJToday's DateOptional. If NULL,

call GetAuditInfo.

TDAYTime of DayOptional. If NULL,

call GetAuditInfo.

USERUser IDOptional. If NULL,

call GetAuditInfo.

JOBNWorkStationIDOptional, If NULL

call GetAuditInfo


Special Output Returned

OTOTOrder Total

FAPForeign Order Total

EV03Update Header Record'1' = Calling function

                                          needs to update header.

ERRCError Code'1' if error occured in

                                          this function.


^

Parameter NameData ItemData TypeReq/OptI/O/Both
mnSalesOrderNumberDOCOMATH_NUMERICNONENONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szSalesOrderTypeDCTOcharNONENONE

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 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szSalesOrderCompanyKCOOcharNONENONE

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

mnSalesDetailLineNumberLNIDMATH_NUMERICNONENONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

cBackorderFlagBACKcharNONENONE

An option that specifies whether to allow backorders for this item. You can allow backorders by item using the Item Master (P4101) or Item 
Branch/Plant (P41026) programs, by customer using the Customer Billing Instructions program (P03013), or by branch/plant using the 
Branch/Plant Constants program (P41001).  Valid values are: On Allow backorders for this item. Off Do not allow backorders for this item, regardless of 
the backorders code that is assigned to the customer.

mnOrderTotalOTOTMATH_NUMERICNONENONE

The total value of all lines on the order that have not been shipped and billed to the customer.

mnForeignOrderTotalFAPMATH_NUMERICNONENONE

The unpaid foreign amount of a transaction.

cCurrencyControlCRYRcharNONENONE

A code that specifies whether to use multi-currency accounting, and the method of multi-currency accounting to use: Codes are:    N Do not 
use multi-currency accounting. Use if you enter transactions in only one currency for all companies. The multi-currency fields will not appear 
on forms. The system supplies a value of N if you do not enter a value.    Y Activate multi-currency accounting and use multipliers to convert 
currency. The system multiplies the foreign amount by the exchange rate to calculate the domestic amount.    Z Activate multi-currency 
accounting and use divisors to convert currency. The system divides the foreign amount by the exchange rate to calculate the domestic amount.

cKitBalancingEV01charNONENONE

Special Input Expected
EV01ab Kit  Balancingab 


Significant Data Values

Future Use. '1' = kit balancing  onab 



^

cCheckAvailBranchLevelEV02charNONENONE

Special Input Expected
EV02ab Check Availability At Branch  Levelab 


Significant Data Values

'1' = Before sourcing by location, check the availability at the branch level  first.ab 

^

cUpdateHeaderRecordEV03charNONENONE

Special Output Returned
EV03ab Update Header Record


Significant Data Values

'1' = Calling function needs to update  header.ab 


^

szProgramIDPIDcharNONENONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

jdTodayDateUPMJJDEDATENONENONE

The date that specifies the last update to the file record.

mnTimeOfDayTDAYMATH_NUMERICNONENONE

The computer clock in hours:minutes:seconds.

szUserIDUSERcharNONENONE

The code that identifies a user profile.

szWorkstationIDJOBNcharNONENONE

The code that identifies the work station ID that executed a particular job.

cErrorCodeERRCcharNONENONE

Special Output Returned
ERRCab Error Code


Significant Data Values

'1' if error occured in this  function.ab 



^

szErrorMessageDTAIcharNONENONE

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 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

cSuppressErrorMessageEV04charNONENONE

PeopleSoft event point processing flag 04.

mnJobnumberAJOBSMATH_NUMERICOPTNONE

The job number (work station ID) which executed the particular job.

szComputerIDCTIDcharOPTNONE

cDualPickingProcessOptionDPPOcharOPTNONE

An option that determines for a dual unit of measure item whether the system uses the primary or secondary unit of measure for the following 
processes:   o Picking   o Sales order availability checking   o Committing inventory for sales   o Splitting purchase order lines  To use the 
primary unit of measure, do not choose this option. To use the secondary unit of measure, choose this option.

cDualUnitOfMeasureItemDUALcharOPTNONE

An option that indicates that the system must maintain inventory balances and record transactions for an item in a secondary unit of 
measure that does not have a fixed conversion to the primary unit of measure. Typically, you choose this option when the item is ordered or sold by 
a packaged quantity and priced by weight or volume. Note: For a dual unit of measure item, the system might require a tolerance check for 
inventory transactions (excluding inventory adjustments) between the primary unit of measure and the secondary unit of measure.

mnTransToSecondConvFactorMATH06MATH_NUMERICOPTNONE

Event point for Math Numeric.

szItemMasterSecondaryUOMUOM2charOPTNONE

A user defined code (00/UM) that indicates an alternate unit of measure for the item.

mnCFTranSecondToItemMasSecondCONVMATH_NUMERICOPTNONE

The factor that the system uses to convert one unit of measure to another unit of measure.

cShipAscendingDateFlagEV01charOPTNONE

An option that specifies the type of processing for an event.

cOnlyIssueWarningSADEV01charOPTNONE

An option that specifies the type of processing for an event.

szPreferenceScheduleASNcharOPTNONE

A user defined code (40/AS) that identifies a price and adjustment schedule. A price and adjustment schedule contains one or more 
adjustment types for which a customer or an item might be eligible. The system applies the adjustments in the sequence that you specify in the 
schedule. You link customers to a price and adjustment schedule through the customer billing instructions. When you enter a sales order, the 
system copies the schedule attached to the sold to address into the order header. You can override this schedule at the detail line level. For 
Agreement Management, this is the Agreement Penalty Schedule. The information in the Agreement Penalty Schedule provides the system 
with the criteria for an agreement to have penalty conditions.

cPreferenceRetrievalUOMCP22charOPTNONE

A code that specifies the unit of measure that the system uses for retrieving advanced preference adjustments during sales order 
processing. The system allows you to define your advanced preference adjustments in the Adjustment Detail table (F4072) in various unit of 
measures.   If you specify the unit of measure for transaction or pricing and the system does not locate a record in that unit of measure, the system 
repeats the process using the primary unit of measure of the item.

szLotGroupLOTGRPcharOPTNONE

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 
allow this Application to process lots whose lot status code is defined within the specified Lot Group Name.  

mnUnitsQuanBackorHeldSOBKMATH_NUMERICOPTNONE

The number of units backordered in Sales Order Management or in Work Order Processing, using either the entered or the primary unit of 
measure defined for this item.

mnUnitsQuantityCanceledSOCNMATH_NUMERICOPTNONE

The number of units canceled in Sales Order or Work Order Processing, using either the entered or the primary unit of measure defined for 
this item. In manufacturing, this can also be the number of units scrapped to date.

cLPNMasterSwitchLPNMcharOPTNONE

A code that indicates whether  you want the system to use License Plate Numbers or not. Valid Codes are  0 No, do not use the License 
Plate Process  1 Yes, use the License Plate Process

cPoallowzero_EV01EV01charOPTNONE

An option that specifies the type of processing for an event.

Related Functions

B4000520 Get Item UoM Conversion Factor
B4000780 Get Itm Loc By Commitment
B4002000 Compute Unit Or Extended Amount
B4200060 Split Sales Order Detail Line
B4200370 Commit Sales Order To Inventory
B4200450 Advanced Sales Order Detail Line Split
B9900410 Get Environment Value
N4900010 F4215 Add Shipment Detail
N4900180 Process Order Line

Related Tables

F40205 Line Type Control Constants File
F41001 Inventory Constants
F4101 Item Master
F4102 Item Branch File
F4211 Sales Order Detail File