WriteShipmentHeaderandRouting

F4215 Create Shipment

Minor Business Rule

Object Name: N4900020

Parent DLL: CTRAN

Location: Client/Server

Language: NER

Data Structure

D4900020 - F4215 Create Shipment

Parameter NameData ItemData TypeReq/OptI/O/Both
mnShipmentNumberSHPNMATH_NUMERICNONENONE

A "next number" that uniquely identifies a shipment.

szShipmentStatusSSTScharNONENONE

A code that represents the status that a shipment is at. Statuses typically refer to events such as "Confirmed", "Hold", etc.

szCostCenterMCUcharNONENONE

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.

szCostCenterOriginNMCUcharNONENONE

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

mnOriginAddressNumberORGNMATH_NUMERICNONENONE

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.

mnAddressNumberAN8MATH_NUMERICNONENONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

mnAddressNumberShipToSHANMATH_NUMERICNONENONE

The address number of the location to which you want to ship this order. The address book provides default values for customer address, 
including street, city, state, zip code, and country.

szCityCTY1charNONENONE

A name that indicates the city associated with the address.

szStateADDScharNONENONE

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

szZipCodePostalADDZcharNONENONE

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.

szCountryCTRcharNONENONE

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.

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.

cSourceofOrderSRCOcharNONENONE

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

cBulkPackedFlagBPFGcharNONENONE

A code that indicates if the item is a bulk liquid product. If it is a bulk product, you must perform temperature and density/gravity 
conversions. To record the movement of bulk products, you must use forms designed specifically for bulk products. If you try to record movement using 
standard inventory forms, the system prevents the movement. Valid values are:    P Packaged    B Bulk liquid  If you leave this field blank, the 
system uses P.

mnAmountExtendedCostECSTMATH_NUMERICNONENONE

For accounts receivable and accounts payable, the invoice (gross) amount. For sales orders and purchase orders, the unit cost times the 
number of units.

mnAmountExtendedPriceAEXPMATH_NUMERICNONENONE

The number of units multiplied by the unit price.

mnAmountForeignExtPriceFEAMATH_NUMERICNONENONE

The product of the foreign price times the number of units.

szCurrencyCodeFromCRCDcharNONENONE

A code that identifies the currency of a transaction. 

jdDateRequestedJulianDRQJJDEDATENONENONE

The date that an item is scheduled to arrive or that an action is scheduled for completion.

mnRequestedDeliveryTimeDRQTMATH_NUMERICNONENONE

The time requested for delivery. Enter the time using the 24-hour time format (HHMMSS). For example, enter 6:00 a.m. as 060000, and enter 
7:00 p.m. as 190000.

jdDateReleaseJulianRSDJJDEDATENONENONE

The date an item will be delivered to the customer.

mnPromisedDeliveryTimeRSDTMATH_NUMERICNONENONE

The promised time for a delivery. Enter the time using the 24-hour time format (HHMMSS). For example, enter 6:00 a.m. as 060000, and 
enter 7:00 p.m. as 190000.

szModeOfTransportMOTcharNONENONE

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.

mnCarrier1CAR1MATH_NUMERICNONENONE

The first in a list of preferred carriers.

mnCarrier2CAR2MATH_NUMERICNONENONE

The second in a list of preferred carriers.

mnCarrier3CAR3MATH_NUMERICNONENONE

The third in a list of preferred carriers.

jdDatePromisedPickJuPPDJJDEDATENONENONE

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

cIncludeExcludeILELcharNONENONE

Include/Exclude flag. Valid values are:    Y  include     N exclude You may also use 1 for Y and 0 for N.

szFreightHandlingCodeFRTHcharNONENONE

A user defined code (42/FR) designating the method by which supplier shipments are delivered. For example, the supplier could deliver to 
your dock, or you could pick up the shipment at the supplier's dock. You can also use these codes to indicate who has responsibility for 
freight charges. For example, you can have a code indicating that the customer legally takes possession of goods as soon as they leave the 
supplier warehouse and is responsible for transportation charges to the destination.

szFreightRateScheduleFRSCcharNONENONE

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

cDeliveryLineLevelDLLVcharNONENONE

This field is used to indicate that a freight charge is calculated once per detail line, once per delivery, or once per load/trip. Valid values 
are:    D To calculate once per delivery    L To calculate once per detail line    T To calculate once per load/trip

cRouteSelectionTypeRSLTcharNONENONE

The method used to select a route.  This could be least cost, least delivery time, or best performance.

