procedure PostReclass(batchName: text; postItems: Boolean): Text var lrRec: Record /Item Journal Batch/; begin lrRec.Init(); lrrec.SetFilter(Name, batchName); //lrRec.SetFilter(/Journal Batch Name/, batchName); Codeunit.Run(codeunit::ItemJnlManagement, lrRec); if lrRec.FindFirst() and postItems = true then begin //repeat CODEUNIT.RUN(CODEUNIT::/Item Jnl.-Post Batch/, lrRec); //until rec.next = 0 end; exit(lrRec.Name); end;
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... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156