UnscheduledDeliveryBeginDoc

F4215 UnScheduled Delivery MBF

Major Business Rule

Object Name: N4900710

Parent DLL: CTRAN

Location: Client/Server

Language: NER

1.Functional Description
1.1Purpose

This business function is designed specifically for Unscheduled Delivery of a Shipment. 

1.2Setup Notes and Prerequisites

• 
• This function will not actually write or update to the shipment or order files, you must call 
DeliverConfirmEndDoc  for that to happen.


2.Technical Specifications

2.1Parameters

Fields needed to process the detail level information:


Data Item Data Structure DescriptionI/OReqNotes

SUPPScSuppressErrorMessageIY
DTAIszErrorMessageIDOY

JOBSmnTransportationJobNumberI/OY

VERSszVersionP49655IYVersion of P49655 where processing options are retrieved.

VMCUszPlanningDepotIN

LDNMmnLoadNumberIN

DATYcDispatchTypeIN

DSCDcDispositionCodeBCSIN

DLDTjdActualDeliveryDateIN

DLTMmnActualDeliveryTimeIN

EV01cWriteShipmentStatusIN1 = write shipment status record.

SSCDszShipmentStatusCodeINIf blank, PO value will be used.

SSRSszShipmentStatusCodeReasonINIf blank, PO value will be used

DCTszDocumentTypeINPO Value

MCUszHeaderCostCenterINPO value; else from User Defaults


^

Data Structure

D4900710C - F4215 Unscheduled Delivery Begin Doc

Parameter NameData ItemData TypeReq/OptI/O/Both
cSuppressErrorMessageSUPPScharOPTINPUT

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.

szErrorMessageIDDTAIcharOPTOUTPUT

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.

mnTransportationJobnumberJOBSMATH_NUMERICOPTBOTH

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

szProgramIDPIDcharOPTINPUT

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.

szVersionP49655VERScharOPTINPUT

A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined 
processing option values and data selection and sequencing options. Interactive versions are associated with applications (usually as a 
menu selection). Batch versions are associated with batch jobs or reports. To run a batch process, you must choose a version.

szPlanningDepotVMCUcharOPTINPUT

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_NUMERICOPTINPUT

1

jdActualDeliveryDateDLDTJDEDATEOPTINPUT

The delivery date of a shipment.

mnActualDeliveryTimeDLTMMATH_NUMERICOPTINPUT

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

cDispatchTypeDATYcharOPTINPUT

Indicates whether this vehicle uses a weight or a volume device to control and measure the loading of product to its compartments. Valid 
values are:    V Indicates the measurement method is by volume.    W Indicates the measurement method is by weight.    T Indicates the 
measurement method is based on the transcation (OneWorld only).    S Indicates the measurement method is by volume at standard. Used during 
Bulk Load and Delivery Confirmation or when bulk load and delivery confirmation is performed in one step. A bulk vehicle can have a V, or W 
dispatch type. A packed vehicle can only have a W dispatch type.

cDispositionCodeBCSDSCDcharOPTINPUT

Indicates the action to be taken on the quantity remaining on an order. Valid values are:    B Backorder    C Cancel    S Leave amount 
shippable    K Cancel the entire remaining, including backorders

cWriteShipmentStatusEV01charOPTINPUT

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

szShipmentStatusCodeSSCDcharOPTINPUT

A user defined code used to report the status of a shipment.

szShipmentStatusCodeReasonSSRScharOPTINPUT

A user defined code used to report the reason for a particular status.

szDocumentTypeDCTcharOPTINPUT

A user defined code (00/DT) that identifies the origin and purpose of the transaction.  PeopleSoft reserves several prefixes for document 
types, such as, vouchers, invoices, receipts, and timesheets. The reserved document type prefixes for codes are: P Accounts payable 
documents R Accounts receivable documents  T Time and Pay documents I Inventory documents  O Purchase order documents  S Sales order 
documents 

szHeaderCostCenterEMCUcharOPTINPUT

A business unit is an accounting entity required for management reporting. It can be a profit center, department, warehouse location, job, 
project, work center, branch/plant, and so forth. This business unit is from the business unit entered on the header of a sales/purchase order for 
reporting purposes. This data is always right justified on entry (for example, CO123 would appear as _______CO123).  A security mechanism 
has been provided to inhibit users from entering or locating business units outside the scope of their authority.

szLoadStatusPartiallyDeliveredLDLScharOPTNONE

Identifies the status of the load. Valid values are:        New         Pending         Load Approved         In-transit         Delivered         Complete

szLoadStatusDeliveredLDLScharOPTNONE

