Hi,
Here is brief scenario. At PurchReqTable form, I need to show TaxAmount and the calculation is LineAmount * TaxItemGroup.
And my problem here is, when I return the value is 0 means wrong. I used display method here and here is my code.
I hope someone help me with this since I have stuck for a while.
select firstOnly taxOnItem where taxOnItem.taxitemgroup == purchReqLine.TaxItemGroup && taxOnItem.TaxCode == taxData.TaxCode; return taxdata.TaxValue * purchreqTable.TotalAmount();