S421002C_InitializeSODetail

S421002C Sales Order Detail View Controller

Major Business Rule

Object Name: B4210620

Parent DLL: CSALES

Location: Client/Server

Language: C

Data Structure

D4210620C - S421002C_InitializeSalesOrderDetail

Parameter NameData ItemData TypeReq/OptI/O/Both
szSessionKeySNKYcharREQINPUT

Session Key is the identifier of a Sales Order Session. 

szViewVersionVERScharOPTINPUT

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.

cOrderModeEV01charOPTOUTPUT

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

cCommitmentPreferenceEV01charOPTOUTPUT

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

cAuditLoggingEnabledEV01charOPTOUTPUT

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

szNonUpdateableStatusNXT2charOPTOUTPUT

User defined code (40/AT) that specifies what the next standard step is in the processing cycle for this order type. You set up the steps for 
the processing cycle on the Order Activity Rules form.

szLotGroupLOTGRPcharOPTOUTPUT

Lot Group is the name of a user defined list of allowed non-blank lot status codes.  Entry of a Lot Group name in the Processing Option will 
allow this Application to process lots whose lot status code is defined within the specified Lot Group Name.  

cDemandSchedEnabledEV01charOPTOUTPUT

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

Related Functions

B4210000 Sales Order Model Public Functions
B4210900 Sales Order Application Controller
B4210910 Error Handler Utility Functions

Related Tables

None
S421002C_SetPropertiesAndErrors

S421002C_SetPropertiesAndErrors

S421002C Sales Order Detail View Controller

Major Business Rule

Object Name: B4210620

Parent DLL: CSALES

Location: Client/Server

Language: C

Data Structure

D4210620A - S421002C_SalesOrderDetailData

Parameter NameData ItemData TypeReq/OptI/O/Both
szSessionKeySNKYcharOPTNONE

Session Key is the identifier of a Sales Order Session. 

mnLineKeyLNIXMATH_NUMERICOPTNONE

szViewVersionVERcharOPTNONE

Identifies a specific set of data selection and sequencing settings for the application. Versions may be named using any combination of 
alpha and numeric characters. Versions that begin with 'XJDE' or 'ZJDE' are set up by J.D. Edwards.

cLineProcessStatusERRCcharOPTNONE

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

cMoreNewLinesEV01charOPTNONE

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

cGetFirstLineEV01charOPTNONE

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

nViewSelectionRequiredINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

szItemNoUITMcharOPTNONE

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

mnQtyOrderedUORGMATH_NUMERICOPTNONE

The quantity of units affected by this transaction.

jdRequestedDateDRQJJDEDATEOPTNONE

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

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

szLastStatusLTTRcharOPTNONE

A code (system 40/type AT) specifying the last step in the processing cycle that this order line has successfully completed.

szNextStatusNXTRcharOPTNONE

A user defined code (system 40/type AT) indicating the next step in the order flow of the line type.

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

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

mnExtendedPriceAEXPMATH_NUMERICOPTNONE

The number of units multiplied by the unit price.

mnUnitCostUNCSMATH_NUMERICOPTNONE

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

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

mnForeignUnitPriceFUPMATH_NUMERICOPTNONE

The foreign price per unit.

mnForeignExtPriceFEAMATH_NUMERICOPTNONE

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

mnForeignUnitCostFUCMATH_NUMERICOPTNONE

Amount - Foreign Unit Cost

mnForeignExtCostFECMATH_NUMERICOPTNONE

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

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.

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.

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.

mnShortItemNoITMMATH_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

mnItemWeightITWTMATH_NUMERICOPTNONE

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

mnQtyShippedSOQSMATH_NUMERICOPTNONE

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.

mnQtyBackorderedSOBKMATH_NUMERICOPTNONE

The number of units backordered in Sales Order Management or in Work Order Processing, using either the entered or the primary unit of 
measure defined for this item.

mnQtyCanceledSOCNMATH_NUMERICOPTNONE

The number of units canceled in Sales Order or Work Order Processing, using either the entered or the primary unit of measure defined for 
this item. In manufacturing, this can also be the number of units scrapped to date.

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.                         

jdPromisedDatePDDJJDEDATEOPTNONE

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.

szOriginalOrderNoOORNcharOPTNONE

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 

szOriginalOrderKeyCoOKCOcharOPTNONE

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

mnOriginalOrderLineNoOGNOMATH_NUMERICOPTNONE

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

cStockingTypeSTKTcharOPTNONE

A user defined code (41/I) that indicates how you stock an item, for example, as finished goods or as raw materials. The following stocking 
types are hard-coded and you should not change them:    0   Phantom item    B Bulk floor stock    C Configured item    E Emergency/corrective 
maintenance    F Feature    K Kit parent item    N Nonstock  The first character of Description 2 in the user defined code table indicates if the item 
is purchased (P) or manufactured (M).

mnSupplierNoVENDMATH_NUMERICOPTNONE

The address book number of the preferred provider of this item.

szShipToContactAlphaNameALPHcharOPTNONE

The text that names or describes an address. This 40-character alphabetic field appears on a number of forms and reports. You can enter 
dashes, commas, and other special characters, but the system cannot search on them when you use this field to search for a name.

szShipToAttentionSPATTNcharOPTNONE

Attention field for shipping specifications.

mnShipToCusContactLineNumIDSHCCIDLNMATH_NUMERICOPTNONE

Ship To Customer contact line number.

mnAddressNumberDeliveredToDVANMATH_NUMERICOPTNONE

The address number of the person who receives the goods ordered. The delivered to address might differ from the ship to address when 
ordered goods are processed through a distribution center (which is the delivered to address) before reaching their final destination (the ship 
to address).

cBlanketExistsEV02charOPTNONE

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

cSubstituteExistsEV03charOPTNONE

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. 

cAssociationExistsEV04charOPTNONE

PeopleSoft event point processing flag 04.

cReplacementExistsEV05charOPTNONE

A flag that indicates whether automatic spell check is turned on.

cUpsellExistsEV06charOPTNONE

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

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

jdPromisedDlvryDateRSDJJDEDATEOPTNONE

The date an item will be delivered to the customer.

mnProfitMarginPRMGMATH_NUMERICOPTNONE

This value indicates the profit margin percentage for the order detail line. This is calculated by ((Price - Cost) / Price) * 100.

mnDualQuantitySQORMATH_NUMERICOPTNONE

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

szDualUOMUOM2charOPTNONE

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

mnMatrixControlLineNoMCLNMATH_NUMERICOPTNONE

A number that the system uses to group line numbers on a purchase order or sales order for use in a matrix. Although the number is 
generated automatically, you can override it.

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.

szDescription1DSC1charOPTNONE

Brief information about an item; a remark or an explanation.

szPricingUOMUOM4charOPTNONE

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

mnPromisedPickTimePDTTMATH_NUMERICOPTNONE

The time when the order is scheduled to be picked. Enter the time in the 24-hour format and include a leading zero if necessary. For 
example, enter 6:00 a.m. by typing 060000 and enter 7:00 p.m. by typing 190000.

jdPromisedShipPPDJJDEDATEOPTNONE

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

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

jdPriceEffectiveDatePEFJJDEDATEOPTNONE

The system uses the Price Effective Date to determine the base price and all advanced price adjustments.  The value loaded in this date 
is stored in the System Constants File (F4009).

szLandedCostPRP5charOPTNONE

A user defined code (41/P5) that indicates the landed cost rule for an item. The landed cost rule determines purchasing costs that exceed 
the actual price of an item, such as broker fees or commissions. You set up landed cost rules on the Landed Cost Revisions form.

szDescription2DSC2charOPTNONE

A second, 30-character description, remark, or explanation.

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.

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 

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  

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.

cAgreementsExistAGREcharOPTNONE

Multiple Agreements exist for this line.

szAgreementNumberDMCTcharOPTNONE

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.

mnAgreementSupplementDMCSMATH_NUMERICOPTNONE

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.

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.

szDutyStatusDTYScharOPTNONE

A user defined code (system 40, type DS) identifying the duty status of an order line. You should only specify this value for duty reporting. 
The system supplies a default value based on the End Use preference. You can override this value at order entry.

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

szLineofBusinessLOBcharOPTNONE

A user defined code (system 40, type LB) identifying a customer's line of business.

szEndUseEUSEcharOPTNONE

User defined code (system 40, type EU) identifying the end use of an order line and used for duty reporting only. The system supplies a 
default value based on the End Use preference. You may override this value at order entry.

szPriceCode1UPC1charOPTNONE

User defined code (system 40, type P1) you can use to control pricing adjustments. You can associate this code with a preference 
profile. When you specify a price code 1 in the preference, it fills or overrides this field in the sales order detail.

szPriceCode2UPC2charOPTNONE

User defined code (system 40, type P2) you can use to control pricing adjustments. You can associate this code with a preference 
profile. When you specify a price code 2, the system fills this field in the sales order detail.

szPriceCode3UPC3charOPTNONE

User defined code (system 40, type P3) you can use to control pricing adjustments. You can associate this code with a preference 
profile. Price code 3 is not visible on the sales order, but the system includes it in the detail file.

szItemFlashMessageDL01charOPTNONE

A user defined name or remark.

szOrganizationTypeStructurOSTPcharOPTNONE

A user defined code (01/TS) that identifies a type of organizational structure that has its own hierarchy in the Address Book system (for 
example, e-mail). When you create a parent/child relationship for the Accounts Receivable system, the structure type must be blank.

