internal void SetBO(Indico.DAL.ReturnProductionPlanningDetailsView obj) { // set the Indico.BusinessObjects.ReturnProductionPlanningDetailsViewBO properties this.WeeklyProductionCapacity = obj.WeeklyProductionCapacity; this.Week = obj.Week; this.OrderDetail = obj.OrderDetail; this.Pattern = obj.Pattern; this.OrderType = obj.OrderType; this.PurchaseOrder = obj.PurchaseOrder; this.Product = obj.Product; this.Quantity = obj.Quantity; this.SMV = obj.SMV; this.TotalSMV = obj.TotalSMV; this.Client = obj.Client; this.Mode = obj.Mode; this.ShipTo = obj.ShipTo; this.Port = obj.Port; this.Country = obj.Country; this.ProductionLine = obj.ProductionLine; this.SewingDate = obj.SewingDate; this.FOCPenalty = obj.FOCPenalty; }
internal void SetDAL(Indico.DAL.ReturnProductionPlanningDetailsView obj, IndicoEntities context) { // set the Indico.DAL.ReturnProductionPlanningDetailsView properties obj.WeeklyProductionCapacity = Convert.ToInt32(WeeklyProductionCapacity); obj.Week = Week; obj.OrderDetail = Convert.ToInt32(OrderDetail); obj.Pattern = Pattern; obj.OrderType = OrderType; obj.PurchaseOrder = PurchaseOrder; obj.Product = Product; obj.Quantity = Convert.ToInt32(Quantity); obj.SMV = Convert.ToDecimal(SMV); obj.TotalSMV = Convert.ToDecimal(TotalSMV); obj.Client = Client; obj.Mode = Mode; obj.ShipTo = ShipTo; obj.Port = Port; obj.Country = Country; obj.ProductionLine = Convert.ToInt32(ProductionLine); obj.SewingDate = Convert.ToDateTime(SewingDate); obj.FOCPenalty = Convert.ToBoolean(FOCPenalty); }