CreateReferenceNumber

Reference Number Creation

Minor Business Rule

Object Name: N4901270

Parent DLL: CTRAN

Location: Client/Server

Language: NER

Data Structure

D4901270 - Create Reference Number

Parameter NameData ItemData TypeReq/OptI/O/Both
cReturnSeparatedReferenceNumbEV01charOPTNONE

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

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.

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.

szReferenceNumberREFNcharOPTNONE

A Reference number or identification number as defined for a particular EDI transaction set or as specified by the Reference Number 
Qualifier.

mnLengthOfReferenceNumberLGTNMATH_NUMERICOPTNONE

The length of tracking number is the total length of tracking number segments.

szSeparatedReferenceNumberREFNcharOPTNONE

A Reference number or identification number as defined for a particular EDI transaction set or as specified by the Reference Number 
Qualifier.

mnLengthOfSeparatedRefNumberLGTNMATH_NUMERICOPTNONE

The length of tracking number is the total length of tracking number segments.

szRefNumberQualifierREFQcharOPTNONE

A code qualifying the Reference Number. Must conform to one of the accepted values for EDI X12 data element 128.

szShipmentDepotNMCUcharOPTNONE

This identifies the origin depot for a shipment or a load.

mnShipmentNumberSHPNMATH_NUMERICOPTNONE

A "next number" that uniquely identifies a shipment.

mnRoutingStepNumberRSSNMATH_NUMERICOPTNONE

This is the number assigned to a shipment routing step. The movement of a shipment from the origin to the final destination (ship to 
address) can be made up of one or more routing steps, each with an intermediate destination.

szDocumentCodeDCCDcharOPTNONE

Identifies the document code the system will use when printing this document.

mnPieceSequenceNumberOSEQMATH_NUMERICOPTNONE

For OneWorld, the sequence by which users can set up the order in which their valid environments are displayed. For World, a sequence or 
sort number that the system uses to process records in a user defined order.

mnCarrierCARSMATH_NUMERICOPTNONE

The address number for the preferred carrier of the item. The customer or your organization might prefer a certain carrier due to route or 
special handling requirements.

szModeOfTransportMOTcharOPTNONE

A user defined code (00/TM) that describes the nature of the carrier being used to transport goods to the customer. For example, by rail, by 
road, and so on.

jdPromisedShipDatePPDJJDEDATEOPTNONE

The promised shipment date for a sales order. This date represents the day that the item can be shipped from the warehouse.

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.

Related Functions

None

Related Tables

None
IntProcessLookupType

IntProcessLookupType

Reference Number Creation

Minor Business Rule

Object Name: N4901270

Parent DLL: CTRAN

Location: Client/Server

Language: NER

Data Structure

D4901270L - Internal Process Lookup Type

Parameter NameData ItemData TypeReq/OptI/O/Both
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.

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.

cLookupTypeLUT3charOPTNONE

A user defined code (49/TL) that the system uses to retrieve a database value for the tracking number segment.

mnTrackingSegmentLengthTSGLMATH_NUMERICOPTNONE

The Tracking Segment Length defines the number of digits selected for the defined segment. For a segment defined as a lookup type, any 
length less than the data dictionary length for the data item will be truncated. For a segment defined as a UDC table, the description field will 
be used for the length of the segment. For a segment defined as a check digit, tracking segment length can only be one.

szSegmentValueREFNcharOPTNONE

A Reference number or identification number as defined for a particular EDI transaction set or as specified by the Reference Number 
Qualifier.

szShipmentDepotNMCUcharOPTNONE

This identifies the origin depot for a shipment or a load.

mnShipmentNumberSHPNMATH_NUMERICOPTNONE

A "next number" that uniquely identifies a shipment.

mnRoutingStepNumberRSSNMATH_NUMERICOPTNONE

This is the number assigned to a shipment routing step. The movement of a shipment from the origin to the final destination (ship to 
address) can be made up of one or more routing steps, each with an intermediate destination.

szDocumentCodeDCCDcharOPTNONE

Identifies the document code the system will use when printing this document.

mnPieceSequenceNumberOSEQMATH_NUMERICOPTNONE

For OneWorld, the sequence by which users can set up the order in which their valid environments are displayed. For World, a sequence or 
sort number that the system uses to process records in a user defined order.

mnCarrierCARSMATH_NUMERICOPTNONE

The address number for the preferred carrier of the item. The customer or your organization might prefer a certain carrier due to route or 
special handling requirements.

szModeOfTransportMOTcharOPTNONE

A user defined code (00/TM) that describes the nature of the carrier being used to transport goods to the customer. For example, by rail, by 
road, and so on.

szRefNumberQualifierREFQcharOPTNONE

A code qualifying the Reference Number. Must conform to one of the accepted values for EDI X12 data element 128.

Related Functions

None

Related Tables

None
IntProcessToPadCharacterOnString

IntProcessToPadCharacterOnString

Reference Number Creation

Minor Business Rule

Object Name: N4901270

Parent DLL: CTRAN

Location: Client/Server

Language: NER

Data Structure

D4901270P - Internal Process To Pad Characters on String

Parameter NameData ItemData TypeReq/OptI/O/Both
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.

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.

cPad_L_or_REV01charOPTNONE

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

cPadCharacterEV02charOPTNONE

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

szSegmentValueREFNcharOPTNONE

A Reference number or identification number as defined for a particular EDI transaction set or as specified by the Reference Number 
Qualifier.

mnTrackingSegmentLengthTSGLMATH_NUMERICOPTNONE

The Tracking Segment Length defines the number of digits selected for the defined segment. For a segment defined as a lookup type, any 
length less than the data dictionary length for the data item will be truncated. For a segment defined as a UDC table, the description field will 
be used for the length of the segment. For a segment defined as a check digit, tracking segment length can only be one.

Related Functions

None

Related Tables

None