I'm trying to figure out, how to NOT reset Direct Unit Cost and Unit Cost on Purch. Lines when I modify "No.".
So we're on Purch. Invoice Subform (55) and we have a line like so:
Now when I Change No. the "Direct Unit Cost EXCL. VAT" and "Line Amount Excl. VAT" is blanked out.
I want this to stop and I'm really having a hard time finding out where to change the code.
I've been debugging and debugging but have not found the spot where to change the code.
The only thing I did which had any effect was to comment out Curr.SAVERECORD; from
RedistributeTotalsOnAfterValidate(). But his doesn't seem right - and when doing this I'm unable to update Direct unit cost and Line Amount.
Can anyone tell what to modify so "Description", "Direct Unit Cost EXCL? VAT" and "Line Amount Excl. VAT" is NOT updated when I change "No."?