public bool addLotBin(SFC_ItemLotBin bin)
 {
     if (!bins.Contains(bin))
     {
         bins.Add(bin);
         return(true);
     }
     else
     {
         return(false);
     }
 }
        /*
         *
         */
        public bool splitLotBin(SFC_ItemLotBin newLotBin, decimal qtyToTransfer)
        {
            bool result = false;

            lock (this)
            {
                if (qtyToTransfer < this.onHand)
                {
                    newLotBin.Item.ItemStatus.beginQuantity(qtyToTransfer);
                    this.onHand         -= qtyToTransfer;
                    this.totalAvailable -= qtyToTransfer;
                    //No need to update item master since quantity will not change
                }
            }
            return(result);
        }
 public void RemoveLotBin(SFC_ItemLotBin itemLotBin)
 {
     lotBin.Remove(itemLotBin.Id);
 }
 public void AddLotBin(SFC_ItemLotBin itemLotBin)
 {
     lotBin.Add(itemLotBin.Id, itemLotBin);
 }
 public SFC_ItemStatus(SFC_ItemLotBin itemLotBin)
 {
     this.itemLotBin = itemLotBin;
     this.isItem     = false;
 }