Beispiel #1
0
        public bool DeleteSortedItem(ScannedItem item)
        {
            //
            bool ret = false;

            try {
                object[] _item = new object[] { item.ItemNumber };
                ret = executeNonQuery(USP_SORTEDITEM_UPDATE, _item);
            }
            catch (Exception ex) { throw new FaultException(new FaultReason("Failed to delete scanned item: " + ex.Message)); }
            return(ret);
        }
Beispiel #2
0
        public bool CreateSortedItem(ScannedItem item)
        {
            //
            bool ret = false;

            try {
                object[] _item = new object[] { item.ItemNumber, item.TerminalID, item.ScannerID, item.FreightID, item.SortDate, item.ScanString, item.UserID };
                ret = executeNonQuery(USP_SORTEDITEM_NEW, _item);
            }
            catch (Exception ex) { throw new FaultException(new FaultReason("Failed to create scanned item: " + ex.Message)); }
            return(ret);
        }