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

            if (type == null)
            {
                return(false);
            }
            return(type.GetHashCode() == this.GetHashCode());
        }
コード例 #3
0
ファイル: Quote.cs プロジェクト: ArishSultan/ycdo__old
 public void HasEmptyTaxType(ItemTaxesType itt)
 {
     foreach (QuoteLineItem item in this.lineItems)
     {
         if (item.LineitemTax.Number == 0)
         {
             item.LineitemTax = itt;
         }
     }
 }
コード例 #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();
 }
コード例 #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();
 }