SORealTimeEventDetailTemplate

Sales Order Real Time Event Notification Template

Minor Business Rule

Object Name: B4202310

Parent DLL: CDIST

Location: Client/Server

Language: C

Data Structure

D4202310B - Sales Order Detail

Parameter NameData ItemData TypeReq/OptI/O/Both
cOrderActionACTNcharREQINPUT

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

mnOrderNumberDOCOMATH_NUMERICREQINPUT

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szOrderTypeDCTOcharREQINPUT

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szOrderCompanyKCOOcharREQINPUT

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

mnLineNumberLNIDMATH_NUMERICREQINPUT

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.

szDetailBranchPlantMCUcharREQINPUT

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.

szSupplierReferenceVR02charREQINPUT

A field available to record reference numbers, such as the supplier's bid document number, quote document, sales order, work order, or 
job number.

mnShipToAddressNumberSHANMATH_NUMERICREQINPUT

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.

jdTransactionDateTRDJJDEDATEOPTINPUT

The date that an order was entered into the system. This date determines which effective level the system uses for inventory pricing.

jdRequestedDateDRQJJDEDATEOPTINPUT

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

jdScheduledPickDatePDDJJDEDATEOPTINPUT

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.

jdPromisedShipDatePPDJJDEDATEREQINPUT

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

jdPromisedDeliveryDateRSDJJDEDATEOPTINPUT

The date an item will be delivered to the customer.

jdOriginalPromisedDateOPDJJDEDATEREQINPUT

The original promised delivery date for a purchase order.

jdCancelDateCNDJJDEDATEOPTINPUT

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.                         

jdPriceEffectiveDatePEFJJDEDATEOPTINPUT

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

mnQuantityShippedSOQSMATH_NUMERICOPTINPUT

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.

mnQuantityBackOrderedSOBKMATH_NUMERICOPTINPUT

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.

mnQuantityCancelledSOCNMATH_NUMERICOPTINPUT

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.

szTransactionUnitOfMeasureUOMcharREQINPUT

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_NUMERICREQINPUT

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_NUMERICREQINPUT

The number of units multiplied by the unit price.

mnForeignUnitPriceFUPMATH_NUMERICOPTINPUT

The foreign price per unit.

cPriceOverrideCodePROVcharOPTINPUT

A value established by the sales order entry program whenever a unit or extended price is entered into an order line item, overriding the 
price calculated by the program.

mnAdjustmentRevisionLevelAREVMATH_NUMERICOPTINPUT

This field maintains the current revision level of Advanced Pricing adjustments awarded within a sales order. Adjustments associated with 
a revision level below the current level are considered obsolete.

mnDiscountPercentageDSPRMATH_NUMERICOPTINPUT

The factor that the system applies to the unit price of an inventory item to determine the net price. The system retrieves this value from the 
inventory pricing rules if you have assigned a rule to this item. The pricing rule setup determines if the system multiplies the unit price by this 
value or adds to or deducts from the unit price.

mnLastIndexLINXMATH_NUMERICOPTINPUT

This is the index that was last used to calculate the annual escalated amount from the previous escalation generation.  This field is updated 
when the Escalation Database Update is performed.

szPaymentTermsPTCcharOPTINPUT

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.

cPaymentInstrumentRYINcharOPTINPUT

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  

szCurrencyCodeCRCDcharOPTINPUT

A code that identifies the currency of a transaction. 

mnUnitCostUNCSMATH_NUMERICOPTINPUT

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

mnExtendedCostECSTMATH_NUMERICOPTINPUT

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

mnForeignUnitCostFUCMATH_NUMERICOPTINPUT

Amount - Foreign Unit Cost

mnForeignExtCostFECMATH_NUMERICOPTINPUT

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

szItemNumberLITMcharOPTINPUT

