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
Hello,
We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist. If you need assistance with debugging or coding I would recommend discussing this on one of our communities.
I will open this up to the community in case they have something to add.
Thanks.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,522 Super User 2024 Season 2
Martin Dráb 228,441 Most Valuable Professional
nmaenpaa 101,148