ValidateDeleteAccount

Validate - Delete Account

Minor Business Rule

Object Name: B0900027

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose

This business function verifys that no F0911 or F0902 records exist for the account prior to being 

deleted. 


Special Logic

This business function sets no error message due to problems with error messages and the delete 

functionality.

An error flag is set and then the calling application is responsible for setting on the appropriate 

error.     


Technical Specification


2.1Parameters:

Data Item Data Structure DescriptionI/ORequiredNotes

AIDszAccountidIyes

EV01cDeleteFlagOyes'1' = error


2.2Related Tables 

Table Table Description

F0911Account Ledger

F0902Account Balances


2.3Related Business Functions

Source NameFunction Name




2.4Processing 

This business function uses account id as the primary key over the account ledger (F0911) and the 

account balances(F0902) files.  We then do an existance check over the F0911 and F0902 for any records 

which contain the account id passed over in the parameters.  If a record is found then we set the error 

flag to '1'.    




Data Structure

D0900027 - Validate - Delete Account

Parameter NameData ItemData TypeReq/OptI/O/Both
szAccountidAIDcharNONENONE

A number that the system assigns to each general ledger account in the Account Master table (F0901) to uniquely identify it. 

cDeleteFlagEV01charNONENONE

An option that specifies the type of processing for an event.

Related Functions

None

Related Tables

F0902 Account Balances
F0911 Account Ledger