A number that identifies the item. The system provides three separate item numbers plus an extensive cross-reference capability to 
alternative item numbers. The three types of item numbers are: Item Number (short) An 8-digit, computer-assigned item number. 2nd Item Number A 
25-digit, user defined, alphanumeric item number. 3rd Item Number  Another 25-digit, user defined, alphanumeric item number. In addition to 
these three basic item numbers, the system provides an extensive cross-reference search capability. You can define numerous 
cross-references to alternative part numbers. For example, you can define substitute item numbers, replacements, bar codes, customer numbers, or 
supplier numbers.

mnShortItemNumberITMMATH_NUMERICOPTINPUT

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

szLineTypeLNTYcharOPTINPUT

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

szLastStatusLTTRcharOPTINPUT

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

szNextStatusNXTRcharOPTINPUT

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

szLocationLOCNcharOPTINPUT

The storage location from which goods will be moved.

szLineofBusinessLOBcharOPTINPUT

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

szEndUseEUSEcharOPTINPUT

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.

szDutyStatusDTYScharOPTINPUT

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.

szFreightHandlingCodeFRTHcharOPTINPUT

A user defined code (42/FR) designating the method by which supplier shipments are delivered. For example, the supplier could deliver to 
your dock, or you could pick up the shipment at the supplier's dock. You can also use these codes to indicate who has responsibility for 
freight charges. For example, you can have a code indicating that the customer legally takes possession of goods as soon as they leave the 
supplier warehouse and is responsible for transportation charges to the destination.

mnItemWeightITWTMATH_NUMERICOPTINPUT

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

szWeightUnitOfMeasureWTUMcharOPTINPUT

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 

szModeOfTransportMOTcharOPTINPUT

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.

szSubledgerSBLcharOPTINPUT

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.

cSubledgerTypeSBLTcharOPTINPUT

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  

szPriceCode1UPC1charOPTINPUT

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.

szPriceCode2UPC2charOPTINPUT

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.

szPriceCode3UPC3charOPTINPUT

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.

szOriginalPoSoNumberOORNcharOPTINPUT

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.

szOriginalOrderTypeOCTOcharOPTINPUT

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 

szOriginalOrderCompanyOKCOcharOPTINPUT

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

mnRelatedPoSoLineNoRLLNMATH_NUMERICOPTINPUT

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.

jdDateUpdatedUPMJJDEDATEOPTINPUT

The date that specifies the last update to the file record.

mnPickSlipNumberPSNMATH_NUMERICOPTINPUT

A automatic next number assigned by the system that can be used to track picking information through the system.  This number is 
assigned during the printing of pick slips.  The shipment confirmation program allows inquiry and confirmation by this number.

mnInvoiceDocNumberDOCMATH_NUMERICOPTINPUT

A number that identifies the original document, such as a voucher, invoice, or journal entry. On entry forms, you can assign the document 
number or let the system assign it using the Next Numbers program (P0002). Matching document numbers (DOCM) identify related documents 
in the Accounts Receivable and Accounts Payable systems. Examples of original and matching documents are: Accounts Payable     o 
Original document - voucher     o Matching document - payment  Accounts Receivable     o Original document - invoice     o Matching document - 
receipt  Note: In the Accounts Receivable system, the following transactions simultaneously generate original and matching documents: 
deductions, unapplied receipts, chargebacks, and drafts.

szInvoiceDocTypeDCTcharOPTINPUT

A user defined code (00/DT) that identifies the origin and purpose of the transaction.  PeopleSoft reserves several prefixes for document 
types, such as, vouchers, invoices, receipts, and timesheets. The reserved document type prefixes for codes are: P Accounts payable 
documents R Accounts receivable documents  T Time and Pay documents I Inventory documents  O Purchase order documents  S Sales order 
documents 

szInvoiceDocCompanyKCOcharOPTINPUT

A number that, with the document number, document type and G/L date, uniquely identifies an original document, such as invoice, voucher, 
or journal entry. If you use the Next Numbers by Company/Fiscal Year feature, the Automatic Next Numbers program (X0010) uses the 
document company to retrieve the correct next number for that company. If two or more original documents have the same document number and 
document type, you can use the document company to locate the desired document.

