Hi,
we are trying to add an addtional check to the postbatch function.
Essentially we want to check a custom enum value of every Line (Record) and then make an operation.
So far we tried:
foreach Value in enum::myEnum.Ordinals() do begin
if (myenum2 = myenum2::Ag) then
..................
break;
end;
However iteration does not break, eventhogh the variable values are ok.
Anybody know how to iterate the enum value of every record in this codeunit?
Thanks,
DeFi

Report
All responses (
Answers (