Sales order line, check if price from Debtor Specific Prices
I want to know the source price on each line of a sales order, e.g. debtor classification price, debtor specific price, default inventory price, group matrix price etc.
This line works when a new line is added to a sales order
but if I want to iterate through the line collection after a sales order is saved such as on the ReadEnd event, then it looks like
How can I determine if a sales order line price has been sourced from Debtor Specific Prices or any other price scheme element?
This line works when a new line is added to a sales order
- Code: Select all
JiwaFinancials.Jiwa.JiwaPriceSchemes.ReturnedPrice returnedPrice = (JiwaFinancials.Jiwa.JiwaPriceSchemes.ReturnedPrice)soLine.PriceSelected;
but if I want to iterate through the line collection after a sales order is saved such as on the ReadEnd event, then it looks like
- Code: Select all
soLine.PriceSelected
How can I determine if a sales order line price has been sourced from Debtor Specific Prices or any other price scheme element?