Improved line discount functionality for sales price lists

Order To Cash: Sales Order Version 9.40

Earlier, the setting ‘Apply line discount to prices specific to’ in the Customer ledger preferences (AR101000) window only worked properly for promotional sales prices. This has now been fixed.