GetDistance

Get Distance

Minor Business Rule

Object Name: N4900560

Parent DLL: CTRAN

Location: Client/Server

Language: NER

Data Structure

D4900560 - Get Distance Template

Parameter NameData ItemData TypeReq/OptI/O/Both
szOriginDepotVMCUcharNONENONE

Indicates the depot from which a trip originates. The Trip Depot and the Trip Number fields identify the unique combination of vehicle, 
registration number, load date, and shift.

cDistanceSourceDSRCcharNONENONE

The source of the distance for a delivery. The source could be a preference,carrier agreement, entered by the user, or retrieved from a 
mileage system.

szOriginPostalCodeADDZcharNONENONE

The United States ZIP code or the postal code that specifies where a letter is to be routed.  Attach this code to the address for delivery in 
other countries. This code is used as the low end value when doing Postal Code Transaction range processing.

szDestinationPostalCodeADDZcharNONENONE

The United States ZIP code or the postal code that specifies where a letter is to be routed.  Attach this code to the address for delivery in 
other countries. This code is used as the low end value when doing Postal Code Transaction range processing.

mnJobNumberJOBSMATH_NUMERICNONENONE

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

mnDistanceDSTNMATH_NUMERICNONENONE

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

szUnitofMeasureDistanceUMD1charNONENONE

cModeEV01charNONENONE

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

szErrorMessageDTAIcharNONENONE

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.

cSuppressErrorMessageSUPPScharNONENONE

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.

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.

Related Functions

None

Related Tables

None