getCommodityCodeNodeFromCache

get Commodity Code

Minor Business Rule

Object Name: B4004130

Parent DLL: COPBASE

Location: Client/Server

Language: C

Data Structure

D4004130B - get Commodity Code Node From Cache Data Structure

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.

szCommodityCodeDescriptionCMDDSCcharOPTNONE

User defined description for commodity code.

szCommodityCodeParentCMDPRTcharOPTNONE

Parent commodity code of the current commodity code.

mnCatalogTreeLevelCATLVLMATH_NUMERICOPTNONE

Defines the tree level within the catalog.  For example: Office Supplies (Level 0) Stationary (Level 1)

cComdityCodeProductOrServiceCMDPOScharOPTNONE

This flag specifies if the Commodity Code is associated with a product catalog, service catalog, or both.  Values are: 0 Commodity Code is 
associated with both product and service catalog. 1 Commodity Code is associated with product catalog. 2 Commodity Code is associated 
with service catalog.

cCacheRecordModifiedEV01charOPTNONE

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

cCacheRecordModifyTypeEV01charOPTNONE

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

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

szErrorMessageDTAIcharOPTNONE

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.

cSuppressErrorSUPPScharOPTNONE

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
getCommodityCodeNodeFromTable

getCommodityCodeNodeFromTable

get Commodity Code

Minor Business Rule

Object Name: B4004130

Parent DLL: COPBASE

Location: Client/Server

Language: C

Data Structure

D4004130A - get Commodity Code Node Data Structure

Parameter NameData ItemData TypeReq/OptI/O/Both
szCommodityCodeCMDCDEcharOPTNONE

User defined commodity code.

szCommodityCodeDescriptionCMDDSCcharOPTNONE

User defined description for commodity code.

szCommodityCodeParentCMDPRTcharOPTNONE

Parent commodity code of the current commodity code.

mnCatalogTreeLevelCATLVLMATH_NUMERICOPTNONE

Defines the tree level within the catalog.  For example: Office Supplies (Level 0) Stationary (Level 1)

cComdityCodeProductOrServiceCMDPOScharOPTNONE

This flag specifies if the Commodity Code is associated with a product catalog, service catalog, or both.  Values are: 0 Commodity Code is 
associated with both product and service catalog. 1 Commodity Code is associated with product catalog. 2 Commodity Code is associated 
with service catalog.

mnBuyerNumberANBYMATH_NUMERICOPTNONE

The address book number that identifies who is responsible for setting up and maintaining the correct stocking levels for each inventory 
item.

szLineTypeLNTYcharOPTNONE

A code that controls how the system processes lines on a transaction. It controls the systems with which the transaction interfaces, such as 
General Ledger, Job Cost, Accounts Payable, Accounts Receivable, and Inventory Management. It also specifies the conditions under 
which a line prints on reports, and it is included in calculations. Codes include the following: S Stock item   J Job cost   N Nonstock item   F Freight  
T Text information   M Miscellaneous charges and credits   W Work order

szGLClassCodeGLCcharOPTNONE

A code that determines the trade account that the system uses as the offset when you post invoices or vouchers. The system concatenates 
the value that you enter to the AAI item RC (for Accounts Receivable) or PC (for Accounts Payable) to locate the trade account. For 
example, if you enter TRAD, the system searches for the AAI item RCTRAD (for receivables) or PCTRAD (for payables).  You can assign up to four 
alphanumeric characters to represent the G/L offset or you can assign the three-character currency code (if you enter transactions in a 
multicurrency environment). You must, however, set up the corresponding AAI item for the system to use; otherwise, the system ignores the G/L 
offset and uses the account that is set up for PC or RC for the company specified.  If you set up a default value in the G/L Offset field of the 
customer or supplier record, the system uses the value during transaction entry unless you override it.  Note: Do not use code 9999. It is reserved for 
the post program and indicates that offsets should not be created.

szCommodityCode01CMDCDE01charOPTNONE

User defined code for the Commodity Code 1.

szCommodityCodeDesc01CMDDSC01charOPTNONE

User defined description for Commodity Code 1.

szCommodityCode02CMDCDE02charOPTNONE

User defined code for Commodity Code 2.

szCommodityCodeDesc02CMDDSC02charOPTNONE

User defined description for Commodity Code 2.

szCommodityCode03CMDCDE03charOPTNONE

User defined code for Commodity Code 3.

szCommodityCodeDesc03CMDDSC03charOPTNONE

User defined description for Commodity Code 3.

szCommodityCode04CMDCDE04charOPTNONE

User defined code for Commodity Code 4.

szCommodityCodeDesc04CMDDSC04charOPTNONE

User defined description for Commodity Code 4.

szCommodityCode05CMDCDE05charOPTNONE

User defined code for Commodity Code 5.

szCommodityCodeDesc05CMDDSC05charOPTNONE

User defined description for Commodity Code 5.

szCommodityCode06CMDCDE06charOPTNONE

User defined code for Commodity Code 6.

szCommodityCodeDesc06CMDDSC06charOPTNONE

User defined description for Commodity Code 6.

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

szErrorMessageDTAIcharOPTNONE

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.

cSuppressErrorSUPPScharOPTNONE

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