InsertDeleteF42UI800

InsertDeleteF42UI800

Major Business Rule

Object Name: B4200550

Parent DLL: CDIST

Location: Client/Server

Language: C

Functional Description

Purpose

This function will insert records from the Sale Update UBE that pass all edits at both the line and 
document level for F0911 and F0311. The record will be written if the line edits are passed. At the 

time the document edits are done if there are errors this function will be called with the flag set to 

delete all records for the order number,order type,and order company. In the final cycle of Sales Update 

these records will be deleted on the order number level break(all lines for the order will be 

deleted) after updates of satellite systems is completed.


Setup Notes and Prerequisites

When using the add function you must pass all the parameters except  DeleteEntireOrderY/N.

When using this function to delete processed orders pass the following parameters

EV02      DeleteEntireOrderY/N = '1'

JOBS JobNumber

CTIDComputerID

DOCOOrder Number

DCTODocument Type

KCOOOrder Company


Special Logic

None.


Technical Specification


2.2Related Tables 

Table Table Description

 F42UI800Sales Detail Work File

2.3Related Business Functions

Source NameFunction Name


2.4Processing 

1. If Mode is 'A' use all six key fields to insert the record in F42UI800.

2. If Mode is 'D' use the first five keys to delete the record from F42UI800. This is used to delete 

one line at a time.


3. If DeleteEntireOrderY/N is equal '1'

          Delete records by JOBS,CTID,DOCO,DCTO,KCOO.


^

Data Structure

D4200550 - InsertDeleteF42UI800

Special Input Expected
JOBSszJobNumberKey

CTIDszComputerIDKey

MCUCostCenterBusiness Unit

DOCODocumentOrderInvoiceEKey

DCTOOrderTypeKey

KCOODocumentKeyOrderNoKey

LNIDLineNumberKey

DOCDocVoucherInvoiceE

DCTDocumentType

KCOCompanyKey

ITMIdentifierShortItem

LITMIdentifier2ndItem

AITMIdentifier3rdItem

CRRCurrencyConverRateOv

AEXPAmountExtendedPrice

ECSTAmountExtendedCost

FUPAmountForPricePerUnit

FEAAmountForeignExtPrice

FUCAmountForeignUnitCost

FECAmountForeignExtCost

NXTRStatusCodeNext

LTTRStatusCodeLast

QTYTQuantityShippedToDate

FYFiscalYear1

DGLDateForGLAndVouch1

SO02SalesOrderStatus02

AN8AddressNumber

SHANAddressNumberShipTo

IVDDateInvoiceJulian

LOTNLot

LOCNLocation

PRGRPricingCategory

CLVLPricingCategoryLevel1

UORGUnitsTransactionQty

SOQSUnitsQuantityShipped

SOCNUnitsQuantityCanceled

SOBKUnitsQuanBackorHeld

COMMCommittedHS

OTQYOtherQuantity12

RCDReasonCode

UOMUnitOfMeasureAsInput

UNCSAmountUnitCost

GLCGlClass

TCSTExtendedCostTransfer

TRDJDateTransactionJulian

LNTYLineType

SRP1SalesReportingCode1

SRP2SalesReportingCode2

SRP3SalesReportingCode3

SRP4SalesReportingCode4

SRP5SalesReportingCode5

SLSMSalesperson1

SLM2Salesperson2

SLCMSalespersonCommission1

SLC2SalespersonCommission2

PROVPriceOverrideCode

ATXTAssociated Text

CRCDCurrencyCodeFrom

CRDCCurrencyCodeTo

AC01
ReportCodeAddBook001
AC02ReportCodeAddBook002

AC03ReportCodeAddBook003

AC04ReportCodeAddBook004

AC05ReportCodeAddBook005

USERUserID

PIDProgramID

UPMJ
DateUpdated
JOBNWorkStationID

TDAYTimeOfDay

EV01Mode'A' = Add  'D' = Delete

EMCUHeader Cost Center

PNGL Period Number

PQORQty Shipped In Primary

WRTHWriteLedgerRecord

CRCAABAmountsCurrencyCurrency Code for Address Book Amounts 2/1/96

