F03B13Z1UpdatePurgeFlagY

F03B13Z1 Update Purge Flag To Y

Minor Business Rule

Object Name: B03B0044

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose

This function is used to Update the Purge Flag in the F03B13Z1 file. The field EUPS becomes Y so that 
the purge program can purge the record.  This function is for receipts entered via the automatic  

receipt program.  The flag is updated when it is fully paid through receipt entry or it is being 

void/NSF.



Setup Notes and Prerequisites

Business function B03B0019 calls this business function.
The business function is called if in the F03B13 record the EUFB field contains a 2,3 or 4.


Special Logic

None.



Technical Specification




Parameters
Item Description I/OReq?    Notes

PYIDmnPaymentIDIY  Internal Payment ID 


Related Tables

F03B13Z1Cash Receipts Batch File


Related Functions

B9800100Get Audit Information


Processing

Select Payment Id and Upload status flag from F03B13Z1 file where payment id is equal to F03B13 
payment id and Upload status flag is not equal to Y.  


Process all selected records. 

Update the Upload status flag to Y .  


Error Processing occurs in the following circumstances  : 


      An error occurs opening a database table

      A record fetch fails or

      A record update is not successful




^

Data Structure

D03B0044 - F03B13Z1 Update Purge Flag

Purpose
This function data structure is used by F03B13Z1 Update Purge Flag to Y function.

Parameters

Item Description I/OReq?   Notes

PYIDmnPaymentIDIY Internal Payment ID 


^

Parameter NameData ItemData TypeReq/OptI/O/Both
mnPaymentIdPYIDMATH_NUMERICNONENONE

Item  ab  ab  Descriptionab   ab  ab  I/Oab Req?     Notesab 
PYIDab  ab  mnPaymentIDab  ab  ab  Iab  Yab  Internal Payment ID  ab 


^

Related Functions

B9800100 Get Audit Information

Related Tables

F03B13Z1 Electronic Receipts Input