szUserReservedCodeURCDcharOPTINPUT

This is a 2 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

mnOriginalOrderLineNumberOGNOMATH_NUMERICOPTINPUT

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

szRelatedPoSoNumberRORNcharOPTINPUT

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.

szRelatedOrderTypeRCTOcharOPTINPUT

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.

szRelatedOrderCompanyRKCOcharOPTINPUT

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

jdUserReservedDateURDTJDEDATEOPTINPUT

This is a 6 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

mnUserReservedAmountURATMATH_NUMERICOPTINPUT

This is a 15 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

mnUserReservedNumberURABMATH_NUMERICOPTINPUT

This is a 8 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

szUserReservedReferenceURRFcharOPTINPUT

A 15-position reference that is reserved for the user.  J.D. Edwards does not currently use this field and does not plan to use it in the future.

szAlphaNameALPHcharOPTOUTPUT

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.

mnParentAddressNumberPA8MATH_NUMERICOPTOUTPUT

The address book number of the parent company. The system uses this number to associate a particular address with a parent company 
or location. Any value that you enter in this field updates the Address Organizational Structure Master table (F0150) for the blank structure 
type. This address number must exist in the Address Book Master table (F0101) for validation purposes. Examples of address book records 
that would have a parent number include:   o  Subsidiaries with parent companies     o  Branches with a home office     o  Job sites with a general 
contractor 

szSecondItemNumberLITMcharOPTOUTPUT

A number that identifies the item. The system provides three separate item numbers plus an extensive cross-reference capability to 
alternative item numbers. The three types of item numbers are: Item Number (short) An 8-digit, computer-assigned item number. 2nd Item Number A 
25-digit, user defined, alphanumeric item number. 3rd Item Number  Another 25-digit, user defined, alphanumeric item number. In addition to 
these three basic item numbers, the system provides an extensive cross-reference search capability. You can define numerous 
cross-references to alternative part numbers. For example, you can define substitute item numbers, replacements, bar codes, customer numbers, or 
supplier numbers.

szThirdItemNumberAITMcharOPTOUTPUT

The system provides three separate item numbers plus an extensive cross-reference capability to alternate item numbers. These item 
numbers are as follows: 1.  Item Number (short) - An 8-digit, computer-assigned item number. 2.  2nd Item Number - The 25-digit, free-form, user 
defined alphanumeric item number. 3.  3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item number.  In addition to 
these three basic item numbers, an extensive cross-reference search capability has been provided (see XRT). Numerous cross references to 
alternate part numbers can be user defined, such as substitute item numbers, replacements, bar codes, customer numbers, or supplier 
numbers.

cPriorityProcessingPRIOcharOPTOUTPUT

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.

cBackOrdersAllowedBACKcharOPTOUTPUT

An option that specifies whether to allow backorders for this item. You can allow backorders by item using the Item Master (P4101) or Item 
Branch/Plant (P41026) programs, by customer using the Customer Billing Instructions program (P03013), or by branch/plant using the 
Branch/Plant Constants program (P41001).  Valid values are: On Allow backorders for this item. Off Do not allow backorders for this item, regardless of 
the backorders code that is assigned to the customer.

cOrderShippedFlagSO02charOPTOUTPUT

A code that indicates if the committed inventory for this sales detail line has been relieved from the On Hand Quantity. A value of 1 reflects 
that the shipment confirmation program (P4205) or the Sales Update program (R42800) has relieved inventory and written a cardex record to 
the Item Ledger File (F4111). To activate on hand update at shipment comfirmation time, the order type of the sales order will need to be added 
to the User Defined Code Table (40/IU). If on hand is not updated with the Shipment Confirmation program (P4205), it will be updated by the 
Sales Update program (R42800).

cTransferDirectShipFlagSO11charREQOUTPUT

