AccumulateTotalItemAvailability

Item Availability Business Functions

Major Business Rule

Object Name: B4100930

Parent DLL: COPBASE

Location: Client/Server

Language: C

Functional Description

Purpose

DO NOT USE
Setup Notes and Prerequisites


Technical Specification



Data Structure

D4100930A - Item Availability

Parameter NameData ItemData TypeReq/OptI/O/Both
mnOnHandPQOHMATH_NUMERICNONENONE

The number of units that are physically in stock. The system displays the quantity on-hand in the primary unit of measure.

mnOnPurchaseOrderPREQMATH_NUMERICNONENONE

The number of units specified on the purchase order in primary units of measure.

mnOnBackorderPBCKMATH_NUMERICNONENONE

The number of units backordered in primary units of measure.

mnSoftCommitSOWOPCOMMATH_NUMERICNONENONE

The number of units soft committed to sales orders or work orders in the primary units of measure.

mnHardCommitSalesOrderHCOMMATH_NUMERICNONENONE

The number of units committed to a specific location and lot.

mnFutureCommitFCOMMATH_NUMERICNONENONE

The quantity on sales order whose requested shipment date is beyond the standard commitment period that has been specified in the 
Inventory Constants for that branch.  As an example, if you normally ship most orders within 90  days, then an order for an item with a requested 
ship date a year from now would have its quantity reflected in this field.

mnHardCommitWorkOrderQOWOMATH_NUMERICNONENONE

The number of units hard committed to work orders in the primary unit of measure.

mnOnWorkOrderReceiptQWBOMATH_NUMERICNONENONE

The number of units on work orders in primary units of measure.

mnInTransitQTTRMATH_NUMERICNONENONE

The quantity currently in transit from the supplier.

mnInInspectionQTINMATH_NUMERICNONENONE

The quantity currently being inspected.  This quantity has been received, but is not considered on hand.

mnInOperation1QTO1MATH_NUMERICNONENONE

The quantity which is currently at a user-defined operation within the dock-to-stock process.  The quantity has been received, but may or 
may not be considered to be on hand.

mnInOperation2QTO2MATH_NUMERICNONENONE

The quantity which is currently at a user-defined operation within the dock-to-stock process.  The quantity has been received, but may or 
may not be considered to be on hand.

mnOnSalesOrderOther1OT1PMATH_NUMERICNONENONE

The first of two quantities that can be specified as additional offsets (subtractions from on-hand) in the determination of quantities available 
for sale.  (Primary unit of measure)

mnOnSalesOrderOther2OT2PMATH_NUMERICNONENONE

The second of two quantities that can be specified as additional offsets (subtractions from on-hand) in the determination of quantities 
available for sale.  (Primary unit of measure)

mnOnPurchaseOrderOther1OT1AMATH_NUMERICNONENONE

The quantity that appears on documents such as bid requests, which are not formal commitments to buy on the part of your organization.

mnShortItemNumberITMMATH_NUMERICNONENONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

szBranchPlantMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szLocationLOCNcharNONENONE

The storage location from which goods will be moved.

szLotLOTNcharNONENONE

A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics.

cPrimaryBinPBINcharNONENONE

A code that indicates whether this is the primary or secondary location for this item within this stocking location. Valid values are:    P Primary 
storage location    S Secondary storage location  Note:  You can only have one storage area marked as primary within each branch or 
warehouse. In some cases, the system uses the primary storage area as the default.

cLotStatusCodeLOTScharNONENONE

A user defined code (41/L) that indicates the status of the lot. If you leave this field blank, it indicates that the lot is approved. All other codes 
indicate that the lot is on hold. You can assign a different status code to each location in which a lot resides on Item/Location Information or 
Location Lot Status Change.

mnCommittedQCOMMMATH_NUMERICNONENONE

The total quantity that is committed to a specific location. The total quantity is the sum of all quantities that have been sold or committed 
from the following:     o Soft Committed to Sales Orders     o Hard Committed to Sales Orders     o Soft Committed to Work Orders     o Hard 
Committed to Work Orders 

mnOnReceiptQORECMATH_NUMERICNONENONE

The total number of items that are on receipt for a specific location. The total is the sum of all quantities of an item that are on order and in 
route for a location.

mnInRoutingQROUTMATH_NUMERICNONENONE

The total number of items that are in route. The total is the sum of all quantities that are considered to be in transit but are not presently on 
hand.

mnAvailableQAVALMATH_NUMERICNONENONE

A number that indicates the quantity that is available. For example, the available quantity might consist of the on-hand quantity minus 
commitments, reservations, and backorders.  Availability is user defined. You can set up availability in the Branch/Plant Constants program (P41001).  

cReturnCodeEV01charNONENONE

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

mnSafetyStockSAFEMATH_NUMERICNONENONE

The quantity of stock kept on hand to cover high-side variations in demand.

mnFromPotencyFRMPMATH_NUMERICNONENONE

A number that indicates the minimum potency or percentage of active ingredients acceptable for an item. The system displays a warning 
message if you try to purchase or issue items that do not meet the minimum acceptable potency. The system does not allow you to sell items 
that do not meet the minimum acceptable potency.

mnThruPotencyTHRPMATH_NUMERICNONENONE

A number that indicates the maximum potency or percentage of active ingredients that is acceptable for an item. The system displays a 
warning message if you try to purchase or issue items that have a potency that exceeds the maximum potency acceptable. The system does 
not allow you to sell items that have a potency that exceeds the maximum potency acceptable.

szFromGradeFRGDcharNONENONE

A user defined code (40/LG) that indicates the minimum grade that is acceptable for an item. The system displays a warning message if 
you try to purchase or issue items with grades that do not meet the minimum grade acceptable. The system does not allow you to sell items 
with grades that do not meet the minimum acceptable level.

szThruGradeTHGDcharNONENONE

A user defined code (40/LG) that indicates the maximum grade that is acceptable for an item. The system displays a warning message if 
you try to purchase or issue items with grades that exceed the maximum grade acceptable. The system does not allow you to sell items with 
grades that exceed the maximum grade acceptable.

mnDaysBeforeExpirationEXDPMATH_NUMERICNONENONE

The number of days allowed before expiration for an item where it still can be used or sold to a specific customer.  When negative, this 
number indicates the number of days after expiration for an item where it still can be used or sold to a specific customer. For example, if the 
expiration date for item 1001 is 06/01/98:     o A value of 15 in Days Before Expiration means that this specific customer only accepts this item up to 
05/15/98.     o A value of -15 in Days Before Expiration means that this specific customer accepts this item up to 06/15/98.

cPotencyControlOT1YcharNONENONE

A code that indicates whether you control the item by potency.

cGradeControlOT2YcharNONENONE

A code that indicates whether you control the item by grade.

szLotGradeLOTGcharNONENONE

A code that indicates the grade of a lot. The grade is used to indicate the quality of the lot. Examples include the following:    A1   Premium 
grade    A2   Secondary grade  The grade for a lot is stored in the Lot Master table (F4108).

mnLotPotencyLOTPMATH_NUMERICNONENONE

