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'.
D0900027 - Validate - Delete Account
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szAccountid | AID | char | NONE | NONE |
A number that the system assigns to each general ledger account in the Account Master table (F0901) to uniquely identify it. | ||||
cDeleteFlag | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. |
None |
F0902 Account Balances | ||||
F0911 Account Ledger |