Example #1
0
 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();
 }
Example #2
0
        public override bool Equals(object obj)
        {
            ItemTaxesType type = obj as ItemTaxesType;

            if (type == null)
            {
                return(false);
            }
            return(type.GetHashCode() == this.GetHashCode());
        }
Example #3
0
 public void HasEmptyTaxType(ItemTaxesType itt)
 {
     foreach (QuoteLineItem item in this.lineItems)
     {
         if (item.LineitemTax.Number == 0)
         {
             item.LineitemTax = itt;
         }
     }
 }
Example #4
0
 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();
 }