public ModifyInventory(tblIncoming incoming)
 {
     Lot     = incoming.Lot;
     PkgID   = incoming.PkgID;
     LocID   = incoming.LocID;
     TrtmtID = incoming.TrtmtID;
 }
 public ChileMaterialsItemReceivedKeys(tblIncoming tblIncoming)
 {
     Lot        = tblIncoming.Lot;
     Tote       = (tblIncoming.Tote ?? "").Trim();
     PkgID      = tblIncoming.PkgID;
     LocID      = tblIncoming.LocID;
     TrtmtID    = tblIncoming.TrtmtID;
     DehyLocale = (tblIncoming.DehyLocale ?? "").Trim().ToUpper();
     Variety    = ((tblIncoming.tblVariety == null ? null : tblIncoming.tblVariety.Variety) ?? "").Trim();
 }