The NAV System has changed while you were performing your activity. Please close your current task and try again. If you are unable to complete the activity, please contact your System Administrator.
Information for developers: Another user has modified CodeUnit 50100. Because the underlying data does not exist or is a different type, the object cannot be compiled correctly until the problem is fixed.
Error details: 'path..'\Codeunit50100.cs(276,11) : error CS0030: Cannot convert type 'int' to 'Microsoft.Dynamics.Nav.Runtime.NavOption'
(Action on a page button)
RecalculateCallsSchedulerCU.DeselectMarked();
CurrPage.UPDATE(FALSE);
(Function in Codeunit - 50100) (the codeunit is made by me, it is not standard)
DeselectMarked()
IF (RecalculateCallsSchedulerRec.FINDSET(TRUE, FALSE))
THEN BEGIN
REPEAT
RecalculateCallsSchedulerRec.Marked := FALSE;
RecalculateCallsSchedulerRec.MODIFY(FALSE);
UNTIL (RecalculateCallsSchedulerRec.NEXT = 0);
END;
I want to deselect all boolean records from a table, to make them from TRUE to FALSE.
I don't know what to do.
All is compiled. I have restarted the server. I have deleted the meta data.
0
Answers
2. In your "RecalculateCallsSchedulerRec" there isn't a option type field called "next" by any chance?
I'm not using NEXT??
UNTIL (RecalculateCallsSchedulerRec.NEXT = 0);
<add key="EnableDebugging" value="false"></add>
it is as you said
http://blogs.msdn.com/b/nav/archive/2012/03/05/rtc-debugging.aspx
I have used OptionVariable += 1; and it seems that RTC is not accepting this very good,
because it has to transform the option var into INT, but in the same time is trying to increment an option var with an integer.
So ... try not tu use var += 1;