/// <summary>
        /// Gets the ID item data table for.
        /// </summary>
        /// <param name="shelfID">The shelf ID.</param>
        /// <param name="bw">The bw.</param>
        /// <returns></returns>
        public static DataTable GetIDItemDataTableFor(int shelfID, BackgroundWorker bw)
        {
            GarbageCollection();
            var dtbl = new DataTable();
            var plc = new PalletLocation();
            var ld = new System.Collections.Specialized.ListDictionary { { "@shelfid", shelfID } };

            // This does the job depending on the pivot Stored procedure.
            plc.LoadFromSql("PLView", ld, CommandType.StoredProcedure);

            return plc.DataTable;
        }