Discount based on line item request delivery date.
My issue is i have to give discounts for the line items in a order based on the request delivery date
If the Item schedule line date is 0 to 30 days from the line item created date in an order,the discount should be 2 percentage If 30 to 60 days it should be 3percentage and 60 to 90 days 4percentage and if above than 90 days it should be 5 percentage.
I need to create the condition records based on above mentioned.
Please help me to fix this issue.
Thanks in Advance.