class for trade aggrement in AX 2012 r3

Hi Guys,

I am creating new sales order and when go to the we enter the item in the line details after the header is created the automatic price comes in unit price from the trade aggrement .

I would like to know from which class is it coming… and in which class should i be putting debugger.

i put debugger in salestabletype and saleslinetype things doesn’t worked out.

It actually happens in \Classes\PriceDisc

You can start debugging from \Data Dictionary\Tables\SalesLine\Methods\setPriceDisc

Modifying Qty, ItemId and inventory dimensions will reset the price/discount. You can also start from the events that will be triggered when these modifications happen.

Example: \Data Dictionary\Tables\SalesLine\Methods\modifyInventDim

Thank Kranti,

This is what I was looking for!! thanks once again.

Please mark the helpful reply (replies) as the verified answer. Thank you.