GetUNSPSCCommCodeReln

get UNSPSC Commodity Code Relationship

Minor Business Rule

Object Name: B4004350

Parent DLL: COPBASE

Location: Client/Server

Language: C

Data Structure

D4004350A - get UNSPSC - Commodity Code Relationship

Parameter NameData ItemData TypeReq/OptI/O/Both
szCommodityCode_CMDCDECMDCDEcharOPTOUTPUT

User defined commodity code.

szUNSPSCCode_UNSPSCUNSPSCcharOPTOUTPUT

An unmasked UNSPSC commodity code.

szProgramID_PIDPIDcharOPTNONE

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.

cErrorCode_ERRCERRCcharOPTNONE

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

szErrorMessageID_DTAIDTAIcharOPTNONE

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.

cSuppressMessages_SUPPSUPPcharOPTNONE

This field allows you to control the printing of the exception report. Valid values are:    Blank Print all records    1       Print warnings and errors    
2       Print errors only    3       Do not print the report 

mnTransactionID_TCIDTCIDMATH_NUMERICOPTNONE

mnProcessID_PEIDPEIDMATH_NUMERICOPTNONE

A code that identifies the Inter-Process Communication ID.

mnJobNumber_JOBSJOBSMATH_NUMERICOPTNONE

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

szComputerID_CTIDCTIDcharOPTNONE

szMaskedUNSPSCCode_MUNSPSCMUNSPSCcharREQINPUT

A masked UNSPSC code. These codes may use period delimiters and may have up to four sets of values (Examples are:  22.45.12.69). 

szUNSPSCDescription_UNSPSCDSUNSPSCDScharOPTNONE

A description for UNSPSC commodity code.

Related Functions

None

Related Tables

None