Sorry for the tittle is not clear because it is limited!
Could I change the sign ( ie: negative to positive) and after that sum it all. This is my code:
IF InvoicedValueLedgerEntries.FINDSET THEN BEGIN
REPEAT
IF (GLEntry.Amount <> "Adjusted Cost") THEN
ExpectedCost := ABS("Adjusted Cost");
AdjCost := AdjCost + ExpectedCost + "Adjusted Cost";
UNTIL InvoicedValueLedgerEntries.NEXT = 0;
Thanks!
0
Comments
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Thanks for your replying!
I'm comparing between two tables GL Entry and Value Entry, I found out some lines is different (just about the sign -/+) in Value Entry table and I want to change to be the same with GL Entry. After that sum it, the main purpose is the result of Value Entry should equal to GL Entry: