1.Functional Description
1.1Purpose
This business function is used to setup the calls to the business functions that add orders to the shipment tables and to update or delete existing
shipments with order line changes.
1.2Setup Notes and Prerequisites
This business function will be called from the Edit Line and End Doc function of the Sales MBF, which must perform the following tasks: **
Transportation Job Number is used to manage the different Shipment caches. The Begindoc function of N4900010 - Add Shipment Detail can
be used to establish the job number.
For each 4211 record not associated with a kit component item* that is added, changed, or closed ('deleted'):
for add, 'C' for change, 'D' for delete).
If any 4211 records have been changed or deleted (this should not be done until the Sales End Doc MBF is running).
volume (ITVL), freight handling code (FRTH), promised shipment date (PPDJ), promised delivery date (RSDJ), currency code from
(CRCD), extended cost (ECST), or extended price (AEXP or FEA) has been changed. If none of these fields have changed, do not call this
function.
following business functions:
Call the Edit Doc function of N4900010 - Add Shipment Detail
Call the Clear Workfiles function of N4900010 - Add Shipment Detail
batch processes must be modified to use Process Order Line and it's related Transportation business functions..
1.3Special Logic
2.Technical Specifications
2.1Parameters:
Data Item Data Structure DescriptionI/ORequiredNotes
SRCOSourceIYesSet value to 'S'
ACTNAdd, Change, DeleteIYesvalues are 'A', 'C', 'D', or 'E'
DOCOOrder Document NumberINo
DCTOOrder Document TypeIYes
KCOOOrder Document Key CompanyIYes
LNIDOrder Line NumberINo
LNTYOrder Line TypeIYes
MCUOrigin DepotIYes
SHANShip to Address NumberIYes
AN8Sold to Address NumberIYes
PPDJPromised Shipment DateINo
RSDJPromised Delivery DateINo
DRQJRequested Delivery DateINo
SO07Ship Date OverriddenIYes
ITMShort Item NumberIYes
SOQSQuantity ShippedIYes
UOMUnit of MeasureIYes
ITWTUnit WeightIYes
WTUMWeight Unit of MeasureIYes
ITVLUnit VolumeIYes
VLUMVolume Unit of MeasureIYes
AEXPExtended PriceINo
FEAForeign Extended PriceINo
CRCDCurrency CodeINo
FRTHFreight Handling CodeINo
PRP1Commodity ClassIYes
JOBSTransportation Job NumberIYes
EV01Suppress Error MessagesINo'1' to suppress error messages
DTAIError Message IDONo
MOTMode of TransportationINo
CARSCarrierINo
ECSTExtended CostIYes
PIDProgram IdINoRequired when Action Code equals 'C' or 'D'
CRDCCurrency Code ToINo
SHPNShipment NumberI/ONoRequired for Action Code of 'C', 'D', or 'E'
LNIDWork Line NumberIYes
2.2Related Tables
Table Table Description
F0005User Defined Codes
2.3Related Business Functions
Source NameFunction Name
N4900180Process Order Line Add
N4900180Process Order Line Update
N4900180Process Order Line Delete
X0005Get UDC
D4900180 - Process Order Line
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cSourceofOrder | SRCO | char | NONE | NONE |
The source of an order on a shipment. This could be Sales or Purchasing. | ||||
cActionCode2 | ACTN | char | NONE | NONE |
A code that specifies the action that is performed. Valid values are: A Add C Change | ||||
mnDocumentOrderInvoiceE | DOCO | MATH_NUMERIC | NONE | NONE |
A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry,
| ||||
szOrderType | DCTO | char | NONE | NONE |
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
| ||||
szCompanyKeyOrderNo | KCOO | char | NONE | NONE |
A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a
| ||||
mnLineNumber | LNID | MATH_NUMERIC | NONE | NONE |
A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns
| ||||
szLineType | LNTY | char | NONE | NONE |
A code that controls how the system processes lines on a transaction. It controls the systems with which the transaction interfaces, such as
| ||||
szCostCenter | MCU | char | NONE | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
mnAddressNumberShipTo | SHAN | MATH_NUMERIC | NONE | NONE |
The address number of the location to which you want to ship this order. The address book provides default values for customer address,
| ||||
mnAddressNumber | AN8 | MATH_NUMERIC | NONE | NONE |
A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or
| ||||
jdDatePromisedPickJu | PPDJ | JDEDATE | NONE | NONE |
The promised shipment date for a sales order. This date represents the day that the item can be shipped from the warehouse. | ||||
jdDateReleaseJulian | RSDJ | JDEDATE | NONE | NONE |
The date an item will be delivered to the customer. | ||||
jdDateRequestedJulian | DRQJ | JDEDATE | NONE | NONE |
The date that an item is scheduled to arrive or that an action is scheduled for completion. | ||||
cSalesOrderStatus07 | SO07 | char | NONE | NONE |
Indicates which date fields were entered in Order Entry.
Values are:
1 Pick date (PDDJ) entered
2 Delivery date (RSDJ) entered
3
| ||||
mnIdentifierShortItem | ITM | MATH_NUMERIC | NONE | NONE |
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item
| ||||
mnUnitsQuantityShipped | SOQS | MATH_NUMERIC | NONE | NONE |
The number of units committed for shipment in Sales Order Entry, using either the entered or the primary unit of measure defined for this
| ||||
szUnitOfMeasureAsInput | UOM | char | NONE | NONE |
A user defined code (00/UM) that indicates the quantity in which to express an inventory item, for example, CS (case) or BX (box). | ||||
mnAmountUnitWeight | ITWT | MATH_NUMERIC | NONE | NONE |
The weight of one unit of an item, expressed in the primary unit of measure. | ||||
szWeightUnitOfMeasure | WTUM | char | NONE | NONE |
The unit of measure that indicates the weight of an individual item. Typical weight units of measure are:
GM Gram
OZ Ounce
LB Pound
| ||||
mnAmountUnitVolume | ITVL | MATH_NUMERIC | NONE | NONE |
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
| ||||
szVolumeUnitOfMeasure | VLUM | char | NONE | NONE |
The unit of measure for the cubic space occupied by an inventory item. Typical volume unit of measures are:
ML Milliliter
OZ Fluid Ounce
| ||||
mnAmountExtendedPrice | AEXP | MATH_NUMERIC | NONE | NONE |
The number of units multiplied by the unit price. | ||||
mnAmountForeignExtPrice | FEA | MATH_NUMERIC | NONE | NONE |
The product of the foreign price times the number of units. | ||||
szCurrencyCodeFrom | CRCD | char | NONE | NONE |
A code that identifies the currency of a transaction. | ||||
szFreightHandlingCode | FRTH | char | NONE | NONE |
A user defined code (42/FR) designating the method by which supplier shipments are delivered. For example, the supplier could deliver to
| ||||
szPurchasingReportCode1 | PRP1 | char | NONE | NONE |
A code (table 41/P1) that represents an item property type or classification,such as commodity type, planning family, or so forth. The
| ||||
mnTransportationJobNumber | JOBS | MATH_NUMERIC | NONE | NONE |
The job number (work station ID) which executed the particular job. | ||||
cSuppressErrorMessages | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
szErrorMessageID | DTAI | char | NONE | NONE |
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
| ||||
szModeOfTransport | MOT | char | NONE | NONE |
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
| ||||
mnCarrier | CARS | MATH_NUMERIC | NONE | NONE |
The address number for the preferred carrier of the item. The customer or your organization might prefer a certain carrier due to route or
| ||||
mnAmountExtendedCost | ECST | MATH_NUMERIC | NONE | NONE |
For accounts receivable and accounts payable, the invoice (gross) amount. For sales orders and purchase orders, the unit cost times the
| ||||
szProgramId | PID | char | NONE | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
szCurrencyCodeTo | CRDC | char | NONE | NONE |
A code that identifies the domestic (base) currency of the company on a transaction. | ||||
mnShipmentNumber | SHPN | MATH_NUMERIC | NONE | NONE |
A "next number" that uniquely identifies a shipment. | ||||
mnWorkLineNumber | LNID | MATH_NUMERIC | NONE | NONE |
A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns
| ||||
mnOriginAddressNumber | ORGN | MATH_NUMERIC | OPT | NONE |
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
| ||||
mnSecondaryQtyShipped | SQOR | MATH_NUMERIC | OPT | NONE |
If the secondary unit of measure option in Inventory Constants is selected,this field will display on data entry screens. | ||||
szSecondaryUOMAsInput | UOM2 | char | OPT | NONE |
A user defined code (00/UM) that indicates an alternate unit of measure for the item. | ||||
jdDatePromisedPick2 | PDDJ | JDEDATE | OPT | NONE |
The promised shipment date for either a sales order or purchase order. The Supply and Demand Programs use this date to calculate
| ||||
mnPromisedShipmentTime | PMDT | MATH_NUMERIC | OPT | NONE |
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
| ||||
mnPromisedDeliveryTime | RSDT | MATH_NUMERIC | OPT | NONE |
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
| ||||
cManualOrderLineSelection | MOLS | char | OPT | NONE |
An option that indicates whether the system allows you to add order lines to shipments that have been manually created. Activate this
| ||||
mnRequestedDeliveryTime | DRQT | MATH_NUMERIC | OPT | NONE |
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
| ||||
cCalledBySplitter | YN1 | char | OPT | NONE |
A yes/no field to which the user can assign meaning. |
None |
None |