Announcements
|
within the CalcFormula
. The syntax you're using in the condition ("No." = CONST('1410301') | "Type" = CONST(Item))
is not valid in AL code for filtering the records based on two conditions combined with an OR operation. The |
operator doesn't work directly inside the WHERE
clause in this manner.Sum
expression. Specifically, to sum amounts when either the GL account number ("No." = CONST('1410301')
) or the Type ("Type" = CONST(Item)
) condition is met, you should rewrite the condition like this:
André Arnaud de Cal...
293,709
Super User 2025 Season 1
Martin Dráb
232,679
Most Valuable Professional
nmaenpaa
101,158
Moderator