idErrorListHandleGENLNGIDOPTNONE

General purpose ID variable.

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.

cOPBackorderAllowedOPBAcharOPTNONE

An option that specifies, in order promising, whether a line item can be shipped later than the requested date, based on future availability. 
This option works with the Partial Line Shipments option. Valid values are: Y If the Partial Line Shipments value is Y, the quantity that is 
available on the requested date is shipped. The remaining quantity is shipped on the available date. If the Partial Line Shipments value is N, the 
entire quantity is shipped on the date that it becomes available. N The available quantitity on the requested date is shipped.

cOPAllowMultiSourceOPMScharOPTNONE

An option that specifies whether multisourcing is allowed in order promising. Valid values for the sales order header are: Y Allow order 
promising to source different detail lines from different branch/plants. N All line items are sourced from the same branch/plant. Valid values for the 
sales order detail are: Y Allow order promising to source the inventory for this line item from more than one branch/plant. N This line item can be 
sourced from only one branch/plant.

szOPMultiSourceGroupOPMGcharOPTNONE

An option that specifies whether multisourcing is allowed for a line item in order promising. Valid values are: Y Allow order promising to 
source the inventory for this line item from more than one branch/plant. N This line item can be sourced from only one branch/plant. Any other value 
specifies that this line item is part of a sourcing group. All of the line items that belong to the same group are shipped from the same 
branch/plant.

szOPShippingGroupOPSGcharOPTNONE

An option that specifies whether a line item is part of a shipping group in order promising. All of the line items that belong to the same group 
are shipped together on the same date.

cOPPartialLineShipmentAllowedOPLLcharOPTNONE

An option that specifies whether to allow partial shipments in order promising. This option works with the Allow Backorders option. Valid 
values are: Y Split the sales order line item in order promising, deliver part of the requested inventory one day, and deliver the rest on another 
day. N Order promising cannot split the sales order line item.

cOPPromiseLineYNOPYNcharOPTNONE

An option that specifies whether to include a line item with an order promising request.

cOPSubstituteAllowedOPSScharOPTNONE

An option that specifies whether to allow substitution for sales order line items in order promising. Valid values are: Y The product can be 
substituted if it is unavailable. N The product cannot be substituted.

szBuyingSegmentCodeBSCcharOPTNONE

A value that groups customers with similar buying habits.

mnDiscountCashCADCMATH_NUMERICOPTNONE

A discount which is passed forward from the manufacturer or mill to the customer based upon the payment terms of the supplier.  Enter 10 
percent as 10.00.

szSalesReportingCode1SRP1charOPTNONE

One of ten category codes for sales coding purposes. These codes can represent such classifications as color, material content, or use.

szSalesReportingCode2SRP2charOPTNONE

One of ten category codes for sales coding purposes. These codes can represent such classifications as color, material content, or 
use. This field represents one of ten property type categories available for sales purposes.

szSalesReportingCode3SRP3charOPTNONE

One of ten category codes for sales coding purposes. These codes can represent such classifications as color, material content, or use.

szSalesReportingCode4SRP4charOPTNONE

One of ten category codes to be used for sales coding purposes. These codes can represent such classifications as color, material 
content, or use.

szSalesReportingCode5SRP5charOPTNONE

One of ten category codes to be used for sales coding purposes.  These codes can represent such classifications as color, material 
content, or use.

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.

mnCrossDockLineNumberXLLNMATH_NUMERICOPTNONE

The number that identifies a line in a cross dock supply order.

szCrossDockOrderCompanyXKCOcharOPTNONE

A code that identifies the company for a cross dock supply order.

mnCrossDockOrderNumberXORNMATH_NUMERICOPTNONE

The number that identifies a cross dock supply order.

szCrossDockOrderSuffixXSFXcharOPTNONE

The code that indicates the suffix for a cross dock supply order.

szCrossDockOrderTypeXCTOcharOPTNONE

A code that identifies the type of order.

mnCrossDockingPriorityXPTYMATH_NUMERICOPTNONE

The priority that the cross-docking system follows when assigning supply quantity to the sales orders. This priority indicates the sequence 
in which cross-docked sales orders are fulfilled for a given date. Sales order lines with a lower value receive a higher priority than lines with a 
higher value. The system performs only numeric edits on this value. If you do not specify a priority, or if the same priority is given to more 
than one order line, the orders will be fulfilled in the sequence of order number and order type.   

cCrossDockFlagYNXDCKcharOPTNONE

A code that associates items or order lines with cross-dock processing. This code might indicate whether an item or an order line is eligible 
for cross-docking, whether it was cross-docked, or whether it needs to be cross-docked. When it is assigned to an item or item-branch, this 
code indicates that the item or the item in the branch/plant is eligible for cross-docking. When it is assigned to an order line, this code 
indicates that the order line needs to be cross docked. Valid values are: 1 Yes, cross-docking is on 0 (blank) No, cross-docking is off

mnItemVolume_ITVLITVLMATH_NUMERICOPTNONE

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.

szGlClassGLPTcharOPTNONE

A user defined code (41/9) that identifies the G/L offset that system uses when it searches for the account to which it posts the transaction. If 
you do not want to specify a class code, you can enter **** (four asterisks) in this field. You can use automatic accounting instructions (AAIs) to 
predefine classes of automatic offset accounts for the Inventory Management, Procurement, and Sales Order Management systems. You 
might assign G/L class codes as follows:    IN20   Direct Ship Orders    IN60   Transfer Orders    IN80   Stock Sales  The system can generate 
accounting entries based upon a single transaction. For example, a single sale of a stock item can trigger the generation of accounting entries 
similar to the following:         Sales-Stock (Debit) xxxxx.xx     A/R Stock Sales (Credit) xxxxx.xx     Posting Category: IN80             Stock Inventory 
(Debit) xxxxx.xx     Stock COGS (Credit) xxxxx.xx The system uses the class code and the document type to find the AAI.

szPricingCategoryPRGRcharOPTNONE

A user defined code (system 40/type PI) that identifies an inventory price group for an item. Inventory price groups have unique pricing 
structures that direct the system to incorporate discounts or markups on items on sales and purchase orders. The discounts or markups are 
based on the quantity, dollar amount, or weight of the item ordered. When you assign a price group to an item, the item takes on the same pricing 
structure defined for the inventory price group. You must assign an inventory price group to the supplier or customer, as well as to the item, for 
the system to interactively calculate discounts and markups on sales orders and purchase orders.

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.

szPaymentTermsPTCcharOPTNONE

A code that specifies the terms of payment, including the percentage of discount available if the invoice is paid by the discount due date. 
Use a blank code to indicate the most frequently-used payment term. You define each type of payment term on the Payment Terms Revisions 
form. Examples of payment terms include: Blank Net 15 001      1/10 net 30 002      2/10 net 30 003      Due on the 10th day of every month 006     
Due upon receipt  This code prints on customer invoices.

szPortOfEntryExitPOEcharOPTNONE

The port from which or to which the goods were shipped. For VAT reporting, certain countries require information about the port of exit or 
entry. This information is not available in the system at the present time. You specify the port of entry or exit when creating a purchase order by 
using the PO Receipts program (P4312), when creating a sales order by using the Sales Order Entry program (P4210), when confirming 
shipments by using the Shipment Confirmation program (P4205), or by using the Intrastat Revision program (P0018T). Set up valid values in UDC 
40/PE.

cPriorityProcessingPRIOcharOPTNONE

A code that tells the system to handle this customer's orders on a priority basis. Use this value to set up print pick slips so you can choose 
to print them on a priority basis. This code is assigned from the Customer Billing Instructions. In addition, the backorder print report and 
automatic batch release program can be sequenced by this code to release those orders with the highest priority first.

mnProjectNumberPRJMMATH_NUMERICOPTNONE

A number that identifies an EPM project in the system. The project must be set up in the Add/Revise Project program (P31P011).

szPromotionIDPMTNcharOPTNONE

An identification number that tracks revenue, costs, and expenses for each promotion.

szPullSignalPSIGcharOPTNONE

Future use. A code that might represent a DON (Delivery Order Number), RAN (Release Accounting Number), or KANBAN number to 
trigger replenishment of material. Some customers using pull-based manufacturing practices to signal line-side replenishment of material.

szReasonCodeRCDcharOPTNONE

A user defined code (42/RC) that explains the purpose for a transaction. For example, you can indicate the reason that you are returning 
items.

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.

mnRelatedPoSoLineNoRLLNMATH_NUMERICOPTNONE

A number of the detail line on the related order for which the current order was created. For example, on a purchase order created to fill 
open sales orders, this is the line number of the sales order on which the item you are ordering appears.

szCompanyKeyRelatedRKCOcharOPTNONE

The key company that is associated with the document number of the related order.

szRelatedPoSoNumberRORNcharOPTNONE

A number that identifies a secondary purchase order, sales order, or work order that is associated with the original order. This number is for 
informational purposes only.

szRelatedOrderTypeRCTOcharOPTNONE

A user defined code (system 00, type DT) that indicates the document type of the secondary or related order. For example, a purchase 
order might be document type OP and might have been created to fill a related work order with document type WO.

jdDateReleaseRLDJJDEDATEOPTNONE

A date that is received from a customer and used by the system in conjunction with the release time to identify a release.

szReleaseNumberRLNUcharOPTNONE

