Tracking which order lines qualify other order lines for a pricing rule
For returns and refunds, you may want to identify and track any order lines that qualify other order lines for a promotion or discount, particularly with item quantity rules and combination rules.
For example, an item quantity promotion may specify that if you buy 3 shirts, you will get a 4th shirt at half price. Or a combination promotion may specify that if you buy 3 shirts, you will get pants at half price. To track the reason for the discount, the system can indicate which other lines made this particular line qualify for the discount.
The XML element
QualifierLineList and the child
Adjustment (to parent element Line
can be used to track the qualifying lines.
For more information about this customization, see Javadoc.