DannyC wrote:The line total may not be so important on the GRN, although would be good if it matched identically.
It's more important on the Purchase Invoice.
If the generated PI is incorrect, at least if the ExLineTotal was opened up for editing, this may suffice for the client.
Generating the PI uses the GRN unit price and quantity, so you're never going to get the same line total on the PI as the PO if the GRN is rounding the unit price (as it currently does).
When the GRN is created from the PO, we set the quantity to 0, as we want the user to supply the quantity actually received. Because of this we can't have the line total on the GRN matching that of the PO. We could let the user enter the line total on the GRN, but we'd need to add a new field in RE_Lines to store that - and if we added the intelligence infer the cost price as (PO Line total / PO Quantity) and carry that in memory to a greater degree of precision than the currency precision, then we should be able to get the costs right on the GRN. If we apply the same logic to the PI, then we'd solve your problem.
I'm marking this topic as solved as the original requirement was to make the Line Total Ex on PO Lines editable, and this been met. You just have 2 new problems as a result.