Example #1
0
 public InventoryAllocation(OutboundShipmentDetails OBSD, string PiecePickLocation, string ProdID, int?QuantityToAllocate, string InAllocationType)
 {
     RID            = GetNextRID();
     ProductID      = ProdID;
     LocationID     = PiecePickLocation;
     QcCatigory     = OBSD.QCCategory;
     TraceID        = "";
     Quantity       = OBSD.OrderedUnits;
     AllocationType = InAllocationType;
     ShipmentID     = OBSD.ShipmentID;
     OrderNumber    = OBSD.OrderNumber;
     OrderLine      = OBSD.OrderLine;
     LastUpdated    = DateTime.Now;
     LastUser       = OBSD.LastUser;
     LastModule     = OBSD.LastModule;
     AddToDatabase();
 }
Example #2
0
 public InventoryAllocation(ProductMaster ProductMasterInfo, Locations location, OutboundShipmentDetails OBSD, string InAllocationType)
 {
     RID            = GetNextRID();
     ProductID      = ProductMasterInfo.ProductID;
     LocationID     = location.LocationID;
     QcCatigory     = OBSD.QCCategory;
     TraceID        = "";
     Quantity       = OBSD.OrderedUnits;
     AllocationType = InAllocationType;
     ShipmentID     = OBSD.ShipmentID;
     OrderNumber    = OBSD.OrderNumber;
     OrderLine      = OBSD.OrderLine;
     LastUpdated    = DateTime.Now;
     LastUser       = OBSD.LastUser;
     LastModule     = OBSD.LastModule;
     //Tim uncomment
     AddToDatabase();
 }