DXT4314ZB - F4314 Edit Line
Functional Description
Purpose
This function is called to process the different order lines that are selected to match. This
function will take input from the grid and process it to get the correct amounts, taxes etc and update or
write to the Voucher Match cache (hF4314Zcache).
Setup Notes and Prerequisites
F4314BeginDoc has to be run prior to calling this function so that the Job Number used to access
records is the same one asigned by the AP F0411FSBeginDoc function (B0400047).
Special Logic
Technical Specification
1.1.1General Flow of Processing
1.Process Initialization & validate standard parameters
2.Edit PO / Receipt existance and retrieve required information
3.Edit tolerance rules
4.Call F0411EditLine to validate detailed input
5.Calculate taxes
6. Write to/update Voucher Match workfile record
^
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnAPJobNumber | JOBS | MATH_NUMERIC | NONE | NONE |
| ||||
mnGLJobNumber | JOBS | MATH_NUMERIC | NONE | NONE |
| ||||
mnPOJobNumber | JOBS | MATH_NUMERIC | NONE | NONE |
| ||||
szComputerID | CTID | char | NONE | NONE |
| ||||
mnWorkFileLineNumber | LNID | MATH_NUMERIC | NONE | NONE |
| ||||
cLineActionCode | ACTN | char | NONE | NONE |
| ||||
cEditInstructionFlag | EV01 | char | NONE | NONE |
| ||||
cUpdateOrWriteToWorkFile | EV01 | char | NONE | NONE |
| ||||
cRecordWrittenToVMFile | EV01 | char | NONE | NONE |
| ||||
szVMePrOptVersion | VERS | char | NONE | NONE |
| ||||
szAPPrOptVersion | VERS | char | NONE | NONE |
| ||||
szGLPrOptVersion | VERS | char | NONE | NONE |
| ||||
szPOPrOptVersion | VERS | char | NONE | NONE |
| ||||
cMatchType | MATC | char | NONE | NONE |
| ||||
cMatchProcessing | MATC | char | NONE | NONE |
| ||||
mnLastLineNumber | XTLN | MATH_NUMERIC | NONE | NONE |
| ||||
mnOrderNumber | 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
| ||||
szOrderCompany | 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
| ||||
szOrderSuffix | SFXO | char | NONE | NONE |
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
| ||||
mnOrderLineNumber | 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
| ||||
mnReceiptLineNumber | NLIN | MATH_NUMERIC | NONE | NONE |
A number representing the number of lines on either a purchase or sales order.
or The number of receivers recorded during the receipts
| ||||
szItemNumber | UITM | char | NONE | NONE |
A number that the system assigns to an item. It can be in short, long, or third item number format. | ||||
szFlashMessage | FLSH | char | NONE | NONE |
The Flash Message field is the 40-character description which comes from User Defined Codes (System code = '00', Record type = 'CM')
| ||||
szDescription1 | DSC1 | char | NONE | NONE |
Brief information about an item; a remark or an explanation. | ||||
szDescription2 | DSC2 | char | NONE | NONE |
A second, 30-character description, remark, or explanation. | ||||
szAccountNumber | ANI | char | NONE | NONE |
| ||||
szSubledger | SBL | char | NONE | NONE |
A code that identifies a detailed, auxiliary account within a general ledger account. A subledger can be an equipment item number or an
| ||||
cSubledgerType | SBLT | char | NONE | NONE |
A user defined code (00/ST) that is used with the Subledger field to identify the subledger type and how the system performs subledger
| ||||
szPayableGlOffset | GLC | char | NONE | NONE |
A code that determines the trade account that the system uses as the offset when you post invoices or vouchers. The system concatenates
| ||||
szPaymentHandlingCode | CRC | char | NONE | NONE |
A code that the system uses to sequence the printing of payments. Available values are in user defined table 00/HC. | ||||
cPayStatus | PST | char | NONE | NONE |
A user defined code (00/PS) that indicates the current payment status for a voucher or an invoice. Examples of codes include:
A
Approved
| ||||
szPaymentTerms | PTC | char | NONE | NONE |
A code that specifies the terms of payment, including the percentage of discount available if the invoice is paid by the discount due date.
| ||||
mnRetainage | PCR | MATH_NUMERIC | NONE | NONE |
The whole dollar amount or percentage of the payment to be retained. When entering a percentage, enter % following the percentage to be
| ||||
mnQuantitySelectedToMatch | UOPN | MATH_NUMERIC | NONE | NONE |
The original quantity for the order detail line, plus or minus any changes to that quantity, minus all quantities shipped, received, and
| ||||
szTaxExplCode | EXR1 | char | NONE | NONE |
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
| ||||
szTaxRateArea | TXA1 | char | NONE | NONE |
A code that identifies a tax or geographic area that has common tax rates and tax authorities. The system validates the code you enter
| ||||
jdDateDue | DDJ | JDEDATE | NONE | NONE |
In Accounts Receivable, the date that the net payment is due.
In Accounts Payable, the date that the payment is due to receive a discount
| ||||
jdGLDate | 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
| ||||
szRemark | RMK | char | NONE | NONE |
A generic field that you use for a remark, description, name, or address. | ||||
szReportingCode007 | AC07 | char | NONE | NONE |
One of 30 reporting codes that you can assign to an address in the Address Book system. Category Code 07 is used in the 1099 process to
| ||||
szAssetID | ASID | char | NONE | NONE |
A 25-character alphanumeric number that you can use as an alternate asset identification number. You might use this number to track
| ||||
cCurrencyProcessingFlag | CRYR | char | NONE | NONE |
| ||||
szTransactionCurrencyCode | CRCD | char | NONE | NONE |
A code that identifies the currency of a transaction. | ||||
szCompanyCurrencyCode | CRDC | char | NONE | NONE |
A code that identifies the domestic (base) currency of the company on a transaction. | ||||
mnExchangeRate | 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
| ||||
cCurrencyMode | CRRM | char | NONE | NONE |
| ||||
szUserID | USER | char | NONE | NONE |
The code that identifies a user profile. | ||||
szCallingApplicationName | PID | char | NONE | NONE |
| ||||
mnDomAmountToDistribute | AG | MATH_NUMERIC | NONE | NONE |
A value that specifies the total amount of the invoice or voucher pay item. The gross amount might include the tax amount, depending on
| ||||
szInvoiceNnumber | VINV | char | NONE | NONE |
The supplier's invoice number that is used for voucher entry. Voucher entry allows only one invoice per voucher number. If multiple invoice
| ||||
szGLBankAccount | BANI | char | NONE | NONE |
Field that identifies the banck account number in the general ledger. You can use one of the following formats of account numbers:
1
| ||||
mnDomAmtSelectedToMatch | AAP | MATH_NUMERIC | NONE | NONE |
The amount of an invoice or voucher pay item that is unpaid. | ||||
mnDomDiscountAvailable | ADSC | MATH_NUMERIC | NONE | NONE |
The amount of the invoice or voucher pay item that is eligible to be subtracted from the gross amount when the transaction is paid. The
| ||||
mnDomTaxAmount | STAM | MATH_NUMERIC | NONE | NONE |
The amount assessed and payable to tax authorities. It is the total of the VAT, use, and sales taxes (PST). | ||||
mnDomGrossAmount | AG | MATH_NUMERIC | NONE | NONE |
A value that specifies the total amount of the invoice or voucher pay item. The gross amount might include the tax amount, depending on
| ||||
mnDomTaxableAmount | ATXA | MATH_NUMERIC | NONE | NONE |
The amount on which taxes are assessed. | ||||
mnForeignTaxableAmount | CTAM | MATH_NUMERIC | NONE | NONE |
The tax amount in foreign currency. This can be the sales, use, or VAT tax. | ||||
mnForAmtSelectedToMatch | FAPT | MATH_NUMERIC | NONE | NONE |
Amount - Foreign Amount Paid to Date The amount, expressed in foreign currency, that is paid to date on an invoice or voucher. | ||||
mnForeignTaxAmount | CTAM | MATH_NUMERIC | NONE | NONE |
The tax amount in foreign currency. This can be the sales, use, or VAT tax. | ||||
mnForeignDiscountAvailable | CDS | MATH_NUMERIC | NONE | NONE |
The foreign amount of the discount available as opposed to the amount of the discount actually taken. | ||||
jdDiscountDueDate | DDNJ | JDEDATE | NONE | NONE |
In the Accounts Receivable system, the date that the invoice must be paid to receive the discount. The system calculates the discount due
| ||||
szSupplierRemark | VRMK | char | NONE | NONE |
A free-form field in which you can enter any pertinent information. | ||||
mnPayeeAddressNumber | PYE | MATH_NUMERIC | NONE | NONE |
The address book number of the recipient of the payment. | ||||
szSupplierItemNumber | CITM | char | NONE | NONE |
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
| ||||
mnSupplierNumber | AN8 | MATH_NUMERIC | NONE | NONE |
A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or
| ||||
mnReceiptDocumentNumber | 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
| ||||
szReceiptDocumentType | 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
| ||||
szReceiptDocumentCompany | 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,
| ||||
cPurchasingTaxableYN | TX | char | NONE | NONE |
| ||||
mnForGrossAmount | ACR | MATH_NUMERIC | NONE | NONE |
The foreign currency amount entered on the transaction. If the Multi-Currency Conversion option on the General Accounting constants is set
| ||||
mnForAmountToDistribute | ACR | MATH_NUMERIC | NONE | NONE |
The foreign currency amount entered on the transaction. If the Multi-Currency Conversion option on the General Accounting constants is set
| ||||
mnPSTTaxAmount | STAM | MATH_NUMERIC | NONE | NONE |
The amount assessed and payable to tax authorities. It is the total of the VAT, use, and sales taxes (PST). | ||||
cVoucherLogging | EV02 | char | NONE | NONE |
| ||||
mnRetainageAmount | RETA | MATH_NUMERIC | NONE | NONE |
The total amount held back (referred to as holdback in some countries) on the contract amount. The amount retained cannot be less than
| ||||
cRetainagePercentORAmtFlag | EV03 | char | NONE | NONE |
| ||||
mnTaxOnRetainage | RETT | MATH_NUMERIC | NONE | NONE |
The total amount of Deferred Tax on Retainage being retained. | ||||
mnTaxOnRetainageForeign | REFT | MATH_NUMERIC | NONE | NONE |
cOutstandingLogsExist | EV04 | char | NONE | NONE |
| ||||
mnRetainagePercent | PCRT | MATH_NUMERIC | NONE | NONE |
The rate of retainage (referred to as holdback in some countries) that applies to the contract. This rate is a percentage of each payment. It
| ||||
mnPrevRetainedAmt | RETA | MATH_NUMERIC | NONE | NONE |
The total amount held back (referred to as holdback in some countries) on the contract amount. The amount retained cannot be less than
| ||||
mnPrevRetainedAmtForeign | REFA | MATH_NUMERIC | NONE | NONE |
The total foreign amount of Retainage being retained. | ||||
mnReleaseRetainageAmt | RETA | MATH_NUMERIC | NONE | NONE |
The total amount held back (referred to as holdback in some countries) on the contract amount. The amount retained cannot be less than
| ||||
cTaxAmtEnteredFlag | BCT1 | char | OPT | NONE |
An option that specifies whether the system performs Not-To-Exceed (NTE) processing for Contract Billing. Turn on this option to perform
| ||||
szBusinessUnit | OMCU | char | OPT | NONE |
The business unit from an account number. The account number business unit is usually found in the data item MCU, however, Distribution
| ||||
szObjectAccount | OBJ | char | OPT | NONE |
The portion of a general ledger account that refers to the division of the Cost Code (for example, labor, materials, and equipment) into
| ||||
szSubsidiary | SUB | char | OPT | NONE |
A subset of an object account. Subsidiary accounts include detailed records of the accounting activity for an object account. | ||||
mnForPSTTaxAmount | CTAM | MATH_NUMERIC | OPT | NONE |
The tax amount in foreign currency. This can be the sales, use, or VAT tax. | ||||
mnForRetainageAmount | REFA | MATH_NUMERIC | OPT | NONE |
The total foreign amount of Retainage being retained. | ||||
mnForReleaseRetainageAmt | REFA | MATH_NUMERIC | OPT | NONE |
The total foreign amount of Retainage being retained. | ||||
mnTriangulationRateFromCurrenc | TRR1 | MATH_NUMERIC | OPT | NONE |
The triangulation currency rate used to convert the From currency code to the Triangulation currency code. | ||||
mnTriangulationRateToCurrency | TRR2 | MATH_NUMERIC | OPT | NONE |
The triangulation currency rate that used to convert from the Triangulation currency code to the To currency code. | ||||
cCurrencyConversionMethod | CRCM | char | OPT | NONE |
A value that specifies which method to use when converting from one currency to another. Valid values are:
Y
Multiplier method. The
| ||||
jdDateEffectiveRates | EFT | JDEDATE | OPT | NONE |
The date that identifies when a date is first valid. The effective date is used generically. It can be a lease effective date, a price or cost
| ||||
mnPurchasingUnitPrice | PRRC | MATH_NUMERIC | OPT | NONE |
The unit cost of one item, as purchased from the supplier, excluding freight,taxes, discounts, and other factors that might modify the actual
| ||||
mnForeignPurchasingCost | FRRC | MATH_NUMERIC | OPT | NONE |
The foreign unit cost for this item, as purchased directly from the supplier,excluding freight, taxes, discounts and other factors which might
| ||||
szManagerialAnalysisCode1 | ABR1 | char | OPT | NONE |
A cost object code, such as an equipment item number or an address book number. If you enter a cost object code, you must also specify
| ||||
cManagerialAnalysisType1 | ABT1 | char | OPT | NONE |
A code that specifies the type of cost object and the type of editing. Valid types are stored in the Cost Object Types table (F1620) and can
| ||||
szManagerialAnalysisCode2 | ABR2 | char | OPT | NONE |
A cost object code, such as an equipment item number or an address book number. If you enter a cost object code, you must also specify
| ||||
cManagerialAnalysisType2 | ABT2 | char | OPT | NONE |
A code that specifies the type of cost object and the type of editing. Valid types are stored in the Cost Object Types table (F1620) and can
| ||||
szManagerialAnalysisCode3 | ABR3 | char | OPT | NONE |
A cost object code, such as an equipment item number or an address book number. If you enter a cost object code, you must also specify
| ||||
cManagerialAnalysisType3 | ABT3 | char | OPT | NONE |
A code that specifies the type of cost object and the type of editing. Valid types are stored in the Cost Object Types table (F1620) and can
| ||||
szManagerialAnalysisCode4 | ABR4 | char | OPT | NONE |
A cost object code, such as an equipment item number or an address book number. If you enter a cost object code, you must also specify
| ||||
cManagerialAnalysisType4 | ABT4 | char | OPT | NONE |
A code that specifies the type of cost object and the type of editing. Valid types are stored in the Cost Object Types table (F1620) and can
| ||||
mnPOProcessID | PEID | MATH_NUMERIC | OPT | NONE |
A code that identifies the Inter-Process Communication ID. | ||||
mnPOTransactionID | TCID | MATH_NUMERIC | OPT | NONE |
cFlagFor1099 | TNN | char | OPT | NONE |
A code that indicates whether to include the pay item in 1099 processing (A/P Ledger method only).
Valid values are:
Blank
Do not include in
| ||||
mnTransUniqueKey | UK01 | MATH_NUMERIC | OPT | NONE |
This field is a unique number used to identify a record in a file. | ||||
mnNonRecoverableTaxAmt | NRTA | MATH_NUMERIC | OPT | NONE |
The portion of the tax amount for which you cannot take a credit. | ||||
mnForeignNonRecoverableTax | FNRT | MATH_NUMERIC | OPT | NONE |
The portion of the foreign tax amount for which you cannot take a credit. | ||||
mnDocVoucherInvoiceE | DOC | MATH_NUMERIC | OPT | NONE |
A number that identifies the original document, such as a voucher, invoice, or journal entry. On entry forms, you can assign the document
| ||||
szDocType | DCTV | char | OPT | NONE |
A user defined (system 00, type DV) document type for voucher entry. Any document type set up for voucher-only entry should begin with
| ||||
szDocumentCompany | KCO | char | OPT | NONE |
A number that, with the document number, document type and G/L date, uniquely identifies an original document, such as invoice, voucher,
| ||||
jdDateInvoice | DI | JDEDATE | OPT | NONE |
The date of the invoice. This can be either the date of the supplier's invoice to you or the date of your invoice to a customer. | ||||
mnCurrentPaymentForeign | PYFO | MATH_NUMERIC | OPT | NONE |
The Current Payment - Foreign, combined with the Type of Payment, determines how the line's amount to voucher. The system will
| ||||
mnCurrentPaymentDomestic | PYDO | MATH_NUMERIC | OPT | NONE |
The Current Payment, combined with the Type of Payment, determines how the line's amount to voucher. The system will populate the
| ||||
cTypeOfPayment | TPMT | char | OPT | NONE |
Type of Payment determines how the line's amount to voucher is calculated when the user enters the Current Payment or Current Payment
| ||||
cOverExceedThreshold_EV01 | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
mnOriginalQtyToVoucher | UOPN | MATH_NUMERIC | OPT | NONE |
The original quantity for the order detail line, plus or minus any changes to that quantity, minus all quantities shipped, received, and
| ||||
mnOriginalAmtToVoucher | AAP | MATH_NUMERIC | OPT | NONE |
The amount of an invoice or voucher pay item that is unpaid. | ||||
mnOriginalForAmtToVoucher | FAPT | MATH_NUMERIC | OPT | NONE |
Amount - Foreign Amount Paid to Date The amount, expressed in foreign currency, that is paid to date on an invoice or voucher. | ||||
mnOriginalRetainedAmt | RETA | MATH_NUMERIC | OPT | NONE |
The total amount held back (referred to as holdback in some countries) on the contract amount. The amount retained cannot be less than
| ||||
mnOriginalRetToRelease | RETA | MATH_NUMERIC | OPT | NONE |
The total amount held back (referred to as holdback in some countries) on the contract amount. The amount retained cannot be less than
| ||||
mnOriginalRetainedAmtFor | REFA | MATH_NUMERIC | OPT | NONE |
The total foreign amount of Retainage being retained. | ||||
mnOriginalRetToReleaseFor | REFA | MATH_NUMERIC | OPT | NONE |
The total foreign amount of Retainage being retained. | ||||
mnOriginalDefTaxOnRetain | RETT | MATH_NUMERIC | OPT | NONE |
The total amount of Deferred Tax on Retainage being retained. | ||||
mnOriginalForDefTaxOnRetain | REFT | MATH_NUMERIC | OPT | NONE |
mnOriginalPercentRetained | PCRT | MATH_NUMERIC | OPT | NONE |
The rate of retainage (referred to as holdback in some countries) that applies to the contract. This rate is a percentage of each payment. It
| ||||
cPreviousOP | MAPR | char | OPT | NONE |
A code that is an internally used control field for the processing of vouchers in One World.
Valid values are:
1 Match Quantity/Amount
4
| ||||
mnPreviousQtyToVoucher | UOPN | MATH_NUMERIC | OPT | NONE |
The original quantity for the order detail line, plus or minus any changes to that quantity, minus all quantities shipped, received, and
| ||||
mnPreviousCurrentPayment | PYDO | MATH_NUMERIC | OPT | NONE |
The Current Payment, combined with the Type of Payment, determines how the line's amount to voucher. The system will populate the
| ||||
mnPreviousCurrentPaymentFor | PYFO | MATH_NUMERIC | OPT | NONE |
The Current Payment - Foreign, combined with the Type of Payment, determines how the line's amount to voucher. The system will
| ||||
cManualHideQtyAmt_EV01 | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cMultipleAccounts | MACT | char | OPT | NONE |
This code indicates whether the expense on the detail line has been distributed to multiple accounts. |
None |
F4008 Tax Areas |