Thanks @Manish_Talele the workflow is working correctly but when i am using it on my actual data it is showing error "Cannot convert Generic Value to System.Double " in the assign of if condition.
No i just change the column names only.
I also tried by changng the variable type from Generic to Double but it is showing error “Can not assign ‘CDbl(row1(“Storeusedqty”))’ to ‘strSqty’”
I think that I know what is the issue.
Assign StrAqty should be: "CDbl(row2(“New Actual Inventory”).toString)
and StrSqty: CDbl(row1(“Storeusedqty”).toString)
While storing the data in variable use String variable later you can convert it to any other variable type.
I mean use Strqty variable as string and assign it to row(“Storeusedqty”).ToString
Thanks @Manish_Talele I tried assigning strSqty and strAqty to string and the while doing subtraction used “CDbl(strSqty)-CDbl(strAqty) " the error occuring is " Conversion from string “” to type ‘Double’ is not valid.”