ProcessSODetailLineCache

Process Sales Order Detail Line Cache

Minor Business Rule

Object Name: B3202380

Parent DLL: CMFG

Location: Client/Server

Language: C

Data Structure

D3202380 - Process Sales Order Detail Line Cache

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobNumberJOBSMATH_NUMERICOPTNONE

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

cCacheModeEV01charOPTNONE

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

szOrderCoKCOOcharOPTNONE

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.

mnOrderNoDOCOMATH_NUMERICOPTNONE

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.

szOrderTypeDCTOcharOPTNONE

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

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

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

szBusinessUnitMCUcharOPTNONE

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.

mnShipToNoSHANMATH_NUMERICOPTNONE

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.

jdCancelDateCNDJJDEDATEOPTNONE

The date that the order should be canceled if the goods have not been sent to the customer or the goods have not been received from the 
supplier. This is a memo-only field and does not cause the system to perform any type of automatic processing. If a line on a sales order in 
canceled in Sales Order Entry, this field will  be updated with the date the line has been canceled.                         

szItemNoUITMcharOPTNONE

A number that the system assigns to an item. It can be in short, long, or third item number format.

szLocationLOCNcharOPTNONE

The storage location from which goods will be moved.

szLotNoLOTNcharOPTNONE

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

szLineTypeLNTYcharOPTNONE

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

mnUnitPriceUPRCMATH_NUMERICOPTNONE

The list or base price to be charged for one unit of this item. In sales order entry, all prices must be set up in the Item Base Price File table 
(F4106).

mnUnitCostUNCSMATH_NUMERICOPTNONE

The amount per unit, derived by dividing the total cost by the unit quantity.

szPrintMesgINMGcharOPTNONE

A user defined code that you assign to each print message. Examples of text used in messages are engineering specifications, hours of 
operation during holiday periods, and special delivery instructions.

cPaymentInstrumentRYINcharOPTNONE

The user defined code (00/PY) that specifies how payments are made by the customer. For example: C Check   D Draft   T Electronic funds 
transfer  

szAdjustmentScheduleASNcharOPTNONE

A user defined code (40/AS) that identifies a price and adjustment schedule. A price and adjustment schedule contains one or more 
adjustment types for which a customer or an item might be eligible. The system applies the adjustments in the sequence that you specify in the 
schedule. You link customers to a price and adjustment schedule through the customer billing instructions. When you enter a sales order, the 
system copies the schedule attached to the sold to address into the order header. You can override this schedule at the detail line level. For 
Agreement Management, this is the Agreement Penalty Schedule. The information in the Agreement Penalty Schedule provides the system 
with the criteria for an agreement to have penalty conditions.

cSalesTaxableYNTAX1charOPTNONE

A code that indicates whether the item is subject to sales tax when you sell it. The system calculates tax on the item only if the customer is 
also taxable.

cAssociatedTextATXTcharOPTNONE

This is a one byte flag that is used to determine whether or not a specific line item on a sales or purchase order has additional extended 
text associated with it.

szTransactionUOMUOMcharOPTNONE

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

szPricingUOMUOM4charOPTNONE

A user defined code (00/UM) that indicates the unit of measure in which you usually price the item.

szWeightUOMWTUMcharOPTNONE

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 

mnForeignUnitPriceFUPMATH_NUMERICOPTNONE

The foreign price per unit.

mnForeignUnitCostFUCMATH_NUMERICOPTNONE

Amount - Foreign Unit Cost

szRelatedKitItemNoRLITcharOPTNONE

If an individual item of inventory is sold as a component of a kit or assembly (single level bill-of-materials), the item number of that kit is the 
'related'item number.

mnKitMasterLineNoKTLNMATH_NUMERICOPTNONE

This line number indicates the relative sequence in which a component is added to a kit or single level bill of materials. For example, the 
system automatically assigns a whole number to the kit master line, for example, 1.0000. Each component line is assigned a consecutive 
subset of that line number, for example, the first component has line 1.010, and the second component has 1.020.

mnComponentLineNoCPNTMATH_NUMERICOPTNONE

A number that indicates the sequence of the components on a bill of material. It initially indicates the relative sequence in which a 
component was added to a kit or single level bill of material. You can modify this number to change the sequence in which the components appear on 
the bill of material. Skip To fields allow you to enter a component line number that you want to begin the display of information.

mnRelatedKitComponentRKITMATH_NUMERICOPTNONE

