Functional Description
Purpose
The F03B57OW Purge Auto Debit Historical Records business function purges ALL Auto Debit records for
a given Auto Debit Batch. The function does, however, contain an option to allow the user to NOT
delete the Auto Debit Control (F03B571) record.
Setup Notes and Prerequisites
Special Logic
Technical Specification
Parameters:
Data Item Data Structure DescriptionI/ORequiredNotes
EV01cActionCodeIRequiredpass '1' to purge
Control record; '0' to not purge.
ADCNmnAutoDebitControlNumberIRequiredAuto Debit Control
Number for selected batch
PGMszProgramNameIRequiredProgram name of Bank
Formatting program
ICUmnBatchNumberIRequiredBatch Number for
batch header (F0011)
Related Tables
F03B13Receipt Register File
F03B571Auto Debit Batch Control File
F03B575Auto Debit Invoice Select and Build File
F03B57OWAuto Debit Standard Formatted Tape File
Related Business Functions
B03B0019Void NSF Receipt Header
Processing
The function accepts four parameters, all input only and required: Action Code, Auto Debit Control
Number, Program Name (for formatting bank file) and Batch Number. Parameters two thru four are
self-explanatory; pass to the function the program the Auto Debit Control Number, the name of the program
to format the bank file and the batch number (F0011) which will be used to delete/void the Receipt
Register (F03B13), Receipt Details (F03B14) and Customer Ledger (F03B11) records in the Auto Debit Batch.
Parameter one, as mentioned, gives the user a choice: to purge the Auto Debit Control record or
rather to leave this record as an Audit Trail for point of reference. To purge the Auto Debit Control
record, pass a '1' in this parameter. If record is NOT to be purged the Control record, pass a '0'.
Initialize variables
Open table F03B13
Select records for that batch
For each F03B13 record call the business function Void/NSF Receipt
Open table F03B575
Delete F03B575 records for that batch.
Open table F03B57OW
Delete F03B57OW records for that batch
If action code is equal to '1'
Open table F03B571
Delete F03B571 records for that batch
Close all files
^
D03B0148 - DS for F03B57OW Purge Auto Debit Historical Records
Parameters:
Data Item Data Structure DescriptionI/ORequiredNotes
EV01cActionCodeIRequiredpass '1' to
purge Control record; '0' to
not purge.
ADCNmnAutoDebitControlNumberIRequiredAuto Debit
Control Number
for selected
batch
PGMszProgramNameIRequiredProgram name of
Bank Formatting
program
ICUmnBatchNumberIRequiredBatch Number for
batch header
(F0011)
^
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cActionCode | EV04 | char | NONE | NONE |
PeopleSoft event point processing flag 04. | ||||
mnAutoDebitControlNbr | ADCN | MATH_NUMERIC | NONE | NONE |
A number that the system uses to group auto debit records for processing. This number is assigned by the Next Numbers feature. | ||||
szProgramName | PGM | char | NONE | NONE |
The name of an executable program. | ||||
mnBatchNumber | ICU | MATH_NUMERIC | NONE | NONE |
A number that identifies a group of transactions that the system processes and balances as a unit. When you enter a batch, you can either
|
B03B0019 F03B13 Void/NSF Receipt |
F03B13 Receipts Header | ||||
F03B571 Auto Debit Batch Control | ||||
F03B575 Auto Debit Invoice Select and Build | ||||
F03B57OW Auto Debit Standard Formatted Tape File |