GetFreightRateCodeFromF4020

Get Freight Rate Code From F4020

Minor Business Rule

Object Name: B4200160

Parent DLL: CDIST

Location: Client/Server

Language: C

This function gets the freight rate code (frat) from the F4020 file given the Zone, Mcu, shcm and 
cars^

^

Data Structure

D4200160 - Get Freight Rate Code From F4020

Parameter NameData ItemData TypeReq/OptI/O/Both
szBranchPlantMCUcharNONENONE

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.

szZoneNumberZONcharNONENONE

The zone field is a user defined code (system 40, type ZN) that represents the delivery area in which the customer resides. This field is one 
of several factors used by freight summary facility to calculate potential freight charges for an order. For picking you can use the zone code 
with the route and stop codes to group all item that are to be loaded onto a delivery vehicle for a specific route. You set up the default for each 
of these fields on the Customer Billing Instructions form.

mnCarrierNumberCARSMATH_NUMERICNONENONE

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.

szShippingCommodityClassSHCMcharNONENONE

A user defined code (41/E) that represents an item property type or classification (for example, international shipment handling). The 
system uses this code to sort and process similar items. This field is one of three classification categories available primarily for inventory and 
shipping purposes.

jdPromisedShipmentDatePDDJJDEDATENONENONE

The promised shipment date for either a sales order or purchase order. The Supply and Demand Programs use this date to calculate 
Available to Promise information. This value can be automatically calculated during sales order entry. This date represents the day that the item 
can be shipped from the warehouse.

szFreightRateCodeFRATcharNONENONE

The user defined code (system 41/type RT) for freight rate. This designates the amount that the customer is charged for postage, freight, or 
other miscellaneous expenses for an order.

Related Functions

None

Related Tables

F4020 Freight/Additional Charges Rate Information