We are designing a rebate process where in customer needs to post the rebate accruals for sales invoice , credit memo and debit memo.
Customer requirement is to post the accruals only for those debit memos which are created with certain order reasons only.
I was thinking to develop one routine and assigned it to the rebate condition type which checks debit memos for certain order reasons. So is there are any standard routines are available which can be used for our above scenario. Or is there are any other ways (using user exits) to achieve customer requirement.