Пример #1
0
    public string async_GetReqsn_Remarks(string DocumentCode, int RemarkType)
    {
        return(UDFLib.CreateHtmlTableFromDataTable(BLL_PURC_Common.GET_Remarks(DocumentCode, RemarkType),
                                                   new string[] { "Name", "Type", "Date", "Remark" },
                                                   new string[] { "name", "Stage", "dateCr", "Remark" },

                                                   new string[] { "left", "left", "left", "left" },
                                                   null));
    }
Пример #2
0
    public string Purc_Get_Remarks(string DocumentCode, string Remark_Type)
    {
        int RemarkType = 0;

        if (Remark_Type != "")
        {
            RemarkType = int.Parse(Remark_Type);
        }

        DataTable dtRemarks = BLL_PURC_Common.GET_Remarks(DocumentCode, RemarkType);

        return(GetJsArray(dtRemarks));
    }