17 Oct 2013

x++ while select "next" record

while select salesTable
{
do something;
if (you need to skip)
continue;

do something else;
}

you use next like this:

select salesTable;
while(salesTable.RecId != 0)
{
do something;
if (you need to skip)
{
next salesTable;
continue;
}

do something else;
next salesTable;
}

i thought this one help to somebody

No comments:

Create number sequence in D365 FO

Create the data type. Add code in the loadModule method of the appropriate NumberSeqModule subclass. Add a method to the module’s paramet...