DeletePaymentDetailRecord

Delete Payment Detail Record

Major Business Rule

Object Name: B0400083

Parent DLL: CFIN

Location: Client/Server

Language: C

Business Function was created specifically for the Manual Payment Entry application.  It is used to 
delete a Payment Detail record

^

Data Structure

D0400083 - Delete Payment Detail Record

Parameter NameData ItemData TypeReq/OptI/O/Both
mnPaymentIdPYIDMATH_NUMERICNONENONE

A number that the system assigns from Next Numbers to identify and track payment records.

mnFileLineIdentifierRC5MATH_NUMERICNONENONE

This field is used to create a unique key within a file and should be used with a next number approach.

mnDocVoucherInvoiceeDOCMATH_NUMERICNONENONE

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.

szDocumentTypeDCTcharNONENONE

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 

szCompanyKeyKCOcharNONENONE

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.

szDocumentPayItemSFXcharNONENONE

A number that identifies the pay item for a voucher or an invoice. The system assigns the pay item number. If the voucher or invoice has 
multiple pay items, the numbers are sequential.

mnPayItemExtensionNumberSFXEMATH_NUMERICNONENONE

A code to designate an adjusting entry to a pay item on a voucher or invoice. This field is required so that each record is unique.

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

mnAmountDiscountTakenADSAMATH_NUMERICNONENONE

The amount by which an invoice or voucher is reduced if paid by a specific date. The discount taken does not have to be the same as the 
discount available.

mnForeignPaymentAmountPFAPMATH_NUMERICNONENONE

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

mnForeignDiscountTakenCDSAMATH_NUMERICNONENONE

The amount of the discount, expressed in the foreign currency of the transaction, that was taken or granted during the application of a 
payment to an open invoice or voucher.

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

mnPrevForeignPaymentAmountPFAPMATH_NUMERICNONENONE

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

mnPrevDiscountTakenADSAMATH_NUMERICNONENONE

The amount by which an invoice or voucher is reduced if paid by a specific date. The discount taken does not have to be the same as the 
discount available.

mnPrevForeignDiscountTakenCDSAMATH_NUMERICNONENONE

The amount of the discount, expressed in the foreign currency of the transaction, that was taken or granted during the application of a 
payment to an open invoice or voucher.

Related Functions

B0400076 Update Voucher Record With Payment Information

Related Tables

F0414 Accounts Payable Matching Document Detail