A code that indicates the potency of the lot expressed as a percentage of active or useful material (for example, the percentage of alcohol 
in a solution). The actual potency of a lot is defined in the Lot Master table (F4108).

jdExpirationDateMMEJJDEDATENONENONE

The date on which a lot of items expires. The system automatically enters this date if you have specified the shelf life days for the item on 
Item Master Information or Item Branch/Plant Information. The system calculates the expiration date by adding the number of shelf life days to 
the date that you receive the item. You can commit inventory based on the lot expiration date for items. You choose how the system commits 
inventory for an item on Item Master Information or Item Branch/Plant Information.

szPrimaryUOMUOM1charNONENONE

A user defined code (00/UM) that identifies the unit of measure that the system uses to express the quantity of an item, for example, EA 
(each) or KG (kilogram).

szSecondaryUOMUOM2charNONENONE

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

szTotLocationLOCNE1charNONENONE

The area in the warehouse where you receive inventory. The format of the location is user defined and you enter the location format for 
each branch/plant.

mnTotQtyOnHandPQOHMATH_NUMERICNONENONE

The number of units that are physically in stock. The system displays the quantity on-hand in the primary unit of measure.

mnTotQtyCommittedQCOMMMATH_NUMERICNONENONE

The total quantity that is committed to a specific location. The total quantity is the sum of all quantities that have been sold or committed 
from the following:     o Soft Committed to Sales Orders     o Hard Committed to Sales Orders     o Soft Committed to Work Orders     o Hard 
Committed to Work Orders 

mnTotQtyAvailableQAVALMATH_NUMERICNONENONE

A number that indicates the quantity that is available. For example, the available quantity might consist of the on-hand quantity minus 
commitments, reservations, and backorders.  Availability is user defined. You can set up availability in the Branch/Plant Constants program (P41001).  

mnTotQtyOnReceiptQWBOMATH_NUMERICNONENONE

The number of units on work orders in primary units of measure.

szTotBranchPlantMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

mnTotQtySoftCommittedPCOMMATH_NUMERICNONENONE

The number of units soft committed to sales orders or work orders in the primary units of measure.

mnTotQtyHardCommittedHCOMMATH_NUMERICNONENONE

The number of units committed to a specific location and lot.

mnTotQtyFutureCommitFCOMMATH_NUMERICNONENONE

The quantity on sales order whose requested shipment date is beyond the standard commitment period that has been specified in the 
Inventory Constants for that branch.  As an example, if you normally ship most orders within 90  days, then an order for an item with a requested 
ship date a year from now would have its quantity reflected in this field.

mnTotQtyBackorderPBCKMATH_NUMERICNONENONE

The number of units backordered in primary units of measure.

mnTotQtyWOHardCommitQOWOMATH_NUMERICNONENONE

The number of units hard committed to work orders in the primary unit of measure.

mnTotQtyWOReceiptQWBOMATH_NUMERICNONENONE

The number of units on work orders in primary units of measure.

mnTotQtySOOther1OT1PMATH_NUMERICNONENONE

The first of two quantities that can be specified as additional offsets (subtractions from on-hand) in the determination of quantities available 
for sale.  (Primary unit of measure)

mnTotQtySOOther2OT2PMATH_NUMERICNONENONE

The second of two quantities that can be specified as additional offsets (subtractions from on-hand) in the determination of quantities 
available for sale.  (Primary unit of measure)

mnTotQtyOnPOPREQMATH_NUMERICNONENONE

The number of units specified on the purchase order in primary units of measure.

mnTotQtyPOOther1OT1AMATH_NUMERICNONENONE

The quantity that appears on documents such as bid requests, which are not formal commitments to buy on the part of your organization.

mnTotQtyInRoutingQROUTMATH_NUMERICNONENONE

The total number of items that are in route. The total is the sum of all quantities that are considered to be in transit but are not presently on 
hand.

mnTotQtyInTransitQTTRMATH_NUMERICNONENONE

The quantity currently in transit from the supplier.

mnTotQtyInInspectionQTINMATH_NUMERICNONENONE

The quantity currently being inspected.  This quantity has been received, but is not considered on hand.

mnTotQtyInOperation1QTO1MATH_NUMERICNONENONE

The quantity which is currently at a user-defined operation within the dock-to-stock process.  The quantity has been received, but may or 
may not be considered to be on hand.

mnTotQtyInOperation2QTO2MATH_NUMERICNONENONE

The quantity which is currently at a user-defined operation within the dock-to-stock process.  The quantity has been received, but may or 
may not be considered to be on hand.

szGTotLocationLOCNE1charNONENONE

The area in the warehouse where you receive inventory. The format of the location is user defined and you enter the location format for 
each branch/plant.

mnGTotQtyOnHandPQOHMATH_NUMERICNONENONE

The number of units that are physically in stock. The system displays the quantity on-hand in the primary unit of measure.

mnGTotQtyCommittedQCOMMMATH_NUMERICNONENONE

The total quantity that is committed to a specific location. The total quantity is the sum of all quantities that have been sold or committed 
from the following:     o Soft Committed to Sales Orders     o Hard Committed to Sales Orders     o Soft Committed to Work Orders     o Hard 
Committed to Work Orders 

mnGTotQtyAvailableQAVALMATH_NUMERICNONENONE

A number that indicates the quantity that is available. For example, the available quantity might consist of the on-hand quantity minus 
commitments, reservations, and backorders.  Availability is user defined. You can set up availability in the Branch/Plant Constants program (P41001).  

mnGTotQtyOnReceiptQWBOMATH_NUMERICNONENONE

The number of units on work orders in primary units of measure.

szGTotBranchPlantMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

mnGTotQtySoftCommittedPCOMMATH_NUMERICNONENONE

The number of units soft committed to sales orders or work orders in the primary units of measure.

mnGTotQtyHardCommittedHCOMMATH_NUMERICNONENONE

The number of units committed to a specific location and lot.

mnGTotQtyFutureCommitFCOMMATH_NUMERICNONENONE

The quantity on sales order whose requested shipment date is beyond the standard commitment period that has been specified in the 
Inventory Constants for that branch.  As an example, if you normally ship most orders within 90  days, then an order for an item with a requested 
ship date a year from now would have its quantity reflected in this field.

mnGTotQtyBackorderPBCKMATH_NUMERICNONENONE

The number of units backordered in primary units of measure.

mnGTotQtyWOHardCommitQOWOMATH_NUMERICNONENONE

The number of units hard committed to work orders in the primary unit of measure.

mnGTotQtyWOReceiptQWBOMATH_NUMERICNONENONE

The number of units on work orders in primary units of measure.

mnGTotQtySOOther1OT1PMATH_NUMERICNONENONE

The first of two quantities that can be specified as additional offsets (subtractions from on-hand) in the determination of quantities available 
for sale.  (Primary unit of measure)

mnGTotQtySOOther2OT2PMATH_NUMERICNONENONE

The second of two quantities that can be specified as additional offsets (subtractions from on-hand) in the determination of quantities 
available for sale.  (Primary unit of measure)

mnGTotQtyOnPOPREQMATH_NUMERICNONENONE

