CalculateLegNumber

Intermodal Route Utility Function

Minor Business Rule

Object Name: B4902410

Parent DLL: CTRAN

Location: Client/Server

Language: C

Data Structure

D4902410B - Calculate Leg Number

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

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.

cSetErrorMessageEV01charOPTNONE

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

cReadF49501EV01charOPTNONE

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

mnParentRouteNumberPRNBMATH_NUMERICOPTNONE

The parent route number of an intermodal route.

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.

mnLegNumberLNMBMATH_NUMERICOPTNONE

The column that is the leg number of an intermodal route.

Related Functions

None

Related Tables

None
GetValidIntermodalDetailLeg

GetValidIntermodalDetailLeg

Intermodal Route Utility Function

Minor Business Rule

Object Name: B4902410

Parent DLL: CTRAN

Location: Client/Server

Language: C

Data Structure

D4902410A - Get Valid Intermodal Detail Leg

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

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.

cSetErrorMessageEV02charOPTNONE

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

nIndexNumberINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

nNumberOfKeysINT02integerOPTNONE

Number of Days in the Past to Query for Quote Requests Received. 

jdPromisedShipDatePPDJJDEDATEOPTNONE

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

mnParentRouteNumberPRNBMATH_NUMERICOPTNONE

The parent route number of an intermodal route.

mnLegNumberLNMBMATH_NUMERICOPTNONE

The column that is the leg number of an intermodal route.

jdEffectiveDateEFTJJDEDATEOPTNONE

The date when a transaction, contract, obligation, preference, or policy rule becomes effective.

jdExpiredDateEXDJJDEDATEOPTNONE

The date on which a transaction, text message, agreement, obligation, or preference has expired or been completed.

mnLeadtimeTransitLTDTMATH_NUMERICOPTNONE

The number of days goods will be in transit. When a value is entered in this field, the Sales Order Processing system will subtract this value 
from the promised delivery date to calculate a pick release date.

mnOriginAddressNumberORGNMATH_NUMERICOPTNONE

This is the address book number of the origin of a shipment. This could be the address number for the branch/plant, the address number of 
a supplier, or the address number of a hub or de-consolidation center.

mnAddressNumberDeconsolidaANCCMATH_NUMERICOPTNONE

The address book number of a hub or deconsolidation center.  A hub number is entered for a load to indicate a pooled shipment.

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.

szFreightRateScheduleFRSCcharOPTNONE

The schedule of freight and miscellaneous charges which are applied to a shipment.

mnFreightChargeRateAFRCGMATH_NUMERICOPTNONE

The unit or flat amount of a freight charge.

szCurrencyCodeFromCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

cRateTypFRTPcharOPTNONE

The type of rate specified in a table.  This could be a fixed amount or percentage, for example.

cRateBasisFreightRTGBcharOPTNONE

The basis used to calculate the charge.

szUnitofMeasureRateRTUMcharOPTNONE

The unit of measure to which the rate applies.  For example, if the rate unit of measure is tons, the amount is obtained by multiplying the 
weight in tons times the rate.

mnDistanceDSTNMATH_NUMERICOPTNONE

Either the total amount of distanced traveled, or the total amount of time spent idle.

szUnitofMeasureDistanceUMD1charOPTNONE

mnRouteNumberRTNMATH_NUMERICOPTNONE

A number assigned by the system to each routing record.

szContractNumber9CNMRcharOPTNONE

The contract number of an intermodal leg.

cTaxableYN1TXcharOPTNONE

A code that indicates whether the item is subject to sales tax when you purchase it. The system calculates tax on the item only if the supplier 
is also taxable.

szTaxArea1TXA1charOPTNONE

A code that identifies a tax or geographic area that has common tax rates and tax authorities. The system validates the code you enter 
against the Tax Areas table (F4008). The system uses the tax rate area in conjunction with the tax explanation code and tax rules to calculate tax 
and G/L distribution amounts when you create an invoice or voucher.

szTaxExplanationCode1EXR1charOPTNONE

A hard-coded user defined code (00/EX) that controls the algorithm that the system uses to calculate tax and G/L distribution amounts. The 
system uses the tax explanation code in conjunction with the tax rate area and tax rules to determine how the tax is calculated. Each 
transaction pay item can be defined with a different tax explanation code.

cTaxableYNTAX1charOPTNONE

A code that indicates whether the item is subject to sales tax when you sell it. The system calculates tax on the item only if the customer is 
also taxable.

szTaxArea2TXA2charOPTNONE

A user-defined code that identifies a tax or geographical area that has common tax rates and tax distribution. The tax rate/area must be 
defined to include the tax authorities (for example, state, county, city, rapid transit district,or province) and their rates. Typically, the U.S. sales and 
use taxes require multiple taxing authorities per tax rate/area, whereas value added taxes often require only one simple rate.

szTaxExemptReason2EXR2charOPTNONE

A value in user defined code table 00/EX that controls how a tax is assessed and distributed to the general ledger revenue and expense 
accounts. You assign this code to customers or suppliers to set up a default code for their transactions. Do not confuse this code with the 
taxable, non-taxable code. A single invoice or voucher can have both taxable and non-taxable items. The entire invoice or voucher, however, 
must have one tax explanation code.

szUserReservedCodeURCDcharOPTNONE

This is a 2 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

jdUserReservedDateURDTJDEDATEOPTNONE

This is a 6 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

mnUserReservedAmountURATMATH_NUMERICOPTNONE

This is a 15 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

mnUserReservedNumberURABMATH_NUMERICOPTNONE

This is a 8 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

szUserReservedReferenceURRFcharOPTNONE

A 15-position reference that is reserved for the user.  J.D. Edwards does not currently use this field and does not plan to use it in the future.

szUserIdUSERcharOPTNONE

The code that identifies a user profile.

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.

szWorkStationIDJOBNcharOPTNONE

The code that identifies the work station ID that executed a particular job.

jdDateUpdatedUPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

mnTimeOfDayTDAYMATH_NUMERICOPTNONE

The computer clock in hours:minutes:seconds.

Related Functions

None

Related Tables

None
ValidateIntermodalLeg

ValidateIntermodalLeg

Intermodal Route Utility Function

Minor Business Rule

Object Name: B4902410

Parent DLL: CTRAN

Location: Client/Server

Language: C

Data Structure

D4902410C - Validate Intermodal Leg

Parameter NameData ItemData TypeReq/OptI/O/Both
cErrorCodeEV01charOPTNONE

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.

cSetErrorMessageEV02charOPTNONE

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

jdPromisedShipDatePPDJJDEDATEOPTNONE

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

jdEffectiveDateEFTJJDEDATEOPTNONE

The date when a transaction, contract, obligation, preference, or policy rule becomes effective.

jdExpiredDateEXDJJDEDATEOPTNONE

The date on which a transaction, text message, agreement, obligation, or preference has expired or been completed.

Related Functions

None

Related Tables

None