This flag indicates if the order line was created by way of a transfer order or a direct ship order. Valid values are:    1       Transfer order    2       
Direct ship order    3       Intercompany order    4       Sales Order created via Purchase Order    Blank All other order types.

cCommittedCOMMcharOPTOUTPUT

A value that indicates whether you specified from which Location and Lot a particular item was to come. If you specified a storage area, the 
program assigns a Hard (H) commit, and subsequent programs will not determine which Location and Lot to use to satisfy the order line. If 
you did not specify a storage area, the program assigns a Soft (S) commit and attempts to determine which Location and Lot records can best 
satisfy the order line quantity. Valid codes are:    S Soft Committed,    H Hard Committed    C Hard Committed by Commitment Program    K Kit 
Master Line (No Commitment)    N Work Order (No Commitment)

mnDaysBeforeExpirationEXDPMATH_NUMERICOPTOUTPUT

The number of days allowed before expiration for an item where it still can be used or sold to a specific customer.  When negative, this 
number indicates the number of days after expiration for an item where it still can be used or sold to a specific customer. For example, if the 
expiration date for item 1001 is 06/01/98:     o A value of 15 in Days Before Expiration means that this specific customer only accepts this item up to 
05/15/98.     o A value of -15 in Days Before Expiration means that this specific customer accepts this item up to 06/15/98.

szPurchasingCategoryCode1PRP1charOPTOUTPUT

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

szPurchasingCategoryCode2PRP2charOPTOUTPUT

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

szPurchasingCategoryCode3PRP3charOPTOUTPUT

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

szPurchasingCategoryCode4PRP4charOPTOUTPUT

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

szRelatedOrderNumberRORNcharOPTOUTPUT

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.

szRelatedOrderTypeAPSRCTOcharOPTOUTPUT

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.

szRelatedOrderKeyCompanyRKCOcharOPTOUTPUT

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

szPlanningUnitOfMeasureUOMcharREQOUTPUT

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

mnPlanningQuantityTRQTMATH_NUMERICREQOUTPUT

A value that represents the available quantity, which might consist of the on-hand balance minus commitments, reservations, and 
backorders. You enter this value in the Branch/Plant Constants program (P41001).

jdDateUpdatedAPSUPMJJDEDATEREQOUTPUT

The date that specifies the last update to the file record.

mnTimeUpdatedAPSTDAYMATH_NUMERICREQOUTPUT

The computer clock in hours:minutes:seconds.

cAPSFlagEV01charREQOUTPUT

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

cAPSSupplyDemandFlagEV01charREQOUTPUT

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

szShipCompleteDSC1charREQOUTPUT

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

mnRelatedOrderLineNumberRLLNMATH_NUMERICREQOUTPUT

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.

mnForeignExtPriceFEAMATH_NUMERICOPTNONE

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

cTaxableYNTAX1charOPTNONE

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.

szPriceAdjustmentScheduleASNcharOPTNONE

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.

szDescriptionLine1DSC1charOPTNONE

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

szDescriptionLine2DSC2charOPTNONE

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

szLotLOTNcharOPTNONE

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

szPrintMessage1INMGcharOPTNONE

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.

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.

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.

mnTimeOfDayTDAYMATH_NUMERICOPTNONE

The computer clock in hours:minutes:seconds.

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.

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.

szPartnerItemNoCITMcharOPTNONE

The cross-reference item number that the system assigns to an item number. A cross-reference number allows you to use a supplier's item 
number if it is different from your own item number when you are processing an order or printing.

szCatalogItemAITMcharOPTNONE

The system provides three separate item numbers plus an extensive cross-reference capability to alternate item numbers. These item 
numbers are as follows: 1.  Item Number (short) - An 8-digit, computer-assigned item number. 2.  2nd Item Number - The 25-digit, free-form, user 
defined alphanumeric item number. 3.  3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item number.  In addition to 
these three basic item numbers, an extensive cross-reference search capability has been provided (see XRT). Numerous cross references to 
alternate part numbers can be user defined, such as substitute item numbers, replacements, bar codes, customer numbers, or supplier 
numbers.

