I have encountered an issue with the customer payment journal record created through the AIF web service (CustPaymJournalService). Although I successfully created the payment journal record corresponding to a customer account and invoice ID, the payment does not seem to reflect on the invoice. It appears that the customer payment journal I created did not have any effect.
I have observed that, in order for the payment journal to be correctly associated with the invoice, I have to manually click on the invoice field after its creation. Only then does it recognize the invoice to which the payment should be posted. Once I perform this manual step and post the payment journal, everything works as expected, and it is properly linked to the correct invoice.
My question is whether there is a way to automatically refresh the Invoice account after the creation of the customer payment journal record so that the manual step of selecting the invoice again is not required.
Thanks for any responses.