ValidateDeleteBusinessUnit

Validate - Delete Business Unit

Minor Business Rule

Object Name: B0000015

Parent DLL: CALLBSFN

Location: Client/Server

Language: C

Functional Description

Purpose

This business function validates that no accounts exist(i.e. F0901 records) in a business unit prior 
to that business unit being deleted.


Setup Notes and Prerequisites


Special Logic

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

functionality.

We set on an error flag and then the calling application is responsible for setting on the 

appropriate error.     



Technical Specification

This business function uses business unit as the primary key over the account master (F0901).  We 
then do an existence check over the F0901 for any records which contain the business unit passed over in 

the parameters.  If a record is found then we set the error flag to '1'.    






^

Data Structure

D0000015 - Validate - Delete Business Unit

Parameter NameData ItemData TypeReq/OptI/O/Both
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.

cDeleteFlagEV01charNONENONE

Special Output Returned
Delete flag indicats that the Business Unit has account in the Account Master (F0901) File.


Significant Data Values

1 - Indicates Account Exists




^

Related Functions

None

Related Tables

F0901 Account Master