예제 #1
0
 public Company_OrderQuoteContentDTO(OrderQuoteContent OrderQuoteContent)
 {
     this.Id = OrderQuoteContent.Id;
     this.IndirectSalesOrderId = OrderQuoteContent.OrderQuoteId;
     this.ItemId                    = OrderQuoteContent.ItemId;
     this.UnitOfMeasureId           = OrderQuoteContent.UnitOfMeasureId;
     this.Quantity                  = OrderQuoteContent.Quantity;
     this.PrimaryUnitOfMeasureId    = OrderQuoteContent.PrimaryUnitOfMeasureId;
     this.EditedPriceStatusId       = OrderQuoteContent.EditedPriceStatusId;
     this.RequestedQuantity         = OrderQuoteContent.RequestedQuantity;
     this.PrimaryPrice              = OrderQuoteContent.PrimaryPrice;
     this.SalePrice                 = OrderQuoteContent.SalePrice;
     this.DiscountPercentage        = OrderQuoteContent.DiscountPercentage;
     this.DiscountAmount            = OrderQuoteContent.DiscountAmount;
     this.GeneralDiscountPercentage = OrderQuoteContent.GeneralDiscountPercentage;
     this.GeneralDiscountAmount     = OrderQuoteContent.GeneralDiscountAmount;
     this.Amount                    = OrderQuoteContent.Amount;
     this.TaxPercentage             = OrderQuoteContent.TaxPercentage;
     this.TaxPercentageOther        = OrderQuoteContent.TaxPercentageOther;
     this.TaxAmount                 = OrderQuoteContent.TaxAmount;
     this.Factor                    = OrderQuoteContent.Factor;
     this.Item = OrderQuoteContent.Item == null ? null : new Company_ItemDTO(OrderQuoteContent.Item);
     this.PrimaryUnitOfMeasure = OrderQuoteContent.PrimaryUnitOfMeasure == null ? null : new Company_UnitOfMeasureDTO(OrderQuoteContent.PrimaryUnitOfMeasure);
     this.UnitOfMeasure        = OrderQuoteContent.UnitOfMeasure == null ? null : new Company_UnitOfMeasureDTO(OrderQuoteContent.UnitOfMeasure);
     this.EditedPriceStatus    = OrderQuoteContent.EditedPriceStatus == null ? null : new Company_EditedPriceStatusDTO(OrderQuoteContent.EditedPriceStatus);
     this.Errors = OrderQuoteContent.Errors;
 }
예제 #2
0
 public Company_CustomerSalesOrderPromotionDTO(CustomerSalesOrderPromotion CustomerSalesOrderPromotion)
 {
     this.Id = CustomerSalesOrderPromotion.Id;
     this.CustomerSalesOrderId = CustomerSalesOrderPromotion.CustomerSalesOrderId;
     this.ItemId                 = CustomerSalesOrderPromotion.ItemId;
     this.UnitOfMeasureId        = CustomerSalesOrderPromotion.UnitOfMeasureId;
     this.Quantity               = CustomerSalesOrderPromotion.Quantity;
     this.RequestedQuantity      = CustomerSalesOrderPromotion.RequestedQuantity;
     this.PrimaryUnitOfMeasureId = CustomerSalesOrderPromotion.PrimaryUnitOfMeasureId;
     this.Factor                 = CustomerSalesOrderPromotion.Factor;
     this.Note = CustomerSalesOrderPromotion.Note;
     this.Item = CustomerSalesOrderPromotion.Item == null ? null : new Company_ItemDTO(CustomerSalesOrderPromotion.Item);
     this.PrimaryUnitOfMeasure = CustomerSalesOrderPromotion.PrimaryUnitOfMeasure == null ? null : new Company_UnitOfMeasureDTO(CustomerSalesOrderPromotion.PrimaryUnitOfMeasure);
     this.UnitOfMeasure        = CustomerSalesOrderPromotion.UnitOfMeasure == null ? null : new Company_UnitOfMeasureDTO(CustomerSalesOrderPromotion.UnitOfMeasure);
     this.Errors = CustomerSalesOrderPromotion.Errors;
 }
예제 #3
0
 public Company_DirectSalesOrderPromotionDTO(DirectSalesOrderPromotion DirectSalesOrderPromotion)
 {
     this.Id = DirectSalesOrderPromotion.Id;
     this.DirectSalesOrderId     = DirectSalesOrderPromotion.DirectSalesOrderId;
     this.ItemId                 = DirectSalesOrderPromotion.ItemId;
     this.UnitOfMeasureId        = DirectSalesOrderPromotion.UnitOfMeasureId;
     this.Quantity               = DirectSalesOrderPromotion.Quantity;
     this.PrimaryUnitOfMeasureId = DirectSalesOrderPromotion.PrimaryUnitOfMeasureId;
     this.RequestedQuantity      = DirectSalesOrderPromotion.RequestedQuantity;
     this.Note   = DirectSalesOrderPromotion.Note;
     this.Factor = DirectSalesOrderPromotion.Factor;
     this.Item   = DirectSalesOrderPromotion.Item == null ? null : new Company_ItemDTO(DirectSalesOrderPromotion.Item);
     this.PrimaryUnitOfMeasure = DirectSalesOrderPromotion.PrimaryUnitOfMeasure == null ? null : new Company_UnitOfMeasureDTO(DirectSalesOrderPromotion.PrimaryUnitOfMeasure);
     this.UnitOfMeasure        = DirectSalesOrderPromotion.UnitOfMeasure == null ? null : new Company_UnitOfMeasureDTO(DirectSalesOrderPromotion.UnitOfMeasure);
     this.Errors = DirectSalesOrderPromotion.Errors;
 }