WriteDeliveryNoteHistory

Write Delivery Note History

Major Business Rule

Object Name: B4200600

Parent DLL: CDIST

Location: Client/Server

Language: C


Functional Description


Purpose

This function will write records to the Delivery Notes History file (F4290)

Setup Notes and Prerequisites

None.


Special Logic

None.


Technical Specification


2.2Related Tables 

Table Table Description

F4290DeliveryNotesHistory


2.3Related Business Functions

Source NameFunction Name


2.4Processing 

Load the passed in values to the Delivery Note record and write to the file.


^

Data Structure

D4200600 -  Write Delivery Note Histroy


Special Input Expected

DELNDelivery Number

DOCOOrder Number

DCTOOrder Type

KCOOOrder Company

LNIDLine Number

DDELDeliveryDate

SHANShip to Address Number

MCUBranchPlant

SFXOSuffix

CARSCarrierNumber

SHCNShippingCommodity

SHCMShippingConditions

FRTHFrieghtHandelingCode

TRRSTransportReasonCode

ITMShortItemNumber

ITWTUnitWeight

ITVLUnit Volumn

SOQSQuantity

UOMUnitOfMeasure

EV01Suppress Error Message0 = Do not suppress any error msgs

1 = Suppress any error messages.


Special Output Returned

ERRCErrorCode0 = No errors in processing

1 = Error  in processing.


^

Parameter NameData ItemData TypeReq/OptI/O/Both
mnOrderNumberDOCOMATH_NUMERICNONENONE

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.

szOrderTypeDCTOcharNONENONE

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

szOrderCompanyKCOOcharNONENONE

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_NUMERICNONENONE

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.

jdDeliveryDateDDELJDEDATENONENONE

The date that the Delivery Note was printed.

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.

szSuffixSFXOcharNONENONE

In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies 
multiple transactions for an original order. For purchase orders, the code is always 000. For sales orders with multiple partial receipts against an 
order, the first receiver used to record receipt has a suffix of 000, the next has a suffix of 001, the next 002, and so on.

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.

szShippingCommoditySHCMcharNONENONE

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.

szShippingConditionsSHCNcharNONENONE

A code (table 41/C) that represents an item property type or classification,such as special shipping conditions. The system uses this code 
to sort and process like items. This field is one of three classification categories available primarily for inventory and shipping purposes.

mnShortItemNumberITMMATH_NUMERICNONENONE

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

mnUnitWeightITWTMATH_NUMERICNONENONE

The weight of one unit of an item, expressed in the primary unit of measure.

mnUnitVolumeITVLMATH_NUMERICNONENONE

The cubic units occupied by one inventory item. The definition of the unit itself (cubic feet, yards, meters, and so on) is defined in the volume 
unit of measure.

mnQuantitySOQSMATH_NUMERICNONENONE

The number of units committed for shipment in Sales Order Entry, using either the entered or the primary unit of measure defined for this 
item. In the Manufacturing system and Work Order Time Entry, this field can indicate completed or scrapped quantities. The quantity type is 
determined by the type code entered.

szUnitOfMeasureUOMcharNONENONE

A user defined code (00/UM) that indicates the quantity in which to express an inventory item, for example, CS (case) or BX (box).

cSuppressErrorMessageEV01charNONENONE


Special Input Expected

EV01ab Suppress Error Message


Significant Data Values

0 = Do not suppress any error msgs

1 = Suppress any error messages.

^

cErrorCodeERRCcharNONENONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

mnDeliveryNumberDELNMATH_NUMERICNONENONE

A automatic next number assigned by the system that can be used to track deliveries through the system. This number is assigned during 
the printing of delivery notes.

mnShipToAddressNumberSHANMATH_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.

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.

szTransportReasonCodeTRRScharNONENONE

Transport Reason Code

Related Functions

None

Related Tables

F4290 Delivery Note History