szUPCNumberUPCNcharOPTNONE

The Universal Product Code number which must conform to the UCC structure for UPC numbers.

szShipToDescriptiveALKYcharOPTNONE

A user-defined name or number that identifies an address book record.  You can use this number to locate and enter information about the 
address book record. If you enter a value other than the address book number (AN8), such as the long address or tax ID, you must precede 
it with the special character that is defined in the Address Book constants. When the system locates the record, it returns the address book 
number to the field. For example, if address book number 4100 (Total Solutions) has a long address TOTAL and an * distinguishes it from 
other entries (as defined in the Address Book constants), you could type *TOTAL into the field, and the system would return 4100.

szSoldToDescriptiveALKYcharOPTNONE

A user-defined name or number that identifies an address book record.  You can use this number to locate and enter information about the 
address book record. If you enter a value other than the address book number (AN8), such as the long address or tax ID, you must precede 
it with the special character that is defined in the Address Book constants. When the system locates the record, it returns the address book 
number to the field. For example, if address book number 4100 (Total Solutions) has a long address TOTAL and an * distinguishes it from 
other entries (as defined in the Address Book constants), you could type *TOTAL into the field, and the system would return 4100.

szProductItemLITMcharOPTNONE

A number that identifies the item. The system provides three separate item numbers plus an extensive cross-reference capability to 
alternative item numbers. The three types of item numbers are: Item Number (short) An 8-digit, computer-assigned item number. 2nd Item Number A 
25-digit, user defined, alphanumeric item number. 3rd Item Number  Another 25-digit, user defined, alphanumeric item number. In addition to 
these three basic item numbers, the system provides an extensive cross-reference search capability. You can define numerous 
cross-references to alternative part numbers. For example, you can define substitute item numbers, replacements, bar codes, customer numbers, or 
supplier numbers.

mnQuantityOrderedUORGMATH_NUMERICOPTNONE

The quantity of units affected by this transaction.

szPricingUnitOfMeasureUOM4charOPTNONE

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

mnRelatedWOOrderNumberDOCOMATH_NUMERICOPTNONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szRelatedWOBranchPlantMMCUcharOPTNONE

A code that represents a high-level business unit. Use this code to refer to a branch or plant that might have departments or jobs, which 
represent lower-level business units, subordinate to it. For example:     o Branch/Plant (MMCU)     o Dept A (MCU)     o Dept B (MCU)     o Job 123 
(MCU) Business unit security is based on the higher-level business unit.

jdActualShipDateADDJJDEDATEOPTNONE

The date on which the shipment to the customer is confirmed as shipped. During shipment confirmation, the system updates the Sales 
Order Detail table (F4211) with this date.

Related Functions

None

Related Tables

None
SORealTimeEventHeaderTemplate

SORealTimeEventHeaderTemplate

Sales Order Real Time Event Notification Template

Minor Business Rule

Object Name: B4202310

Parent DLL: CDIST

Location: Client/Server

Language: C

Data Structure

D4202310A - Sales Order Header

Parameter NameData ItemData TypeReq/OptI/O/Both
cOrderActionACTNcharREQINPUT

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

mnOrderNumberDOCOMATH_NUMERICREQINPUT

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szOrderTypeDCTOcharREQINPUT

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szOrderCompanyKCOOcharREQINPUT

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

szHeaderBranchPlantMCUcharREQINPUT

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.

szCompanyCOcharREQINPUT

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

szOriginalPoSoNumberOORNcharOPTINPUT

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.

szOrderedByORBYcharOPTINPUT

SALES ORDER SYSTEM:  An optional entry field, intended for the name of the customer placing the order.

cQuoteFlagEV01charOPTINPUT

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

mnSoldToAddressNumberAN8MATH_NUMERICREQINPUT

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

szSoldToAddressLine1ADD1charOPTINPUT

