Hi Team,
As per my client requirement we need to prepare the below rebate agreement accruals invoice report.
Rebate agreement | Rebate recipent | Customer | Invoice date | Invoice | Invoice Item Number | Rebate Material | Rebate material net quantity | Invoice price | Rebate accural condition ( % or $) | Total Rebate amount | GST |
20000 | 123456 (payer) | 1000 | 01.01.2014 | 987654321 | 110 | ABC | 20 | 10.00 $ | $ 10.00 | $ 10.00 | |
20000 | 123456 (payer) | 1000 | 01.01.2014 | 987654321 | 140 | ZYX | 5 | 5.00 $ | $ 0/50 | $2.50 |
We have prepared the report using rebate tables and achieved the results but we missed below one logic here.i.e.
- Business want to maintain the rebate accruals condition records for few customers accounts in the rebate agreement although it’s not related to rebate receipts account.
Example: rebate agreement: 20000
Rebate receipt: 123456 (Payer account)
Rebate condition records
1) Customer & material combination – customer # 1000 and material # ABC – 5.0 % - appearing the reports –Status : Working appearing the reports Customer # 1000 Payer is -123456
2) Customer # 9999 and material # ZXY – 5.0% - Not appearing the report – Status: Failed
Customer # 9999 is Payer – 88888– both accounts are don’t have any PF relationship with rebate receipts # 123456
- When Rebate Condition records are maintaining for Rebate receipt related to customer (SP) account & material combination level in this scenario – Reports working fine .However, few scenarios like business need to maintain rebate accrual condition records for other payer customer accounts in the same agreement in this scenario – Reports is not pulling the invoice accruals due to logic missing our early logic given based on the rebate recipient customer level. I am excepting a technical logic with functional details in this.
Could you please help me.
Cheers,
Jackon Robert