I did some research on this problem and didn't find anything in the forum, which surprises me because this may be a common problem/question. So I will ask here, maybe someone can provide some information or link to other thread.
When running VB(7 transaction for rebate agreement settlement, the credit memo for settlement is created and it uses all the invoices accruing for that agreement for a given period (I assume).
We have a custom program to get list of invoices related to that settlement, which basically tries to find any invoice for that agreement in the specific time period. Sometimes we find discrepancies due to rates changed or other circumstances.
The question is, is there any way in the system to track back which are the invoices considered for the calculation of one specific credit memo request?
Thanks in advance for your feedback.