SegmentedAvailabilityCache

Segment Availability Cache

Minor Business Rule

Object Name: B4101680

Parent DLL: CINV

Location: Client/Server

Language: C

Data Structure

D4101680A - Segment Availability Cache

Parameter NameData ItemData TypeReq/OptI/O/Both
szCacheActionCodeCACTNcharOPTINPUT

A code that indicates the activity you want to perform. Valid codes:     o Get - Retrieve the cache element     o Add - Add a cache element     o 
Update - Update a cache element     o Delete - Delete a cache element     o Delete All - Delete all cache elements     o Get Next - Retrieve the 
next cache element     o Add/Update - Add a cache element if it does not exist; Update a cache element if it does exist     o Terminate - 
Terminate Cache

mnNumberKeysNKEYSMATH_NUMERICOPTINPUT

The number of keys in an index that will be used to retrieve, delete, or update a record.

cSuppressErrorMessageSUPPScharOPTINPUT

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

szErrorMessageIDDTAIcharOPTOUTPUT

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.

mnJobNumberJOBSMATH_NUMERICOPTINPUT

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

szComputerIDCTIDcharOPTINPUT

szSegment1SEG1charOPTNONE

The first section of a segmented item. You can assign up to 10 segments to an item as long as the sum of the segments does not exceed 
25 characters.

szSegment2SEG2charOPTNONE

The second section of a segmented item. You can assign up to 10 segments to an item as long as the sum of the segments does not 
exceed 25 characters.

szSegment3SEG3charOPTNONE

The third section of a segmented item. You can assign up to 10 segments to an item as long as the sum of the segments does not exceed 
25 characters.

szSegment4SEG4charOPTNONE

The fourth section of a segmented item. You can assign up to 10 segments to an item as long as the sum of the segments does not exceed 
25 characters.

szSegment5SEG5charOPTNONE

The fifth section of a segmented item. You can assign up to 10 segments to an item as long as the sum of the segments does not exceed 
25 characters.

szSegment6SEG6charOPTNONE

The sixth section of a segmented item. You can assign up to 10 segments to an item as long as the sum of the segments does not exceed 
25 characters.

szSegment7SEG7charOPTNONE

The seventh section of a segmented item. You can assign up to 10 segments to an item as long as the sum of the segments does not 
exceed 25 characters.

szSegment8SEG8charOPTNONE

The eighth section of a segmented item. You can assign up to 10 segments to an item as long as the sum of the segments does not 
exceed 25 characters.

szSegment9SEG9charOPTNONE

The ninth section of a segmented item. You can assign up to 10 segments to an item as long as the sum of the segments does not exceed 
25 characters.

szSegment10SEG0charOPTNONE

The tenth section of a segmented item. You can assign up to 10 segments to an item as long as the sum of the segments does not exceed 
25 characters.

szIdentifier2ndItemLITMcharOPTNONE

A number that identifies the item. The system provides three separate item numbers plus an extensive cross-reference capability to 
alternative item numbers. The three types of item numbers are: Item Number (short) An 8-digit, computer-assigned item number. 2nd Item Number A 
25-digit, user defined, alphanumeric item number. 3rd Item Number  Another 25-digit, user defined, alphanumeric item number. In addition to 
these three basic item numbers, the system provides an extensive cross-reference search capability. You can define numerous 
cross-references to alternative part numbers. For example, you can define substitute item numbers, replacements, bar codes, customer numbers, or 
supplier numbers.

szDescriptionLine1DSC1charOPTNONE

Brief information about an item; a remark or an explanation.

szDescriptionLine2DSC2charOPTNONE

A second, 30-character description, remark, or explanation.

szUnitOfMeasurePrimaryUOM1charOPTNONE

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).

mnQtyOnHandPrimaryUnPQOHMATH_NUMERICOPTNONE

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

mnQuantityAvailablePrimQAVALMATH_NUMERICOPTNONE

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).  

mnQtyOnHandDisplayUOMPQOHMATH_NUMERICOPTNONE

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

mnQuantityAvailableDispQAVALMATH_NUMERICOPTNONE

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).  

mnNumberOfLocationsMATH08MATH_NUMERICOPTNONE

Event point for Math Numeric.

mnNumberOfLotsMATH08MATH_NUMERICOPTNONE

Event point for Math Numeric.

szTemplateTMPLcharOPTNONE

A template name that you can use when entering items on Item Master Revisions (P4101). This name is case sensitive. If you use any 
capital letters in the template name when you add it, you must enter those letters in capitals whenever you search for or attach the template to Item 
Master Revisions.

szIdentifier3rdItemAITMcharOPTNONE

The system provides three separate item numbers plus an extensive cross-reference capability to alternate item numbers. These item 
numbers are as follows: 1.  Item Number (short) - An 8-digit, computer-assigned item number. 2.  2nd Item Number - The 25-digit, free-form, user 
defined alphanumeric item number. 3.  3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item number.  In addition to 
these three basic item numbers, an extensive cross-reference search capability has been provided (see XRT). Numerous cross references to 
alternate part numbers can be user defined, such as substitute item numbers, replacements, bar codes, customer numbers, or supplier 
numbers.

mnIdentifierShortItemITMMATH_NUMERICOPTNONE

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

cMatrixControlledMICcharOPTNONE

A user defined code (41/MA) that specifies the relationship between a matrix item and its parent. This code also determines whether the 
system displays the item in matrix detail information.

idCacheCursorGENLNGIDOPTNONE

General purpose ID variable.

mnSegmentLevelNSEGMATH_NUMERICOPTNONE

Indicates how many keys (segments) are used to access the table. Key values must be on the current level or a previous level of the 
configured item.

mnIndexIDEXMATH_NUMERICOPTINPUT

Related Functions

None

Related Tables

None