ConstructEPCNumbers

Generate EPC Number

Minor Business Rule

Object Name: B46R0140

Parent DLL: CWARE

Location: Client/Server

Language: C

Data Structure

D46R0140B - Concatenate EPC Components

Parameter NameData ItemData TypeReq/OptI/O/Both
cSendErrorMessageEV01charOPTNONE

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

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.

szEPCHeaderEPCHDVcharOPTNONE

A field that represents the actual value of the EPC Header.  This field is entered in decimal format and converted to bits to be stored on an 
RFID tag.  When converted to bits, the length of the value cannot exceed the header length.

mnEPCHeaderLengthMATH80MATH_NUMERICOPTNONE

Enter a valid value.

szEPCManagerEPCMGRcharOPTNONE

EPC manager code in hexadecimal.

mnEPCManagerLengthMATH80MATH_NUMERICOPTNONE

Enter a valid value.

szObjectClassCodeUPNcharOPTNONE

This is a 30 digits alphanumeric field to identify a unique product number.

mnObjectClassCodeLengthMATH80MATH_NUMERICOPTNONE

Enter a valid value.

mnGTINLengthMATH80MATH_NUMERICOPTNONE

Enter a valid value.

szEPCSerialNumberEPCSRNcharOPTNONE

A number that identifies the EPC Serial Number.

mnEPCSerialNumberLengthMATH80MATH_NUMERICOPTNONE

Enter a valid value.

szEPCNumberMND40charOPTNONE

This is a 40 digits decimal number field in a string format.

szEPCBinaryNumberPARMSTRGcharOPTNONE

Stores the value to pass if a parameter for a scheduled job is a string.

mnCompanyPrefixBitsEPCCPBMATH_NUMERICOPTNONE

The number of bits representing the Company Prefix.

mnPartitionReferenceBitsEPCPRBMATH_NUMERICOPTNONE

The number of bits representing the reference value corresponding to the identity type for the EPC number.  For example, the item 
reference for SGTIN-96 or the serial reference for SSCC-96. 

mnPartitionValueEPCPVALMATH_NUMERICOPTNONE

An indicator value of where the Company Prefix is divided from the corresponding reference value.

mnPartitionValueLengthEPCPLENMATH_NUMERICOPTNONE

The length of the EPC partition value.

mnEPCFilterLengthEPCFLENMATH_NUMERICOPTNONE

The length of the EPC filter value.

szEPCFilterValueEPCFLTRcharOPTNONE

The filter value is additional data within the EPC Number that may be used for fast filtering and pre-selection of basic logistics types.  For 
example items, inner packs, cases, or pallets.

Related Functions

None

Related Tables

None
GenerateEPCNumber

GenerateEPCNumber

Generate EPC Number

Minor Business Rule

Object Name: B46R0140

Parent DLL: CWARE

Location: Client/Server

Language: C

Data Structure

D46R0140A - Generate EPC Number

Parameter NameData ItemData TypeReq/OptI/O/Both
cSendErrorMessageEV01charOPTNONE

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

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.

cModeEV01charOPTNONE

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

cItemNumberUnknownFlagEV01charOPTNONE

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

szEPCHeaderEPCHDVcharOPTNONE

A field that represents the actual value of the EPC Header.  This field is entered in decimal format and converted to bits to be stored on an 
RFID tag.  When converted to bits, the length of the value cannot exceed the header length.

mnEPCHeaderLengthMATH80MATH_NUMERICOPTNONE

Enter a valid value.

szEPCManagerEPCMGRcharOPTNONE

EPC manager code in hexadecimal.

mnEPCManagerLengthMATH80MATH_NUMERICOPTNONE

Enter a valid value.

szObjectClassCodeUPNcharOPTNONE

This is a 30 digits alphanumeric field to identify a unique product number.

mnObjectClassCodeLengthMATH80MATH_NUMERICOPTNONE

Enter a valid value.

szGTINUPNcharOPTNONE

This is a 30 digits alphanumeric field to identify a unique product number.

mnGTINLengthMATH80MATH_NUMERICOPTNONE

Enter a valid value.

szEPCSerialNumberEPCSRNcharOPTNONE

A number that identifies the EPC Serial Number.

mnEPCSerialNumberLengthMATH80MATH_NUMERICOPTNONE

Enter a valid value.

szUPNUOMUMcharOPTNONE

A user defined code (00/UM) that identifies the unit of measurement for an amount or quantity. For example, it can represent a barrel, box, 
cubic meter, liter, hour, and so on.

szCompanyCOcharOPTNONE

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

szBusinessUnitMCUcharOPTNONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

mnShipToAddressNumberAN8MATH_NUMERICOPTNONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

mnSoldToAddressNumberAN8MATH_NUMERICOPTNONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

mnShortItemNumberITMMATH_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

szPrimaryItemNumberUITMcharOPTNONE

A number that the system assigns to an item. It can be in short, long, or third item number format.

mnPrimaryQtyUORGMATH_NUMERICOPTNONE

The quantity of units affected by this transaction.

szPrimaryUOMUMcharOPTNONE

A user defined code (00/UM) that identifies the unit of measurement for an amount or quantity. For example, it can represent a barrel, box, 
cubic meter, liter, hour, and so on.

mnTransactionQtyUORGMATH_NUMERICOPTNONE

The quantity of units affected by this transaction.

szTransactionUOMUMcharOPTNONE

A user defined code (00/UM) that identifies the unit of measurement for an amount or quantity. For example, it can represent a barrel, box, 
cubic meter, liter, hour, and so on.

szEPCNumberMND40charOPTNONE

This is a 40 digits decimal number field in a string format.

szEPCBinaryNumberPARMSTRGcharOPTNONE

Stores the value to pass if a parameter for a scheduled job is a string.

mnCompanyPrefixDigitsEPCCPDMATH_NUMERICOPTNONE

The decimal length of the EPC global assigned Company Prefix. 

szUCCSSCCNumberUCCSSCCcharOPTNONE

The EAN.UCC SSCC number.

cLicensePlatingModeEV02charOPTNONE

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

mnEPCFilterDigitsEPCFDIGMATH_NUMERICOPTNONE

The decimal length of the EPC filter value.

mnEPCFilterLengthEPCFLENMATH_NUMERICOPTNONE

The length of the EPC filter value.

szEPCFilterValueEPCFLTRcharOPTNONE

The filter value is additional data within the EPC Number that may be used for fast filtering and pre-selection of basic logistics types.  For 
example items, inner packs, cases, or pallets.

mnPartitionValueEPCPVALMATH_NUMERICOPTNONE

An indicator value of where the Company Prefix is divided from the corresponding reference value.

mnPartitionValueLengthEPCPLENMATH_NUMERICOPTNONE

The length of the EPC partition value.

Related Functions

None

Related Tables

None