purinv.PurchLines = purinv.PurchLines.Concat(new[] { new Purch_Invoice_Line() { Type = wsPurchaseInvoice.Type.G_L_Account, No = "4210", Direct_Unit_Cost = 111 Shortcut_Dimension_1_Code = "460", Line_Discount_Percent = 12 } }).ToArray(); service.Update(ref purinv);
Comments
1. create blank line
2. update
3. update blank line
4. update
My fault.