The first line of a mailing address for an employee, customer, or supplier in the Address Book system. The U.S. Internal Revenue Service 
(IRS) restricts the size of the address that prints on an employee's year-end tax return. To comply with IRS regulations, the system has the 
following restrictions:   o  On W-2 returns, the system prints only the last three nonblank address lines plus the city, state, and postal code.   o  On 
1099 returns, the system prints only the last nonblank address line plus the city, state, and postal code.   o  On other U.S. federal magnetic 
media, the system prints only the last nonblank address line plus the city, state, and postal code.

szSoldToAddressLine2ADD2charOPTINPUT

The second line of the mailing address for an employee, customer, or supplier in the Address Book system. Attention Payroll users: The 
Internal Revenue Service (IRS) restricts the size of the address that prints on employee's year-end forms. To comply with IRS regulations, the 
address that prints on W-2 forms includes only the last three nonblank address lines plus the city, state, and postal code. The address that 
prints on 1099 forms includes only the last nonblank address line plus the city, state, and postal code. If you process year-end information using 
the federal magnetic media format, the address that prints on those forms contains only the last nonblank address line plus the city, state, 
and postal code.

szSoldToAddressLine3ADD3charOPTINPUT

The third line of the mailing address for an employee, customer, or supplier in the Address Book system. Attention Payroll users: The 
Internal Revenue Service (IRS) restricts the size of the address that prints on employee's year-end forms. To comply with IRS regulations, the 
address that prints on W-2 forms includes only the last three nonblank address lines plus the city, state, and postal code. The address that prints 
on 1099 forms includes only the last nonblank address line plus the city, state, and postal code. If you process year-end information using 
the federal magnetic media format, the address that prints on those forms contains only the last nonblank address line plus the city, state, and 
postal code.

szSoldToAddressLine4ADD4charOPTINPUT

The fourth line of the mailing address for an employee, customer, or supplier in the Address Book system. Attention Payroll users: The 
Internal Revenue Service (IRS) restricts the size of the address that prints on employee's year-end forms. To comply with IRS regulations, the 
address that prints on W-2 forms includes only the last three nonblank address lines plus the city, state, and postal code. The address that 
prints on 1099 forms includes only the last nonblank address line plus the city, state, and postal code. If you process year-end information using 
the federal magnetic media format, the address that prints on those forms contains only the last nonblank address line plus the city, state, and 
postal code.

szSoldToCityCTY1charOPTINPUT

A name that indicates the city associated with the address.

szSoldToCountyCOUNcharOPTINPUT

The name of a county, parish, or other political district that is necessary for the address or for tax purposes.

szSoldToStateADDScharOPTINPUT

A user defined code (00/S) that specifies the state or province. This code is usually a postal service abbreviation.

szSoldToCountryCTRcharOPTINPUT

A user defined code (00/CN) that identifies a country. The country code has no effect on currency conversion. The Address Book system 
uses the country code for data selection and address formatting.

mnShipToAddressNumberSHANMATH_NUMERICREQINPUT

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.

szShipToAddressLine1ADD1charOPTINPUT

The first line of a mailing address for an employee, customer, or supplier in the Address Book system. The U.S. Internal Revenue Service 
(IRS) restricts the size of the address that prints on an employee's year-end tax return. To comply with IRS regulations, the system has the 
following restrictions:   o  On W-2 returns, the system prints only the last three nonblank address lines plus the city, state, and postal code.   o  On 
1099 returns, the system prints only the last nonblank address line plus the city, state, and postal code.   o  On other U.S. federal magnetic 
media, the system prints only the last nonblank address line plus the city, state, and postal code.

szShipToAddressLine2ADD2charOPTINPUT

