Exemplo n.º 1
0
        public bool SIO_EWM_RFID018(string HU, string LOUCENG, string SHIP_DATE, float SHULIANG, string STORE_ID, string XIANGXING, string PICK_TASK)
        {
            HU = !string.IsNullOrEmpty(HU) ? HU.TrimStart('0') : "";

            LogHelp.LogDebug(string.Format("调用绑定函数[SIO_EWM_RFID008],参数=>HU:[{0}],LOUCENG:[{1}],SHIP_DATE:[{2}],SHULIANG:[{3}],STORE_ID:[{4}],XIANGXIANG:[{5}],PICK_TASK:[{6}]",
                                           HU, LOUCENG, SHIP_DATE, SHULIANG, STORE_ID, XIANGXING, PICK_TASK));

            DateTime?sd = null;

            try
            {
                sd = DateTime.ParseExact(SHIP_DATE, "yyyyMMdd", CultureInfo.InvariantCulture);
            }
            catch (Exception ex)
            {
                LogHelp.LogError(ex);
                return(false);
            }
            bool result = LocalDataService.SaveBoxPickTaskMapInfo(HU, LOUCENG, sd, SHULIANG, STORE_ID, XIANGXING, PICK_TASK);

            LogHelp.LogDebug(string.Format("调用绑定函数[SIO_EWM_RFID008],结果=>[{0}]", result));
            return(result);
        }