Hi,
I am getting errors while compiling my scripts in DEXTERITY UTILITIES,
while there are no problems while compiling in DEXTERITY
when i open my report file i have following errors
Startup 4 errors, 1 warnings
Line 8, Error: Unknown Identifier 'RM_Cash_Receipts'.
Line 8, Error: Unknown Identifier 'RM_Cash_Receipts'.
Line 8, Error: Unknown Identifier 'Apply Button'.
Line 9, Error: Type incompatibility 'Script Function Trigger_RegisterFocus, Parameter #1'.
Here is my Startup Script
local integer l_result;
l_result = Trigger_RegisterFocus(anonymous('Apply Button' of window RM_Cash_Receipts of form RM_Cash_Receipts),
TRIGGER_FOCUS_POST, TRIGGER_AFTER_ORIGINAL, script CALL_APPLY);
if l_result <> SY_NOERR then
warning "Failed to register CALL_APPLY . Error #:" + str(l_result);
end if;
CALL_APPLY script
warning "Success";
*This post is locked for comments
I have the same question (0)Why in the world would you want to compile the scripts via Dex Utils? Once your dictionary has been extracted, there is no reference to the Dynamics GP objects anymore, until the final chunk dictionary is put into an environment where Dynamics GP is installed. You can only compile scripts that refer to your own objects in Dex Utils, but this is extremely rare that you would need to do this.
The best practice is to compile the ENTIRE dictionary in Dex prior to extracting your code with Dex Utils.
Hope this helps.