Dear Experts,
I have write the code for calculate the INR value of foreign purchase invoice. But when I try to run the report it is showing the error:
"attempted to divide by zero navision"
My code are below:
Purch. Inv. Line - OnAfterGetRecord()
txtINRValue := txtFinlAmount * 1/(recPurchInvHeader."Currency Factor");
Here txtINRValue,txtINRValue are decimal type variables.
Please help me to resolve it.
*This post is locked for comments
I have the same question (0)