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.
André Arnaud de Cal...
292,031
Super User 2025 Season 1
Martin Dráb
230,868
Most Valuable Professional
nmaenpaa
101,156