moduleinfo in CAL

Hello,

I have to downgrade a code from AL to CAL (Nav 2018)

I realised that there is no "moduleinfo" object in CAL.  What object could i use in CAL instead of ModuleInfo?

Thank you in advance

 procedure GetAppId(): Guid
    var
        moduleInfoLoc: ModuleInfo; 
    begin
        Navapp.GetCurrentModuleInfo(moduleInfoLoc);
        exit(moduleInfoLoc.Id());
    end;
Related
Recommended