Exemplo n.º 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();
 }
Exemplo n.º 2
0
        public override bool Equals(object obj)
        {
            ItemTaxesType type = obj as ItemTaxesType;

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