Identifies the status of the load. Valid values are:        New         Pending         Load Approved         In-transit         Delivered         Complete

szLoadStatusCompletedLDLScharOPTNONE

Identifies the status of the load. Valid values are:        New         Pending         Load Approved         In-transit         Delivered         Complete

Related Functions

None

Related Tables

None
UnscheduledDeliveryClearWorkFile

UnscheduledDeliveryClearWorkFile

F4215 UnScheduled Delivery MBF

Minor Business Rule

Object Name: N4900710

Parent DLL: CTRAN

Location: Client/Server

Language: NER

Data Structure

D4900710E - F4215 Unscheduled Delivery Clear Work File

Parameter NameData ItemData TypeReq/OptI/O/Both
cSuppressErrorMessageSUPPScharOPTINPUT

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.

szErrorMessageIDDTAIcharOPTOUTPUT

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.

mnTransportationJobnumberJOBSMATH_NUMERICOPTINPUT

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

cModeofCommitmentClearMODEcharOPTINPUT

The processing mode used in Purchase Order Consolidator to signify when specific orders are being processed.

szProgramIdPIDcharOPTINPUT

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.

Related Functions

None

Related Tables

None
UnscheduledDeliveryEditDoc

UnscheduledDeliveryEditDoc

F4215 UnScheduled Delivery MBF

Major Business Rule

Object Name: N4900710

Parent DLL: CTRAN

Location: Client/Server

Language: NER

1.1Purpose

This business function is called by the Deliver Confirm application. Unscheduled Delivery  Edit Doc is used to edit Delivery Confirm detail during the 

process of adding the new Sales Orders (Header and Detail) and Shipments (Header and Detail).




1.2Setup Notes and Prerequisites


When calling F4215 Sale Order Edit Line, set Write to Workfile equal to '2' and Source of Data equal to '7'. The Consolidate Orders flag should also be set 

to '1'.


If Doc Code from the detail cache is equal to '1', assign values of DOC, DCT, and KCO from detail cache to their corresponding field when calling edit line 

pre-processor.


2.Technical Specifications


2.1Parameters:

Data Item Data Structure DescriptionI/ORequiredNotes
**JOBSmnTransportationJobNumberYes
PIDProgram IDIYes

EV01Suppress Error MessagesINo'1' to suppress error messages

DTAIError Message IDONo

LNIDError Work Line NumberONo


^

Data Structure

D4900710A - F4215 Unscheduled Delivery Edit Doc

Parameter NameData ItemData TypeReq/OptI/O/Both
mnTransportationJobNumberJOBSMATH_NUMERICREQINPUT

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

szProgramIdPIDcharREQINPUT

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.

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.

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.

mnErrorWorkLineNumberLNIDMATH_NUMERICOPTNONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

Related Functions

None

Related Tables

None
UnscheduledDeliveryEditLine

UnscheduledDeliveryEditLine

F4215 UnScheduled Delivery MBF

Major Business Rule

Object Name: N4900710

Parent DLL: CTRAN

Location: Client/Server

Language: NER

1.1Purpose

This business function is designed specifically for the unscheduled delivery process.  It will perform the logic to validate the delivery of a single order 

line.

1.2Setup Notes and Prerequisites


• This program must be proceeded by at least the BeginDoc function that loads the deliver confirm 
header cache. 

• The calling application should decide whether UnscheuledDeliveriesEndDoc should be called.
• This function will not actually write or update to the Order, Shipment, or Load related files, you 
must call UnscheduledDeliveriesConfirmEndDoc manually for that to happen.

• Change mode only supports changes to quantities and disposition code.
1.3Special Logic


• If errors are detected, the business function will flag the record in the cache.  These errors must 
be corrected before UnscheduledDeliveriesEditDoc and UnscheduledDeliveriesEndDoc are called.

• The following general validations are done to ensure that the order line can be confirmed.


2.Technical Specifications

2.1Parameters

Data Item Data Structure Description
I/OReqNotes
SUPPScSuppressErrorMessageIY
DTAIszErrorMessageIDOY

JOBSmnTransportationJobNumberIY

EV01cActionTypeIYA = Add C = Change D = Delete

EV01cInCacheO1 = record was written/updated in cache.

SHANmnAddressNumberShipToIY

BPFGcBulkPackedFlagIY

LNIDmnWorkLineNumberIY

DOCOmnDocumentOrderInvoiceEI

DCTOszOrderTypeI

KCOOmnCompanyKeyOrderNoI

LNIDmnLineNumberI

DLDTjdActualDeliveryDateI

DLTMmnActualDeliveryTimeI

DESCszReceivedByI

MCUszCostCenterI

ITMmnIdentifierShortItemI

LOTNszLot99I

AN8mnCommingledOwnerI

TRQTmnQuantityTransactionI

TRUMszUnitOfMeasureTransactI

STUMmnStockTotalinPrimaryUOMI/OBulk and Pack products in primary UOM.

UOM1szUnitOfMeasurePrimaryI/O

AMBRmnAmbientResultI/OR: bulk products.

BUM3szUnitofMeasure3I/OR: bulk products.

STOKmnStockTotalVolumeI/OR: bulk products.

BUM4szUnitofMeasure4I/OR: bulk products.

WGTRmnWeightResultI/OR: bulk products.

BUM5szUnitofMeasure5I/OR: bulk products.

VCFmnVolumeCorrectionFactorI/OR: bulk products.

TEMPmnTemperatureI/OR: bulk products.

STPUcTemperatureTypeI/OR: bulk products.

DNTYmnDensityI/OR: bulk products.

DNTPcDensityTypeAtStandardTemI/OR: bulk products.

DETPmnDensityTemperatureI/OR: bulk products.

DTPUcDensityTemperatureUnitI/OR: bulk products.

UNCSmnAmountUnitCostI/O

ECSTmnAmountExtendedCostI/O

DMCTszContractNumberDistributiI/OFuture

DMCSmnContractSupplementDistriI/OFuture

RDTMmnTimeReadI/OReading Date

DTEjdDateReadI/OReading Time

METNszMeterNumberI

OPNRmnUnitsBeginingThroughputQIOpening Reading

PNCRmnUnitsNewTotalThroughputQIClosing Reading

BFWTmnWeightBeforeLoadingI

BWTUszUnitofMeasurebeforeI

AFWTmnWeightAfterLoadingI

AWTUszUnitofMeasureafterI

DCTcDocCodeI

DATYcDispatchTypeI

DSCDcDispositionCodeBCSI

VR01szReference1

EV03cEditsPassedO1 = edits passed

EV01cDeliveryTypeI/O


^

Data Structure

D4900710D - F4215 Unscheduled Delivery Edit Line

Parameter NameData ItemData TypeReq/OptI/O/Both
cSuppressErrorMessageSUPPScharOPTINPUT

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.

szErrorMessageIDDTAIcharOPTOUTPUT

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.

mnTransportationJobNumberJOBSMATH_NUMERICOPTINPUT

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

cInCacheEV01charOPTBOTH

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

cActionTypeEV03charOPTINPUT

A radio button that specifies the level at which trace/track result is to be displayed.  Select the Detail to display all transactions except IB, IX, 
and IZ types.  Or, select Derivative Lots Only to display only those transactions that may have created new derivative lot. 

mnAddressNumberShipToSHANMATH_NUMERICOPTINPUT

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.

cBulkPackedFlagBPFGcharOPTBOTH

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.

mnWorkLineNumberLNIDMATH_NUMERICOPTBOTH

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

mnOrderNumberDOCOMATH_NUMERICOPTBOTH

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szOrderTypeDCTOcharOPTBOTH

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szCompanyKeyOrderNoKCOOcharOPTBOTH

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

mnLineNumberLNIDMATH_NUMERICOPTBOTH

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

jdActualDeliveryDateDLDTJDEDATEOPTBOTH

The delivery date of a shipment.

mnActualDeliveryTimeDLTMMATH_NUMERICOPTBOTH

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

szReceivedByDESCcharOPTBOTH

A description, remark, name, or address.

mnIdentifierShortItemITMMATH_NUMERICOPTBOTH

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

szCostCenterMCUcharOPTBOTH

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.

szLot99LOTNcharOPTBOTH

A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics.

mnCommingledOwnerAN8MATH_NUMERICOPTBOTH

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

mnQuantityTransactionTRQTMATH_NUMERICOPTBOTH

A value that represents the available quantity, which might consist of the on-hand balance minus commitments, reservations, and 
backorders. You enter this value in the Branch/Plant Constants program (P41001).

szUnitOfMeasureTransactTRUMcharOPTBOTH

The unit of measure you used when you entered this transaction into the system.

mnStockTotalinPrimaryUOMSTUMMATH_NUMERICOPTBOTH

The quantity as converted to the primary stock accounting unit of measure identified for this item (product). This primary stock accounting 
unit can be either volume or weight.

szUnitOfMeasurePrimaryUOM1charOPTBOTH

A user defined code (00/UM) that identifies the unit of measure that the system uses to express the quantity of an item, for example, EA 
(each) or KG (kilogram).

mnAmbientResultAMBRMATH_NUMERICOPTBOTH

