To determine whether the professional or standard version of Microsoft Dynamics GP is being used, you need to check the appropriate registration slot. The following example code does this.
if 'Module Registered'[SM_CS] of globals = true then {Microsoft Dynamics GP Professional] else {Microsoft Dynamics GP Standard} end if;