AccumulateReceiptsForVoucher

F43121 - Accumulate Open Amounts for Logged Vouchers

Major Business Rule

Object Name: B4301090

Parent DLL: CDIST

Location: Client/Server

Language: C

The purpose of this business functions is accumulate the domestic and foreing amount for the Purchase 
Order Passed as a input parameters. Retrieve the firts date for the order.

Check if there us a quantity received, UREC not equal zero.


DATA ITEMDESCRIPTIONSI/OREQ.NOTES

MATCMatch TypeIYBlank=>'1'
DOCOOrder NumberIY

DCTOOrder TypeIY

KCOOCompany NumberIY

AOPNDom. Amount OpenO

FAPFor. Amount OpenO

RCDJDate ReceivedO

EV01Qty Received FlgO

SFXO  Order SuffixIY


EV01 Return values:

'0' Did not have quantity

'1' Did have a quantity received.



Data Structure

D4301090 - F43121 - Accumulate Open Amounts For Logged Vouchers

Parameter NameData ItemData TypeReq/OptI/O/Both
cMatchTypeMATCcharNONENONE

A code, attached to each purchase-order detail record or receipt record, that indicates whether a voucher exists and whether the voucher 
or receipt record has been reversed. Valid values are: 1 No voucher exists. 2 A voucher exists. 3 The voucher has been reversed. 4 The receipt 
record has been reversed. Note: Record types 3 and 4 are audit records only; you cannot access these record types for the Voucher Match 
program (P4314) or the PO Receipts program (P4312).

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

szCompanyNumberKCOOcharNONENONE

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.

mnDomAmountOpenAOPNMATH_NUMERICNONENONE

The amount of the order, invoice, or voucher that is still unpaid or open. When you enter a document (for example, an order, invoice, or 
voucher), the open amount is the original amount of that document. If you change the original amount, the open amount is reduced by the net 
change. For example,payments, shipments, or receipts against a document result in a reduction of the open balance.

mnForAmountOpenFAPMATH_NUMERICNONENONE

The unpaid foreign amount of a transaction.

jdDateReceivedRCDJJDEDATENONENONE

The date you received this purchase order line.

cQtyReceivedFlagEV01charNONENONE

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

szPurchaseorderPOcharNONENONE

A document that authorizes the delivery of specified merchandise or the rendering of certain services.

szOrderSuffixSFXOcharOPTNONE

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.

Related Functions

None

Related Tables

F43121 Purchase Order Receiver File