XEXPRecalcExtendedAmountRecalculated Extended amount 2/1/96

XCSTRecalcExtendedCostRecalculated extended cost 2/1/96

XFECRecalcForeignExtCostRecalculated foreign extended cost 2/1/96

EV02DeleteEntireOrderY/N1 = Delete entire order.

Required only when deleting the entire order.

In addition must pass DOCO,DCTO,KCOO

RYINPayment Instrument





^

Parameter NameData ItemData TypeReq/OptI/O/Both
szCostCenterMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

mnDocumentOrderInvoiceeDOCOMATH_NUMERICNONENONE

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

szOrderTypeDCTOcharNONENONE

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

szDocumentKeyOrderNoKCOOcharNONENONE

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

mnLineNumberLNIDMATH_NUMERICNONENONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

mnDocVoucherInvoiceeDOCMATH_NUMERICNONENONE

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.

szDocumentTypeDCTcharNONENONE

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 

szCompanyKeyKCOcharNONENONE

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.

mnIdentifierShortItemITMMATH_NUMERICNONENONE

ab 
Special Input Expected

ITMab IdentifierShortItem


^

szIdentifier2ndItemLITMcharNONENONE

ab  ab 
Special Input Expected

LITMab Identifier2ndItem



^

szIdentifier3rdItemAITMcharNONENONE


Special Input Expected

AITMab Identifier3rdItem





^

mnCurrencyConverRateOvCRRMATH_NUMERICNONENONE

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. 

mnAmtExtendedPriceAEXPMATH_NUMERICNONENONE

The number of units multiplied by the unit price.

mnAmtExtendedCostECSTMATH_NUMERICNONENONE

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

mnAmtForPricePerUnitFUPMATH_NUMERICNONENONE

The foreign price per unit.

mnAmtForeignExtPriceFEAMATH_NUMERICNONENONE

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

mnAmtForeignUnitCostFUCMATH_NUMERICNONENONE

Amount - Foreign Unit Cost

mnAmtForeignExtCostFECMATH_NUMERICNONENONE

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

szStatusCodeNextNXTRcharNONENONE

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

szStatusCodeLastLTTRcharNONENONE

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

mnQuantityShippedToDateQTYTMATH_NUMERICNONENONE

The number of units which have passed through the Sales Update process. In Workorder Processing, this field identifies the total quantity 
completed or consumed on a workorder to date basis.

mnFiscalYear1FYMATH_NUMERICNONENONE

A number that identifies the fiscal year. Generally, you can either enter a number in this field or leave it blank to indicate the current fiscal 
year (as defined on the Company Setup form). Specify the year at the end of the first period rather than the year at the end of the fiscal period. 
For example, a fiscal year begins October 1, 1998 and ends September 30, 1999. The end of the first period is October 31, 1998. Specify the 
year 98 rather than 99.

jdDateForGLAndVouch1DGLJDEDATENONENONE

A date that identifies the financial period to which the transaction is to be posted.  The company constants specify the date range for each 
financial period. You can have as many as 14 periods. Generally, period 14 is used for audit adjustments. The system validates this field for 
PBCO (posted before cutoff), PYEB (prior year ending balance), PACO (post after cutoff), and WACO (post way after cutoff) messages.

cSalesOrderStatus02SO02charNONENONE

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

mnAddressNumberAN8MATH_NUMERICNONENONE


Special Input Expected

AN8ab AddressNumber





^

mnAddressNoShipToSHANMATH_NUMERICNONENONE

The address number of the location to which you want to ship this order. The address book provides default values for customer address, 
including street, city, state, zip code, and country.

jdInvoiceDateIVDJDEDATENONENONE

The date the invoice was printed. The system updates this date when you run the invoice print program in the Sales Order Management 
system.

szLotLOTNcharNONENONE

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

szLocationLOCNcharNONENONE

The storage location from which goods will be moved.

szPricingCategoryPRGRcharNONENONE

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.

szPricingCategoryLevel1CLVLcharNONENONE

A pricing category or price rule can contain a variety of levels. Within each price rule, each level is defined by its effective date range and 
allowed quantity, and whether it is based on the item's cost, price, or an amount specified as an override.