The number of units specified on the purchase order in primary units of measure.

mnGTotQtyPOOther1OT1AMATH_NUMERICNONENONE

The quantity that appears on documents such as bid requests, which are not formal commitments to buy on the part of your organization.

mnGTotQtyInRoutingQROUTMATH_NUMERICNONENONE

The total number of items that are in route. The total is the sum of all quantities that are considered to be in transit but are not presently on 
hand.

mnGTotQtyInTransitQTTRMATH_NUMERICNONENONE

The quantity currently in transit from the supplier.

mnGTotQtyInInspectionQTINMATH_NUMERICNONENONE

The quantity currently being inspected.  This quantity has been received, but is not considered on hand.

mnGTotQtyOperation1QTO1MATH_NUMERICNONENONE

The quantity which is currently at a user-defined operation within the dock-to-stock process.  The quantity has been received, but may or 
may not be considered to be on hand.

mnGTotQtyOperation2QTO2MATH_NUMERICNONENONE

The quantity which is currently at a user-defined operation within the dock-to-stock process.  The quantity has been received, but may or 
may not be considered to be on hand.

cClearTotalEV01charNONENONE

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

cClearGrandTotalEV02charNONENONE

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

cTruncOrRoundEV01charOPTNONE

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

mnGTotProjectHardCommitPJCMMATH_NUMERICOPTNONE

The number of units committed to a specified location and lot for a project.

mnTotProjectHardCommitPJCMMATH_NUMERICOPTNONE

The number of units committed to a specified location and lot for a project.

mnProjectHardCommitPJCMMATH_NUMERICOPTNONE

The number of units committed to a specified location and lot for a project.

Related Functions

B4100010 Calculate Qty Available

Related Tables

None
CheckIfItemQuantitiesAreZero

CheckIfItemQuantitiesAreZero

Item Availability Business Functions

Minor Business Rule

Object Name: B4100930

Parent DLL: COPBASE

Location: Client/Server

Language: C

Functional Description

Purpose

DO NOT USE


Technical Specification





Data Structure

D4100930B - Check If Item Quantities Are Zero

Parameter NameData ItemData TypeReq/OptI/O/Both
mnQtyOnHandPQOHMATH_NUMERICNONENONE

The number of units that are physically in stock. The system displays the quantity on-hand in the primary unit of measure.

mnQtyPOReceiptPREQMATH_NUMERICNONENONE

The number of units specified on the purchase order in primary units of measure.

mnQtyOnBackorderPBCKMATH_NUMERICNONENONE

The number of units backordered in primary units of measure.

mnSoftCommitPCOMMATH_NUMERICNONENONE

The number of units soft committed to sales orders or work orders in the primary units of measure.

mnSOHardCommitHCOMMATH_NUMERICNONENONE

The number of units committed to a specific location and lot.

mnFutureCommitFCOMMATH_NUMERICNONENONE

The quantity on sales order whose requested shipment date is beyond the standard commitment period that has been specified in the 
Inventory Constants for that branch.  As an example, if you normally ship most orders within 90  days, then an order for an item with a requested 
ship date a year from now would have its quantity reflected in this field.

mnWOHardCommitQOWOMATH_NUMERICNONENONE

The number of units hard committed to work orders in the primary unit of measure.

mnQtyOnWOReceiptQWBOMATH_NUMERICNONENONE

The number of units on work orders in primary units of measure.

mnQtyInTransitQTTRMATH_NUMERICNONENONE

The quantity currently in transit from the supplier.

mnQtyInInspectionQTINMATH_NUMERICNONENONE

The quantity currently being inspected.  This quantity has been received, but is not considered on hand.

mnQtyInOperation1QTO1MATH_NUMERICNONENONE

The quantity which is currently at a user-defined operation within the dock-to-stock process.  The quantity has been received, but may or 
may not be considered to be on hand.

mnQtyInOperation2QTO2MATH_NUMERICNONENONE

The quantity which is currently at a user-defined operation within the dock-to-stock process.  The quantity has been received, but may or 
may not be considered to be on hand.

cZeroQuantitiesEV01charNONENONE

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

mnProjectHardCommitPJCMMATH_NUMERICOPTNONE

The number of units committed to a specified location and lot for a project.

Related Functions

B4100010 Calculate Qty Available

Related Tables

None
FormatGrandTotalLineItemAvail

FormatGrandTotalLineItemAvail

Item Availability Business Functions

Minor Business Rule

Object Name: B4100930

Parent DLL: COPBASE

Location: Client/Server

Language: C

Functional Description

Purpose

DO NOT USE
Setup Notes and Prerequisites

Special Logic




Technical Specification




Data Structure

D4100930A - Item Availability

Parameter NameData ItemData TypeReq/OptI/O/Both
mnOnHandPQOHMATH_NUMERICNONENONE

The number of units that are physically in stock. The system displays the quantity on-hand in the primary unit of measure.

mnOnPurchaseOrderPREQMATH_NUMERICNONENONE

The number of units specified on the purchase order in primary units of measure.

mnOnBackorderPBCKMATH_NUMERICNONENONE

The number of units backordered in primary units of measure.

mnSoftCommitSOWOPCOMMATH_NUMERICNONENONE

The number of units soft committed to sales orders or work orders in the primary units of measure.

mnHardCommitSalesOrderHCOMMATH_NUMERICNONENONE

The number of units committed to a specific location and lot.

mnFutureCommitFCOMMATH_NUMERICNONENONE

The quantity on sales order whose requested shipment date is beyond the standard commitment period that has been specified in the 
Inventory Constants for that branch.  As an example, if you normally ship most orders within 90  days, then an order for an item with a requested 
ship date a year from now would have its quantity reflected in this field.

mnHardCommitWorkOrderQOWOMATH_NUMERICNONENONE

The number of units hard committed to work orders in the primary unit of measure.

mnOnWorkOrderReceiptQWBOMATH_NUMERICNONENONE

The number of units on work orders in primary units of measure.

mnInTransitQTTRMATH_NUMERICNONENONE

The quantity currently in transit from the supplier.

mnInInspectionQTINMATH_NUMERICNONENONE

The quantity currently being inspected.  This quantity has been received, but is not considered on hand.

mnInOperation1QTO1MATH_NUMERICNONENONE

The quantity which is currently at a user-defined operation within the dock-to-stock process.  The quantity has been received, but may or 
may not be considered to be on hand.

mnInOperation2QTO2MATH_NUMERICNONENONE

The quantity which is currently at a user-defined operation within the dock-to-stock process.  The quantity has been received, but may or 
may not be considered to be on hand.

mnOnSalesOrderOther1OT1PMATH_NUMERICNONENONE

The first of two quantities that can be specified as additional offsets (subtractions from on-hand) in the determination of quantities available 
for sale.  (Primary unit of measure)

mnOnSalesOrderOther2OT2PMATH_NUMERICNONENONE

The second of two quantities that can be specified as additional offsets (subtractions from on-hand) in the determination of quantities 
available for sale.  (Primary unit of measure)

mnOnPurchaseOrderOther1OT1AMATH_NUMERICNONENONE

