OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Server.MFinance.Common.TGetAccountHierarchyDetailInfo Class Reference

This object handles the table AccountHierarchyDetailInfo and provides some standard procedures. More...

Public Member Functions

 TGetAccountHierarchyDetailInfo (Int32 ALedgerNumber)
 ... More...
 
List< String > GetChildren (string AAccountCode, Boolean OnlyPosting=false, int AChildLevel=-1)
 The data were read only one time (in the constructor) and the results are put into a list for a more specific use. More...
 
bool HasNoChildren (string AAccountCode)
 If you only want to know, that the account code has no children, you can avoid the handling of the list. More...
 
string GetParentAccount (string AAccountCode)
 Gets the parent account of an inserted account ... More...
 

Detailed Description

This object handles the table AccountHierarchyDetailInfo and provides some standard procedures.

Constructor & Destructor Documentation

◆ TGetAccountHierarchyDetailInfo()

Ict.Petra.Server.MFinance.Common.TGetAccountHierarchyDetailInfo.TGetAccountHierarchyDetailInfo ( Int32  ALedgerNumber)
inline

...

Parameters
ALedgerNumber

Member Function Documentation

◆ GetChildren()

List< String > Ict.Petra.Server.MFinance.Common.TGetAccountHierarchyDetailInfo.GetChildren ( string  AAccountCode,
Boolean  OnlyPosting = false,
int  AChildLevel = -1 
)
inline

The data were read only one time (in the constructor) and the results are put into a list for a more specific use.

Parameters
AAccountCode
OnlyPostingDon't show me all the summary accounts
AChildLevel-1 = all levels
Returns

◆ GetParentAccount()

string Ict.Petra.Server.MFinance.Common.TGetAccountHierarchyDetailInfo.GetParentAccount ( string  AAccountCode)
inline

Gets the parent account of an inserted account ...

Parameters
AAccountCode
Returns

◆ HasNoChildren()

bool Ict.Petra.Server.MFinance.Common.TGetAccountHierarchyDetailInfo.HasNoChildren ( string  AAccountCode)
inline

If you only want to know, that the account code has no children, you can avoid the handling of the list.

Parameters
AAccountCode
Returns

The documentation for this class was generated from the following file: