Wednesday, March 28, 2012

'No Device' Error in AX 2009

Its basic error which is pop up on Axapta start up
'No Device'..its very irritating ...following are remedy



error messages when opening the AX client with ConfigKey Telephony Integration enabled.
This error message is caused by the ActiveX component for the phone integration on form smmPhone which returns an error for each phone device which is offline.
I did the following code changes to prevent the error message:
AOT\Forms\smmPhone\Designs\Design\ActiveX:axPhone\Methods\onEvent_TapiError 
// AOSRunMode::Client
void onEvent_TapiError(int errorCode)
{
;
    if(errorCode != -2147483582) // Added by Jit to Avoid 'No Device' Error

        error(this.errorMsg(errorCode));
}

No comments:

Post a Comment