The quantity that appears on documents such as bid requests, which are not formal commitments to buy on the part of your organization.

mnShortItemNumberITMMATH_NUMERICNONENONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

szBranchPlantMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szLocationLOCNcharNONENONE

The storage location from which goods will be moved.

szLotLOTNcharNONENONE

A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics.

cPrimaryBinPBINcharNONENONE

A code that indicates whether this is the primary or secondary location for this item within this stocking location. Valid values are:    P Primary 
storage location    S Secondary storage location  Note:  You can only have one storage area marked as primary within each branch or 
warehouse. In some cases, the system uses the primary storage area as the default.

cLotStatusCodeLOTScharNONENONE

A user defined code (41/L) that indicates the status of the lot. If you leave this field blank, it indicates that the lot is approved. All other codes 
indicate that the lot is on hold. You can assign a different status code to each location in which a lot resides on Item/Location Information or 
Location Lot Status Change.

mnCommittedQCOMMMATH_NUMERICNONENONE

The total quantity that is committed to a specific location. The total quantity is the sum of all quantities that have been sold or committed 
from the following:     o Soft Committed to Sales Orders     o Hard Committed to Sales Orders     o Soft Committed to Work Orders     o Hard 
Committed to Work Orders 

mnOnReceiptQORECMATH_NUMERICNONENONE

The total number of items that are on receipt for a specific location. The total is the sum of all quantities of an item that are on order and in 
route for a location.

mnInRoutingQROUTMATH_NUMERICNONENONE

The total number of items that are in route. The total is the sum of all quantities that are considered to be in transit but are not presently on 
hand.

mnAvailableQAVALMATH_NUMERICNONENONE

A number that indicates the quantity that is available. For example, the available quantity might consist of the on-hand quantity minus 
commitments, reservations, and backorders.  Availability is user defined. You can set up availability in the Branch/Plant Constants program (P41001).  

cReturnCodeEV01charNONENONE

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

mnSafetyStockSAFEMATH_NUMERICNONENONE

The quantity of stock kept on hand to cover high-side variations in demand.

mnFromPotencyFRMPMATH_NUMERICNONENONE

A number that indicates the minimum potency or percentage of active ingredients acceptable for an item. The system displays a warning 
message if you try to purchase or issue items that do not meet the minimum acceptable potency. The system does not allow you to sell items 
that do not meet the minimum acceptable potency.

mnThruPotencyTHRPMATH_NUMERICNONENONE

A number that indicates the maximum potency or percentage of active ingredients that is acceptable for an item. The system displays a 
warning message if you try to purchase or issue items that have a potency that exceeds the maximum potency acceptable. The system does 
not allow you to sell items that have a potency that exceeds the maximum potency acceptable.

szFromGradeFRGDcharNONENONE

A user defined code (40/LG) that indicates the minimum grade that is acceptable for an item. The system displays a warning message if 
you try to purchase or issue items with grades that do not meet the minimum grade acceptable. The system does not allow you to sell items 
with grades that do not meet the minimum acceptable level.

szThruGradeTHGDcharNONENONE

A user defined code (40/LG) that indicates the maximum grade that is acceptable for an item. The system displays a warning message if 
you try to purchase or issue items with grades that exceed the maximum grade acceptable. The system does not allow you to sell items with 
grades that exceed the maximum grade acceptable.

mnDaysBeforeExpirationEXDPMATH_NUMERICNONENONE

The number of days allowed before expiration for an item where it still can be used or sold to a specific customer.  When negative, this 
number indicates the number of days after expiration for an item where it still can be used or sold to a specific customer. For example, if the 
expiration date for item 1001 is 06/01/98:     o A value of 15 in Days Before Expiration means that this specific customer only accepts this item up to 
05/15/98.     o A value of -15 in Days Before Expiration means that this specific customer accepts this item up to 06/15/98.

cPotencyControlOT1YcharNONENONE

A code that indicates whether you control the item by potency.

cGradeControlOT2YcharNONENONE

A code that indicates whether you control the item by grade.

szLotGradeLOTGcharNONENONE

A code that indicates the grade of a lot. The grade is used to indicate the quality of the lot. Examples include the following:    A1   Premium 
grade    A2   Secondary grade  The grade for a lot is stored in the Lot Master table (F4108).

mnLotPotencyLOTPMATH_NUMERICNONENONE

A code that indicates the potency of the lot expressed as a percentage of active or useful material (for example, the percentage of alcohol 
in a solution). The actual potency of a lot is defined in the Lot Master table (F4108).

jdExpirationDateMMEJJDEDATENONENONE

The date on which a lot of items expires. The system automatically enters this date if you have specified the shelf life days for the item on 
Item Master Information or Item Branch/Plant Information. The system calculates the expiration date by adding the number of shelf life days to 
the date that you receive the item. You can commit inventory based on the lot expiration date for items. You choose how the system commits 
inventory for an item on Item Master Information or Item Branch/Plant Information.

szPrimaryUOMUOM1charNONENONE

A user defined code (00/UM) that identifies the unit of measure that the system uses to express the quantity of an item, for example, EA 
(each) or KG (kilogram).

szSecondaryUOMUOM2charNONENONE

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

szTotLocationLOCNE1charNONENONE

The area in the warehouse where you receive inventory. The format of the location is user defined and you enter the location format for 
each branch/plant.

mnTotQtyOnHandPQOHMATH_NUMERICNONENONE

The number of units that are physically in stock. The system displays the quantity on-hand in the primary unit of measure.

mnTotQtyCommittedQCOMMMATH_NUMERICNONENONE

The total quantity that is committed to a specific location. The total quantity is the sum of all quantities that have been sold or committed 
from the following:     o Soft Committed to Sales Orders     o Hard Committed to Sales Orders     o Soft Committed to Work Orders     o Hard 
Committed to Work Orders 

mnTotQtyAvailableQAVALMATH_NUMERICNONENONE

A number that indicates the quantity that is available. For example, the available quantity might consist of the on-hand quantity minus 
commitments, reservations, and backorders.  Availability is user defined. You can set up availability in the Branch/Plant Constants program (P41001).  

mnTotQtyOnReceiptQWBOMATH_NUMERICNONENONE

The number of units on work orders in primary units of measure.

szTotBranchPlantMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

mnTotQtySoftCommittedPCOMMATH_NUMERICNONENONE

The number of units soft committed to sales orders or work orders in the primary units of measure.

mnTotQtyHardCommittedHCOMMATH_NUMERICNONENONE

The number of units committed to a specific location and lot.

mnTotQtyFutureCommitFCOMMATH_NUMERICNONENONE

The quantity on sales order whose requested shipment date is beyond the standard commitment period that has been specified in the 
Inventory Constants for that branch.  As an example, if you normally ship most orders within 90  days, then an order for an item with a requested 
ship date a year from now would have its quantity reflected in this field.

mnTotQtyBackorderPBCKMATH_NUMERICNONENONE

The number of units backordered in primary units of measure.

mnTotQtyWOHardCommitQOWOMATH_NUMERICNONENONE

