A customer has recently paid us by cheque, and the transactions have been posted through the sales ledger / accounts recievable. As a few days this cheque had bounced we are trying to ‘cancel payment’ within dynamics ax, except we are presented with an error message. In order to cancel the payment i am doing the following
- Selecting Customer and opening there details in the sales ledger
- Clicking on transactions
- Selecting the transaction to cancel
- Clicking Cancel Payment
- Then Filling in the information as needed - The date, reason code, and reason comment and clicking on OK
At this point ‘Infolog’ appears presenting me with the following 2 items
- Critical: Cannot edit a record in Bank transactions (BankAccountTrans).
Cannot call NEXT, update(), or delete() on buffer where data is selected or inserted in another transaction scope. - Information: (S)\Data Dictionary\Tables\BankAccountTrans\Methods\update - line 20
(S)\Classes\BankPaymCancel\updateBankAccountTransStatus - line 11
(S)\Classes\BankPaymCancel\updateRelatedRecords - line 38
(S)\Classes\BankPaymCancel\run - line 37
(S)\Classes\BankPaymCancel\serverRun - line 14
(C)\Classes\BankPaymCancel\main - line 15
(C)\Classes\FormFunctionButtonControl\Clicked
(C)\Classes\FormFunctionButtonControl\Clicked - line 3
This image below shows the ‘Customer transactions’ and highlights the one we need to cancel.
Anyone have any idea’s, as i need to get this payment marked as cancelled until the customer has made a confirmed payment.
Thanks