Пример #1
0
    private void GetAdjustmentType()
    {
        List <LocalAdjustmentType> adjustmentTypes = DCMemoBAL.GetAdjustmentType();

        if ((adjustmentTypes != null) && adjustmentTypes.Count > 0)
        {
            Response.Write(adjustmentTypes.ToJSON());
        }
        else
        {
            Response.Write("No Result");
        }
    }
Пример #2
0
    private void GetCCO()
    {
        List <CCO> dcMemos = DCMemoBAL.GetCCO(Request.QueryString);

        if ((dcMemos != null) && dcMemos.Count > 0)
        {
            Response.Write(dcMemos.ToJSON());
        }
        else
        {
            Response.Write("No Result");
        }
    }
Пример #3
0
    private void GetFromNotification()
    {
        if (Session["AlertID"] != null)
        {
            int alertid = int.TryParse(Session["AlertID"].ToString(), out alertid) ? alertid : 0;

            Session["AlertID"] = null;

            NotifiedData notifiedData = DCMemoBAL.GetNotifiedData(alertid);

            Response.Write(notifiedData.ToJSON());
        }
    }
Пример #4
0
    private void GetInvStockForChangeOfUnit()
    {
        List <Product> MCProducts = DCMemoBAL.GetInvStockForChangeOfUnit(Request.QueryString);

        if ((MCProducts != null) && MCProducts.Count > 0)
        {
            Response.Write(MCProducts.ToJSON());
        }
        else
        {
            Response.Write("No Result");
        }
    }
Пример #5
0
    private void GetGLLocking()
    {
        List <clsGLLocking> GLLocking = DCMemoBAL.GetGLLocking(Request.QueryString);

        if ((GLLocking != null) && GLLocking.Count > 0)
        {
            Response.Write(GLLocking.ToJSON());
        }
        else
        {
            Response.Write("No Result");
        }
    }
Пример #6
0
    private void GetAAF()
    {
        List <AAF> dcAAF = DCMemoBAL.GetAAF(Request.QueryString);

        if ((dcAAF != null) && dcAAF.Count > 0)
        {
            Response.Write(dcAAF.ToJSON());
        }
        else
        {
            Response.Write("No Result");
        }
    }
Пример #7
0
 private void ManageDCMemo()
 {
     Response.Write(DCMemoBAL.ManageDCMemo(Request.QueryString));
 }