The number of units hard committed to work orders in the primary unit of measure.

mnTotQtyWOReceiptQWBOMATH_NUMERICNONENONE

The number of units on work orders in primary units of measure.

mnTotQtySOOther1OT1PMATH_NUMERICNONENONE

The first of two quantities that can be specified as additional offsets (subtractions from on-hand) in the determination of quantities available 
for sale.  (Primary unit of measure)

mnTotQtySOOther2OT2PMATH_NUMERICNONENONE

The second of two quantities that can be specified as additional offsets (subtractions from on-hand) in the determination of quantities 
available for sale.  (Primary unit of measure)

mnTotQtyOnPOPREQMATH_NUMERICNONENONE

The number of units specified on the purchase order in primary units of measure.

mnTotQtyPOOther1OT1AMATH_NUMERICNONENONE

The quantity that appears on documents such as bid requests, which are not formal commitments to buy on the part of your organization.

mnTotQtyInRoutingQROUTMATH_NUMERICNONENONE

The total number of items that are in route. The total is the sum of all quantities that are considered to be in transit but are not presently on 
hand.

mnTotQtyInTransitQTTRMATH_NUMERICNONENONE

The quantity currently in transit from the supplier.

mnTotQtyInInspectionQTINMATH_NUMERICNONENONE

The quantity currently being inspected.  This quantity has been received, but is not considered on hand.

mnTotQtyInOperation1QTO1MATH_NUMERICNONENONE

The quantity which is currently at a user-defined operation within the dock-to-stock process.  The quantity has been received, but may or 
may not be considered to be on hand.

mnTotQtyInOperation2QTO2MATH_NUMERICNONENONE

The quantity which is currently at a user-defined operation within the dock-to-stock process.  The quantity has been received, but may or 
may not be considered to be on hand.

szGTotLocationLOCNE1charNONENONE

The area in the warehouse where you receive inventory. The format of the location is user defined and you enter the location format for 
each branch/plant.

mnGTotQtyOnHandPQOHMATH_NUMERICNONENONE

The number of units that are physically in stock. The system displays the quantity on-hand in the primary unit of measure.

mnGTotQtyCommittedQCOMMMATH_NUMERICNONENONE

The total quantity that is committed to a specific location. The total quantity is the sum of all quantities that have been sold or committed 
from the following:     o Soft Committed to Sales Orders     o Hard Committed to Sales Orders     o Soft Committed to Work Orders     o Hard 
Committed to Work Orders 

mnGTotQtyAvailableQAVALMATH_NUMERICNONENONE

A number that indicates the quantity that is available. For example, the available quantity might consist of the on-hand quantity minus 
commitments, reservations, and backorders.  Availability is user defined. You can set up availability in the Branch/Plant Constants program (P41001).  

mnGTotQtyOnReceiptQWBOMATH_NUMERICNONENONE

The number of units on work orders in primary units of measure.

szGTotBranchPlantMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

mnGTotQtySoftCommittedPCOMMATH_NUMERICNONENONE

The number of units soft committed to sales orders or work orders in the primary units of measure.

mnGTotQtyHardCommittedHCOMMATH_NUMERICNONENONE

The number of units committed to a specific location and lot.

mnGTotQtyFutureCommitFCOMMATH_NUMERICNONENONE

The quantity on sales order whose requested shipment date is beyond the standard commitment period that has been specified in the 
Inventory Constants for that branch.  As an example, if you normally ship most orders within 90  days, then an order for an item with a requested 
ship date a year from now would have its quantity reflected in this field.

mnGTotQtyBackorderPBCKMATH_NUMERICNONENONE

The number of units backordered in primary units of measure.

mnGTotQtyWOHardCommitQOWOMATH_NUMERICNONENONE

The number of units hard committed to work orders in the primary unit of measure.

mnGTotQtyWOReceiptQWBOMATH_NUMERICNONENONE

The number of units on work orders in primary units of measure.

mnGTotQtySOOther1OT1PMATH_NUMERICNONENONE

The first of two quantities that can be specified as additional offsets (subtractions from on-hand) in the determination of quantities available 
for sale.  (Primary unit of measure)

mnGTotQtySOOther2OT2PMATH_NUMERICNONENONE

The second of two quantities that can be specified as additional offsets (subtractions from on-hand) in the determination of quantities 
available for sale.  (Primary unit of measure)

mnGTotQtyOnPOPREQMATH_NUMERICNONENONE

The number of units specified on the purchase order in primary units of measure.

mnGTotQtyPOOther1OT1AMATH_NUMERICNONENONE

The quantity that appears on documents such as bid requests, which are not formal commitments to buy on the part of your organization.

mnGTotQtyInRoutingQROUTMATH_NUMERICNONENONE

The total number of items that are in route. The total is the sum of all quantities that are considered to be in transit but are not presently on 
hand.

mnGTotQtyInTransitQTTRMATH_NUMERICNONENONE

The quantity currently in transit from the supplier.

mnGTotQtyInInspectionQTINMATH_NUMERICNONENONE

The quantity currently being inspected.  This quantity has been received, but is not considered on hand.

mnGTotQtyOperation1QTO1MATH_NUMERICNONENONE

The quantity which is currently at a user-defined operation within the dock-to-stock process.  The quantity has been received, but may or 
may not be considered to be on hand.

mnGTotQtyOperation2QTO2MATH_NUMERICNONENONE

The quantity which is currently at a user-defined operation within the dock-to-stock process.  The quantity has been received, but may or 
may not be considered to be on hand.

cClearTotalEV01charNONENONE

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

cClearGrandTotalEV02charNONENONE

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

cTruncOrRoundEV01charOPTNONE

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

mnGTotProjectHardCommitPJCMMATH_NUMERICOPTNONE

The number of units committed to a specified location and lot for a project.

mnTotProjectHardCommitPJCMMATH_NUMERICOPTNONE

The number of units committed to a specified location and lot for a project.

mnProjectHardCommitPJCMMATH_NUMERICOPTNONE

The number of units committed to a specified location and lot for a project.

Related Functions

B4100010 Calculate Qty Available

Related Tables

None
FormatSummaryLineItemAvail

FormatSummaryLineItemAvail

Item Availability Business Functions

Minor Business Rule

Object Name: B4100930

Parent DLL: COPBASE

Location: Client/Server

Language: C

Functional Description

Purpose

DO NOT USE
Setup Notes and Prerequisites


Special Logic




Technical Specification




Data Structure

DLM0020 - Set Level - Line Level Errors

Parameter NameData ItemData TypeReq/OptI/O/Both
mnEDILineNumberEDLNMATH_NUMERICNONENONE

This is the line number you assign when originating an EDI transaction. This number can represent an order line number (applicable for any 
order type), an invoice pay item, a journal entry line number, and so on.

cIncludeInterconnectEV01charNONENONE

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

idPtrToPPATMsgsGENLNGIDNONENONE

General purpose ID variable.

mnFI_EDIOrderNumberEDOCMATH_NUMERICNONENONE

The document number that is assigned by the transmitter in an EDI transaction. In a non EDI environment, this would be consistent with the 
order number assigned at order entry time (DOCO).

