Every third line item apply 30% discount
Customer is having the following requirement:
In general they would like to give 30% discount to every third (forth etc) rows in quote or in order regardless Product.
The algorithm:
1. Ungroup all items in quote that they have only Qty=1 (vanilla)
2. Order by Net price in desc order
3. For every third line item apply 30% discount
I would like to know the following:
=============================
Instead of using scripting, Is it possible to use Aggregated Discount.
Looking into the step “Apply Aggregate Adjustments” of sub WF “Pricing Procedure - Aggregate Discount” we can see that there are Input arguments “Row Join Field = {Row.Product Id}” and “Rule Join Field= {Match.Product Id}” as bookshelf says they are Matched Join pair.