mnUnitsTransQtyUORGMATH_NUMERICNONENONE


Special Input Expected

UORGab UnitsTransactionQty





^

mnUnitsQtyShippedSOQSMATH_NUMERICNONENONE

The number of units committed for shipment in Sales Order Entry, using either the entered or the primary unit of measure defined for this 
item. In the Manufacturing system and Work Order Time Entry, this field can indicate completed or scrapped quantities. The quantity type is 
determined by the type code entered.

mnUnitsQtyCanceledSOCNMATH_NUMERICNONENONE

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.

mnUnitsQtyBackorHeldSOBKMATH_NUMERICNONENONE

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.

cCommittedHSCOMMcharNONENONE

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)

cOtherQty12OTQYcharNONENONE

SALES ORDER PROCESSING DEFINITION: This field determines if the Quantity on Other Sales Order 1 or 2 field in the Item Location file is 
to be updated instead of the Soft Commit or Hard Commit fields. PURCHASING DEFINITION: This field determines if the Quantity on Other 
Purchase Order field is updated in the Item Location file instead of the On Purchase Order field.

szReasonCodeRCDcharNONENONE

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.

szUnitOfMeasureUOMcharNONENONE


Special Input Expected

UOMab UnitOfMeasureAsInput


^

mnAmtUnitCostUNCSMATH_NUMERICNONENONE

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

szGLClassGLCcharNONENONE


Special Input Expected

GLCab GlClass


^

mnExtCostTransferTCSTMATH_NUMERICNONENONE

This is the cost of transferring inventory from one branch to another.  The method of calculating this transfer cost is maintained in the Inter 
Branch Sales Markup Revisions (P3403).

jdDateTransTRDJJDEDATENONENONE


Special Input Expected

TRDJab DateTransactionJulian

^

szLineTypeLNTYcharNONENONE

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

szSalesRptCode1SRP1charNONENONE

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

szSalesRptCode2SRP2charNONENONE

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.

szSalesRptCode3SRP3charNONENONE

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

szSalesRptCode4SRP4charNONENONE

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

szSalesRptCode5SRP5charNONENONE

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

mnSalesperson1SLSMMATH_NUMERICNONENONE

The first of two salespeople who have responsibility for or can receive a commission on sales to this customer. You create this code by 
using the Address Book system or the Related Salesperson form.

mnSalesperson2SLM2MATH_NUMERICNONENONE

The second of two salespeople who have responsibility for or can receive a commission on sales to this customer. You create this code by 
using the Address Book system or the Related Salespersons form.

mnSPCommission1SLCMMATH_NUMERICNONENONE

The percentage commission rate that the system uses in computing commission liability on sales made by salesperson 01.

mnSPCommission2SLC2MATH_NUMERICNONENONE

The percentage commission rate that the system uses in computing commission liability on sales made by salesperson 02.

cPriceOverrideCodePROVcharNONENONE

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.

cAssociatedTextATXTcharNONENONE

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

cModeEV01charNONENONE


Special Input Expected

EV01ab Mode


Significant Data Values

'A' = Add  'D' = Delete

^

szErrorMessageDTAIcharNONENONE

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

cErrorCodeERRCcharNONENONE

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

cSuppressErrorMessageEV03charNONENONE

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. 

mnJobNumberJOBSMATH_NUMERICNONENONE


Special Input Expected

JOBSab szJobNumber


Significant Data Values

Key

^

szComputerIdCTIDcharNONENONE

szCurrencyCodeFromCRCDcharNONENONE

A code that identifies the currency of a transaction. 

szCurrencyCodeToCRDCcharNONENONE

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

szReportCodeAddBook001AC01charNONENONE

One of thirty reporting codes that you can assign to an address in the Address Book system. Use these codes to group address book 
records for reports, mailings, and so on. Category codes are user defined (system 01, types 01 through 30). Examples of category codes 
include: Category code 01   Location or Branch Category code 02 Salesperson Category code 03   Product Category code 04   Credit officer

szReportCodeAddBook002AC02charNONENONE