szFI_EDIOrderTypeEDCTcharNONENONE

The document type that is assigned by the transmitter in an EDI transaction. In a non EDI environment, this would be consistent with the order 
type (DCTO) assigned at order entry time, an invoice document type, a voucher document type, and so on.

szFI_EDIOrderCompanyEKCOcharNONENONE

Company - Key (EDI - Document Key Co)

Related Functions

B4100010 Calculate Qty Available

Related Tables

None
InitializeGrandTotalItemAvail

InitializeGrandTotalItemAvail

Item Availability Business Functions

Minor Business Rule

Object Name: B4100930

Parent DLL: COPBASE

Location: Client/Server

Language: C

Functional Description

Purpose

DO NOT USE
Setup Notes and Prerequisites


Special Logic




Technical Specification




Data Structure

D4100930A - Item Availability

Parameter NameData ItemData TypeReq/OptI/O/Both
mnOnHandPQOHMATH_NUMERICNONENONE

The number of units that are physically in stock. The system displays the quantity on-hand in the primary unit of measure.

mnOnPurchaseOrderPREQMATH_NUMERICNONENONE

The number of units specified on the purchase order in primary units of measure.

mnOnBackorderPBCKMATH_NUMERICNONENONE

The number of units backordered in primary units of measure.

mnSoftCommitSOWOPCOMMATH_NUMERICNONENONE

The number of units soft committed to sales orders or work orders in the primary units of measure.

mnHardCommitSalesOrderHCOMMATH_NUMERICNONENONE

The number of units committed to a specific location and lot.

mnFutureCommitFCOMMATH_NUMERICNONENONE

The quantity on sales order whose requested shipment date is beyond the standard commitment period that has been specified in the 
Inventory Constants for that branch.  As an example, if you normally ship most orders within 90  days, then an order for an item with a requested 
ship date a year from now would have its quantity reflected in this field.

mnHardCommitWorkOrderQOWOMATH_NUMERICNONENONE

The number of units hard committed to work orders in the primary unit of measure.

mnOnWorkOrderReceiptQWBOMATH_NUMERICNONENONE

The number of units on work orders in primary units of measure.

mnInTransitQTTRMATH_NUMERICNONENONE

The quantity currently in transit from the supplier.

mnInInspectionQTINMATH_NUMERICNONENONE

The quantity currently being inspected.  This quantity has been received, but is not considered on hand.

mnInOperation1QTO1MATH_NUMERICNONENONE

The quantity which is currently at a user-defined operation within the dock-to-stock process.  The quantity has been received, but may or 
may not be considered to be on hand.

mnInOperation2QTO2MATH_NUMERICNONENONE

The quantity which is currently at a user-defined operation within the dock-to-stock process.  The quantity has been received, but may or 
may not be considered to be on hand.

mnOnSalesOrderOther1OT1PMATH_NUMERICNONENONE

The first of two quantities that can be specified as additional offsets (subtractions from on-hand) in the determination of quantities available 
for sale.  (Primary unit of measure)

mnOnSalesOrderOther2OT2PMATH_NUMERICNONENONE

The second of two quantities that can be specified as additional offsets (subtractions from on-hand) in the determination of quantities 
available for sale.  (Primary unit of measure)

mnOnPurchaseOrderOther1OT1AMATH_NUMERICNONENONE

The quantity that appears on documents such as bid requests, which are not formal commitments to buy on the part of your organization.

mnShortItemNumberITMMATH_NUMERICNONENONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

szBranchPlantMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szLocationLOCNcharNONENONE

The storage location from which goods will be moved.

szLotLOTNcharNONENONE

A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics.

cPrimaryBinPBINcharNONENONE

A code that indicates whether this is the primary or secondary location for this item within this stocking location. Valid values are:    P Primary 
storage location    S Secondary storage location  Note:  You can only have one storage area marked as primary within each branch or 
warehouse. In some cases, the system uses the primary storage area as the default.

cLotStatusCodeLOTScharNONENONE

A user defined code (41/L) that indicates the status of the lot. If you leave this field blank, it indicates that the lot is approved. All other codes 
indicate that the lot is on hold. You can assign a different status code to each location in which a lot resides on Item/Location Information or 
Location Lot Status Change.

mnCommittedQCOMMMATH_NUMERICNONENONE

The total quantity that is committed to a specific location. The total quantity is the sum of all quantities that have been sold or committed 
from the following:     o Soft Committed to Sales Orders     o Hard Committed to Sales Orders     o Soft Committed to Work Orders     o Hard 
Committed to Work Orders 

mnOnReceiptQORECMATH_NUMERICNONENONE

The total number of items that are on receipt for a specific location. The total is the sum of all quantities of an item that are on order and in 
route for a location.

mnInRoutingQROUTMATH_NUMERICNONENONE

The total number of items that are in route. The total is the sum of all quantities that are considered to be in transit but are not presently on 
hand.

mnAvailableQAVALMATH_NUMERICNONENONE

A number that indicates the quantity that is available. For example, the available quantity might consist of the on-hand quantity minus 
commitments, reservations, and backorders.  Availability is user defined. You can set up availability in the Branch/Plant Constants program (P41001).  

cReturnCodeEV01charNONENONE

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

mnSafetyStockSAFEMATH_NUMERICNONENONE

The quantity of stock kept on hand to cover high-side variations in demand.

mnFromPotencyFRMPMATH_NUMERICNONENONE

A number that indicates the minimum potency or percentage of active ingredients acceptable for an item. The system displays a warning 
message if you try to purchase or issue items that do not meet the minimum acceptable potency. The system does not allow you to sell items 
that do not meet the minimum acceptable potency.

mnThruPotencyTHRPMATH_NUMERICNONENONE

A number that indicates the maximum potency or percentage of active ingredients that is acceptable for an item. The system displays a 
warning message if you try to purchase or issue items that have a potency that exceeds the maximum potency acceptable. The system does 
not allow you to sell items that have a potency that exceeds the maximum potency acceptable.

szFromGradeFRGDcharNONENONE

A user defined code (40/LG) that indicates the minimum grade that is acceptable for an item. The system displays a warning message if 
you try to purchase or issue items with grades that do not meet the minimum grade acceptable. The system does not allow you to sell items 
with grades that do not meet the minimum acceptable level.

szThruGradeTHGDcharNONENONE

A user defined code (40/LG) that indicates the maximum grade that is acceptable for an item. The system displays a warning message if 
you try to purchase or issue items with grades that exceed the maximum grade acceptable. The system does not allow you to sell items with 
grades that exceed the maximum grade acceptable.

mnDaysBeforeExpirationEXDPMATH_NUMERICNONENONE

The number of days allowed before expiration for an item where it still can be used or sold to a specific customer.  When negative, this 
number indicates the number of days after expiration for an item where it still can be used or sold to a specific customer. For example, if the 
expiration date for item 1001 is 06/01/98:     o A value of 15 in Days Before Expiration means that this specific customer only accepts this item up to 
05/15/98.     o A value of -15 in Days Before Expiration means that this specific customer accepts this item up to 06/15/98.

