on 04-12-2006 4:32 PM
Hello Everybody
I'm looking for help. I try to change an ItemCode in a documentline that is for replacing it by a fake itemcode to let me ignore that line cause i can't remove it but wen i update the document i have an error number -10 concerning the VAT Group!!!
oDoc.lines.itemcode = "CANCELLED"
oDoc.lines.price=0
oDoc.lines.quantity=1
odoc.update()
Help needed!
Best Regards
Hi Sofiane,
Does the CANCELLED item exist?
Does it have a default VAT group?
Try doing exactly the same using the GUI, and it is supposed to give the same error. Try debugging this way.
Regards,
Ibai Peñ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
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.