ProcessOrderLine

Process Order Line

Major Business Rule

Object Name: N4900180

Parent DLL: CTRAN

Location: Client/Server

Language: NER

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: **


For each order being processed, establish a unique Transportation Job Number to be passed to the Process Order Line business function. The 
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'):


Call Process Order Line, passing an image of the 4211 record, in addition to the order source (S for Sales) and an action code ('A' 
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).


Only process changed 4211 records when the ship to address (SHAN), origin depot (MCU), quantity shipped (SOQS), weight (ITWT), 
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. 


After the Sales End Doc has processed all 4211 transactions through Process Order Line, complete the shipment processing by running the 
following business functions:


Call the Edit Doc function of N4900010 - Add Shipment Detail


Call the Enddoc function of  N4900010 - Add Shipment Detail

Call the Clear Workfiles function of N4900010 - Add Shipment Detail


*   noteSales Order Detail records for items that are kit components are not to be processed to the 

Transportation system.

** note  If an application or batch process has the capability to add Sales Order Detail records without using the Sales MBF, those applications and 
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



Data Structure

D4900180 - Process Order Line

Parameter NameData ItemData TypeReq/OptI/O/Both
cSourceofOrderSRCOcharNONENONE

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

cActionCode2ACTNcharNONENONE

A code that specifies the action that is performed. Valid values are: A Add C Change

mnDocumentOrderInvoiceEDOCOMATH_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

szCompanyKeyOrderNoKCOOcharNONENONE

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.

szLineTypeLNTYcharNONENONE

A code that controls how the system processes lines on a transaction. It controls the systems with which the transaction interfaces, such as 
General Ledger, Job Cost, Accounts Payable, Accounts Receivable, and Inventory Management. It also specifies the conditions under 
which a line prints on reports, and it is included in calculations. Codes include the following: S Stock item   J Job cost   N Nonstock item   F Freight  
T Text information   M Miscellaneous charges and credits   W Work order

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.

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.

mnAddressNumberAN8MATH_NUMERICNONENONE

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

jdDatePromisedPickJuPPDJJDEDATENONENONE

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

jdDateReleaseJulianRSDJJDEDATENONENONE

The date an item will be delivered to the customer.

jdDateRequestedJulianDRQJJDEDATENONENONE

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

cSalesOrderStatus07SO07charNONENONE

Indicates which date fields were entered in Order Entry. Values are:    1   Pick date (PDDJ) entered    2   Delivery date (RSDJ) entered    3   
Pick date and Delivery date entered    4   Ship date (PPDJ) entered    5   Pick date and Ship date entered    6   Ship date and Delivery date 
entered    7   Pick date, Ship date and Delivery date entered 

mnIdentifierShortItemITMMATH_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

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

szUnitOfMeasureAsInputUOMcharNONENONE

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

mnAmountUnitWeightITWTMATH_NUMERICNONENONE

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

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 

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

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 

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. 

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.

szPurchasingReportCode1PRP1charNONENONE

A code (table 41/P1) that represents an item property type or classification,such as commodity type, planning family, or so forth. The 
system uses this code to sort and process like items. This field is one of six classification categories available primarily for purchasing purposes.

mnTransportationJobNumberJOBSMATH_NUMERICNONENONE

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

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.

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.

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

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.

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.

szCurrencyCodeToCRDCcharNONENONE

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

mnShipmentNumberSHPNMATH_NUMERICNONENONE

A "next number" that uniquely identifies a shipment.

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

mnOriginAddressNumberORGNMATH_NUMERICOPTNONE

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.

mnSecondaryQtyShippedSQORMATH_NUMERICOPTNONE

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

szSecondaryUOMAsInputUOM2charOPTNONE

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

jdDatePromisedPick2PDDJJDEDATEOPTNONE

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.

mnPromisedShipmentTimePMDTMATH_NUMERICOPTNONE

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.

mnPromisedDeliveryTimeRSDTMATH_NUMERICOPTNONE

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.

cManualOrderLineSelectionMOLScharOPTNONE

An option that indicates whether the system allows you to add order lines to shipments that have been manually created. Activate this 
option to enable additional order lines. If this option has not been chosen, then you cannot add order lines.

mnRequestedDeliveryTimeDRQTMATH_NUMERICOPTNONE

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.

cCalledBySplitterYN1charOPTNONE

A yes/no field to which the user can assign meaning.

Related Functions

None

Related Tables

None
ProcessOrderLineAdd

ProcessOrderLineAdd

Process Order Line

Minor Business Rule

Object Name: N4900180

Parent DLL: CTRAN

Location: Client/Server

Language: NER

Data Structure

D4900180B - Process Order Line for Add

Parameter NameData ItemData TypeReq/OptI/O/Both
cSourceofOrderSRCOcharNONENONE

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

cActionCode2ACTNcharNONENONE

A code that specifies the action that is performed. Valid values are: A Add C Change

mnDocumentOrderInvoiceEDOCOMATH_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

szCompanyKeyOrderNoKCOOcharNONENONE

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.

szLineTypeLNTYcharNONENONE

