Customizing sales order, statistics and posting

KisuKisu Member Posts: 381
Heys, I came across a hard problem and I cant find easy solution for this.

Customer would need a customization on sales order.

An additional coll on subform with value added to line which could be changed by the customer if order is open.
The value should change and validate line amount like this way: line amount = line amount + ( sales line . quantity * the custom value )

I got it working up to the point it validates amount and changes the lines but when I hit F9/statistics it shows the earlier line amount and on posting same, old values.

The change I made was under updateamounts()
where the line amounts are populated.

I seem like missing something but I'm not sure what.

I tried to make modification on sales post code units (80) where the statistic form calculates the amounts, vats and profits but its a mess.

Anyone done similar custom and could lend a helping hand? :-k
K.S.
Sign In or Register to comment.