F4311UpdateOriginalPOLine

F4311 - Update Original PO Line

Minor Business Rule

Object Name: B4301230

Parent DLL: CDIST

Location: Client/Server

Language: C

This Function will update the original P.O.Line was used to create a new P.O. Line at receipt time 
due to a receipt created with different unit of mesaure. the values tha will be in the new P.O. Line 

will be subtracted from this original P.O. Line.


Data ItemDescriptionI/O

DOCOOrder NumberI
DCTOOrder TypeI

KCOOOrder CompanyI

SFXOOrder SuffixI

LNIDOrder Line NumberI

CONVConv PO Trans To PrimaryI

CNV1Conv Rcp Trans to PrimaryI

CNV2Conv Purch To PriamryI

NXTRNext StatusI

URECQuantity To ReceiveI

^

Data Structure

D4301230 - F4311 - Update Original PO Line

Parameter NameData ItemData TypeReq/OptI/O/Both
mnOrderNumberDOCOMATH_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

szOrderCompanyKCOOcharNONENONE

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.

szOrderSuffixSFXOcharNONENONE

In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies 
multiple transactions for an original order. For purchase orders, the code is always 000. For sales orders with multiple partial receipts against an 
order, the first receiver used to record receipt has a suffix of 000, the next has a suffix of 001, the next 002, and so on.

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

mnConvPOTransToPrimaryCONVMATH_NUMERICNONENONE

The factor that the system uses to convert one unit of measure to another unit of measure.

mnConvRcptTransToPrimaryCNV1MATH_NUMERICNONENONE

The mathematical relationship showing the conversion between the primary and secondary units of measure.

mnConvPurchToPrimaryCNV2MATH_NUMERICNONENONE

The mathematical relationship showing the conversion between the primary and purchasing units of measure.

szNextStatusNXTRcharNONENONE

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

mnQuantityToReceiveURECMATH_NUMERICNONENONE

The original quantity of the order line, plus or minus any changes to that quantity, less all quantities shipped, received and/or vouchered to 
date. This number can also be the actual quantity received.

mnUnitsTransactionQtyUORGMATH_NUMERICOPTNONE

The quantity of units affected by this transaction.

mnTaxCommitmentFTN1MATH_NUMERICOPTNONE

The total tax amount committed to the PA ledger. The system uses this amount to relieve taxes at the committed rate.

Related Functions

B4000260 Line Type - Activity Rules
B4000520 Get Item UoM Conversion Factor
B4000750 Get Item Branch Grade Potency
B4300110 Get Purchase Order Detail
B9800100 Get Audit Information

Related Tables

F4311 Purchase Order Detail File