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.
^
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
AC01ReportCodeAddBook001
AC02ReportCodeAddBook002
AC03ReportCodeAddBook003
AC04ReportCodeAddBook004
AC05ReportCodeAddBook005
USERUserID
PIDProgramID
UPMJDateUpdated
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 Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szCostCenter | MCU | char | NONE | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
mnDocumentOrderInvoicee | DOCO | MATH_NUMERIC | NONE | NONE |
A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry,
| ||||
szOrderType | DCTO | char | NONE | NONE |
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
| ||||
szDocumentKeyOrderNo | KCOO | char | NONE | NONE |
A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a
| ||||
mnLineNumber | LNID | MATH_NUMERIC | NONE | NONE |
A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns
| ||||
mnDocVoucherInvoicee | DOC | MATH_NUMERIC | NONE | NONE |
A number that identifies the original document, such as a voucher, invoice, or journal entry. On entry forms, you can assign the document
| ||||
szDocumentType | DCT | char | NONE | NONE |
A user defined code (00/DT) that identifies the origin and purpose of the transaction. PeopleSoft reserves several prefixes for document
| ||||
szCompanyKey | KCO | char | NONE | NONE |
A number that, with the document number, document type and G/L date, uniquely identifies an original document, such as invoice, voucher,
| ||||
mnIdentifierShortItem | ITM | MATH_NUMERIC | NONE | NONE |
ab
| ||||
szIdentifier2ndItem | LITM | char | NONE | NONE |
ab ab
| ||||
szIdentifier3rdItem | AITM | char | NONE | NONE |
| ||||
mnCurrencyConverRateOv | CRR | MATH_NUMERIC | NONE | NONE |
A number (exchange rate) that a foreign currency amount is multiplied by to calculate a domestic currency amount.
The number in this field
| ||||
mnAmtExtendedPrice | AEXP | MATH_NUMERIC | NONE | NONE |
The number of units multiplied by the unit price. | ||||
mnAmtExtendedCost | ECST | MATH_NUMERIC | NONE | NONE |
For accounts receivable and accounts payable, the invoice (gross) amount. For sales orders and purchase orders, the unit cost times the
| ||||
mnAmtForPricePerUnit | FUP | MATH_NUMERIC | NONE | NONE |
The foreign price per unit. | ||||
mnAmtForeignExtPrice | FEA | MATH_NUMERIC | NONE | NONE |
The product of the foreign price times the number of units. | ||||
mnAmtForeignUnitCost | FUC | MATH_NUMERIC | NONE | NONE |
Amount - Foreign Unit Cost | ||||
mnAmtForeignExtCost | FEC | MATH_NUMERIC | NONE | NONE |
The product of the cost of an item, expressed in foreign currency according to the orders exchange rate, times the number of units. | ||||
szStatusCodeNext | NXTR | char | NONE | NONE |
A user defined code (system 40/type AT) indicating the next step in the order flow of the line type. | ||||
szStatusCodeLast | LTTR | char | NONE | NONE |
A code (system 40/type AT) specifying the last step in the processing cycle that this order line has successfully completed. | ||||
mnQuantityShippedToDate | QTYT | MATH_NUMERIC | NONE | NONE |
The number of units which have passed through the Sales Update process. In Workorder Processing, this field identifies the total quantity
| ||||
mnFiscalYear1 | FY | MATH_NUMERIC | NONE | NONE |
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
| ||||
jdDateForGLAndVouch1 | DGL | JDEDATE | NONE | NONE |
A date that identifies the financial period to which the transaction is to be posted.
The company constants specify the date range for each
| ||||
cSalesOrderStatus02 | SO02 | char | NONE | NONE |
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
| ||||
mnAddressNumber | AN8 | MATH_NUMERIC | NONE | NONE |
| ||||
mnAddressNoShipTo | SHAN | MATH_NUMERIC | NONE | NONE |
The address number of the location to which you want to ship this order. The address book provides default values for customer address,
| ||||
jdInvoiceDate | IVD | JDEDATE | NONE | NONE |
The date the invoice was printed. The system updates this date when you run the invoice print program in the Sales Order Management
| ||||
szLot | LOTN | char | NONE | NONE |
A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics. | ||||
szLocation | LOCN | char | NONE | NONE |
The storage location from which goods will be moved. | ||||
szPricingCategory | PRGR | char | NONE | NONE |
A user defined code (system 40/type PI) that identifies an inventory price group for an item.
Inventory price groups have unique pricing
| ||||
szPricingCategoryLevel1 | CLVL | char | NONE | NONE |
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
| ||||
mnUnitsTransQty | UORG | MATH_NUMERIC | NONE | NONE |
| ||||
mnUnitsQtyShipped | SOQS | MATH_NUMERIC | NONE | NONE |
The number of units committed for shipment in Sales Order Entry, using either the entered or the primary unit of measure defined for this
| ||||
mnUnitsQtyCanceled | SOCN | MATH_NUMERIC | NONE | NONE |
The number of units canceled in Sales Order or Work Order Processing, using either the entered or the primary unit of measure defined for
| ||||
mnUnitsQtyBackorHeld | SOBK | MATH_NUMERIC | NONE | NONE |
The number of units backordered in Sales Order Management or in Work Order Processing, using either the entered or the primary unit of
| ||||
cCommittedHS | COMM | char | NONE | NONE |
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
| ||||
cOtherQty12 | OTQY | char | NONE | NONE |
SALES ORDER PROCESSING DEFINITION: This field determines if the Quantity on Other Sales Order 1 or 2 field in the Item Location file is
| ||||
szReasonCode | RCD | char | NONE | NONE |
A user defined code (42/RC) that explains the purpose for a transaction. For example, you can indicate the reason that you are returning
| ||||
szUnitOfMeasure | UOM | char | NONE | NONE |
| ||||
mnAmtUnitCost | UNCS | MATH_NUMERIC | NONE | NONE |
The amount per unit, derived by dividing the total cost by the unit quantity. | ||||
szGLClass | GLC | char | NONE | NONE |
| ||||
mnExtCostTransfer | TCST | MATH_NUMERIC | NONE | NONE |
This is the cost of transferring inventory from one branch to another. The method of calculating this transfer cost is maintained in the Inter
| ||||
jdDateTrans | TRDJ | JDEDATE | NONE | NONE |
| ||||
szLineType | LNTY | char | NONE | NONE |
A code that controls how the system processes lines on a transaction. It controls the systems with which the transaction interfaces, such as
| ||||
szSalesRptCode1 | SRP1 | char | NONE | NONE |
One of ten category codes for sales coding purposes. These codes can represent such classifications as color, material content, or use. | ||||
szSalesRptCode2 | SRP2 | char | NONE | NONE |
One of ten category codes for sales coding purposes. These codes can represent such classifications as color, material content, or
| ||||
szSalesRptCode3 | SRP3 | char | NONE | NONE |
One of ten category codes for sales coding purposes. These codes can represent such classifications as color, material content, or use. | ||||
szSalesRptCode4 | SRP4 | char | NONE | NONE |
One of ten category codes to be used for sales coding purposes. These codes can represent such classifications as color, material
| ||||
szSalesRptCode5 | SRP5 | char | NONE | NONE |
One of ten category codes to be used for sales coding purposes. These codes can represent such classifications as color, material
| ||||
mnSalesperson1 | SLSM | MATH_NUMERIC | NONE | NONE |
The first of two salespeople who have responsibility for or can receive a commission on sales to this customer.
You create this code by
| ||||
mnSalesperson2 | SLM2 | MATH_NUMERIC | NONE | NONE |
The second of two salespeople who have responsibility for or can receive a commission on sales to this customer.
You create this code by
| ||||
mnSPCommission1 | SLCM | MATH_NUMERIC | NONE | NONE |
The percentage commission rate that the system uses in computing commission liability on sales made by salesperson 01. | ||||
mnSPCommission2 | SLC2 | MATH_NUMERIC | NONE | NONE |
The percentage commission rate that the system uses in computing commission liability on sales made by salesperson 02. | ||||
cPriceOverrideCode | PROV | char | NONE | NONE |
A value established by the sales order entry program whenever a unit or extended price is entered into an order line item, overriding the
| ||||
cAssociatedText | ATXT | char | NONE | NONE |
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
| ||||
cMode | EV01 | char | NONE | NONE |
| ||||
szErrorMessage | DTAI | char | NONE | NONE |
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
| ||||
cErrorCode | ERRC | char | NONE | NONE |
This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document
| ||||
cSuppressErrorMessage | EV03 | char | NONE | NONE |
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,
| ||||
mnJobNumber | JOBS | MATH_NUMERIC | NONE | NONE |
| ||||
szComputerId | CTID | char | NONE | NONE |
szCurrencyCodeFrom | CRCD | char | NONE | NONE |
A code that identifies the currency of a transaction. | ||||
szCurrencyCodeTo | CRDC | char | NONE | NONE |
A code that identifies the domestic (base) currency of the company on a transaction. | ||||
szReportCodeAddBook001 | AC01 | char | NONE | NONE |
One of thirty reporting codes that you can assign to an address in the Address Book system. Use these codes to group address book
| ||||
szReportCodeAddBook002 | AC02 | char | NONE | NONE |
One of thirty reporting codes that you can assign to an address in the Address Book system. Use these codes to identify addresses for
| ||||
szReportCodeAddBook003 | AC03 | char | NONE | NONE |
One of thirty reporting codes that you can assign to an address in the Address Book system. Use these codes to identify addresses for
| ||||
szReportCodeAddBook004 | AC04 | char | NONE | NONE |
One of thirty reporting codes that you can assign to an address in the Address Book system. Use these codes to identify addresses for
| ||||
szReportCodeAddBook005 | AC05 | char | NONE | NONE |
One of thirty reporting codes that you can assign to an address in the Address Book system. Use these codes to identify addresses for
| ||||
szProgramId | PID | char | NONE | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
szUserId | USER | char | NONE | NONE |
The code that identifies a user profile. | ||||
szWorkstationId | JOBN | char | NONE | NONE |
The code that identifies the work station ID that executed a particular job. | ||||
jdDate | UPMJ | JDEDATE | NONE | NONE |
The date that specifies the last update to the file record. | ||||
mnTimeOfDay | TDAY | MATH_NUMERIC | NONE | NONE |
The computer clock in hours:minutes:seconds. | ||||
szFreightHandlingCode | FRTH | char | NONE | NONE |
A user defined code (42/FR) designating the method by which supplier shipments are delivered. For example, the supplier could deliver to
| ||||
szName | ALPH | char | NONE | NONE |
The text that names or describes an address. This 40-character alphabetic field appears on a number of forms and reports. You can enter
| ||||
szHeaderCostCtr | EMCU | char | NONE | NONE |
A business unit is an accounting entity required for management reporting. It can be a profit center, department, warehouse location, job,
| ||||
mnGLPeriodNumber | PN | MATH_NUMERIC | NONE | NONE |
A number indicating the current accounting period. This number, used in conjunction with the Company Constants table (F0010) and the
| ||||
mnQtyShippedInPrimary | PQOR | MATH_NUMERIC | NONE | NONE |
The quantity ordered by the customer expressed in the primary stocking unit of measure. | ||||
cWriteLedgerRecord | WRTH | char | NONE | NONE |
A code that tells the system to write a record to the history table (F42199 for Sales Order Management and F43199 for Purchase Order
| ||||
szABAmountsCurrency | CRCA | char | NONE | NONE |
The currency in which amounts are stored in the address book. For example, the credit limit, invoiced this year, invoiced prior year, and so
| ||||
mnRecalcExtendedAmount | XEXP | MATH_NUMERIC | NONE | NONE |
The product of the number of units and the unit price. | ||||
mnRecalcExtendedCost | XCST | MATH_NUMERIC | NONE | NONE |
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. | ||||
mnRecalcForeignExtCost | XFEC | MATH_NUMERIC | NONE | NONE |
The product of the cost of an item, expressed in foreign currency according to the orders exchange rate, times the number of units. | ||||
cDeleteEntireOrder | EV02 | char | NONE | NONE |
| ||||
cPaymentInstrument | RYIN | char | NONE | NONE |
The user defined code (00/PY) that specifies how payments are made by the customer. For example:
C
Check
D
Draft
T
Electronic funds
| ||||
szCompany | CO | char | OPT | NONE |
A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company
| ||||
cPlanTimeFenceRule | MPSP | char | OPT | NONE |
A code (system 34, table TF) that the system uses in conjunction with the Planning Time Fence Days field to determine how forecast
| ||||
jdScheduledPickDate | PDDJ | JDEDATE | OPT | NONE |
The promised shipment date for either a sales order or purchase order. The Supply and Demand Programs use this date to calculate
| ||||
jdScheduledInvoiceDate | SIDT | JDEDATE | OPT | NONE |
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
| ||||
mnAaiTableNumber | ANUM | MATH_NUMERIC | OPT | NONE |
A number used to specify sequence and retrieve accounting information. | ||||
szInvoiceCycleCode | INCY | char | OPT | NONE |
The invoice cycle field is used in Cycle Billing to determine the method of invoicing that is used. For example, daily, weekly, monthly, etc.... | ||||
mnAmountUnitWeight | ITWT | MATH_NUMERIC | OPT | NONE |
The weight of one unit of an item, expressed in the primary unit of measure. | ||||
szUnitofMeasureWGHT | WUOM | char | OPT | NONE |
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
| ||||
cSalesOrderStatus09 | SO09 | char | OPT | NONE |
A code that indicates the existence of pricing history behind a given sales detail line. Valid values are:
1
Standard detail adjustments exist
| ||||
szProductSource | PSR | char | OPT | NONE |
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
| ||||
szProductSourceType | PSRY | char | OPT | NONE |
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
| ||||
cDueTo | DTO | char | OPT | NONE |
A code that identifies which partner is due to receive the listed item. Valid values are:
C Company - Your company expects to receive
| ||||
szContractNumberDistributi | DMCT | char | OPT | NONE |
A unique number your company assigns to identify a particular agreement. You might want to assign some significance to the agreement
| ||||
mnContractSupplementDistri | DMCS | MATH_NUMERIC | OPT | NONE |
The supplement number records any changes or addendum to agreements that occur over time or by item. It can also indicate individual
| ||||
mnSequenceNumber1 | SEQ | MATH_NUMERIC | OPT | NONE |
A number that specifies the sequence of information. | ||||
cDeferredEntriesFlag | DEFF | char | OPT | NONE |
Indicates whether deferred entries have been made for this Order Line. | ||||
mnAmountDeferredRevenue | DREV | MATH_NUMERIC | OPT | NONE |
Revenue deferred until a later date. | ||||
mnAmountForeignDeferredRe | FDRV | MATH_NUMERIC | OPT | NONE |
The revenue amount in foreign currency that was defferred for this Order Line. | ||||
mnAmountForeignDeferredCos | FDUC | MATH_NUMERIC | OPT | NONE |
The cost amount in foreign currency that was deferred for this Order Line. | ||||
mnAmountDeferredCost | DUNC | MATH_NUMERIC | OPT | NONE |
The cost amount that was deferred for this Order Line. | ||||
szProductSource9 | PSR1 | char | OPT | NONE |
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
| ||||
szProductSourceType9 | PSY2 | char | OPT | NONE |
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
| ||||
cDueTo2 | DTO2 | char | OPT | NONE |
A user defined code (38/DT) that identifies whether your company's partner receives the listed item. Valid values are:
C Company: Your
| ||||
szContractNumberDistrsecoN | DMT1 | char | OPT | NONE |
Secondary Contract Number field | ||||
mnSecondarycontractsupp | DMS1 | MATH_NUMERIC | OPT | NONE |
Secondary Contract Supplement field | ||||
mnSequenceNumber5 | SEQ5 | MATH_NUMERIC | OPT | NONE |
A number that the system uses to sequence information. | ||||
szUnitOfMeasureSecondary | UOM2 | char | OPT | NONE |
A user defined code (00/UM) that indicates an alternate unit of measure for the item. | ||||
mnSecondaryQty | SQOR | MATH_NUMERIC | OPT | NONE |
If the secondary unit of measure option in Inventory Constants is selected,this field will display on data entry screens. | ||||
cManufacturingRecordFlag | SO16 | char | OPT | NONE |
An option that indicates that a record is created by the Variance Journal Entries program (R31804). | ||||
jdDateRequestedJulian | DRQJ | JDEDATE | OPT | NONE |
The date that an item is scheduled to arrive or that an action is scheduled for completion. | ||||
mnFutureUseMathNumeric1 | N1FU | MATH_NUMERIC | OPT | NONE |
Future use math numeric field | ||||
mnFutureUseMathNumeric2 | N2FU | MATH_NUMERIC | OPT | NONE |
Future use math numeric field. | ||||
mnFutureUseMathNumeric3 | N3FU | MATH_NUMERIC | OPT | NONE |
Future use math numeric field. | ||||
cFutureUse-Character1 | C1FU | char | OPT | NONE |
Future use character field. | ||||
cFutureUse-Character2 | C2FU | char | OPT | NONE |
Future use character field. | ||||
jdFutureUse-Date1 | D1FU | JDEDATE | OPT | NONE |
Future use date field. | ||||
jdFutureUse-Date2 | D2FU | JDEDATE | OPT | NONE |
Future use date field. | ||||
szFutureUseString1 | S1FU | char | OPT | NONE |
Future use string field. | ||||
szFutureUseString2 | S2FU | char | OPT | NONE |
Future Use String |
B9800100 Get Audit Information |
F42UI800 Sales Detail Work File - Sales Update |