Need to Cancel POs, if it satisfies below condition.
where PurchTable.createdDateTime < Year(2020)
AND
PurchLine.DeliverRemainder < 25000
Need to Cancel POs, if it satisfies below condition.
where PurchTable.createdDateTime < Year(2020)
AND
PurchLine.DeliverRemainder < 25000
Hi, Please check this thread. You can create a while loop to iterate all Purchase orders that were created before 2020 and check deliver remainder condition
community.dynamics.com/.../how-to-cancel-purchase-order-line-through-x-in-d365fo
André Arnaud de Cal...
292,884
Super User 2025 Season 1
Martin Dráb
231,760
Most Valuable Professional
nmaenpaa
101,156
Moderator