szBillableFreightSummaryDetailBFSDcharNONENONE

This indicates whether an order line will be loaded to the order for each individual billable charge, or whether all billable charges on a 
shipment will be added into a single order line.    1   An order line will be loaded to the order for each individual billable charge.    0   All billable 
charges on a shipment will be added into a single order line.

mnDistanceDSTNMATH_NUMERICNONENONE

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

szUnitofMeasureDistanceUMD1charNONENONE

mnShipmentWeightWGTSMATH_NUMERICNONENONE

The shipment weight is qualified by a Weight Qualifier (WGQ) that identifies the type of weight.

szWeightUnitOfMeasureWTUMcharNONENONE

The unit of measure that indicates the weight of an individual item. Typical weight units of measure are:    GM Gram    OZ Ounce    LB Pound    
KG Kilogram    CW Hundredweight    TN Ton 

mnScheduledLoadVolumeSCVLMATH_NUMERICNONENONE

The volume scheduled on a load or in a compartment.

szVolumeUnitOfMeasureVLUMcharNONENONE

The unit of measure for the cubic space occupied by an inventory item. Typical volume unit of measures are:    ML Milliliter    OZ Fluid Ounce   
 PT Pint    LT Liter    CF Cubic Foot    CM Cubic Meter    CY Cubic Yard 

mnShipmentLengthLGTSMATH_NUMERICNONENONE

The length of a shipment or shipment piece.

mnShipmentWidthWTHSMATH_NUMERICNONENONE

The width of a shipment or shipment piece.

mnShipmentHeightHGTSMATH_NUMERICNONENONE

The height of a shipment or shipment piece.

mnGirthGRTHMATH_NUMERICNONENONE

The girth of an item or container.

szUnitofMeasureLinearLUOMcharNONENONE

The width, height, or length unit of measure for a vehicle.

mnNumberofPircesNPCSMATH_NUMERICNONENONE

The number of pieces, pallets, containers, etc. which make up a shipment. For shipments that do not have piece information defined in the 
Pieces table (F4943), the system calculates the estimated piece count by converting the quantity in the transaction unit of measure to the 
shipping unit of measure. To obtain the whole piece number, the system rounds the unit of measure down. The weight and volume of the leftover 
quantities from all detail lines are added and the sum total is divided by the maximum piece weight and/or volume. The system rounds the 
resulting piece weight or volume up to the next whole number. This number is added to the whole piece number to obtain the piece count.

mnCubicContainerSpaceCCUBMATH_NUMERICNONENONE

The volume of shipment containers which hold product.  This volume is used for cube rating instead of the volume of the products on the 
shipment.

mnTimeElapsedELTMMATH_NUMERICNONENONE

This is the amount of time in minutes which will be used to determine idle time freight charges.

szUnitOfMeasureUMcharNONENONE

A user defined code (00/UM) that identifies the unit of measurement for an amount or quantity. For example, it can represent a barrel, box, 
cubic meter, liter, hour, and so on.

jdActualShipmentDateADDJJDEDATENONENONE

The date on which the shipment to the customer is confirmed as shipped. During shipment confirmation, the system updates the Sales 
Order Detail table (F4211) with this date.

mnActualShipmentTimeADTMMATH_NUMERICNONENONE

The actual time of shipment. Enter the time using the 24-hour time format (HHMMSS). For example, enter 6:00 a.m. as 060000, and enter 7:00 
p.m. as 190000.

jdDeliveryDateDLDTJDEDATENONENONE

The delivery date of a shipment.

mnTimeDeliveryDLTMMATH_NUMERICNONENONE

This is the time the customer took delivery of the product.

szShipmentCategory1AliasSCC1charNONENONE

This is the Alias from the Address Book table that is stored in the Shipment Category 1 column.

szShipmentCategory2AliasSCC2charNONENONE

This is the Alias from the Address Book table that is stored in the Shipment Category 2 column.

szShipmentCategory3AliasSCC3charNONENONE

This is the Alias from the Address Book table that is stored in the Shipment Category 3 column.

szUserIdUSERcharNONENONE

The code that identifies a user profile.

szProgramIdPIDcharNONENONE

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.

szWorkStationIdJOBNcharNONENONE

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

jdDateUpdatedUPMJJDEDATENONENONE

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

mnTimeOfDayTDAYMATH_NUMERICNONENONE

The computer clock in hours:minutes:seconds.

cSuppressErrorMessagesEV01charNONENONE

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