A number that identifies the release for an individual customer.

mnTimeReleaseRLTMMATH_NUMERICOPTNONE

A time that is received from the customer. The system uses the release time with the release date to identify a release.

szRouteCodeROUTcharOPTNONE

The route field is a user defined code (system 42, type RT) that represents the delivery route on which the customer resides. This field is 
one of several factors used by the freight summary facility to calculate potential freight charges for an order. For picking, use the route code with 
the stop and zone codes to group all of the items that are to be loaded onto a delivery vehicle for a specific route. You set up a default for 
each of these fields on the Customer Billing Instruction form.

szShippingCommodityClassSHCMcharOPTNONE

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.

szShippingConditionsCodeSHCNcharOPTNONE

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.

mnSoldToCustAN8MATH_NUMERICOPTNONE

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

szStopCodeSTOPcharOPTNONE

The stop code is a user defined code (system 42, type SP) that represents the stop on a delivery route. This field is one of several factors 
used by the freight summary facility to calculate potential freight charges for an order. For picking, you can use the stop code with the route and 
zone codes to group all items that are to be loaded onto a delivery vehicle for a specific route. You set up the default for each of these fields 
on the Customer Billing Instructions form.

szSubledgerSBLcharOPTNONE

A code that identifies a detailed, auxiliary account within a general ledger account. A subledger can be an equipment item number or an 
address book number. If you enter a subledger, you must also specify the subledger type.

cSubledgerTypeSBLTcharOPTNONE

A user defined code (00/ST) that is used with the Subledger field to identify the subledger type and how the system performs subledger 
editing. On the User Defined Codes form, the second line of the description controls how the system performs editing. This is either hard-coded 
or user defined. Valid values include: A Alphanumeric field, do not edit   N Numeric field, right justify and zero fill   C Alphanumeric field, right 
justify and blank fill  

szTaxExplanationCodeEXR1charOPTNONE

A hard-coded user defined code (00/EX) that controls the algorithm that the system uses to calculate tax and G/L distribution amounts. The 
system uses the tax explanation code in conjunction with the tax rate area and tax rules to determine how the tax is calculated. Each 
transaction pay item can be defined with a different tax explanation code.

szTaxAreaTXA1charOPTNONE

A code that identifies a tax or geographic area that has common tax rates and tax authorities. The system validates the code you enter 
against the Tax Areas table (F4008). The system uses the tax rate area in conjunction with the tax explanation code and tax rules to calculate tax 
and G/L distribution amounts when you create an invoice or voucher.

szVolumeUOM_VLUMVLUMcharOPTNONE

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 

szZoneNumberZONcharOPTNONE

The zone field is a user defined code (system 40, type ZN) that represents the delivery area in which the customer resides. This field is one 
of several factors used by freight summary facility to calculate potential freight charges for an order. For picking you can use the zone code 
with the route and stop codes to group all item that are to be loaded onto a delivery vehicle for a specific route. You set up the default for each 
of these fields on the Customer Billing Instructions form.

mnUniqueKeyIDInternal_2UKIDMATH_NUMERICOPTNONE

This field is a unique number used to identify a record in a file.

szCatalogNameCATNMcharOPTNONE

This field contains the name of a Product Catalog.

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.

mnRevisionNumberCORDMATH_NUMERICOPTNONE

The number of times this purchase order has been modified. You can locate a specific change order number to review the fields that were 
modified.

szRevisionReasonRFRVcharOPTNONE

A user defined code (42/RR) that indicates why a sales order was revised.

nSalesOrderActionINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

nAttributeINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

mnPartnerAddressNumberPRAN8MATH_NUMERICOPTNONE

The address number (F0101) of the partner associated with the lead.

mnPartnerContactLineNumIDPRCIDLNMATH_NUMERICOPTNONE

The line number identifier from the Who's Who (F0111) representative of Contacts for a Partner.

szPurchaseOrderCurrencyCodeCRDCcharOPTNONE

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

mnPurchaseOrderExchangeRateCRRMATH_NUMERICOPTNONE

A number (exchange rate) that a foreign currency amount is multiplied by to calculate a domestic currency amount.  The number in this field 
can have a maximum of seven decimal positions. If more are entered, the system adjusts to the nearest seven decimal positions. 

szPurchaseOrderUnitOfMeasureUOM3charOPTNONE

A code (table 00/UM) that identifies the unit of measure in which you usually purchase the item.

mnPurchaseOrderUnitCostUNCSMATH_NUMERICOPTNONE

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

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

cStatusInWarehouseSWMScharOPTNONE

This flag can contain the following values:    blank Sales Order line which has not entered warehousing.    I Sales Order line inside the 
warehousing system.  These lines cannot be modified.    O Sales Order line which entered and exited the warehousing system.

cPendingOrderExistEV01charOPTNONE

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

mnDemandUniqueKeyDEIDMATH_NUMERICOPTNONE

A system-generated number that identifies a demand record.

Related Functions

B4210000 Sales Order Model Public Functions
B4210900 Sales Order Application Controller
B4210910 Error Handler Utility Functions

Related Tables

None
S421002C_SetSOLineErrors

S421002C_SetSOLineErrors

S421002C Sales Order Detail View Controller

Major Business Rule

Object Name: B4210620

Parent DLL: CSALES

Location: Client/Server

Language: C

Data Structure

D4210620A - S421002C_SalesOrderDetailData

Parameter NameData ItemData TypeReq/OptI/O/Both
szSessionKeySNKYcharOPTNONE

Session Key is the identifier of a Sales Order Session. 

mnLineKeyLNIXMATH_NUMERICOPTNONE

szViewVersionVERcharOPTNONE

Identifies a specific set of data selection and sequencing settings for the application. Versions may be named using any combination of 
alpha and numeric characters. Versions that begin with 'XJDE' or 'ZJDE' are set up by J.D. Edwards.

cLineProcessStatusERRCcharOPTNONE

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

cMoreNewLinesEV01charOPTNONE

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

cGetFirstLineEV01charOPTNONE

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

nViewSelectionRequiredINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

szItemNoUITMcharOPTNONE

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

mnQtyOrderedUORGMATH_NUMERICOPTNONE

The quantity of units affected by this transaction.

jdRequestedDateDRQJJDEDATEOPTNONE

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

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

szLastStatusLTTRcharOPTNONE

A code (system 40/type AT) specifying the last step in the processing cycle that this order line has successfully completed.

szNextStatusNXTRcharOPTNONE

A user defined code (system 40/type AT) indicating the next step in the order flow of the line type.

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

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

mnExtendedPriceAEXPMATH_NUMERICOPTNONE

The number of units multiplied by the unit price.

mnUnitCostUNCSMATH_NUMERICOPTNONE

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

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

mnForeignUnitPriceFUPMATH_NUMERICOPTNONE

The foreign price per unit.

mnForeignExtPriceFEAMATH_NUMERICOPTNONE

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

mnForeignUnitCostFUCMATH_NUMERICOPTNONE

Amount - Foreign Unit Cost

mnForeignExtCostFECMATH_NUMERICOPTNONE

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

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.

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.

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.

mnShortItemNoITMMATH_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

mnItemWeightITWTMATH_NUMERICOPTNONE

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

mnQtyShippedSOQSMATH_NUMERICOPTNONE

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.

mnQtyBackorderedSOBKMATH_NUMERICOPTNONE

The number of units backordered in Sales Order Management or in Work Order Processing, using either the entered or the primary unit of 
measure defined for this item.

mnQtyCanceledSOCNMATH_NUMERICOPTNONE

The number of units canceled in Sales Order or Work Order Processing, using either the entered or the primary unit of measure defined for 
this item. In manufacturing, this can also be the number of units scrapped to date.

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.                         

jdPromisedDatePDDJJDEDATEOPTNONE

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.

szOriginalOrderNoOORNcharOPTNONE

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 

szOriginalOrderKeyCoOKCOcharOPTNONE

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

mnOriginalOrderLineNoOGNOMATH_NUMERICOPTNONE

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

cStockingTypeSTKTcharOPTNONE

A user defined code (41/I) that indicates how you stock an item, for example, as finished goods or as raw materials. The following stocking 
types are hard-coded and you should not change them:    0   Phantom item    B Bulk floor stock    C Configured item    E Emergency/corrective 
maintenance    F Feature    K Kit parent item    N Nonstock  The first character of Description 2 in the user defined code table indicates if the item 
is purchased (P) or manufactured (M).

mnSupplierNoVENDMATH_NUMERICOPTNONE

The address book number of the preferred provider of this item.

szShipToContactAlphaNameALPHcharOPTNONE

The text that names or describes an address. This 40-character alphabetic field appears on a number of forms and reports. You can enter 
dashes, commas, and other special characters, but the system cannot search on them when you use this field to search for a name.

szShipToAttentionSPATTNcharOPTNONE

Attention field for shipping specifications.

mnShipToCusContactLineNumIDSHCCIDLNMATH_NUMERICOPTNONE

Ship To Customer contact line number.

mnAddressNumberDeliveredToDVANMATH_NUMERICOPTNONE

The address number of the person who receives the goods ordered. The delivered to address might differ from the ship to address when 
ordered goods are processed through a distribution center (which is the delivered to address) before reaching their final destination (the ship 
to address).

cBlanketExistsEV02charOPTNONE

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

cSubstituteExistsEV03charOPTNONE

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. 

