Exceptiona handling code explanation

am beginer to X++ ,could someone tell me what is #RetryNum is it varible inside one of classes or what ?

catch (Exception::UpdateConflict)

{

if (appl.ttsLevel() == 0)

{

if (xSession::currentRetryCount() >= #RetryNum)

{

throw Exception::UpdateConflictNotRecovered;

}

else

{

retry;

}

}

else

{

throw Exception::UpdateConflict;

}

}

Thanks For All

Hi,

It is declared in macro ’ OCCRetryCount’. Macro is essentially a precompiler directive. More info on this in Developer help.

Regards,

Many thanks [:)]