on 09-08-2011 8:48 PM
Hello,
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";
oMyDraft.Expenses.Add();
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.
Rodrigo
Make sure the taxcode is exactly the right one (it is case sensitive).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rodrigo,
Welcome you post on the forum.
What is your B1 version and PL?
Thanks,
Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.