Show TOC

Syntax documentation*SYSLIB Locate this document in the navigation structure

Allowed uses: Global, MDX, SQL

*SYSLIB {Includedfile} (Param1,Param2,….)

This instruction works like the *INCLUDE instruction, however the file to be included is searched for in a reserved folder that is only intended to contain logic libraries provided by Planning and Consolidation that should not be modified. This folder is located below the Appset folder with the name SystemLibrary\Logic Library.

Parameters

You can pass parameters to the included logic. The parameters are referenced as, for example, %P1% and %P2%.

Example Example

*SYSLIB sys_logic.LGF (REVENUE, COST)

The content of the file sys_logic.LGF could be:

#GROSSPROFIT= [ACCOUNT].[%P1%] – [ACCOUNT].[%P2%]

#GROSSMARGIN= (([ACCOUNT].[%P1%] – [ACCOUNT].[%P2%])/[ACCOUNT].[%P1%])*100

End of the example.