cPotencyControlOT1YcharNONENONE

A code that indicates whether you control the item by potency.

cGradeControlOT2YcharNONENONE

A code that indicates whether you control the item by grade.

szLotGradeLOTGcharNONENONE

A code that indicates the grade of a lot. The grade is used to indicate the quality of the lot. Examples include the following:    A1   Premium 
grade    A2   Secondary grade  The grade for a lot is stored in the Lot Master table (F4108).

mnLotPotencyLOTPMATH_NUMERICNONENONE

A code that indicates the potency of the lot expressed as a percentage of active or useful material (for example, the percentage of alcohol 
in a solution). The actual potency of a lot is defined in the Lot Master table (F4108).

jdExpirationDateMMEJJDEDATENONENONE

The date on which a lot of items expires. The system automatically enters this date if you have specified the shelf life days for the item on 
Item Master Information or Item Branch/Plant Information. The system calculates the expiration date by adding the number of shelf life days to 
the date that you receive the item. You can commit inventory based on the lot expiration date for items. You choose how the system commits 
inventory for an item on Item Master Information or Item Branch/Plant Information.

szPrimaryUOMUOM1charNONENONE

A user defined code (00/UM) that identifies the unit of measure that the system uses to express the quantity of an item, for example, EA 
(each) or KG (kilogram).

szSecondaryUOMUOM2charNONENONE

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

szTotLocationLOCNE1charNONENONE

The area in the warehouse where you receive inventory. The format of the location is user defined and you enter the location format for 
each branch/plant.

mnTotQtyOnHandPQOHMATH_NUMERICNONENONE

The number of units that are physically in stock. The system displays the quantity on-hand in the primary unit of measure.

mnTotQtyCommittedQCOMMMATH_NUMERICNONENONE

The total quantity that is committed to a specific location. The total quantity is the sum of all quantities that have been sold or committed 
from the following:     o Soft Committed to Sales Orders     o Hard Committed to Sales Orders     o Soft Committed to Work Orders     o Hard 
Committed to Work Orders 

mnTotQtyAvailableQAVALMATH_NUMERICNONENONE

A number that indicates the quantity that is available. For example, the available quantity might consist of the on-hand quantity minus 
commitments, reservations, and backorders.  Availability is user defined. You can set up availability in the Branch/Plant Constants program (P41001).  

mnTotQtyOnReceiptQWBOMATH_NUMERICNONENONE

The number of units on work orders in primary units of measure.

szTotBranchPlantMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

mnTotQtySoftCommittedPCOMMATH_NUMERICNONENONE

The number of units soft committed to sales orders or work orders in the primary units of measure.

mnTotQtyHardCommittedHCOMMATH_NUMERICNONENONE

The number of units committed to a specific location and lot.

mnTotQtyFutureCommitFCOMMATH_NUMERICNONENONE

The quantity on sales order whose requested shipment date is beyond the standard commitment period that has been specified in the 
Inventory Constants for that branch.  As an example, if you normally ship most orders within 90  days, then an order for an item with a requested 
ship date a year from now would have its quantity reflected in this field.

mnTotQtyBackorderPBCKMATH_NUMERICNONENONE

The number of units backordered in primary units of measure.

mnTotQtyWOHardCommitQOWOMATH_NUMERICNONENONE

The number of units hard committed to work orders in the primary unit of measure.

mnTotQtyWOReceiptQWBOMATH_NUMERICNONENONE

The number of units on work orders in primary units of measure.

mnTotQtySOOther1OT1PMATH_NUMERICNONENONE

The first of two quantities that can be specified as additional offsets (subtractions from on-hand) in the determination of quantities available 
for sale.  (Primary unit of measure)

mnTotQtySOOther2OT2PMATH_NUMERICNONENONE

The second of two quantities that can be specified as additional offsets (subtractions from on-hand) in the determination of quantities 
available for sale.  (Primary unit of measure)

mnTotQtyOnPOPREQMATH_NUMERICNONENONE

The number of units specified on the purchase order in primary units of measure.

mnTotQtyPOOther1OT1AMATH_NUMERICNONENONE

The quantity that appears on documents such as bid requests, which are not formal commitments to buy on the part of your organization.

mnTotQtyInRoutingQROUTMATH_NUMERICNONENONE

The total number of items that are in route. The total is the sum of all quantities that are considered to be in transit but are not presently on 
hand.

mnTotQtyInTransitQTTRMATH_NUMERICNONENONE

The quantity currently in transit from the supplier.

mnTotQtyInInspectionQTINMATH_NUMERICNONENONE

The quantity currently being inspected.  This quantity has been received, but is not considered on hand.

mnTotQtyInOperation1QTO1MATH_NUMERICNONENONE

The quantity which is currently at a user-defined operation within the dock-to-stock process.  The quantity has been received, but may or 
may not be considered to be on hand.

mnTotQtyInOperation2QTO2MATH_NUMERICNONENONE

The quantity which is currently at a user-defined operation within the dock-to-stock process.  The quantity has been received, but may or 
may not be considered to be on hand.

szGTotLocationLOCNE1charNONENONE

The area in the warehouse where you receive inventory. The format of the location is user defined and you enter the location format for 
each branch/plant.

mnGTotQtyOnHandPQOHMATH_NUMERICNONENONE

The number of units that are physically in stock. The system displays the quantity on-hand in the primary unit of measure.

mnGTotQtyCommittedQCOMMMATH_NUMERICNONENONE

The total quantity that is committed to a specific location. The total quantity is the sum of all quantities that have been sold or committed 
from the following:     o Soft Committed to Sales Orders     o Hard Committed to Sales Orders     o Soft Committed to Work Orders     o Hard 
Committed to Work Orders 

mnGTotQtyAvailableQAVALMATH_NUMERICNONENONE

A number that indicates the quantity that is available. For example, the available quantity might consist of the on-hand quantity minus 
commitments, reservations, and backorders.  Availability is user defined. You can set up availability in the Branch/Plant Constants program (P41001).  

mnGTotQtyOnReceiptQWBOMATH_NUMERICNONENONE

The number of units on work orders in primary units of measure.

szGTotBranchPlantMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

mnGTotQtySoftCommittedPCOMMATH_NUMERICNONENONE

The number of units soft committed to sales orders or work orders in the primary units of measure.

mnGTotQtyHardCommittedHCOMMATH_NUMERICNONENONE

The number of units committed to a specific location and lot.

mnGTotQtyFutureCommitFCOMMATH_NUMERICNONENONE

The quantity on sales order whose requested shipment date is beyond the standard commitment period that has been specified in the 
Inventory Constants for that branch.  As an example, if you normally ship most orders within 90  days, then an order for an item with a requested 
ship date a year from now would have its quantity reflected in this field.

mnGTotQtyBackorderPBCKMATH_NUMERICNONENONE

The number of units backordered in primary units of measure.

mnGTotQtyWOHardCommitQOWOMATH_NUMERICNONENONE

The number of units hard committed to work orders in the primary unit of measure.

mnGTotQtyWOReceiptQWBOMATH_NUMERICNONENONE

