WriteAutoPaymentPCG

Write record to PCG File

Minor Business Rule

Object Name: B0400168

Parent DLL: CFIN

Location: Client/Server

Language: C

Data Structure

D0400168 - Write Auto Payments PCG

Parameter NameData ItemData TypeReq/OptI/O/Both
mnPaymentgroupcontrolnbrHDCMATH_NUMERICNONENONE

The Payment Control Group Number is used to group all payments and payment detail together in the A/P payments work files.  This 
number identifies a group of payments run for the same bank account, payment instrument, DREAM Writer version, Originator ID and currency.

szGlbankaccountGLBAcharNONENONE

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.

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.

szVersionVERScharNONENONE

A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined 
processing option values and data selection and sequencing options. Interactive versions are associated with applications (usually as a 
menu selection). Batch versions are associated with batch jobs or reports. To run a batch process, you must choose a version.

szCurrencycodefromCRCDcharNONENONE

A code that identifies the currency of a transaction. 

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.

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.

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

szAppaymentprocessingPGMPcharNONENONE

A user defined program used to print A/P payments. Only programs set up in user defined codes for 04/PP may be entered.

szAppaymentprocessPGMRcharNONENONE

A user defined program used to print the A/P payment register. Only programs set up in user defined codes for 04/PR may be entered.

cChecksummarizedcodeCSUMcharNONENONE

Check Summarized Code.

szChecksequenceidSQIDcharNONENONE

A value used during Accounts Payable payment processing to specify the order in which payments should be processed. This is the name 
given to the user-defined sequence.

cPrintattachmentsATTcharNONENONE

This field is used during A/P payments to indicate whether attachments to the payment should be printed. Valid values are: blank     no 
attachment 1     attachment

mnNumberOfPaymentsProcNPYTMATH_NUMERICNONENONE

The total number of payments at print status within a single Payment Control Group.

szApPaymentProcAttchPGMAcharNONENONE

A user defined program used to print attachments in A/P Payment processing. Only programs set up in user defined codes for 04/PA may 
be entered.

szApPaymentProcDebitPGMDcharNONENONE

A user defined program used to print debit statements in A/P payment processing. Only programs set up in user defined codes for 04/PD 
can be entered.

szUseridUSERcharNONENONE

The code that identifies a user profile.

jdDateupdatedUPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

mnTimelastupdatedUPMTMATH_NUMERICNONENONE

The time that specifies when the program executed the last update to this record.

szProgramidPIDcharNONENONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szPaymentPrintProgramVersiPVNcharOPTINPUT

The version ID for the Accounts Payable payment print program that you are using for a particular payment control group.

szPaymentDebitProgramVersiDVNcharOPTINPUT

A code that specifies the version name for the Print A/P Payments Debit Statements program (R04574) that you use for a particular 
payment control group.

szPaymentAttachmentProgramAVNcharOPTINPUT

The version ID for the Accounts Payable payment attachment program that you are using for a particular payment control group.

szPaymentRegisterProgramVeRVNcharOPTINPUT

A code that specifies the version name for the A/P Auto Payment Register program (R04576) that you use for a particular payment control 
group. This number corresponds to the value that appears in the Default Register Program Version processing option in the Work With 
Payment Groups program (P04571).

Related Functions

X0430 Retrieve And Update Bank Account Information

Related Tables

F04571 A/P Payment Processing - Header