Hi
i want to create a ER as item , sls qty, prod qty, pur qty etc
for this
i am taking the datasource as InventTrans and i want to get the vlaues of Sales , prod, purhcase etc based on transorigin.ReferenceCategory (for exmaple if categoy is zero it is sales)
i am trying to create a calculated field with below formula (where @ is the inventtrans table)
1.) my question is how to sum the qty based on different categories
2.) do i have to create different calc fields for Prod and purch etc.,
3) when iam trying to create Calc field like below iam getting error
`*
if(@.‘InventTransOrigin.ReferenceCategory’==0,@.Qty,0)
*`
Syntax error: We found a problem with this formula; syntax error near ‘(’