cAssociationExistsEV04charOPTNONE

PeopleSoft event point processing flag 04.

cReplacementExistsEV05charOPTNONE

A flag that indicates whether automatic spell check is turned on.

cUpsellExistsEV06charOPTNONE

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

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

jdPromisedDlvryDateRSDJJDEDATEOPTNONE

The date an item will be delivered to the customer.

mnProfitMarginPRMGMATH_NUMERICOPTNONE

This value indicates the profit margin percentage for the order detail line. This is calculated by ((Price - Cost) / Price) * 100.

mnDualQuantitySQORMATH_NUMERICOPTNONE

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

szDualUOMUOM2charOPTNONE

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

mnMatrixControlLineNoMCLNMATH_NUMERICOPTNONE

A number that the system uses to group line numbers on a purchase order or sales order for use in a matrix. Although the number is 
generated automatically, you can override it.

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.

szDescription1DSC1charOPTNONE

Brief information about an item; a remark or an explanation.

szPricingUOMUOM4charOPTNONE

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

mnPromisedPickTimePDTTMATH_NUMERICOPTNONE

The time when the order is scheduled to be picked. Enter the time in the 24-hour format and include a leading zero if necessary. For 
example, enter 6:00 a.m. by typing 060000 and enter 7:00 p.m. by typing 190000.

jdPromisedShipPPDJJDEDATEOPTNONE

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

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

jdPriceEffectiveDatePEFJJDEDATEOPTNONE

The system uses the Price Effective Date to determine the base price and all advanced price adjustments.  The value loaded in this date 
is stored in the System Constants File (F4009).

szLandedCostPRP5charOPTNONE

A user defined code (41/P5) that indicates the landed cost rule for an item. The landed cost rule determines purchasing costs that exceed 
the actual price of an item, such as broker fees or commissions. You set up landed cost rules on the Landed Cost Revisions form.

szDescription2DSC2charOPTNONE

A second, 30-character description, remark, or explanation.

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.

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 

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  

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.

cAgreementsExistAGREcharOPTNONE

Multiple Agreements exist for this line.

szAgreementNumberDMCTcharOPTNONE

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.

mnAgreementSupplementDMCSMATH_NUMERICOPTNONE

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.

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.

szDutyStatusDTYScharOPTNONE

A user defined code (system 40, type DS) identifying the duty status of an order line. You should only specify this value for duty reporting. 
The system supplies a default value based on the End Use preference. You can override this value at order entry.

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

szLineofBusinessLOBcharOPTNONE

A user defined code (system 40, type LB) identifying a customer's line of business.

szEndUseEUSEcharOPTNONE

User defined code (system 40, type EU) identifying the end use of an order line and used for duty reporting only. The system supplies a 
default value based on the End Use preference. You may override this value at order entry.

szPriceCode1UPC1charOPTNONE

User defined code (system 40, type P1) you can use to control pricing adjustments. You can associate this code with a preference 
profile. When you specify a price code 1 in the preference, it fills or overrides this field in the sales order detail.

szPriceCode2UPC2charOPTNONE

User defined code (system 40, type P2) you can use to control pricing adjustments. You can associate this code with a preference 
profile. When you specify a price code 2, the system fills this field in the sales order detail.

szPriceCode3UPC3charOPTNONE

User defined code (system 40, type P3) you can use to control pricing adjustments. You can associate this code with a preference 
profile. Price code 3 is not visible on the sales order, but the system includes it in the detail file.

szItemFlashMessageDL01charOPTNONE

A user defined name or remark.

szOrganizationTypeStructurOSTPcharOPTNONE

A user defined code (01/TS) that identifies a type of organizational structure that has its own hierarchy in the Address Book system (for 
example, e-mail). When you create a parent/child relationship for the Accounts Receivable system, the structure type must be blank.

idErrorListHandleGENLNGIDOPTNONE

General purpose ID variable.

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.

cOPBackorderAllowedOPBAcharOPTNONE

An option that specifies, in order promising, whether a line item can be shipped later than the requested date, based on future availability. 
This option works with the Partial Line Shipments option. Valid values are: Y If the Partial Line Shipments value is Y, the quantity that is 
available on the requested date is shipped. The remaining quantity is shipped on the available date. If the Partial Line Shipments value is N, the 
entire quantity is shipped on the date that it becomes available. N The available quantitity on the requested date is shipped.

cOPAllowMultiSourceOPMScharOPTNONE

An option that specifies whether multisourcing is allowed in order promising. Valid values for the sales order header are: Y Allow order 
promising to source different detail lines from different branch/plants. N All line items are sourced from the same branch/plant. Valid values for the 
sales order detail are: Y Allow order promising to source the inventory for this line item from more than one branch/plant. N This line item can be 
sourced from only one branch/plant.

szOPMultiSourceGroupOPMGcharOPTNONE

An option that specifies whether multisourcing is allowed for a line item in order promising. Valid values are: Y Allow order promising to 
source the inventory for this line item from more than one branch/plant. N This line item can be sourced from only one branch/plant. Any other value 
specifies that this line item is part of a sourcing group. All of the line items that belong to the same group are shipped from the same 
branch/plant.

szOPShippingGroupOPSGcharOPTNONE

An option that specifies whether a line item is part of a shipping group in order promising. All of the line items that belong to the same group 
are shipped together on the same date.

cOPPartialLineShipmentAllowedOPLLcharOPTNONE

An option that specifies whether to allow partial shipments in order promising. This option works with the Allow Backorders option. Valid 
values are: Y Split the sales order line item in order promising, deliver part of the requested inventory one day, and deliver the rest on another 
day. N Order promising cannot split the sales order line item.

cOPPromiseLineYNOPYNcharOPTNONE

An option that specifies whether to include a line item with an order promising request.

cOPSubstituteAllowedOPSScharOPTNONE

An option that specifies whether to allow substitution for sales order line items in order promising. Valid values are: Y The product can be 
substituted if it is unavailable. N The product cannot be substituted.

szBuyingSegmentCodeBSCcharOPTNONE

A value that groups customers with similar buying habits.

mnDiscountCashCADCMATH_NUMERICOPTNONE

A discount which is passed forward from the manufacturer or mill to the customer based upon the payment terms of the supplier.  Enter 10 
percent as 10.00.

szSalesReportingCode1SRP1charOPTNONE

One of ten category codes for sales coding purposes. These codes can represent such classifications as color, material content, or use.

szSalesReportingCode2SRP2charOPTNONE

One of ten category codes for sales coding purposes. These codes can represent such classifications as color, material content, or 
use. This field represents one of ten property type categories available for sales purposes.

szSalesReportingCode3SRP3charOPTNONE

One of ten category codes for sales coding purposes. These codes can represent such classifications as color, material content, or use.

szSalesReportingCode4SRP4charOPTNONE

One of ten category codes to be used for sales coding purposes. These codes can represent such classifications as color, material 
content, or use.

szSalesReportingCode5SRP5charOPTNONE

One of ten category codes to be used for sales coding purposes.  These codes can represent such classifications as color, material 
content, or use.

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.

mnCrossDockLineNumberXLLNMATH_NUMERICOPTNONE

The number that identifies a line in a cross dock supply order.

szCrossDockOrderCompanyXKCOcharOPTNONE

A code that identifies the company for a cross dock supply order.

mnCrossDockOrderNumberXORNMATH_NUMERICOPTNONE

The number that identifies a cross dock supply order.

szCrossDockOrderSuffixXSFXcharOPTNONE

The code that indicates the suffix for a cross dock supply order.

szCrossDockOrderTypeXCTOcharOPTNONE

A code that identifies the type of order.

mnCrossDockingPriorityXPTYMATH_NUMERICOPTNONE

The priority that the cross-docking system follows when assigning supply quantity to the sales orders. This priority indicates the sequence 
in which cross-docked sales orders are fulfilled for a given date. Sales order lines with a lower value receive a higher priority than lines with a 
higher value. The system performs only numeric edits on this value. If you do not specify a priority, or if the same priority is given to more 
than one order line, the orders will be fulfilled in the sequence of order number and order type.   

cCrossDockFlagYNXDCKcharOPTNONE

A code that associates items or order lines with cross-dock processing. This code might indicate whether an item or an order line is eligible 
for cross-docking, whether it was cross-docked, or whether it needs to be cross-docked. When it is assigned to an item or item-branch, this 
code indicates that the item or the item in the branch/plant is eligible for cross-docking. When it is assigned to an order line, this code 
indicates that the order line needs to be cross docked. Valid values are: 1 Yes, cross-docking is on 0 (blank) No, cross-docking is off

mnItemVolume_ITVLITVLMATH_NUMERICOPTNONE

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.

szGlClassGLPTcharOPTNONE

A user defined code (41/9) that identifies the G/L offset that system uses when it searches for the account to which it posts the transaction. If 
you do not want to specify a class code, you can enter **** (four asterisks) in this field. You can use automatic accounting instructions (AAIs) to 
predefine classes of automatic offset accounts for the Inventory Management, Procurement, and Sales Order Management systems. You 
might assign G/L class codes as follows:    IN20   Direct Ship Orders    IN60   Transfer Orders    IN80   Stock Sales  The system can generate 
accounting entries based upon a single transaction. For example, a single sale of a stock item can trigger the generation of accounting entries 
similar to the following:         Sales-Stock (Debit) xxxxx.xx     A/R Stock Sales (Credit) xxxxx.xx     Posting Category: IN80             Stock Inventory 
(Debit) xxxxx.xx     Stock COGS (Credit) xxxxx.xx The system uses the class code and the document type to find the AAI.

