The pop-up should show the following message:
/Amount to be deducted from the balance of the letter of intent greater than the remaining amount. Shall we continue?/
Ok: If used, the system will have to account for the invoice despite the overhang.
Cancel: If used, the system will cancel the posting.
I'm new with dynamics, I'm really struggling to find examples and documentation on the internet and I'm stuck in this task. I tried to do an event handler, checking if the remaining amount in the intent letter table is less than 0, but I'm sure my code is not correct. Does anyone has any hint for me? Thank you