A code that controls how the system processes lines on a transaction. It controls the systems with which the transaction interfaces, such as 
General Ledger, Job Cost, Accounts Payable, Accounts Receivable, and Inventory Management. It also specifies the conditions under 
which a line prints on reports, and it is included in calculations. Codes include the following: S Stock item   J Job cost   N Nonstock item   F Freight  
T Text information   M Miscellaneous charges and credits   W Work order

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.

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.

mnAddressNumberAN8MATH_NUMERICNONENONE

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

jdDatePromisedPickJuPPDJJDEDATENONENONE

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

jdDateReleaseJulianRSDJJDEDATENONENONE

The date an item will be delivered to the customer.

jdDateRequestedJulianDRQJJDEDATENONENONE

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

cSalesOrderStatus07SO07charNONENONE

Indicates which date fields were entered in Order Entry. Values are:    1   Pick date (PDDJ) entered    2   Delivery date (RSDJ) entered    3   
Pick date and Delivery date entered    4   Ship date (PPDJ) entered    5   Pick date and Ship date entered    6   Ship date and Delivery date 
entered    7   Pick date, Ship date and Delivery date entered 

mnIdentifierShortItemITMMATH_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

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

szUnitOfMeasureAsInputUOMcharNONENONE

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

mnAmountUnitWeightITWTMATH_NUMERICNONENONE

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

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 

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

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 

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. 

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.

szPurchasingReportCode1PRP1charNONENONE

A code (table 41/P1) that represents an item property type or classification,such as commodity type, planning family, or so forth. The 
system uses this code to sort and process like items. This field is one of six classification categories available primarily for purchasing purposes.

mnTransportationJobNumberJOBSMATH_NUMERICNONENONE

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

mnShipmentNumberSHPNMATH_NUMERICNONENONE

A "next number" that uniquely identifies a shipment.

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.

szSpecialHandlingCodeSPHDcharNONENONE

A code that indicates special processing requirements for certain user defined code values. The value that you enter in this field is unique 
for each user defined code type. The system uses the special handling code in many ways. For example, special handling codes defined for 
Language Preference specify whether the language is double-byte or does not have uppercase characters. Programming is required to 
activate this field.

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.

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

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.

cIncludeExcludeILELcharNONENONE

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

szCurrencyCodeToCRDCcharNONENONE

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

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

mnOriginAddressNumberORGNMATH_NUMERICOPTNONE

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.

jdDatePromisedPick2PDDJJDEDATEOPTNONE

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.

mnPromisedShipmentTimePMDTMATH_NUMERICOPTNONE

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.

mnPromisedDeliveryTimeRSDTMATH_NUMERICOPTNONE

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.

mnRequestedDeliveryTimeDRQTMATH_NUMERICOPTNONE

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.

Related Functions

None

Related Tables

None
ProcessOrderLineDelete

ProcessOrderLineDelete

Process Order Line

Minor Business Rule

Object Name: N4900180

Parent DLL: CTRAN

Location: Client/Server

Language: NER

Data Structure

D4900180D - Process Order Line Delete

Parameter NameData ItemData TypeReq/OptI/O/Both
cActionCode2ACTNcharNONENONE

A code that specifies the action that is performed. Valid values are: A Add C Change

mnDocumentOrderInvoiceEDOCOMATH_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

szCompanyKeyOrderNoKCOOcharNONENONE

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.

mnTransportationJobNumberJOBSMATH_NUMERICNONENONE

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

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.

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.

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.

mnShipmentNumberSHPNMATH_NUMERICNONENONE

A "next number" that uniquely identifies a shipment.

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

Related Functions

None

Related Tables

None
ProcessOrderLineEndDoc

ProcessOrderLineEndDoc

Process Order Line

Minor Business Rule

Object Name: N4900180

Parent DLL: CTRAN

Location: Client/Server

Language: NER

Data Structure

D4900180E - Process Order Line at End Doc

Parameter NameData ItemData TypeReq/OptI/O/Both
cActionCode2ACTNcharNONENONE

A code that specifies the action that is performed. Valid values are: A Add C Change

mnTransportationJobNumberJOBSMATH_NUMERICNONENONE

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

mnShipmentNumberSHPNMATH_NUMERICNONENONE

A "next number" that uniquely identifies a shipment.

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

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

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.

cSuppressErrorMessagesEV01charNONENONE

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

szDataItemDTAIcharNONENONE

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
ProcessOrderLineUpdate

ProcessOrderLineUpdate

Process Order Line

Minor Business Rule

Object Name: N4900180

Parent DLL: CTRAN

Location: Client/Server

Language: NER

Data Structure

D4900180C - Process Order Line for Changes

Parameter NameData ItemData TypeReq/OptI/O/Both
cSourceofOrderSRCOcharNONENONE

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

cActionCodeACTNcharNONENONE

A code that specifies the action that is performed. Valid values are: A Add C Change

mnDocumentOrderInvoiceEDOCOMATH_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

szCompanyKeyOrderNoKCOOcharNONENONE

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.

szLineTypeLNTYcharNONENONE

