I have also got a similar requirement wherein the customer payments needs to be posted to multiple profit centres.
I understand that the profit centre would be fetched from the invoice document , but there is practical requirement as under :
For Example
3 Customer Invoices have been posted have been posted for Customer A
Invoice 1 INR 100 Profit Centre 1
Invoice 2 INR 300 Profit Centre 2
Invoice 3 INR 500 Profit Centre 3ow
The Profit centres are headed by individual departments in the company.
Now if the customer makes a payment of INR 450, then is it possible to split this amount and post the below entry
Bank a/c DEBIT INR 450
Customer CREDIT INR 50 Profit Centre 1
Customer CREDIT INR 150 Profit Centre 2
Customer CREDIT INR 250 Profit Centre 3
Since the customer is dealing with all the 3 departments, all the profit centres would like to share the receivable.
Regards