One of thirty reporting codes that you can assign to an address in the Address Book system. Use these codes to identify addresses for 
reports, mailings, and so on. Category codes are user-defined (system 01, types 01 through 30). Examples: Category code 01 - Location or 
Branch  Category code 02 - Account Representative  Category code 03 - New tenant  Category code 04 - Credit officer

szReportCodeAddBook003AC03charNONENONE

One of thirty reporting codes that you can assign to an address in the Address Book system. Use these codes to identify addresses for 
reports, mailings, and so on. Category codes are user-defined (system 01, types 01 through 30). Examples: Category code 01 - Location or 
Branch  Category code 02 - Salesperson  Category code 03 - New tenant  Category code 04 - Credit officer

szReportCodeAddBook004AC04charNONENONE

One of thirty reporting codes that you can assign to an address in the Address Book system. Use these codes to identify addresses for 
reports, mailings, and so on. Category codes are user-defined (system 01, types 01 through 30). Examples: Category code 01 - Location or 
Branch  Category code 02 - Salesperson  Category code 03 - New tenant  Category code 04 - Credit officer

szReportCodeAddBook005AC05charNONENONE

One of thirty reporting codes that you can assign to an address in the Address Book system. Use these codes to identify addresses for 
reports, mailings, and so on. Category codes are user-defined (system 01, types 01 through 30). Examples: Category code 01               Location 
or Branch Category code 02               Salesperson Category code 03               New tenant Category code 04               Credit officer

szProgramIdPIDcharNONENONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szUserIdUSERcharNONENONE

The code that identifies a user profile.

szWorkstationIdJOBNcharNONENONE

The code that identifies the work station ID that executed a particular job.

jdDateUPMJJDEDATENONENONE

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

mnTimeOfDayTDAYMATH_NUMERICNONENONE

The computer clock in hours:minutes:seconds.

szFreightHandlingCodeFRTHcharNONENONE

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

szNameALPHcharNONENONE

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.

szHeaderCostCtrEMCUcharNONENONE

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.

mnGLPeriodNumberPNMATH_NUMERICNONENONE

A number indicating the current accounting period.  This number, used in conjunction with the Company Constants table (F0010) and the 
General Constants table (F0009), allows the user to define up to 14 accounting periods. See General Ledger Date.  The current period number 
is used to determine posted before and posted after cut off warning messages.  It is also used as the default accounting period in the 
preparation of financial reports.

mnQtyShippedInPrimaryPQORMATH_NUMERICNONENONE

The quantity ordered by the customer expressed in the primary stocking unit of measure.

cWriteLedgerRecordWRTHcharNONENONE

A code that tells the system to write a record to the history table (F42199  for Sales Order Management and F43199 for Purchase Order 
Management). Valid codes are:    Y Write a record for selected fields to the history table    N Do not write a record to the history table 

szABAmountsCurrencyCRCAcharNONENONE

The currency in which amounts are stored in the address book. For example, the credit limit, invoiced this year, invoiced prior year, and so 
on. The currency you specify is used to record and store transaction history.

mnRecalcExtendedAmountXEXPMATH_NUMERICNONENONE

The product of the number of units and the unit price.

mnRecalcExtendedCostXCSTMATH_NUMERICNONENONE

For sales orders and purchase orders, this is the unit cost times the number of units.  For A/R and A/P, this is the invoice (gross) amount.

mnRecalcForeignExtCostXFECMATH_NUMERICNONENONE

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

cDeleteEntireOrderEV02charNONENONE


Special Input Expected
EV02ab DeleteEntireOrderY/N



Significant Data Values

1 = Delete entire order.

Required only when deleting the entire order.

In addition must pass DOCO,DCTO,KCOO

^

cPaymentInstrumentRYINcharNONENONE

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  

szCompanyCOcharOPTNONE

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.

cPlanTimeFenceRuleMPSPcharOPTNONE