A code that controls how the system processes lines on a transaction. It controls the systems with which the transaction interfaces, such as 
General Ledger, Job Cost, Accounts Payable, Accounts Receivable, and Inventory Management. It also specifies the conditions under 
which a line prints on reports, and it is included in calculations. Codes include the following: S Stock item   J Job cost   N Nonstock item   F Freight  
T Text information   M Miscellaneous charges and credits   W Work order

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.

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.

mnAddressNumberAN8MATH_NUMERICNONENONE

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

jdDatePromisedPickJuPPDJJDEDATENONENONE

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

jdDateReleaseJulianRSDJJDEDATENONENONE

The date an item will be delivered to the customer.

jdDateRequestedJulianDRQJJDEDATENONENONE

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

cSalesOrderStatus07SO07charNONENONE

Indicates which date fields were entered in Order Entry. Values are:    1   Pick date (PDDJ) entered    2   Delivery date (RSDJ) entered    3   
Pick date and Delivery date entered    4   Ship date (PPDJ) entered    5   Pick date and Ship date entered    6   Ship date and Delivery date 
entered    7   Pick date, Ship date and Delivery date entered 

mnIdentifierShortItemITMMATH_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

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

szUnitOfMeasureAsInputUOMcharNONENONE

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

mnAmountUnitWeightITWTMATH_NUMERICNONENONE

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

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 

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

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 

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. 

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.

szPurchasingReportCode1PRP1charNONENONE

A code (table 41/P1) that represents an item property type or classification,such as commodity type, planning family, or so forth. The 
system uses this code to sort and process like items. This field is one of six classification categories available primarily for purchasing purposes.

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.

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

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.

mnTransportationJobNumberJOBSMATH_NUMERICNONENONE

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

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.

cShipConfirmationFlagEV01charNONENONE

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

cFutureUseFlag1EV01charNONENONE

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

cFutureUseFlag2EV01charNONENONE

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

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.

szSpecialHandlingCodeSPHDcharNONENONE

A code that indicates special processing requirements for certain user defined code values. The value that you enter in this field is unique 
for each user defined code type. The system uses the special handling code in many ways. For example, special handling codes defined for 
Language Preference specify whether the language is double-byte or does not have uppercase characters. Programming is required to 
activate this field.

szCurrencyCodeToCRDCcharNONENONE

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

mnShipmentNumberSHPNMATH_NUMERICNONENONE

A "next number" that uniquely identifies a shipment.

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

mnOriginAddressNumberORGNMATH_NUMERICOPTNONE

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.

jdDatePromisedPick2PDDJJDEDATEOPTNONE

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.

mnPromisedShipmentTimePMDTMATH_NUMERICOPTNONE

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.

mnPromisedDeliveryTimeRSDTMATH_NUMERICOPTNONE

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.

mnRequestedDeliveryTimeDRQTMATH_NUMERICOPTNONE

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.

cCalledBySplitterYN1charOPTNONE

A yes/no field to which the user can assign meaning.

Related Functions

None

Related Tables

None
tyle="position: absolute; left: 0.600000in">Shipment 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



Data Structure

D4900180 - Process Order Line

Parameter NameData ItemData TypeReq/OptI/O/Both
cSourceofOrderSRCOcharNONENONE

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

cActionCode2ACTNcharNONENONE

A code that specifies the action that is performed. Valid values are: A Add C Change

mnDocumentOrderInvoiceEDOCOMATH_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

szCompanyKeyOrderNoKCOOcharNONENONE

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.

szLineTypeLNTYcharNONENONE

A code that controls how the system processes lines on a transaction. It controls the systems with which the transaction interfaces, such as 
General Ledger, Job Cost, Accounts Payable, Accounts Receivable, and Inventory Management. It also specifies the conditions under 
which a line prints on reports, and it is included in calculations. Codes include the following: S Stock item   J Job cost   N Nonstock item   F Freight  
T Text information   M Miscellaneous charges and credits   W Work order

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.

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.

mnAddressNumberAN8MATH_NUMERICNONENONE

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

jdDatePromisedPickJuPPDJJDEDATENONENONE

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

jdDateReleaseJulianRSDJJDEDATENONENONE

The date an item will be delivered to the customer.

jdDateRequestedJulianDRQJJDEDATENONENONE

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

cSalesOrderStatus07SO07charNONENONE

Indicates which date fields were entered in Order Entry. Values are:    1   Pick date (PDDJ) entered    2   Delivery date (RSDJ) entered    3   
Pick date and Delivery date entered    4   Ship date (PPDJ) entered    5   Pick date and Ship date entered    6   Ship date and Delivery date 
entered    7   Pick date, Ship date and Delivery date entered 

mnIdentifierShortItemITMMATH_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

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

szUnitOfMeasureAsInputUOMcharNONENONE

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

mnAmountUnitWeightITWTMATH_NUMERICNONENONE

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

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 

mnAmountUnitVolumeITVLMATH_NUMERICNONENONE

The cubic units occupied by one inventory item. The definition of the unit itself (cubic feet, yards, meter