The number of units on work orders in primary units of measure.

mnGTotQtySOOther1OT1PMATH_NUMERICNONENONE

The first of two quantities that can be specified as additional offsets (subtractions from on-hand) in the determination of quantities available 
for sale.  (Primary unit of measure)

mnGTotQtySOOther2OT2PMATH_NUMERICNONENONE

The second of two quantities that can be specified as additional offsets (subtractions from on-hand) in the determination of quantities 
available for sale.  (Primary unit of measure)

mnGTotQtyOnPOPREQMATH_NUMERICNONENONE

The number of units specified on the purchase order in primary units of measure.

mnGTotQtyPOOther1OT1AMATH_NUMERICNONENONE

The quantity that appears on documents such as bid requests, which are not formal commitments to buy on the part of your organization.

mnGTotQtyInRoutingQROUTMATH_NUMERICNONENONE

The total number of items that are in route. The total is the sum of all quantities that are considered to be in transit but are not presently on 
hand.

mnGTotQtyInTransitQTTRMATH_NUMERICNONENONE

The quantity currently in transit from the supplier.

mnGTotQtyInInspectionQTINMATH_NUMERICNONENONE

The quantity currently being inspected.  This quantity has been received, but is not considered on hand.

mnGTotQtyOperation1QTO1MATH_NUMERICNONENONE

The quantity which is currently at a user-defined operation within the dock-to-stock process.  The quantity has been received, but may or 
may not be considered to be on hand.

mnGTotQtyOperation2QTO2MATH_NUMERICNONENONE

The quantity which is currently at a user-defined operation within the dock-to-stock process.  The quantity has been received, but may or 
may not be considered to be on hand.

cClearTotalEV01charNONENONE

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

cClearGrandTotalEV02charNONENONE

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

cTruncOrRoundEV01charOPTNONE

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

mnGTotProjectHardCommitPJCMMATH_NUMERICOPTNONE

The number of units committed to a specified location and lot for a project.

mnTotProjectHardCommitPJCMMATH_NUMERICOPTNONE

The number of units committed to a specified location and lot for a project.

mnProjectHardCommitPJCMMATH_NUMERICOPTNONE

The number of units committed to a specified location and lot for a project.

Related Functions

B4100010 Calculate Qty Available

Related Tables

None
InitializeTotalItemAvailability

InitializeTotalItemAvailability

Item Availability Business Functions

Minor Business Rule

Object Name: B4100930

Parent DLL: COPBASE

Location: Client/Server

Language: C

Functional Description

Purpose

DO NOT USE
Setup Notes and Prerequisites


Special Logic




Technical Specification




Data Structure

DLM0019 - Set Level - Order Level Errors

Parameter NameData ItemData TypeReq/OptI/O/Both
mnEDIOrderNumberEDOCMATH_NUMERICNONENONE

The document number that is assigned by the transmitter in an EDI transaction. In a non EDI environment, this would be consistent with the 
order number assigned at order entry time (DOCO).

mnFI_EDIOrderNumberEDOCMATH_NUMERICNONENONE

The document number that is assigned by the transmitter in an EDI transaction. In a non EDI environment, this would be consistent with the 
order number assigned at order entry time (DOCO).

szFI_EDIOrderTypeEDCTcharNONENONE

The document type that is assigned by the transmitter in an EDI transaction. In a non EDI environment, this would be consistent with the order 
type (DCTO) assigned at order entry time, an invoice document type, a voucher document type, and so on.

szFI_EDIOrderCompanyEKCOcharNONENONE

Company - Key (EDI - Document Key Co)

cIncludeInterconnectEV01charNONENONE

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

idPtrToPPATMsgsGENLNGIDNONENONE

General purpose ID variable.

Related Functions

B4100010 Calculate Qty Available

Related Tables

None
PMATH_NUMERICNONENONE

The first of two quantities that can be specified as additional offsets (subtractions from on-hand) in the determination of quantities available 
for sale.  (Primary unit of measure)

mnOnSalesOrderOther2OT2PMATH_NUMERICNONENONE

The second of two quantities that can be specified as additional offsets (subtractions from on-hand) in the determination of quantities 
available for sale.  (Primary unit of measure)

mnOnPurchaseOrderOther1OT1AMATH_NUMERICNONENONE

The quantity that appears on documents such as bid requests, which are not formal commitments to buy on the part of your organization.

mnShortItemNumberITMMATH_NUMERICNONENONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

szBranchPlantMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szLocationLOCNcharNONENONE

The storage location from which goods will be moved.

szLotLOTNcharNONENONE

A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics.

cPrimaryBinPBINcharNONENONE

A code that indicates whether this is the primary or secondary location for this item within this stocking location. Valid values are:    P Primary 
storage location    S Secondary storage location  Note:  You can only have one storage area marked as primary within each branch or 
warehouse. In some cases, the system uses the primary storage area as the default.

cLotStatusCodeLOTScharNONENONE

A user defined code (41/L) that indicates the status of the lot. If you leave this field blank, it indicates that the lot is approved. All other codes 
indicate that the lot is on hold. You can assign a different status code to each location in which a lot resides on Item/Location Information or 
Location Lot Status Change.

mnCommittedQCOMMMATH_NUMERICNONENONE

The total quantity that is committed to a specific location. The total quantity is the sum of all quantities that have been sold or committed 
from the following:     o Soft Committed to Sales Orders     o Hard Committed to Sales Orders     o Soft Committed to Work Orders     o Hard 
Committed to Work Orders 

mnOnReceiptQORECMATH_NUMERICNONENONE

The total number of items that are on receipt for a specific location. The total is the sum of all quantities of an item that are on order and in 
route for a location.

mnInRoutingQROUTMATH_NUMERICNONENONE

The total number of items that are in route. The total is the sum of all quantities that are considered to be in transit but are not presently on 
hand.

mnAvailableQAVALMATH_NUMERICNONENONE

A number that indicates the quantity that is available. For example, the available quantity might consist of the on-hand quantity minus 
commitments, reservations, and backorders.  Availability is user defined. You can set up availability in the Branch/Plant Constants program (P41001).  

cReturnCodeEV01charNONENONE

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

mnSafetyStockSAFEMATH_NUMERICNONENONE

The quantity of stock kept on hand to cover high-side variations in demand.

mnFromPotencyFRMPMATH_NUMERICNONENONE

A number that indicates the minimum potency or percentage of active ingredients acceptable for an item. The system displays a warning 
message if you try to purchase or issue items that do not meet the minimum acceptable potency. The system does not allow you to sell items 
that do not meet the minimum acceptable potency.

mnThruPotencyTHRPMATH_NUMERICNONENONE

A number that indicates the maximum potency or percentage of active ingredients that is acceptable for an item. The system displays a 
warning message if you try to purchase or issue items that have a potency that exceeds the maximum potency acceptable. The system does 
not allow you to sell items that have a potency that exceeds the maximum potency acceptable.

szFromGradeFRGDcharNONENONE

A user defined code (40/LG) that indicates the minimum grade that is acceptable for an item. The system displays a warning message if 
you try to purch