Change the ItemCode in a document line
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"