RetrieveShipmentAddressInfo

Retrieve Shipment Address Information

Minor Business Rule

Object Name: N4900860

Parent DLL: CTRAN

Location: Client/Server

Language: NER

Data Structure

D4900860A - Retrieve Shipment Address Information

Parameter NameData ItemData TypeReq/OptI/O/Both
szErrorMessageDTAIcharOPTNONE

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.

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.

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.

szNameAlphaALPHcharOPTNONE

The text that names or describes an address. This 40-character alphabetic field appears on a number of forms and reports. You can enter 
dashes, commas, and other special characters, but the system cannot search on them when you use this field to search for a name.

szAddressLine1ADD1charOPTNONE

The first line of a mailing address for an employee, customer, or supplier in the Address Book system. The U.S. Internal Revenue Service 
(IRS) restricts the size of the address that prints on an employee's year-end tax return. To comply with IRS regulations, the system has the 
following restrictions:   o  On W-2 returns, the system prints only the last three nonblank address lines plus the city, state, and postal code.   o  On 
1099 returns, the system prints only the last nonblank address line plus the city, state, and postal code.   o  On other U.S. federal magnetic 
media, the system prints only the last nonblank address line plus the city, state, and postal code.

szAddressLine2ADD2charOPTNONE

The second line of the mailing address for an employee, customer, or supplier in the Address Book system. Attention Payroll users: The 
Internal Revenue Service (IRS) restricts the size of the address that prints on employee's year-end forms. To comply with IRS regulations, the 
address that prints on W-2 forms includes only the last three nonblank address lines plus the city, state, and postal code. The address that 
prints on 1099 forms includes only the last nonblank address line plus the city, state, and postal code. If you process year-end information using 
the federal magnetic media format, the address that prints on those forms contains only the last nonblank address line plus the city, state, 
and postal code.

szAddressLine3ADD3charOPTNONE

The third line of the mailing address for an employee, customer, or supplier in the Address Book system. Attention Payroll users: The 
Internal Revenue Service (IRS) restricts the size of the address that prints on employee's year-end forms. To comply with IRS regulations, the 
address that prints on W-2 forms includes only the last three nonblank address lines plus the city, state, and postal code. The address that prints 
on 1099 forms includes only the last nonblank address line plus the city, state, and postal code. If you process year-end information using 
the federal magnetic media format, the address that prints on those forms contains only the last nonblank address line plus the city, state, and 
postal code.

szAddressLine4ADD4charOPTNONE

The fourth line of the mailing address for an employee, customer, or supplier in the Address Book system. Attention Payroll users: The 
Internal Revenue Service (IRS) restricts the size of the address that prints on employee's year-end forms. To comply with IRS regulations, the 
address that prints on W-2 forms includes only the last three nonblank address lines plus the city, state, and postal code. The address that 
prints on 1099 forms includes only the last nonblank address line plus the city, state, and postal code. If you process year-end information using 
the federal magnetic media format, the address that prints on those forms contains only the last nonblank address line plus the city, state, and 
postal code.

szAddressLine5ADD5charOPTNONE

The fifth line of the mailing address in the Address Book system.

szAddressLine6ADD6charOPTNONE

The sixth line of the mailing address in the Address Book system.

szAddressLine7ADD7charOPTNONE

The seventh mailing address line in an address.

mnNumberofRoutingStepsNRTSMATH_NUMERICOPTNONE

The number of routing steps defined for a shipment.

AddressNumberSHANMATH_NUMERICOPTNONE

The address number to retrieve.  This can be the origin address number or destination address number. 
 If this is not passed in, it will be retrieved from the Shipment Routing step.


Pass a blank or null in the OriginOrDestination flag for Ship to Address.  Pass a '1' for Origin 

Address.

^

cReturnFormattdAddressEV01charOPTNONE

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

cSourceofOrderSRCOcharOPTNONE

The source of an order on a shipment.  This could be Sales or Purchasing.

szCityCTY1charOPTNONE

A name that indicates the city associated with the address.

szStateADDScharOPTNONE

A user defined code (00/S) that specifies the state or province. This code is usually a postal service abbreviation.

szZipCodePostalADDZcharOPTNONE

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.

szCountyAddressCOUNcharOPTNONE

The name of a county, parish, or other political district that is necessary for the address or for tax purposes.

szCountryCTRcharOPTNONE

A user defined code (00/CN) that identifies a country. The country code has no effect on currency conversion. The Address Book system 
uses the country code for data selection and address formatting.

OriginOrDestinationEV01charOPTNONE

Pass a blank or null to retrieve destination address.

Pass a '1' to retrieve origin address.


^

TransportationJobNumberJOBSMATH_NUMERICOPTNONE

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

Related Functions

None

Related Tables

None