예제 #1
0
 public InvoiceTemplate() : base() { } //end InvoiceTemplate()
 public InvoiceTemplate(net.autotask.webservices.InvoiceTemplate entity) : base(entity)
 {
     this.DateFormat = int.Parse(entity.DateFormat.ToString());
     this.DisplayFixedPriceContractLabor = bool.Parse(entity.DisplayFixedPriceContractLabor.ToString());
     this.DisplayRecurringServiceContractLabor = bool.Parse(entity.DisplayRecurringServiceContractLabor.ToString());
     this.DisplaySeparateLineItemForEachTax = bool.Parse(entity.DisplaySeparateLineItemForEachTax.ToString());
     this.DisplayTaxCategory = bool.Parse(entity.DisplayTaxCategory.ToString());
     this.DisplayTaxCategorySuperscripts = bool.Parse(entity.DisplayZeroAmountRecurringServicesAndBundles.ToString());
     this.DisplayZeroAmountRecurringServicesAndBundles = bool.Parse(entity.DisplayZeroAmountRecurringServicesAndBundles.ToString());
     this.GroupBy = int.Parse(entity.GroupBy.ToString());
     this.ItemizeItemsInEachGroup = int.Parse(entity.ItemizeItemsInEachGroup.ToString());
     this.ItemizeServicesAndBundles = bool.Parse(entity.ItemizeServicesAndBundles.ToString());
     this.Name = entity.Name == null ? default(string) : entity.Name.ToString();
     this.NonBillableLaborLabel = entity.NonBillableLaborLabel == null ? default(string) : entity.NonBillableLaborLabel.ToString());
     this.NumberFormat = int.Parse(entity.NumberFormat.ToString());
     this.PageLayout = int.Parse(entity.PageLayout.ToString());
     this.PageNumberFormat = int.Parse(entity.PageLayout.ToString());
     this.PaymentTerms = int.Parse(entity.PaymentTerms.ToString());
     this.ShowGridHeader = bool.Parse(entity.ShowGridHeader.ToString());
     this.ShowVerticalGridLines = bool.Parse(entity.ShowVerticalGridLines.ToString());
     this.SortBy = int.Parse(entity.SortBy.ToString());
     this.TimeFormat = int.Parse(entity.TimeFormat.ToString());
     this.CoveredByBlockRetainerContractLabel = entity.CoveredByBlockRetainerContractLabel == null ? default(string) : entity.CoveredByBlockRetainerContractLabel.ToString();
     this.CoveredByRecurringServiceFixedPricePerTicketContractLabel = entity.CoveredByRecurringServiceFixedPricePerTicketContractLabel == null ? default(string) : entity.CoveredByRecurringServiceFixedPricePerTicketContractLabel.ToString();
     this.CurrencyNegativeFormat = entity.CurrencyNegativeFormat == null ? default(string) : entity.CurrencyNegativeFormat.ToString();
     this.CurrencyPositiveFormat = entity.CurrencyPositiveFormat == null ? default(string) : entity.CurrencyPositiveFormat.ToString();
     this.RateCostExpression = entity.RateCostExpression == null ? default(string) : entity.RateCostExpression.ToString();
 } //end InvoiceTemplate(net.autotask.webservices.InvoiceTemplate entity)
예제 #2
0
        }                                     //end InvoiceTemplate()

        public InvoiceTemplate(net.autotask.webservices.InvoiceTemplate entity) : base(entity)
        {
        } //end InvoiceTemplate(net.autotask.webservices.InvoiceTemplate entity)