コード例 #1
0
ファイル: ALO192.aspx.cs プロジェクト: ChiangHanLung/PIC_VDS
    private bool GetRouteStepByStore(string strChan, string strStore, string strStAcceptDate)
    {
        #region
        bool bResult = false;

        try
        {
            ALOModel.QueryALOCommon BCO = new ALOModel.QueryALOCommon(ConnectionDB);
            ArrayList ParameterList1 = new ArrayList();

            ParameterList1.Clear();
            ParameterList1.Add(strChan);
            ParameterList1.Add(strStore);
            ParameterList1.Add(strStAcceptDate);

            string strRoute, strTransNo, strStep;
            //Int32 iStep;

            BCO.QueryEffectRouteAndStep(ParameterList1, out strRoute, out strStep, out strTransNo);

            if (strRoute != "")
            {
                s_ROUTE = strRoute;
                s_STEP = strStep;
                s_TRANS_NO = strTransNo;
                bResult = true;
            }
            else
            {
                s_ROUTE = "";
                s_STEP = "";
                s_TRANS_NO = "";
                bResult = false;
            }

        }
        catch (Exception ex)
        {
            throw ex;
        }

        return bResult;

        #endregion
    }