Hi Guys
I have a calculation as below where instead of hardcoding warehouse code, can I use a variable or function so the flow field is more dynamic based on the company? Below highlighted in Yellow I'm trying to pass a function to const but its not accepted
CalcFormula = sum("Item Ledger Entry".Quantity
WHERE("Item No." = FIELD("No."),
"Global Dimension 1 Code" = FIELD("Global Dimension 1 Filter"),
"Global Dimension 2 Code" = FIELD("Global Dimension 2 Filter"),
"Location Code" = const(GetLocationCode),

Report
All responses (
Answers (