CreateAPDrafts

Create A/P Drafts

Major Business Rule

Object Name: B0400093

Parent DLL: CFIN

Location: Client/Server

Language: C

This business function creates/updates and deletes the 'P1' draft record when called from manual 
payment application.

^

Data Structure

D0400093 - Create A/P Drafts

Parameter NameData ItemData TypeReq/OptI/O/Both
mnDocmatchingcheckorDOCMMATH_NUMERICNONENONE

The number of the matching document, such as a receipt, payment, adjustment,or credit. You apply a matching document (DOCM) against 
an original document (DOC), such as an invoice or voucher.

mnPayeeaddressnumberPYEMATH_NUMERICNONENONE

The address book number of the recipient of the payment.

mnTotalPaymntamountPAAPMATH_NUMERICNONENONE

In the Accounts Payable system, the amount of the payment. In the Accounts Receivable system, the amount of the receipt. This amount 
must balance to the total amount applied to the invoice pay items.

mnTotalPaymentamountforeignPFAPMATH_NUMERICNONENONE

The foreign amount to be paid on an A/P Payment run.

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. 

jdDatematchingcheckorDMTJJDEDATENONENONE

The date on a payment or the date on which a receipt was entered.  In Accounts Payable, the manual payment date and the general ledger 
date that the system uses when it posts payments. The system also uses this date to retrieve the exchange rate for foreign payments from 
the Currency Exchange Rates table (F0015).  In Accounts Receivable, the date on the check or the date that you enter the receipt into the 
system. The receipt date is used for information and reporting purposes only.

jdDateduejulianDDJJDEDATENONENONE

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 
or, if no discount is offered, the net due date. The system calculates the due date based on the payment term entered, or you can enter it 
manually. If you enter a negative voucher or invoice (debit or credit memo), the system might use the G/L date as the due date regardless of the 
payment term entered. A processing option in the master business function (P0400047 for vouchers and P03B0011 for invoices) controls how 
the system calculates the due date for debit and credit memos.

cCurrencymodeCRRMcharNONENONE

An option that specifies whether the system displays amounts in the domestic or foreign currency. On  The system displays amounts in the 
foreign currency of the transaction. Off  The system displays amounts in the domestic currency of the transaction.

szCurrencycodefromCRCDcharNONENONE

A code that identifies the currency of a transaction. 

cPaymentinstrumentPYINcharNONENONE

A user defined code (00/PY) that determines the means by which a payment is issued to a supplier or received from the customer. 
Examples of payment instruments include check, electronic funds transfer, lockbox, and EDI.

szF0413GLBAAID2charNONENONE

This account number is used specifically in the Receipts and Adjustments program to record non-Accounts Receivable (General Ledger) 
receipts.  The video screen provides for the display/entry of the 26-digit account input number, which is interpreted and stored as the 8-digit 
account ID number (see Account Input Number - ANI).

szF0411GLBAGLBAcharNONENONE

The number of the bank account (general ledger account) to be updated automatically when receipts or disbursements are entered. The 
bank account number is assumed to be the same for every document in a batch. Therefore, it is not cleared from entry to entry. However, if 
you leave the bank account number blank, the system retrieves a default bank account number from the Automatic Accounting Instructions file 
(F0012), item number RB for Accounts Receivable and PB for Accounts Payable.

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.

cModeprocessingMODEcharOPTNONE

The processing mode used in Purchase Order Consolidator to signify when specific orders are being processed.

szCompanyKeyKCOcharOPTNONE

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.

szDocumentTypeDCTcharOPTNONE

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 

mnDocVoucherInvoiceEDOCMATH_NUMERICOPTNONE

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.

Related Functions

B0400009 Get Account Company
B0400010 Retrieve Next Pay Item
B0400038 PE Creation - Void
B0400048 Write Outbound F0411Z3 Records
B9800100 Get Audit Information
N7000070 B0400093 - Plug & Play - 04

Related Tables

F0411 Accounts Payable Ledger
F0414 Accounts Payable Matching Document Detail