A code (system 34, table TF) that the system uses in conjunction with the Planning Time Fence Days field to determine how forecast 
demand or actual customer demand is used. For example:    S tells the system to plan using customer demand before the time fence and forecast 
after the time fence    F tells the system to plan using forecast before the time fence and forecast plus customer demand after the time fence  If 
you enter 5 in the Planning Time Fence Days field and S in this field, then the system uses only customer demand for the regeneration for the 
first 5  days. After 5 days, the system uses the forecast for the regeneration. Valid codes are:    C Customer demand before, greater of forecast 
or customer demand after    F Forecast before, forecast plus customer demand after    G Greater of forecast or customer demand before, 
forecast after    S Customer demand before, forecast after    1   Zero before, forecast after    3   Zero before, forecast plus customer demand after 

jdScheduledPickDatePDDJJDEDATEOPTNONE

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.

jdScheduledInvoiceDateSIDTJDEDATEOPTNONE

The date you send an invoice to your customer. The system calculates this date based on the information you set up in the Invoice Cycle 
Calculation Rule and the Invoice Cycle preference

mnAaiTableNumberANUMMATH_NUMERICOPTNONE

A number used to specify sequence and retrieve accounting information.

szInvoiceCycleCodeINCYcharOPTNONE

 The invoice cycle field is used in Cycle Billing to determine the method of invoicing that is used.  For example, daily, weekly, monthly, etc....

mnAmountUnitWeightITWTMATH_NUMERICOPTNONE

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

szUnitofMeasureWGHTWUOMcharOPTNONE

A user defined code (system 00/type UM) that identifies the unit of measure that the system uses to display weight for this item. You can 
specify ounces, grams, kilograms, and so on, as weight standards. The system uses this unit of measure as the starting point for converting to 
weight unit of measure in the Item Master (UWUM).

cSalesOrderStatus09SO09charOPTNONE

A code that indicates the existence of pricing history behind a given sales detail line. Valid values are: 1    Standard detail adjustments exist 
in the price history file. These adjustments might include accruals. 2    At least one of the adjustments in the price history file is a rebate accrual 
(ACNT = 5) and will be processed by Sales Update for purposes of sales volume history accummulation. 3   At least one of the adjustments 
in the price history file is a volume-level adjustment. 4    A volume-level adjustment and a rebate accrual exists in the price history file.

szProductSourcePSRcharOPTNONE

A value that identifies the location that supplies the item to fulfill the agreement. The value must match the Source Type code, as follows:     o 
If the source type is AB, the transaction source must be an address book number in the Address Book Master table (F0101).     o If the 
source type is CC, the transaction source must be a business unit in the Business Unit Master table (F0006).     o If the source type *A, the 
transaction source must be *ANY.

szProductSourceTypePSRYcharOPTNONE

A code that specifies the type of source entered in the Transaction Source field, as follows:     o If the transaction source is an address book 
number in the Address Book Master table (F0101), the source type must be AB.     o If the transaction source is a business unit in the Business 
Unit Master table (F0006), the source type must be CC.     o If the transaction source is *ANY, the source type must be *A.

cDueToDTOcharOPTNONE

A code that identifies which partner is due to receive the listed item. Valid values are:    C Company - Your company expects to receive 
product from the partner.    P Partner - Your partner expects to receive product from your company.

szContractNumberDistributiDMCTcharOPTNONE

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.

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

mnSequenceNumber1SEQMATH_NUMERICOPTNONE

A number that specifies the sequence of information.

cDeferredEntriesFlagDEFFcharOPTNONE

Indicates whether deferred entries have been made for this Order Line.

mnAmountDeferredRevenueDREVMATH_NUMERICOPTNONE

Revenue deferred until a later date.

mnAmountForeignDeferredReFDRVMATH_NUMERICOPTNONE

The revenue amount in foreign currency that was defferred for this Order Line.

mnAmountForeignDeferredCosFDUCMATH_NUMERICOPTNONE

The cost amount in foreign currency that was deferred for this Order Line.

mnAmountDeferredCostDUNCMATH_NUMERICOPTNONE

The cost amount that was deferred for this Order Line.

szProductSource9PSR1charOPTNONE

A value identifying the location that supplies the item to fulfill the agreement. The value in the Source field must correspond to the value in 
the Source Type field, as follows:     o If the source type is AB, the source must be an address book number in the Address Book Master table 
(F0101).     o If the source type is CC, the source must be a business unit in the Business Unit Master table (F0006).     o If the source type is *A, 
the source must be *ANY.