The second line of the mailing address for an employee, customer, or supplier in the Address Book system. Attention Payroll users: The 
Internal Revenue Service (IRS) restricts the size of the address that prints on employee's year-end forms. To comply with IRS regulations, the 
address that prints on W-2 forms includes only the last three nonblank address lines plus the city, state, and postal code. The address that 
prints on 1099 forms includes only the last nonblank address line plus the city, state, and postal code. If you process year-end information using 
the federal magnetic media format, the address that prints on those forms contains only the last nonblank address line plus the city, state, 
and postal code.

szShipToAddressLine3ADD3charOPTINPUT

The third line of the mailing address for an employee, customer, or supplier in the Address Book system. Attention Payroll users: The 
Internal Revenue Service (IRS) restricts the size of the address that prints on employee's year-end forms. To comply with IRS regulations, the 
address that prints on W-2 forms includes only the last three nonblank address lines plus the city, state, and postal code. The address that prints 
on 1099 forms includes only the last nonblank address line plus the city, state, and postal code. If you process year-end information using 
the federal magnetic media format, the address that prints on those forms contains only the last nonblank address line plus the city, state, and 
postal code.

szShipToAddressLine4ADD4charOPTINPUT

The fourth line of the mailing address for an employee, customer, or supplier in the Address Book system. Attention Payroll users: The 
Internal Revenue Service (IRS) restricts the size of the address that prints on employee's year-end forms. To comply with IRS regulations, the 
address that prints on W-2 forms includes only the last three nonblank address lines plus the city, state, and postal code. The address that 
prints on 1099 forms includes only the last nonblank address line plus the city, state, and postal code. If you process year-end information using 
the federal magnetic media format, the address that prints on those forms contains only the last nonblank address line plus the city, state, and 
postal code.

szShipToCityCTY1charOPTINPUT

A name that indicates the city associated with the address.

szShipToCountyCOUNcharOPTINPUT

The name of a county, parish, or other political district that is necessary for the address or for tax purposes.

szShipToStateADDScharOPTINPUT

A user defined code (00/S) that specifies the state or province. This code is usually a postal service abbreviation.

szShipToCountryCTRcharOPTINPUT

A user defined code (00/CN) that identifies a country. The country code has no effect on currency conversion. The Address Book system 
uses the country code for data selection and address formatting.

jdTransactionDateTRDJJDEDATEREQINPUT

The date that an order was entered into the system. This date determines which effective level the system uses for inventory pricing.

jdScheduledPickDatePDDJJDEDATEREQINPUT

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.

jdPromisedShipDatePPDJJDEDATEREQINPUT

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

jdOriginalPromisedDateOPDJJDEDATEREQINPUT

The original promised delivery date for a purchase order.

jdCancelDateCNDJJDEDATEREQINPUT

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.                         

szReferenceVR01charOPTINPUT

An alphanumeric value used as a cross-reference or secondary reference number. Typically, this is the customer number, supplier 
number, or job number.

szPrintMessageINMGcharOPTINPUT

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.

szFreightHandlingCodeFRTHcharOPTINPUT

A user defined code (42/FR) designating the method by which supplier shipments are delivered. For example, the supplier could deliver to 
your dock, or you could pick up the shipment at the supplier's dock. You can also use these codes to indicate who has responsibility for 
freight charges. For example, you can have a code indicating that the customer legally takes possession of goods as soon as they leave the 
supplier warehouse and is responsible for transportation charges to the destination.

szPaymentTermsPTCcharOPTINPUT

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.

cPaymentInstrumentRYINcharOPTINPUT

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  

szCurrencyCodeCRCDcharOPTINPUT

A code that identifies the currency of a transaction. 

mnCurrencyConverRateCRRMATH_NUMERICOPTINPUT

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. 

szTaxAreaTXA1charOPTINPUT

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.

szTaxExplanationCodeEXR1charOPTINPUT

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.

mnOrderTotalOTOTMATH_NUMERICOPTINPUT

The total value of all lines on the order that have not been shipped and billed to the customer.

mnForeignOrderTotalFAPMATH_NUMERICOPTINPUT

The unpaid foreign amount of a transaction.

szUserReservedCodeURCDcharOPTINPUT

