Is it possible to execute a filter based on another field?
For example, on a report or list, that allows to filter based on both:
"Qty on Sales Orders" and "Qty in Pick Zone"
Can I enter a filter for one of the two that states:
For filter "Qty on Sales Orders" can I enter something like: > "Qty in Pick Zone"
*This post is locked for comments
Yes, that appears to be the answer. Pretty new to this, but ended up with the following code, which appears to do what I want. Added a Boolean checkbox for the report:
CALCFIELDS(Quantity,"Qty in Pick Zone","Qty on Sales Order");
IF TopPriority = TRUE
THEN BEGIN
IF "Qty in Pick Zone" < "Qty on Sales Order" - QtyFilterbyCust THEN
Replenishmt.Replenish("Bin Content",QtyFilterbyCust);
END
ELSE BEGIN
IF "Qty in Pick Zone" < "Min. Qty." + "Qty on Sales Order" - QtyFilterbyCust THEN
Replenishmt.Replenish("Bin Content",QtyFilterbyCust);
END;
You can do it on Code level but not on "ReqFilterFields" level.
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,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156