szPricingCategoryPRGRcharOPTNONE

A user defined code (system 40/type PI) that identifies an inventory price group for an item. Inventory price groups have unique pricing 
structures that direct the system to incorporate discounts or markups on items on sales and purchase orders. The discounts or markups are 
based on the quantity, dollar amount, or weight of the item ordered. When you assign a price group to an item, the item takes on the same pricing 
structure defined for the inventory price group. You must assign an inventory price group to the supplier or customer, as well as to the item, for 
the system to interactively calculate discounts and markups on sales orders and purchase orders.

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.

szPaymentTermsPTCcharOPTNONE

A code that specifies the terms of payment, including the percentage of discount available if the invoice is paid by the discount due date. 
Use a blank code to indicate the most frequently-used payment term. You define each type of payment term on the Payment Terms Revisions 
form. Examples of payment terms include: Blank Net 15 001      1/10 net 30 002      2/10 net 30 003      Due on the 10th day of every month 006     
Due upon receipt  This code prints on customer invoices.

szPortOfEntryExitPOEcharOPTNONE

The port from which or to which the goods were shipped. For VAT reporting, certain countries require information about the port of exit or 
entry. This information is not available in the system at the present time. You specify the port of entry or exit when creating a purchase order by 
using the PO Receipts program (P4312), when creating a sales order by using the Sales Order Entry program (P4210), when confirming 
shipments by using the Shipment Confirmation program (P4205), or by using the Intrastat Revision program (P0018T). Set up valid values in UDC 
40/PE.

cPriorityProcessingPRIOcharOPTNONE

A code that tells the system to handle this customer's orders on a priority basis. Use this value to set up print pick slips so you can choose 
to print them on a priority basis. This code is assigned from the Customer Billing Instructions. In addition, the backorder print report and 
automatic batch release program can be sequenced by this code to release those orders with the highest priority first.

mnProjectNumberPRJMMATH_NUMERICOPTNONE

A number that identifies an EPM project in the system. The project must be set up in the Add/Revise Project program (P31P011).

szPromotionIDPMTNcharOPTNONE

An identification number that tracks revenue, costs, and expenses for each promotion.

szPullSignalPSIGcharOPTNONE

Future use. A code that might represent a DON (Delivery Order Number), RAN (Release Accounting Number), or KANBAN number to 
trigger replenishment of material. Some customers using pull-based manufacturing practices to signal line-side replenishment of material.

szReasonCodeRCDcharOPTNONE

A user defined code (42/RC) that explains the purpose for a transaction. For example, you can indicate the reason that you are returning 
items.

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.

mnRelatedPoSoLineNoRLLNMATH_NUMERICOPTNONE

A number of the detail line on the related order for which the current order was created. For example, on a purchase order created to fill 
open sales orders, this is the line number of the sales order on which the item you are ordering appears.

szCompanyKeyRelatedRKCOcharOPTNONE

The key company that is associated with the document number of the related order.

szRelatedPoSoNumberRORNcharOPTNONE

A number that identifies a secondary purchase order, sales order, or work order that is associated with the original order. This number is for 
informational purposes only.

szRelatedOrderTypeRCTOcharOPTNONE

A user defined code (system 00, type DT) that indicates the document type of the secondary or related order. For example, a purchase 
order might be document type OP and might have been created to fill a related work order with document type WO.

jdDateReleaseRLDJJDEDATEOPTNONE

A date that is received from a customer and used by the system in conjunction with the release time to identify a release.

szReleaseNumberRLNUcharOPTNONE

A number that identifies the release for an individual customer.

mnTimeReleaseRLTMMATH_NUMERICOPTNONE

A time that is received from the customer. The system uses the release time with the release date to identify a release.

szRouteCodeROUTcharOPTNONE

The route field is a user defined code (system 42, type RT) that represents the delivery route on which the customer resides. This field is 
one of several factors used by the freight summary facility to calculate potential freight charges for an order. For picking, use the route code with 
the stop and zone codes to group all of the items that are to be loaded onto a delivery vehicle for a specific route. You set up a default for 
each of these fields on the Customer Billing Instruction form.

szShippingCommodityClassSHCMcharOPTNONE

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.

szShippingConditionsCodeSHCNcharOPTNONE

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.

mnSoldToCustAN8MATH_NUMERICOPTNONE

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

szStopCodeSTOPcharOPTNONE

The stop code is a user defined code (system 42, type SP) that represents the stop on a delivery route. This field is one of several factors 
used by the freight summary facility to calculate potential freight charges for an order. For picking, you can use the stop code with the route and 
zone codes to group all items that are to be loaded onto a delivery vehicle for a specific route. You set up the default for each of these fields 
on the Customer Billing Instructions form.

szSubledgerSBLcharOPTNONE

A code that identifies a detailed, auxiliary account within a general ledger account. A subledger can be an equipment item number or an 
address book number. If you enter a subledger, you must also specify the subledger type.

cSubledgerTypeSBLTcharOPTNONE

A user defined code (00/ST) that is used with the Subledger field to identify the subledger type and how the system performs subledger 
editing. On the User Defined Codes form, the second line of the description controls how the system performs editing. This is either hard-coded 
or user defined. Valid values include: A Alphanumeric field, do not edit   N Numeric field, right justify and zero fill   C Alphanumeric field, right 
justify and blank fill  

szTaxExplanationCodeEXR1charOPTNONE

A hard-coded user defined code (00/EX) that controls the algorithm that the system uses to calculate tax and G/L distribution amounts. The 
system uses the tax explanation code in conjunction with the tax rate area and tax rules to determine how the tax is calculated. Each 
transaction pay item can be defined with a different tax explanation code.

szTaxAreaTXA1charOPTNONE

A code that identifies a tax or geographic area that has common tax rates and tax authorities. The system validates the code you enter 
against the Tax Areas table (F4008). The system uses the tax rate area in conjunction with the tax explanation code and tax rules to calculate tax 
and G/L distribution amounts when you create an invoice or voucher.

szVolumeUOM_VLUMVLUMcharOPTNONE

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 

szZoneNumberZONcharOPTNONE

The zone field is a user defined code (system 40, type ZN) that represents the delivery area in which the customer resides. This field is one 
of several factors used by freight summary facility to calculate potential freight charges for an order. For picking you can use the zone code 
with the route and stop codes to group all item that are to be loaded onto a delivery vehicle for a specific route. You set up the default for each 
of these fields on the Customer Billing Instructions form.

mnUniqueKeyIDInternal_2UKIDMATH_NUMERICOPTNONE

This field is a unique number used to identify a record in a file.

szCatalogNameCATNMcharOPTNONE

This field contains the name of a Product Catalog.

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.

mnRevisionNumberCORDMATH_NUMERICOPTNONE

The number of times this purchase order has been modified. You can locate a specific change order number to review the fields that were 
modified.

szRevisionReasonRFRVcharOPTNONE

A user defined code (42/RR) that indicates why a sales order was revised.

nSalesOrderActionINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

nAttributeINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

mnPartnerAddressNumberPRAN8MATH_NUMERICOPTNONE

The address number (F0101) of the partner associated with the lead.

mnPartnerContactLineNumIDPRCIDLNMATH_NUMERICOPTNONE

The line number identifier from the Who's Who (F0111) representative of Contacts for a Partner.

szPurchaseOrderCurrencyCodeCRDCcharOPTNONE

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

mnPurchaseOrderExchangeRateCRRMATH_NUMERICOPTNONE

A number (exchange rate) that a foreign currency amount is multiplied by to calculate a domestic currency amount.  The number in this field 
can have a maximum of seven decimal positions. If more are entered, the system adjusts to the nearest seven decimal positions. 

szPurchaseOrderUnitOfMeasureUOM3charOPTNONE

A code (table 00/UM) that identifies the unit of measure in which you usually purchase the item.

mnPurchaseOrderUnitCostUNCSMATH_NUMERICOPTNONE

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

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

cStatusInWarehouseSWMScharOPTNONE

This flag can contain the following values:    blank Sales Order line which has not entered warehousing.    I Sales Order line inside the 
warehousing system.  These lines cannot be modified.    O Sales Order line which entered and exited the warehousing system.

cPendingOrderExistEV01charOPTNONE

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

mnDemandUniqueKeyDEIDMATH_NUMERICOPTNONE

A system-generated number that identifies a demand record.

Related Functions

B4210000 Sales Order Model Public Functions
B4210900 Sales Order Application Controller
B4210910 Error Handler Utility Functions

Related Tables

None
S421002C_SOLineViewController

S421002C_SOLineViewController

S421002C Sales Order Detail View Controller

Major Business Rule

Object Name: B4210620

Parent DLL: CSALES

Location: Client/Server

Language: C

Data Structure

D4210620A - S421002C_SalesOrderDetailData

Parameter NameData ItemData TypeReq/OptI/O/Both
szSessionKeySNKYcharOPTNONE

Session Key is the identifier of a Sales Order Session. 

mnLineKeyLNIXMATH_NUMERICOPTNONE

szViewVersionVERcharOPTNONE

Identifies a specific set of data selection and sequencing settings for the application. Versions may be named using any combination of 
alpha and numeric characters. Versions that begin with 'XJDE' or 'ZJDE' are set up by J.D. Edwards.

