I'm trying to add Expenses on my Purchase Delivery Notes Draft with this code:
oMyDraft.Expenses.ExpenseCode = 1;
oMyDraft.Expenses.LineTotal = 100;
oMyDraft.Expenses.TaxCode = "PIBI237";
And I received this error: The value of the document input parameter 'qty' is missing -10, if I pass TaxCode = string.empty or "", the draft is created.
Thanks for any help.