My requirement is the following:
I have an Freight cost condition type applied on the Total amount of the Sales order.
I need to take into account for this basis amount also the items with Reason for rejection:
Freight cost: 0€ if order is 150€ and more,
Item 10: 140€
Item 20: 20€ : no stock --> Reason of rejection put:
As it is not customer fault, we want to give him the freight cost for free.
How would you code this in the Pricing procedure formula?