Hi, I have a problem with the Attention handle when trying to save a current invoice.
When I first select debtor (with attention handle set) for the current invoice, and create an invoice with that debtor, it's all good. But then, if I change the debtor (to one that has different attention handle set, or no attention handle set) and try to update the current invoice from data, i get an exception:
Economic.Api.Exceptions.IntegrityException(E06300): The attention of the current invoice does not belong to the new debtor.
Although this exception looks pretty straightforwrd, I am sure that i update the attention handles of the current invoice according to the new debtor that is selected before updating current invoice from data, but I keep getting this exception.
Thanks in advance.
When I first select debtor (with attention handle set) for the current invoice, and create an invoice with that debtor, it's all good. But then, if I change the debtor (to one that has different attention handle set, or no attention handle set) and try to update the current invoice from data, i get an exception:
Economic.Api.Exceptions.IntegrityException(E06300): The attention of the current invoice does not belong to the new debtor.
Although this exception looks pretty straightforwrd, I am sure that i update the attention handles of the current invoice according to the new debtor that is selected before updating current invoice from data, but I keep getting this exception.
Thanks in advance.