Esempio n. 1
0
        public string GetOldTrayNO()
        {
            ValidateUser();
            QueryObject query = GetQueryObject("RF_MatchSearch");

            if (query == null)
            {
                throw new RFException("查询对象[RF_MatchSearch]不存在");
            }
            object obj = Bss_Helper.GetValue(query.Sql, CommandType.Text);

            if (obj == null)
            {
                //tSystemCtrl
                throw new RFException("系统中没有设定退配托盘条码!");
            }
            else
            {
                return(obj.ToString());
            }
        }
Esempio n. 2
0
        public string GetDefaultShipper()
        {
            ValidateUser();
            QueryObject query = GetQueryObject("RF_GetDefaultShipper");

            if (query == null)
            {
                throw new RFException("查询对象[RF_GetDefaultShipper]不存在");
            }
            object obj = Bss_Helper.GetValue(query.Sql, CommandType.Text);

            if (obj == null)
            {
                //tSystemCtrl
                throw new RFException("没有货主!");
            }
            else
            {
                return(obj.ToString());
            }
        }