cLineProcessStatusERRCcharOPTNONE

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

cMoreNewLinesEV01charOPTNONE

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

cGetFirstLineEV01charOPTNONE

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

nViewSelectionRequiredINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

szItemNoUITMcharOPTNONE

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

mnQtyOrderedUORGMATH_NUMERICOPTNONE

The quantity of units affected by this transaction.

jdRequestedDateDRQJJDEDATEOPTNONE

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

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

szLastStatusLTTRcharOPTNONE

A code (system 40/type AT) specifying the last step in the processing cycle that this order line has successfully completed.

szNextStatusNXTRcharOPTNONE

A user defined code (system 40/type AT) indicating the next step in the order flow of the line type.

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

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

mnExtendedPriceAEXPMATH_NUMERICOPTNONE

The number of units multiplied by the unit price.

mnUnitCostUNCSMATH_NUMERICOPTNONE

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

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

mnForeignUnitPriceFUPMATH_NUMERICOPTNONE

The foreign price per unit.

mnForeignExtPriceFEAMATH_NUMERICOPTNONE

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

mnForeignUnitCostFUCMATH_NUMERICOPTNONE

Amount - Foreign Unit Cost

mnForeignExtCostFECMATH_NUMERICOPTNONE

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

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.

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.

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.

mnShortItemNoITMMATH_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

mnItemWeightITWTMATH_NUMERICOPTNONE

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

mnQtyShippedSOQSMATH_NUMERICOPTNONE

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.

mnQtyBackorderedSOBKMATH_NUMERICOPTNONE

The number of units backordered in Sales Order Management or in Work Order Processing, using either the entered or the primary unit of 
measure defined for this item.

mnQtyCanceledSOCNMATH_NUMERICOPTNONE

The number of units canceled in Sales Order or Work Order Processing, using either the entered or the primary unit of measure defined for 
this item. In manufacturing, this can also be the number of units scrapped to date.

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.                         

jdPromisedDatePDDJJDEDATEOPTNONE

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.

szOriginalOrderNoOORNcharOPTNONE

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 

szOriginalOrderKeyCoOKCOcharOPTNONE

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

mnOriginalOrderLineNoOGNOMATH_NUMERICOPTNONE

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

cStockingTypeSTKTcharOPTNONE

A user defined code (41/I) that indicates how you stock an item, for example, as finished goods or as raw materials. The following stocking 
types are hard-coded and you should not change them:    0   Phantom item    B Bulk floor stock    C Configured item    E Emergency/corrective 
maintenance    F Feature    K Kit parent item    N Nonstock  The first character of Description 2 in the user defined code table indicates if the item 
is purchased (P) or manufactured (M).

mnSupplierNoVENDMATH_NUMERICOPTNONE

The address book number of the preferred provider of this item.

szShipToContactAlphaNameALPHcharOPTNONE

The text that names or describes an address. This 40-character alphabetic field appears on a number of forms and reports. You can enter 
dashes, commas, and other special characters, but the system cannot search on them when you use this field to search for a name.

szShipToAttentionSPATTNcharOPTNONE

Attention field for shipping specifications.

mnShipToCusContactLineNumIDSHCCIDLNMATH_NUMERICOPTNONE

Ship To Customer contact line number.

mnAddressNumberDeliveredToDVANMATH_NUMERICOPTNONE

The address number of the person who receives the goods ordered. The delivered to address might differ from the ship to address when 
ordered goods are processed through a distribution center (which is the delivered to address) before reaching their final destination (the ship 
to address).

cBlanketExistsEV02charOPTNONE

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

cSubstituteExistsEV03charOPTNONE

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. 

cAssociationExistsEV04charOPTNONE

PeopleSoft event point processing flag 04.

cReplacementExistsEV05charOPTNONE

A flag that indicates whether automatic spell check is turned on.

cUpsellExistsEV06charOPTNONE

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

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

jdPromisedDlvryDateRSDJJDEDATEOPTNONE

The date an item will be delivered to the customer.

mnProfitMarginPRMGMATH_NUMERICOPTNONE

This value indicates the profit margin percentage for the order detail line. This is calculated by ((Price - Cost) / Price) * 100.

mnDualQuantitySQORMATH_NUMERICOPTNONE

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

szDualUOMUOM2charOPTNONE

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

mnMatrixControlLineNoMCLNMATH_NUMERICOPTNONE

A number that the system uses to group line numbers on a purchase order or sales order for use in a matrix. Although the number is 
generated automatically, you can override it.

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.

szDescription1DSC1charOPTNONE

Brief information about an item; a remark or an explanation.

szPricingUOMUOM4charOPTNONE

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

mnPromisedPickTimePDTTMATH_NUMERICOPTNONE

The time when the order is scheduled to be picked. Enter the time in the 24-hour format and include a leading zero if necessary. For 
example, enter 6:00 a.m. by typing 060000 and enter 7:00 p.m. by typing 190000.

jdPromisedShipPPDJJDEDATEOPTNONE

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

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

jdPriceEffectiveDatePEFJJDEDATEOPTNONE

The system uses the Price Effective Date to determine the base price and all advanced price adjustments.  The value loaded in this date 
is stored in the System Constants File (F4009).

szLandedCostPRP5charOPTNONE

A user defined code (41/P5) that indicates the landed cost rule for an item. The landed cost rule determines purchasing costs that exceed 
the actual price of an item, such as broker fees or commissions. You set up landed cost rules on the Landed Cost Revisions form.

szDescription2DSC2charOPTNONE

A second, 30-character description, remark, or explanation.

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.

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 

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  

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.

cAgreementsExistAGREcharOPTNONE

Multiple Agreements exist for this line.

szAgreementNumberDMCTcharOPTNONE

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.

mnAgreementSupplementDMCSMATH_NUMERICOPTNONE

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.

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.

szDutyStatusDTYScharOPTNONE

A user defined code (system 40, type DS) identifying the duty status of an order line. You should only specify this value for duty reporting. 
The system supplies a default value based on the End Use preference. You can override this value at order entry.

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

szLineofBusinessLOBcharOPTNONE

A user defined code (system 40, type LB) identifying a customer's line of business.

szEndUseEUSEcharOPTNONE

User defined code (system 40, type EU) identifying the end use of an order line and used for duty reporting only. The system supplies a 
default value based on the End Use preference. You may override this value at order entry.

szPriceCode1UPC1charOPTNONE

User defined code (system 40, type P1) you can use to control pricing adjustments. You can associate this code with a preference 
profile. When you specify a price code 1 in the preference, it fills or overrides this field in the sales order detail.

szPriceCode2UPC2charOPTNONE

User defined code (system 40, type P2) you can use to control pricing adjustments. You can associate this code with a preference 
profile. When you specify a price code 2, the system fills this field in the sales order detail.

szPriceCode3UPC3charOPTNONE

User defined code (system 40, type P3) you can use to control pricing adjustments. You can associate this code with a preference 
profile. Price code 3 is not visible on the sales order, but the system includes it in the detail file.

szItemFlashMessageDL01charOPTNONE

A user defined name or remark.

szOrganizationTypeStructurOSTPcharOPTNONE

A user defined code (01/TS) that identifies a type of organizational structure that has its own hierarchy in the Address Book system (for 
example, e-mail). When you create a parent/child relationship for the Accounts Receivable system, the structure type must be blank.

idErrorListHandleGENLNGIDOPTNONE

General purpose ID variable.

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.

cOPBackorderAllowedOPBAcharOPTNONE

An option that specifies, in order promising, whether a line item can be shipped later than the requested date, based on future availability. 
This option works with the Partial Line Shipments option. Valid values are: Y If the Partial Line Shipments value is Y, the quantity that is 
available on the requested date is shipped. The remaining quantity is shipped on the available date. If the Partial Line Shipments value is N, the 
entire quantity is shipped on the date that it becomes available. N The available quantitity on the requested date is shipped.

cOPAllowMultiSourceOPMScharOPTNONE

An option that specifies whether multisourcing is allowed in order promising. Valid values for the sales order header are: Y Allow order 
promising to source different detail lines from different branch/plants. N All line items are sourced from the same branch/plant. Valid values for the 
sales order detail are: Y Allow order promising to source the inventory for this line item from more than one branch/plant. N This line item can be 
sourced from only one branch/plant.

szOPMultiSourceGroupOPMGcharOPTNONE

An option that specifies whether multisourcing is allowed for a line item in order promising. Valid values are: Y Allow order promising to 
source the inventory for this line item from more than one branch/plant. N This line item can be sourced from only one branch/plant. Any other value 
specifies that this line item is part of a sourcing group. All of the line items that belong to the same group are shipped from the same 
branch/plant.

szOPShippingGroupOPSGcharOPTNONE

An option that specifies whether a line item is part of a shipping group in order promising. All of the line items that belong to the same group 
are shipped together on the same date.

cOPPartialLineShipmentAllowedOPLLcharOPTNONE

An option that specifies whether to allow partial shipments in order promising. This option works with the Allow Backorders option. Valid 
values are: Y Split the sales order line item in order promising, deliver part of the requested inventory one day, and deliver the rest on another 
day. N Order promising cannot split the sales order line item.

cOPPromiseLineYNOPYNcharOPTNONE

An option that specifies whether to include a line item with an order promising request.

cOPSubstituteAllowedOPSScharOPTNONE

