Framework:FKT DimIsChildOf
From CoPlanner 11
Jump to navigationJump to search
Function
FKT_DimIsChildOf(<dimension name>, <ChildElement_CopSysId>, <ParentElement_CopSysId>)
| Parameter | Description |
| Dimension name | Name of the dimension |
| ChildElement_CopSysId | COPSYS_ID of the child element |
| ParentElement_CopSysId | COPSYS_ID of the parent element |
This function belongs to server-side functions.
Result
Verifies, if the “ChildElement” is an element of the parent. (Example: if sales proceeds are part of the balance sheet profit). If this is the case, 1 is returned, otherwise 0.
Samples
FKT_DimIsChildOf ( Bilanz-Struktur , [Eroeffnungsbilanz_PLAN.Bilanz-Struktur_1.COPSYS_ID] , @BIL_Bilanzgewinn@ )
FKT_DimIsChildOf(Finanzplan-Indirekt-Struktur, [Bilanz_MJP.Bilanz-Struktur_1.Finanzplan-Indirekt-Struktur_1.COPSYS_ID] , @FP_Indirekt_CFINV@ )