The volume as measured for density and temperature prior to conversion. You can enter the ambient quantity or let the system 
automatically calculate it.

szUnitofMeasure3BUM3charOPTBOTH

A user defined code (system 00, type UM) that identifies the unit of measurement for pressure, volume, weight, diameter, or height. Note that 
for all volume or weight units of measure, a V or W (respectively) must be entered in the first position of the special handling field on the UDC 
table.

mnStockTotalVolumeSTOKMATH_NUMERICOPTBOTH

The volume after it has been converted to a standard base. Conversions are made according to published standard routines for density 
and gravity and for temperature.

szUnitofMeasure4BUM4charOPTBOTH

A user defined code (system 00, type UM) that identifies the unit of measurement for pressure, volume, weight, diameter, or height. Note that 
for all volume or weight units of measure, a V or W (respectively) must be entered in the first position of the special handling field on the UDC 
table.

mnWeightResultWGTRMATH_NUMERICOPTBOTH

The weight of the product at standard temperature. The system calculates the weight by multiplying the volume by the density and applying 
an air correction, if necessary (all at the base temperature).

szUnitofMeasure5BUM5charOPTBOTH

A user defined code (system 00, type UM) that identifies the unit of measurement for pressure, volume, weight, diameter, or height. Note that 
for all volume or weight units of measure, a V or W (respectively) must be entered in the first position of the special handling field on the UDC 
table.

mnVolumeCorrectionFactorVCFMATH_NUMERICOPTBOTH

A calculated number to convert ambient volume to volume at standard density and temperature. This value identifies the primary stock 
accounting unit of measure used by the system.

mnTemperatureTEMPMATH_NUMERICOPTBOTH

The temperature of the product.

cStrappingTemperatureUnitSTPUcharOPTBOTH

A code used to identify the type of temperature. Valid values are:    F Fahrenheit    C Celsius 

mnDensityDNTYMATH_NUMERICOPTBOTH

Identifies your company's standard for density. You can also use this field for pack size and weight information.

cDensityTypeAtStandardTemDNTPcharOPTBOTH

A code used to identify the type of density. Valid values are:    A Absolute Density    G API Specific Gravity    R Relative Density

mnDensityTemperatureDETPMATH_NUMERICOPTBOTH

Indicates the temperature at which the density was measured. The system uses the density temperature type from Branch/Plant Constants - 
Page 3 Row exit.

cDensityTemperatureUnitDTPUcharOPTBOTH

Identifies the type of temperature. Valid values are:    F Fahrenheit    C Celsius

szContractNumberDistributiDMCTcharOPTBOTH

A unique number your company assigns to identify a particular agreement. You might want to assign some significance to the agreement 
number (for example,an agreement type code, location, year, and so forth). An agreement might have multiple supplements to record 
addendum or changes, for example.

mnContractSupplementDistriDMCSMATH_NUMERICOPTBOTH

The supplement number records any changes or addendum to agreements that occur over time or by item. It can also indicate individual 
agreements that are tied to a master agreement. The system allows up to 999 different supplements per base agreement number.

mnTimeReadRDTMMATH_NUMERICOPTBOTH

The time when the readings were performed. Enter the time in either HHMMSS or HH:MM:SS format. If you leave this field blank, the system 
enters the current time used.

jdDateReadDTEJDEDATEOPTBOTH

You can enter a date with or without slashes (/) or dashes (-) as separators. If you leave a date entry field blank, the system supplies the 
current date.

szMeterNumberMETNcharOPTBOTH

Identifies the meter.

mnUnitsBeginingThroughputQOPNRMATH_NUMERICOPTBOTH

The beginning (opening) meter reading before the product flows through a pipeline. In order to calculate the ambient volume, an after 
(closing) meter reading is required.

mnUnitsNewTotalThroughputQPNCRMATH_NUMERICOPTBOTH

The closing reading of the meter at the date and time specified by the user. This indicates the quantity of product that has flowed through the 
meter when the closing readings are taken. In order to calculate the ambient volume, an after (closing) meter reading is required.

mnWeightBeforeLoadingBFWTMATH_NUMERICOPTBOTH

The weight of a vehicle before loading any products.

szUnitofMeasurebeforeBWTUcharOPTBOTH

A user defined code (system 00, type UM) that identifies the unit of measurement for pressure, volume, weight, diameter, or height.

mnWeightAfterLoadingAFWTMATH_NUMERICOPTBOTH

The weight of a vehicle after loading products.

szUnitofMeasureafterAWTUcharOPTBOTH

A user defined code (system 00, type UM) that identifies the unit of measurement for pressure, volume, weight, diameter, or height.