An option that specifies whether to allow substitution for sales order line items in order promising. Valid values are: Y The product can be 
substituted if it is unavailable. N The product cannot be substituted.

szBuyingSegmentCodeBSCcharOPTNONE

A value that groups customers with similar buying habits.

mnDiscountCashCADCMATH_NUMERICOPTNONE

A discount which is passed forward from the manufacturer or mill to the customer based upon the payment terms of the supplier.  Enter 10 
percent as 10.00.

szSalesReportingCode1SRP1charOPTNONE

One of ten category codes for sales coding purposes. These codes can represent such classifications as color, material content, or use.

szSalesReportingCode2SRP2charOPTNONE

One of ten category codes for sales coding purposes. These codes can represent such classifications as color, material content, or 
use. This field represents one of ten property type categories available for sales purposes.

szSalesReportingCode3SRP3charOPTNONE

One of ten category codes for sales coding purposes. These codes can represent such classifications as color, material content, or use.

szSalesReportingCode4SRP4charOPTNONE

One of ten category codes to be used for sales coding purposes. These codes can represent such classifications as color, material 
content, or use.

szSalesReportingCode5SRP5charOPTNONE

One of ten category codes to be used for sales coding purposes.  These codes can represent such classifications as color, material 
content, or use.

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.

mnCrossDockLineNumberXLLNMATH_NUMERICOPTNONE

The number that identifies a line in a cross dock supply order.

szCrossDockOrderCompanyXKCOcharOPTNONE

A code that identifies the company for a cross dock supply order.

mnCrossDockOrderNumberXORNMATH_NUMERICOPTNONE

The number that identifies a cross dock supply order.

szCrossDockOrderSuffixXSFXcharOPTNONE

The code that indicates the suffix for a cross dock supply order.

szCrossDockOrderTypeXCTOcharOPTNONE

A code that identifies the type of order.

mnCrossDockingPriorityXPTYMATH_NUMERICOPTNONE

The priority that the cross-docking system follows when assigning supply quantity to the sales orders. This priority indicates the sequence 
in which cross-docked sales orders are fulfilled for a given date. Sales order lines with a lower value receive a higher priority than lines with a 
higher value. The system performs only numeric edits on this value. If you do not specify a priority, or if the same priority is given to more 
than one order line, the orders will be fulfilled in the sequence of order number and order type.   

cCrossDockFlagYNXDCKcharOPTNONE

A code that associates items or order lines with cross-dock processing. This code might indicate whether an item or an order line is eligible 
for cross-docking, whether it was cross-docked, or whether it needs to be cross-docked. When it is assigned to an item or item-branch, this 
code indicates that the item or the item in the branch/plant is eligible for cross-docking. When it is assigned to an order line, this code 
indicates that the order line needs to be cross docked. Valid values are: 1 Yes, cross-docking is on 0 (blank) No, cross-docking is off

mnItemVolume_ITVLITVLMATH_NUMERICOPTNONE

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.

szGlClassGLPTcharOPTNONE

A user defined code (41/9) that identifies the G/L offset that system uses when it searches for the account to which it posts the transaction. If 
you do not want to specify a class code, you can enter **** (four asterisks) in this field. You can use automatic accounting instructions (AAIs) to 
predefine classes of automatic offset accounts for the Inventory Management, Procurement, and Sales Order Management systems. You 
might assign G/L class codes as follows:    IN20   Direct Ship Orders    IN60   Transfer Orders    IN80   Stock Sales  The system can generate 
accounting entries based upon a single transaction. For example, a single sale of a stock item can trigger the generation of accounting entries 
similar to the following:         Sales-Stock (Debit) xxxxx.xx     A/R Stock Sales (Credit) xxxxx.xx     Posting Category: IN80             Stock Inventory 
(Debit) xxxxx.xx     Stock COGS (Credit) xxxxx.xx The system uses the class code and the document type to find the AAI.

szPricingCategoryPRGRcharOPTNONE

A user defined code (system 40/type PI) that identifies an inventory price group for an item. Inventory price groups have unique pricing 
structures that direct the system to incorporate discounts or markups on items on sales and purchase orders. The discounts or markups are 
based on the quantity, dollar amount, or weight of the item ordered. When you assign a price group to an item, the item takes on the same pricing 
structure defined for the inventory price group. You must assign an inventory price group to the supplier or customer, as well as to the item, for 
the system to interactively calculate discounts and markups on sales orders and purchase orders.

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.

szPaymentTermsPTCcharOPTNONE

A code that specifies the terms of payment, including the percentage of discount available if the invoice is paid by the discount due date. 
Use a blank code to indicate the most frequently-used payment term. You define each type of payment term on the Payment Terms Revisions 
form. Examples of payment terms include: Blank Net 15 001      1/10 net 30 002      2/10 net 30 003      Due on the 10th day of every month 006     
Due upon receipt  This code prints on customer invoices.

szPortOfEntryExitPOEcharOPTNONE

The port from which or to which the goods were shipped. For VAT reporting, certain countries require information about the port of exit or 
entry. This information is not available in the system at the present time. You specify the port of entry or exit when creating a purchase order by 
using the PO Receipts program (P4312), when creating a sales order by using the Sales Order Entry program (P4210), when confirming 
shipments by using the Shipment Confirmation program (P4205), or by using the Intrastat Revision program (P0018T). Set up valid values in UDC 
40/PE.

cPriorityProcessingPRIOcharOPTNONE

A code that tells the system to handle this customer's orders on a priority basis. Use this value to set up print pick slips so you can choose 
to print them on a priority basis. This code is assigned from the Customer Billing Instructions. In addition, the backorder print report and 
automatic batch release program can be sequenced by this code to release those orders with the highest priority first.

mnProjectNumberPRJMMATH_NUMERICOPTNONE

A number that identifies an EPM project in the system. The project must be set up in the Add/Revise Project program (P31P011).

szPromotionIDPMTNcharOPTNONE

An identification number that tracks revenue, costs, and expenses for each promotion.

szPullSignalPSIGcharOPTNONE

Future use. A code that might represent a DON (Delivery Order Number), RAN (Release Accounting Number), or KANBAN number to 
trigger replenishment of material. Some customers using pull-based manufacturing practices to signal line-side replenishment of material.

szReasonCodeRCDcharOPTNONE

A user defined code (42/RC) that explains the purpose for a transaction. For example, you can indicate the reason that you are returning 
items.

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.

mnRelatedPoSoLineNoRLLNMATH_NUMERICOPTNONE

A number of the detail line on the related order for which the current order was created. For example, on a purchase order created to fill 
open sales orders, this is the line number of the sales order on which the item you are ordering appears.

szCompanyKeyRelatedRKCOcharOPTNONE

The key company that is associated with the document number of the related order.

szRelatedPoSoNumberRORNcharOPTNONE

A number that identifies a secondary purchase order, sales order, or work order that is associated with the original order. This number is for 
informational purposes only.

szRelatedOrderTypeRCTOcharOPTNONE

A user defined code (system 00, type DT) that indicates the document type of the secondary or related order. For example, a purchase 
order might be document type OP and might have been created to fill a related work order with document type WO.

jdDateReleaseRLDJJDEDATEOPTNONE

A date that is received from a customer and used by the system in conjunction with the release time to identify a release.

szReleaseNumberRLNUcharOPTNONE

A number that identifies the release for an individual customer.

mnTimeReleaseRLTMMATH_NUMERICOPTNONE

A time that is received from the customer. The system uses the release time with the release date to identify a release.

szRouteCodeROUTcharOPTNONE

The route field is a user defined code (system 42, type RT) that represents the delivery route on which the customer resides. This field is 
one of several factors used by the freight summary facility to calculate potential freight charges for an order. For picking, use the route code with 
the stop and zone codes to group all of the items that are to be loaded onto a delivery vehicle for a specific route. You set up a default for 
each of these fields on the Customer Billing Instruction form.

szShippingCommodityClassSHCMcharOPTNONE

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.

szShippingConditionsCodeSHCNcharOPTNONE

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.

mnSoldToCustAN8MATH_NUMERICOPTNONE

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

szStopCodeSTOPcharOPTNONE

The stop code is a user defined code (system 42, type SP) that represents the stop on a delivery route. This field is one of several factors 
used by the freight summary facility to calculate potential freight charges for an order. For picking, you can use the stop code with the route and 
zone codes to group all items that are to be loaded onto a delivery vehicle for a specific route. You set up the default for each of these fields 
on the Customer Billing Instructions form.

szSubledgerSBLcharOPTNONE

A code that identifies a detailed, auxiliary account within a general ledger account. A subledger can be an equipment item number or an 
address book number. If you enter a subledger, you must also specify the subledger type.

cSubledgerTypeSBLTcharOPTNONE

A user defined code (00/ST) that is used with the Subledger field to identify the subledger type and how the system performs subledger 
editing. On the User Defined Codes form, the second line of the description controls how the system performs editing. This is either hard-coded 
or user defined. Valid values include: A Alphanumeric field, do not edit   N Numeric field, right justify and zero fill   C Alphanumeric field, right 
justify and blank fill  

szTaxExplanationCodeEXR1charOPTNONE

A hard-coded user defined code (00/EX) that controls the algorithm that the system uses to calculate tax and G/L distribution amounts. The 
system uses the tax explanation code in conjunction with the tax rate area and tax rules to determine how the tax is calculated. Each 
transaction pay item can be defined with a different tax explanation code.

