2015 Jun 25 9:19 PM
Hi everybody,
As a part of one implementation, we need to deactivate the installment plan for a Business Partner once the system has generated the final invoice for him or her.
We would like to know which would be the best way of proceeding in this situation.
Thanks in advance for your help.
Víctor.
2015 Jun 26 4:44 AM
Hi Victor,
You can use the event R431/R433 for your requirement.
In event R431, the Business partner, Contract Account, Contract, Bill print Document etc. are available. With the help of the above, you can identify the Final Bill scenarios, and then check for any active IP. If there are active IP, then you can flag them as global variable.
Now call the global variable in event R433 and use the standard FM, FKK_S_INSTPLN_DEACTIVATE' to de-activate the Installment Plan.
Hope it helps..
Thanks,
Amlan
2015 Jun 26 4:44 AM
Hi Victor,
You can use the event R431/R433 for your requirement.
In event R431, the Business partner, Contract Account, Contract, Bill print Document etc. are available. With the help of the above, you can identify the Final Bill scenarios, and then check for any active IP. If there are active IP, then you can flag them as global variable.
Now call the global variable in event R433 and use the standard FM, FKK_S_INSTPLN_DEACTIVATE' to de-activate the Installment Plan.
Hope it helps..
Thanks,
Amlan
2015 Jun 26 2:38 PM
Hi Amlan,
Thank you so much for your help! Your information was very useful for clearing our doubts. We are going to try the solution your proposed and see the results.
Thanks again,
Victor
2015 Jun 30 2:28 AM
Hi,
Note theres also a Dunning function module ISU_DUNNING_DEACT_INSTL_350 that can be triggered as part of Final Billing Dunning procedure (as a Dunning Activity) to deactivate the Installment Plan.
You can use this if you wish to avoid development.
If you wish to trigger Dunning immediately for final Invoices, you can specify the Due date = Document date at the Main/Sub transaction level for Main transaction 0200 (Final Bill).
Regards,
Ivor