szProductSourceType9PSY2charOPTNONE

A user defined code (38/DY) that specifies the type of source entered in the Source field. The value in the Source Type field must 
correspond to the value in the Source field, as follows:     o If the source is an address book number in the Address Book Master table (F0101), the 
source type must be AB.     o If the source is a business unit in the Business Unit Master table (F0006), the source type must be CC.     o If the 
source is *Any, the source type must be *A.

cDueTo2DTO2charOPTNONE

A user defined code (38/DT) that identifies whether your company's partner receives the listed item. Valid values are:    C Company: Your 
company expects to receive product from the partner.    P Partner: The partner expects to receive product from your company.

szContractNumberDistrsecoNDMT1charOPTNONE

Secondary Contract Number field

mnSecondarycontractsuppDMS1MATH_NUMERICOPTNONE

Secondary Contract Supplement field

mnSequenceNumber5SEQ5MATH_NUMERICOPTNONE

A number that the system uses to sequence information.

szUnitOfMeasureSecondaryUOM2charOPTNONE

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

mnSecondaryQtySQORMATH_NUMERICOPTNONE

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

cManufacturingRecordFlagSO16charOPTNONE

An option that indicates that a record is created by the Variance Journal Entries program (R31804).

jdDateRequestedJulianDRQJJDEDATEOPTNONE

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

mnFutureUseMathNumeric1N1FUMATH_NUMERICOPTNONE

Future use math numeric field

mnFutureUseMathNumeric2N2FUMATH_NUMERICOPTNONE

Future use math numeric field.

mnFutureUseMathNumeric3N3FUMATH_NUMERICOPTNONE

Future use math numeric field.

cFutureUse-Character1C1FUcharOPTNONE

Future use character field.

cFutureUse-Character2C2FUcharOPTNONE

Future use character field.

jdFutureUse-Date1D1FUJDEDATEOPTNONE

Future use date field.

jdFutureUse-Date2D2FUJDEDATEOPTNONE

Future use date field.

szFutureUseString1S1FUcharOPTNONE

Future use string field.

szFutureUseString2S2FUcharOPTNONE

Future Use String

Related Functions

B9800100 Get Audit Information

Related Tables

F42UI800 Sales Detail Work File - Sales Update
te; left: 0.600000in">SalesReportingCode2
SRP3SalesReportingCode3

SRP4SalesReportingCode4

SRP5SalesReportingCode5

SLSMSalesperson1

SLM2Salesperson2

SLCMSalespersonCommission1

SLC2SalespersonCommission2

PROVPriceOverrideCode

ATXTAssociated Text

CRCDCurrencyCodeFrom

CRDCCurrencyCodeTo

AC01
ReportCodeAddBook001
AC02ReportCodeAddBook002

AC03ReportCodeAddBook003

AC04ReportCodeAddBook004

AC05ReportCodeAddBook005

USERUserID

PIDProgramID

UPMJ
DateUpdated
JOBNWorkStationID

TDAYTimeOfDay

EV01Mode'A' = Add  'D' = Delete

EMCUHeader Cost Center

PNGL Period Number

PQORQty Shipped In Primary

WRTHWriteLedgerRecord

CRCAABAmountsCurrencyCurrency Code for Address Book Amounts 2/1/96

XEXPRecalcExtendedAmountRecalculated Extended amount 2/1/96

XCSTRecalcExtendedCostRecalculated extended cost 2/1/96

XFECRecalcForeignExtCostRecalculated foreign extended cost 2/1/96

EV02DeleteEntireOrderY/N1 = Delete entire order.

Required only when deleting the entire order.

In addition must pass DOCO,DCTO,KCOO

RYINPayment Instrument





^

Parameter NameData ItemData TypeReq/OptI/O/Both
szCostCenterMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

mnDocumentOrderInvoiceeDOCOMATH_NUMERICNONENONE

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

szOrderTypeDCTOcharNONENONE

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

szDocumentKeyOrderNoKCOOcharNONENONE

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

mnLineNumberLNIDMATH_NUMERICNONENONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

mnDocVoucherInvoiceeDOCMATH_NUMERICNONENONE