public SaleOrderlineItem() { this.item = new Item(); this.job = new Job(); this.lineitemTax = new ItemTaxesType(); this.lineitemAccount = new ChartOfAccount(); this.saleorder = new SaleOrder(); this.priceLevel = new PriceLevel(); this.FrameColor = new AttributeLineItem(); }
public override bool Equals(object obj) { SaleOrder order = obj as SaleOrder; if (order == null) { return(false); } return(order.saleOrderNo == this.saleOrderNo); }
public void AssignToLineItem(SaleOrder so) { try { if (this.lineItems == null) { this.lineItems = new List <SaleOrderlineItem>(); } foreach (SaleOrderlineItem item in this.lineItems) { item.Saleorder = so; } } catch (Exception) { throw; } }