Hi
I am making a report to sum orders for a given period for different companies AAA, BBB etc.:
This formula gives me an error if I specify "Company=";"AAA"
=NL("sum";"sales line";"=nf(;""qty. to invoice"")*nf(;""unit price"")/nl(;""sales header"";""currency factor"";""no."";nf(;""document no.""))";"Requested Delivery Date";Options!$C$8;;;;;;;;;;;;;;;;;"company=";"AAA")
Is it possible to do it - or do I have to specify company in the sum field ?
Br.
mdp12
Date
Votes
2 comments
-
Jet Reports Historic Posts Official comment Very nice use of CalcFields. :)
Since the NL function in the CalcField is a separate function, it will pull from the default data source. Unless "AAA" is the default, you would have to specify it in the nested NL as well:
=NL("sum";"sales line";"=nf(;""qty. to invoice"")*nf(;""unit price"")/nl(;""sales header"";""currency factor"";""no."";nf(;""document no."");""company="";""AAA"")";"Requested Delivery Date";Options!$C$8;"company=";"AAA")
Hope this helps!
Best Regards, -
Jet Reports Historic Posts It is Perfect - thanks a lot :)
Br. mdp12.
Please sign in to leave a comment.