addCommodityCodeToCache

add Commodity Code

Minor Business Rule

Object Name: B4004110

Parent DLL: COPBASE

Location: Client/Server

Language: C

Data Structure

D4004110B - add Commodity Code To 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.

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.

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
addCommodityCodeToTable

addCommodityCodeToTable

add Commodity Code

Minor Business Rule

Object Name: B4004110

Parent DLL: COPBASE

Location: Client/Server

Language: C

Data Structure

D4004110A - add Commodity Code 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.

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.

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

mnBuyerNumberANBYMATH_NUMERICOPTNONE

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

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.

szProgramIDPIDcharOPTNONE

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.

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