Update Unite Price

Hello,
Hello ; for Dynamics Navision (BC14) on C/AL)
Hello friends, please I have a question on the unit price, once I want to create the order and (enter the item that will be programmed in a special price contract) the price of the second line of the same item is discounted by an amount set in a field in the price contract. I show you an example::
Line NO Item Delivery Date Unite Price LEVEL (D 100)
10000 122222 21/02/2021 1000 1
20000 122222 21/02/2021 900 2
30000 122222 21/02/2021 800 3
40000 122222 21/02/2021 800 3
50000 122222 21/02/2021 800 3

1 Like

Was there supposed to be a question that went along with the example?

1 Like

Hello
thank for u reponse , my question it’s how to create a function only to do this processing once the active contract type is 1 in the sales row table .am busy to creat the logical code en c/al.

1 Like