cDocCodeDCTYcharOPTBOTH

This code represents the additional uses of the Document Number keyed or assigned. The Document Number is always assigned to the 
Sales Order number and the code indicates the use of the same number in the following fields:    I Invoice Number    D Delivery Number    
blank No additional uses

cDispatchTypeDATYcharOPTBOTH

Indicates whether this vehicle uses a weight or a volume device to control and measure the loading of product to its compartments. Valid 
values are:    V Indicates the measurement method is by volume.    W Indicates the measurement method is by weight.    T Indicates the 
measurement method is based on the transcation (OneWorld only).    S Indicates the measurement method is by volume at standard. Used during 
Bulk Load and Delivery Confirmation or when bulk load and delivery confirmation is performed in one step. A bulk vehicle can have a V, or W 
dispatch type. A packed vehicle can only have a W dispatch type.

cDispositionCodeBCSDSCDcharOPTBOTH

Indicates the action to be taken on the quantity remaining on an order. Valid values are:    B Backorder    C Cancel    S Leave amount 
shippable    K Cancel the entire remaining, including backorders

szReference1VR01charOPTBOTH

An alphanumeric value used as a cross-reference or secondary reference number. Typically, this is the customer number, supplier 
number, or job number.

cEditsPassedEV03charOPTBOTH

A radio button that specifies the level at which trace/track result is to be displayed.  Select the Detail to display all transactions except IB, IX, 
and IZ types.  Or, select Derivative Lots Only to display only those transactions that may have created new derivative lot. 

cDeliveryTypeEV01charOPTBOTH

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

mnSecondaryQtySQORMATH_NUMERICOPTNONE

If the secondary unit of measure option in Inventory Constants is selected,this field will display on data entry screens.

szSecondaryUoMUOM2charOPTNONE

A user defined code (00/UM) that indicates an alternate unit of measure for the item.

Related Functions

None

Related Tables

None
UnscheduledDeliveryEndDoc

UnscheduledDeliveryEndDoc

F4215 UnScheduled Delivery MBF

Major Business Rule

Object Name: N4900710

Parent DLL: CTRAN

Location: Client/Server

Language: NER

1.1Purpose

This business function is called by the Deliver Confirm application. Unscheduled Delivery  End Doc is used to add new Sales Orders (Header and Detail) 

and Shipments (Header and Detail) to their respective tables. 


Data is also taken from the Unscheduled Delivery Detail cache and updated to F49211, the Sales Order Tag file.




2.Technical Specifications


2.1Parameters:

Data Item Data Structure DescriptionI/ORequiredNotes
**JOBSTransportation Job NumberYes
PIDProgram IDIYes

EV01Suppress Error MessagesINo'1' to suppress error messages

DTAIError Message IDONo




^

Data Structure

D4900710B - F4215 Unscheduled Delivery End Doc

Parameter NameData ItemData TypeReq/OptI/O/Both
mnTransportationJobNumberJOBSMATH_NUMERICREQINPUT

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

szProgramIdPIDcharREQINPUT

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.

cSuppressErrorMessagesEV01charOPTNONE

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.

Related Functions

None

Related Tables

None
s New Roman;font-size:10pt">

When calling F4215 Sale Order Edit Line, set Write to Workfile equal to '2' and Source of Data equal to '7'. The Consolidate Orders flag should also be set 

to '1'.


If Doc Code from the detail cache is equal to '1', assign values of DOC, DCT, and KCO from detail cache to their corresponding field when calling edit line 

pre-processor.


2.Technical Specifications


2.1Parameters:

Data Item Data Structure DescriptionI/ORequiredNotes
**JOBSmnTransportationJobNumberYes
PIDProgram IDIYes

EV01Suppress Error MessagesINo'1' to suppress error messages

DTAIError Message IDONo

LNIDError Work Line NumberONo


^

Data Structure

D4900710A - F4215 Unscheduled Delivery Edit Doc

Parameter NameData ItemData TypeReq/OptI/O/Both
mnTransportationJobNumberJOBSMATH_NUMERICREQINPUT

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

szProgramIdPIDcharREQINPUT

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.

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.

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.

mnErrorWorkLineNumberLNIDMATH_NUMERICOPTNONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

Related Functions

None

Related Tables

None
UnscheduledDeliveryEditLine

UnscheduledDeliveryEditLine

F4215 UnScheduled Delivery MBF

Major Business Rule

Object Name: N4900710

Parent DLL: CTRAN

Location: Client/Server

Language: NER

1.1Purpose

This business function is designed specifically for the unscheduled delivery process.  It will per