szErrorMessageIDDTAIcharNONENONE

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.

szRouteCodeROUTcharNONENONE

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

mnNumberOfContainersNCTRMATH_NUMERICNONENONE

The number of shipping containers, pallets, etc.

mnScheduledShipmnentTimePMDTMATH_NUMERICNONENONE

The scheduled time of a shipment. Enter the time using the 24-hour time format (HHMMSS). For example, enter 6:00 a.m. as 060000, and 
enter 7:00 p.m. as 190000.

szCurrencyCodeToCRDCcharNONENONE

A code that identifies the domestic (base) currency of the company on a transaction. 

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.

mnRouteNumberRTNMATH_NUMERICOPTNONE

A number assigned by the system to each routing record.

szCarrierZoneCZONcharOPTNONE

The identifier used by a carrier to identify a specific zone. For example, ZONE-21 might refer to a zone used by a parcel carrier to 
determine the freight charge for deliveries to specific zip codes.

szCostCenterTripVMCUcharOPTNONE

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.

mnLoadNumberLDNMMATH_NUMERICOPTNONE

1

mnLoadLegNumberTRPLMATH_NUMERICOPTNONE

A specific leg of a trip.

jdLoadConfirmDateLDDTJDEDATEOPTNONE

The date this order line is load confirmed.

mnTimeLoadLDTMMATH_NUMERICOPTNONE

The actual time that the vehicle was loaded.

cUnscheduledDeliveryProcessingEV01charOPTNONE

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

szTradingPartnerIdPNIDcharOPTNONE

Field used in an EDI transaction to identify the party that is trading document with you.

szHierarchicalConfigurationHLCFcharOPTNONE

The EDI 856 transaction set hierarchy configuration codes that specify the levels present in the Ship Notice/Manifest. This field is made up 
of a combination of 2 character Hierarchical Level Codes (values from the X12  specification for data element 735 - Hierarchical Level Code). 
There can be up to 9 combinations of HLC's in this field.

szIdentifierCodeQualifier1IDQ1charOPTNONE

A code that describes the system/method of code structure used for the Identifier Code. Must conform to one of the accepted values for the 
EDI X12  data element 66.

szIdentifierCodeQualifier2IDQ2charOPTNONE

A code that describes the system/method of code structure used for the Identifier Code. Must conform to one of the accepted values for the 
EDI X12  data element 66.

mnScheduledLoadingTimeLSLTMATH_NUMERICOPTNONE

The scheduled amount of time in minutes required to load a vehicle, trailer, container, etc.

mnScheduledUnloadingTimeLSUTMATH_NUMERICOPTNONE

The scheduled amount of time in minutes required to unload a vehicle, trailer, container, etc.

mnFromPickupTimeTPUFMATH_NUMERICOPTNONE

The beginning of the time window during which the pickup of a shipment should occur.

mnThruPickupTimeTPUTMATH_NUMERICOPTNONE

The end of the time window during which the pickup of a shipment should occur.

mnFromDeliveryTimeTDLFMATH_NUMERICOPTNONE

The beginning of the time window during which the delivery of a shipment should occur.

mnThruDeliveryTimeTDLTMATH_NUMERICOPTNONE

The end of the time window during which the delivery of a shipment should occur.

jdDateEarliestPickupDEPUJDEDATEOPTNONE

The first date upon which a shipment can be picked up. A shipment should not be picked up before the date that you specify.

jdDateLatestPickupDLPUJDEDATEOPTNONE

The final date by which a shipment should be picked up. A shipment should be picked up no later than the date that you specify.

jdDateEarliestDeliveryDEDLJDEDATEOPTNONE

The final date by which a shipment should be delivered. A shipment should be delivered no later than the date that you specify.

jdDateLatestDeliveryDLDLJDEDATEOPTNONE

The final date by which a shipment should be delivered. A shipment should be delivered no later than the date that you specify.

szDockIDDKIDcharOPTNONE

The dock location from which an outbound shipment is assigned to depart or at which an inbound shipment is assigned to arrive.

szOriginCityCTYOcharOPTNONE

The origin city for the shipment.

szOriginStateADSOcharOPTNONE

The origin state for the shipment.

szOriginPostalCodeADZOcharOPTNONE

The origin postal code for the shipment.

szOriginCountryCTROcharOPTNONE

The origin country for the shipment.

mnJobNumberJOBSMATH_NUMERICOPTNONE

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

Related Functions

None

Related Tables

None