Пример #1
0
 internal void SetBO(Indico.DAL.PackingListView obj)
 {
     // set the Indico.BusinessObjects.PackingListViewBO properties
     this.PackingList = obj.PackingList;
     this.WeeklyProductionCapacity = obj.WeeklyProductionCapacity;
     this.CartonNo            = obj.CartonNo;
     this.OrderNumber         = obj.OrderNumber;
     this.OrderDetail         = obj.OrderDetail;
     this.VLName              = obj.VLName;
     this.Pattern             = obj.Pattern;
     this.Distributor         = obj.Distributor;
     this.Client              = obj.Client;
     this.WeekendDate         = obj.WeekendDate;
     this.PackingTotal        = obj.PackingTotal;
     this.ScannedTotal        = obj.ScannedTotal;
     this.ShimentModeID       = obj.ShimentModeID;
     this.ShipmentMode        = obj.ShipmentMode;
     this.CompanyName         = obj.CompanyName;
     this.Address             = obj.Address;
     this.Suberb              = obj.Suberb;
     this.State               = obj.State;
     this.PostCode            = obj.PostCode;
     this.Country             = obj.Country;
     this.ContactDetails      = obj.ContactDetails;
     this.IsWeeklyShipment    = obj.IsWeeklyShipment;
     this.IsAdelaideWareHouse = obj.IsAdelaideWareHouse;
     this.ShipTo              = obj.ShipTo;
 }
Пример #2
0
 internal void SetDAL(Indico.DAL.PackingListView obj, IndicoEntities context)
 {
     // set the Indico.DAL.PackingListView properties
     obj.PackingList = Convert.ToInt32(PackingList);
     obj.WeeklyProductionCapacity = Convert.ToInt32(WeeklyProductionCapacity);
     obj.CartonNo            = Convert.ToInt32(CartonNo);
     obj.OrderNumber         = Convert.ToInt32(OrderNumber);
     obj.OrderDetail         = Convert.ToInt32(OrderDetail);
     obj.VLName              = VLName;
     obj.Pattern             = Pattern;
     obj.Distributor         = Distributor;
     obj.Client              = Client;
     obj.WeekendDate         = Convert.ToDateTime(WeekendDate);
     obj.PackingTotal        = Convert.ToInt32(PackingTotal);
     obj.ScannedTotal        = Convert.ToInt32(ScannedTotal);
     obj.ShimentModeID       = Convert.ToInt32(ShimentModeID);
     obj.ShipmentMode        = ShipmentMode;
     obj.CompanyName         = CompanyName;
     obj.Address             = Address;
     obj.Suberb              = Suberb;
     obj.State               = State;
     obj.PostCode            = PostCode;
     obj.Country             = Country;
     obj.ContactDetails      = ContactDetails;
     obj.IsWeeklyShipment    = Convert.ToBoolean(IsWeeklyShipment);
     obj.IsAdelaideWareHouse = Convert.ToBoolean(IsAdelaideWareHouse);
     obj.ShipTo              = Convert.ToInt32(ShipTo);
 }