szTaxAreaTXA1charOPTNONE

A code that identifies a tax or geographic area that has common tax rates and tax authorities. The system validates the code you enter 
against the Tax Areas table (F4008). The system uses the tax rate area in conjunction with the tax explanation code and tax rules to calculate tax 
and G/L distribution amounts when you create an invoice or voucher.

szVolumeUOM_VLUMVLUMcharOPTNONE

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 

szZoneNumberZONcharOPTNONE

The zone field is a user defined code (system 40, type ZN) that represents the delivery area in which the customer resides. This field is one 
of several factors used by freight summary facility to calculate potential freight charges for an order. For picking you can use the zone code 
with the route and stop codes to group all item that are to be loaded onto a delivery vehicle for a specific route. You set up the default for each 
of these fields on the Customer Billing Instructions form.

mnUniqueKeyIDInternal_2UKIDMATH_NUMERICOPTNONE

This field is a unique number used to identify a record in a file.

szCatalogNameCATNMcharOPTNONE

This field contains the name of a Product Catalog.

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.

mnRevisionNumberCORDMATH_NUMERICOPTNONE

The number of times this purchase order has been modified. You can locate a specific change order number to review the fields that were 
modified.

szRevisionReasonRFRVcharOPTNONE

A user defined code (42/RR) that indicates why a sales order was revised.

nSalesOrderActionINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

nAttributeINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

mnPartnerAddressNumberPRAN8MATH_NUMERICOPTNONE

The address number (F0101) of the partner associated with the lead.

mnPartnerContactLineNumIDPRCIDLNMATH_NUMERICOPTNONE

The line number identifier from the Who's Who (F0111) representative of Contacts for a Partner.

szPurchaseOrderCurrencyCodeCRDCcharOPTNONE

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

mnPurchaseOrderExchangeRateCRRMATH_NUMERICOPTNONE

A number (exchange rate) that a foreign currency amount is multiplied by to calculate a domestic currency amount.  The number in this field 
can have a maximum of seven decimal positions. If more are entered, the system adjusts to the nearest seven decimal positions. 

szPurchaseOrderUnitOfMeasureUOM3charOPTNONE

A code (table 00/UM) that identifies the unit of measure in which you usually purchase the item.

mnPurchaseOrderUnitCostUNCSMATH_NUMERICOPTNONE

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

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

cStatusInWarehouseSWMScharOPTNONE

This flag can contain the following values:    blank Sales Order line which has not entered warehousing.    I Sales Order line inside the 
warehousing system.  These lines cannot be modified.    O Sales Order line which entered and exited the warehousing system.

cPendingOrderExistEV01charOPTNONE

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

mnDemandUniqueKeyDEIDMATH_NUMERICOPTNONE

A system-generated number that identifies a demand record.

Related Functions

B4210000 Sales Order Model Public Functions
B4210900 Sales Order Application Controller
B4210910 Error Handler Utility Functions

Related Tables

None
TR>szRelatedOrderTypeRCTOcharOPTNONE

A user defined code (system 00, type DT) that indicates the document type of the secondary or related order. For example, a purchase 
order might be document type OP and might have been created to fill a related work order with document type WO.

jdDateReleaseRLDJJDEDATEOPTNONE

A date that is received from a customer and used by the system in conjunction with the release time to identify a release.

szReleaseNumberRLNUcharOPTNONE

A number that identifies the release for an individual customer.

mnTimeReleaseRLTMMATH_NUMERICOPTNONE

A time that is received from the customer. The system uses the release time with the release date to identify a release.

szRouteCodeROUTcharOPTNONE

The route field is a user defined code (system 42, type RT) that represents the delivery route on which the customer resides. This field is 
one of several factors used by the freight summary facility to calculate potential freight charges for an order. For picking, use the route code with 
the stop and zone codes to group all of the items that are to be loaded onto a delivery vehicle for a specific route. You set up a default for 
each of these fields on the Customer Billing Instruction form.

szShippingCommodityClassSHCMcharOPTNONE

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.

szShippingConditionsCodeSHCNcharOPTNONE

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.

mnSoldToCustAN8MATH_NUMERICOPTNONE

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

szStopCodeSTOPcharOPTNONE

The stop code is a user defined code (system 42, type SP) that represents the stop on a delivery route. This field is one of several factors 
used by the freight summary facility to calculate potential freight charges for an order. For picking, you can use the stop code with the route and 
zone codes to group all items that are to be loaded onto a delivery vehicle for a specific route. You set up the default for each of these fields 
on the Customer Billing Instructions form.

szSubledgerSBLcharOPTNONE

A code that identifies a detailed, auxiliary account within a general ledger account. A subledger can be an equipment item number or an 
address book number. If you enter a subledger, you must also specify the subledger type.

cSubledgerTypeSBLTcharOPTNONE

A user defined code (00/ST) that is used with the Subledger field to identify the subledger type and how the system performs subledger 
editing. On the User Defined Codes form, the second line of the description controls how the system performs editing. This is either hard-coded 
or user defined. Valid values include: A Alphanumeric field, do not edit   N Numeric field, right justify and zero fill   C Alphanumeric field, right 
justify and blank fill  

szTaxExplanationCodeEXR1charOPTNONE

A hard-coded user defined code (00/EX) that controls the algorithm that the system uses to calculate tax and G/L distribution amounts. The 
system uses the tax explanation code in conjunction with the tax rate area and tax rules to determine how the tax is calculated. Each 
transaction pay item can be defined with a different tax explanation code.

szTaxAreaTXA1charOPTNONE

A code that identifies a tax or geographic area that has common tax rates and tax authorities. The system validates the code you enter 
against the Tax Areas table (F4008). The system uses the tax rate area in conjunction with the tax explanation code and tax rules to calculate tax 
and G/L distribution amounts when you create an invoice or voucher.

szVolumeUOM_VLUMVLUMcharOPTNONE

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 

szZoneNumberZONcharOPTNONE

The zone field is a user defined code (system 40, type ZN) that represents the delivery area in which the customer resides. This field is one 
of several factors used by freight summary facility to calculate potential freight charges for an order. For picking you can use the zone code 
with the route and stop codes to group all item that are to be loaded onto a delivery vehicle for a specific route. You set up the default for each 
of these fields on the Customer Billing Instructions form.

mnUniqueKeyIDInternal_2UKIDMATH_NUMERICOPTNONE

This field is a unique number used to identify a record in a file.

szCatalogNameCATNMcharOPTNONE

This field contains the name of a Product Catalog.

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.

mnRevisionNumberCORDMATH_NUMERICOPTNONE

The number of times this purchase order has been modified. You can locate a specific change order number to review the fields that were 
modified.

szRevisionReasonRFRVcharOPTNONE

A user defined code (42/RR) that indicates why a sales order was revised.

nSalesOrderActionINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

nAttributeINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

mnPartnerAddressNumberPRAN8MATH_NUMERICOPTNONE

The address number (F0101) of the partner associated with the lead.

mnPartnerContactLineNumIDPRCIDLNMATH_NUMERICOPTNONE

The line number identifier from the Who's Who (F0111) representative of Contacts for a Partner.

szPurchaseOrderCurrencyCodeCRDCcharOPTNONE

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

mnPurchaseOrderExchangeRateCRRMATH_NUMERICOPTNONE

A number (exchange rate) that a foreign currency amount is multiplied by to calculate a domestic currency amount.  The number in this field 
can have a maximum of seven decimal positions. If more are entered, the system adjusts to the nearest seven decimal positions. 

szPurchaseOrderUnitOfMeasureUOM3charOPTNONE

A code (table 00/UM) that identifies the unit of measure in which you usually purchase the item.

mnPurchaseOrderUnitCostUNCSMATH_NUMERICOPTNONE

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

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

cStatusInWarehouseSWMScharOPTNONE

This flag can contain the following values:    blank Sales Order line which has not entered warehousing.    I Sales Order line inside the 
warehousing system.  These lines cannot be modified.    O Sales Order line which entered and exited the warehousing system.

cPendingOrderExistEV01charOPTNONE

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

mnDemandUniqueKeyDEIDMATH_NUMERICOPTNONE

A system-generated number that identifies a demand record.

Related Functions

B4210000 Sales Order Model Public Functions
B4210900 Sales Order Application Controller
B4210910 Error Handler Utility Functions

Related Tables

None
S421002C_SOLineViewController

S421002C_SOLineViewController

S421002C Sales Order Detail View Controller

Major Business Rule

Object Name: B4210620

Parent DLL: CSALES

Location: Client/Server

Language: C

Data Structure

D4210620A - S421002C_SalesOrderDetailData

Parameter NameData ItemData TypeReq/OptI/O/Both
szSessionKeySNKYcharOPTNONE

Session Key is the identifier of a Sales Order Session. 

mnLineKeyLNIXMATH_NUMERICOPTNONE

szViewVersionVERcharOPTNONE

Identifies a specific set of data selection and sequencing settings for the application. Versions may be named using any combination of 
alpha and numeric characters. Versions that begin with 'XJDE' or 'ZJDE' are set up by J.D. Edwards.

cLineProcessStatusERRCcharOPTNONE

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

cMoreNewLinesEV01charOPTNONE

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

cGetFirstLineEV01charOPTNONE

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

nViewSelectionRequiredINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

szItemNoUITMchar<