This is a 2 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

jdUserReservedDateURDTJDEDATEOPTINPUT

This is a 6 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

mnUserReservedAmountURATMATH_NUMERICOPTINPUT

This is a 15 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

mnUserReservedNumberURABMATH_NUMERICOPTINPUT

This is a 8 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

szUserReservedReferenceURRFcharOPTINPUT

A 15-position reference that is reserved for the user.  J.D. Edwards does not currently use this field and does not plan to use it in the future.

szHoldCodeHOLDcharOPTNONE

A user defined code (42/HC) that identifies why an order is on hold.

szOrderTakenByTKBYcharOPTNONE

SALES ORDER SYSTEM:  An optional entry field, intended for the name of the individual taking the customer's order. If you do not enter a 
user ID in this field, the system uses the ID of the person who is signed on.

szSoldToNameMailingMLNMcharOPTNONE

The company or person to whom billing or correspondence is addressed.

szSoldToZipCodeADDZcharOPTNONE

The United States ZIP code or the postal code that specifies where a letter is to be routed.  Attach this code to the address for delivery in 
other countries. This code is used as the low end value when doing Postal Code Transaction range processing.

szShipToNameMailingMLNMcharOPTNONE

The company or person to whom billing or correspondence is addressed.

szShipToZipCodeADDZcharOPTNONE

The United States ZIP code or the postal code that specifies where a letter is to be routed.  Attach this code to the address for delivery in 
other countries. This code is used as the low end value when doing Postal Code Transaction range processing.

jdRequestedDateDRQJJDEDATEOPTNONE

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

szDeliveryInstructLine1DEL1charOPTNONE

One of two fields that you use to enter delivery instructions.

szDeliveryInstructLine2DEL2charOPTNONE

The second of two fields that you use to enter delivery instructions.

mnDiscountTradeTRDCMATH_NUMERICOPTNONE

Percentage by which the system reduces the price of each item. This is the only discount that will be applied. You can override it if you 
enter a price. Enter the percentage as a whole number (that is, 5 for 5%).

cPublishToXPIxFlagEV01charOPTNONE

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

cCurrencyModeCRRMcharOPTNONE

An option that specifies whether the system displays amounts in the domestic or foreign currency. On  The system displays amounts in the 
foreign currency of the transaction. Off  The system displays amounts in the domestic currency of the transaction.

szShipToDescriptiveALKYcharOPTNONE

A user-defined name or number that identifies an address book record.  You can use this number to locate and enter information about the 
address book record. If you enter a value other than the address book number (AN8), such as the long address or tax ID, you must precede 
it with the special character that is defined in the Address Book constants. When the system locates the record, it returns the address book 
number to the field. For example, if address book number 4100 (Total Solutions) has a long address TOTAL and an * distinguishes it from 
other entries (as defined in the Address Book constants), you could type *TOTAL into the field, and the system would return 4100.

szSoldToDescriptiveALKYcharOPTNONE

A user-defined name or number that identifies an address book record.  You can use this number to locate and enter information about the 
address book record. If you enter a value other than the address book number (AN8), such as the long address or tax ID, you must precede 
it with the special character that is defined in the Address Book constants. When the system locates the record, it returns the address book 
number to the field. For example, if address book number 4100 (Total Solutions) has a long address TOTAL and an * distinguishes it from 
other entries (as defined in the Address Book constants), you could type *TOTAL into the field, and the system would return 4100.

jdActualShipDateADDJJDEDATEOPTNONE

The date on which the shipment to the customer is confirmed as shipped. During shipment confirmation, the system updates the Sales 
Order Detail table (F4211) with this date.

szOPBusinessObjectiveOPBOcharOPTNONE

A value that specifies a default business objective to send outbound to order promising before an order has been promised. A business 
objective is a grouping of business rules that fulfill a sales order. For sales order detail lines, this value specifies the business objective that is 
selected by order promising after an order has been promised.

Related Functions

None

Related Tables

None