processCommodityCodeItemCache

process Commodity Code and Item Number Cross Reference Cache

Minor Business Rule

Object Name: B4004375

Parent DLL: COPBASE

Location: Client/Server

Language: C

Data Structure

D4004375A - get Item Number Cross Reference  -Cache

Parameter NameData ItemData TypeReq/OptI/O/Both
mnCacheJobNumberJOBSMATH_NUMERICOPTNONE

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

szComputerIDCTIDcharOPTNONE

szCommodityCodeCMDCDEcharOPTNONE

User defined commodity code.

mnItemNumberShortITMMATH_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

nCacheIndexIDINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

szCacheActionCodeCACTNcharOPTNONE

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

mnNumberOfCacheKeysNKEYSMATH_NUMERICOPTNONE

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

idCacheCursorGENLNGIDOPTNONE

General purpose ID variable.

cErrorCodeERRCcharOPTNONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

szErrorMessageIDDTAIcharOPTNONE

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.

cSuppressErrorMessageSUPPScharOPTNONE

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.

Related Functions

None

Related Tables

None