In the Sales Order Processing System, when a kit component is defined in the Bill of Materials Master (F3002) as a second level or higher 
item, it will be grouped and stored in the Sales Order Detail File (F4211) under a related kit component. This relationship is maintained so that 
the system can perform kit balancing on the kit throughout the order processing cycle. For example, if a kit has the following structure in the 
Bill of Materials:        Level 0 - A         Level 1 - B, C, D        Level 2 - B1, B2, D1, D2, D3                 Level 3 - B11, B12   Components B1, B2, B11, and 
B12 will be grouped under Related Item B.

mnNoOfCpntPerParentKTPMATH_NUMERICOPTNONE

The total number of the current component needed per unit of the parent kit.

cOverrideCostCSTOcharOPTNONE

A code that specifies whether the change order is a terms only change. For those organizations that elect to view subcontracts on a 
detailed line item basis, terms only changes are in most cases those that have a non-dollar effect, such as a schedule change. For those 
organizations that elect to view their contracts on a summary job cost coding basis, all changes are automatically classified for processing purposes 
as terms only changes. In this case the base contract is automatically incremented for each change order and the individual change order 
amount is carried for informational purposes only. All change orders created in processing mode 3 (account method -incremental), are terms 
only changes. Most inquiry screens and reports exclude terms only items.

mnOriginalOrderLineNoOGNOMATH_NUMERICOPTNONE

A number identifying which line on the original order that the current line matches.

mnSODLineNoEDLNMATH_NUMERICOPTNONE

This is the line number you assign when originating an EDI transaction. This number can represent an order line number (applicable for any 
order type), an invoice pay item, a journal entry line number, and so on.

mnSODDocNoEDOCMATH_NUMERICOPTNONE

The document number that is assigned by the transmitter in an EDI transaction. In a non EDI environment, this would be consistent with the 
order number assigned at order entry time (DOCO).

szSODDocTypeEDCTcharOPTNONE

The document type that is assigned by the transmitter in an EDI transaction. In a non EDI environment, this would be consistent with the order 
type (DCTO) assigned at order entry time, an invoice document type, a voucher document type, and so on.

szSODOrderCoEKCOcharOPTNONE

Company - Key (EDI - Document Key Co)

mnSoldToCustAN8MATH_NUMERICOPTNONE

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

szSoldToCurrencyCodeCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

szRevenueBusinessUnitEMCUcharOPTNONE

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.

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.

cCacheCodeErrorEV01charOPTNONE

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

idCursorGENLNGIDOPTNONE

General purpose ID variable.

cReturnCursorEV01charOPTNONE

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

nIndexNumberINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

szCMComputerIDCTIDcharOPTNONE

mnProcessIDPEIDMATH_NUMERICOPTNONE

A code that identifies the Inter-Process Communication ID.

mnTransactionIDTCIDMATH_NUMERICOPTNONE

szOriginalOrderKeyCoOKCOcharOPTNONE

A number that is used in conjunction with the values in the ODOC and ODCT fields to identify a transaction.

szOriginalOrderNumberOORNcharOPTNONE

The original document number. This can be a voucher, an invoice, unapplied cash, a journal entry number, and so on Matching document 
numbers are also used to identify related documents in the Accounts Receivable and Accounts Payable systems. The document number 
(DOC) is always the original document number. The matching document number (DOCM) is the check, adjustment, or credit to be applied 
against the original document.

szOriginalOrderTypeOCTOcharOPTNONE

This code defines the order type. It is verified in user defined codes (40/OT). Reserved document types have been defined for voucher 
entry, invoice entry, receipts entry, and time sheet entry.  Because the offsetting entries for document types are created automatically during the 
post program, they will not be self-balancing on original entry. The reserved document types are:    PR Purchase Requisition Orders    PQ 
Purchase Quote    PO Purchase Order    PD Purchase Order - Direct Ship    PB Purchase Order - Blanket    SQ Sales Quote    SO Sales Order    
SD Sales Order - Direct Ship    SB Sales Order - Blanket 

mnShortItemNumberITMMATH_NUMERICOPTNONE

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

mnOriginalUnitsTransactionQtyUORGMATH_NUMERICOPTNONE

The quantity of units affected by this transaction.

szModeOfTransportMOTcharOPTNONE

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.

mnCarrierNumberCARSMATH_NUMERICOPTNONE

The address number for the preferred carrier of the item. The customer or your organization might prefer a certain carrier due to route or 
special handling requirements.

mnAmountExtendedPriceAEXPMATH_NUMERICOPTNONE

The number of units multiplied by the unit price.

mnAmountForeignExtPriceFEAMATH_NUMERICOPTNONE

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

mnAmountExtendedCostECSTMATH_NUMERICOPTNONE

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

mnAmountForeignExtCostFECMATH_NUMERICOPTNONE

The product of the cost of an item, expressed in foreign currency according to the orders exchange rate, times the number of units.

Related Functions

None

Related Tables

None