— The Forums are now read-only —
— All new activity now takes place here: —
I'm having to divide the total by 100 to get the correct value. Any ideas why this is the case?Â
SPA_Attributes = 1.00
ARTran.Qty = 25
Expected results:Â 25.Â
Actual result:Â 2500 (without divide by 100)
Â
=(cDec([InventoryItem.SPA_Attributes]) * cdec([ARTran.Qty]))/100
Is the 1.0 maybe a percentage that's getting stored as 100?
I'm not sure what SPA_Attributes represents but maybe it would be easier to evaluate if it didn't equal 1 and maybe more awkward, so it's obvious to us if/when it works? Maybe something like 0.8 or 1.2 kind of deal?
alternatively... is there any chance there's a many to one relationship without your knowledge, like maybe on of the two field has 100 instances of the value? again, might be easier for this example to have SPA_Attribute not equal 1 which could help lead us down a more appropriate path.
Â
😉
By using this website, you agree to our Terms of Use (click here)


