public QuoteLineItem() { this.item = new Item(); this.job = new Job(); this.lineitemTax = new ItemTaxesType(); this.lineitemAccount = new ChartOfAccount(); this.quote = new Quote(); this.priceLevel = new PriceLevel(); }
public override bool Equals(object obj) { ItemTaxesType type = obj as ItemTaxesType; if (type == null) { return(false); } return(type.GetHashCode() == this.GetHashCode()); }
public void HasEmptyTaxType(ItemTaxesType itt) { foreach (QuoteLineItem item in this.lineItems) { if (item.LineitemTax.Number == 0) { item.LineitemTax = itt; } } }
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 SaleInvoiceLineItem(SaleInLineItemType lineItemType) { this.saleInvoiceLineItemType = lineItemType; this.item = new Item(); this.job = new Job(); this.lineitemTax = new ItemTaxesType(); this.lineitemAccount = new ChartOfAccount(); this.priceLevel = new PriceLevel(); this.saleInvoice = new SaleInvoice(); this.usedPriceLevel = new PriceLevel(); this.FrameColor = new AttributeLineItem(); }