private void CheckTransactionEncodingStatus()
 {
     try
     {
         Response.Write(RevolvingFundBAL.CheckTransactionEncodingStatus(Request.QueryString));
     }
     catch (Exception ex)
     {
         Response.Write("Error: " + ex.Message);
     }
 }
    private void Manage()
    {
        try
        {
            string result = RevolvingFundBAL.ManageRevolvingFund(Request.QueryString, Request.Form);

            var revolvingfund = new RevolvingFund
            {
                RFID = Convert.ToInt32(result.Split(',')[0]),
                RFNo = result.Split(',')[1]
            };
            Response.Write(revolvingfund.ToJSON());
        }
        catch (Exception ex)
        {
            var appError = new ApplicationError
            {
                ErrorMessage = ex.Message,
                ErrorCode    = 999
            };
            Response.Write(appError.ToJSON());
        }
    }
 private void GetFormSubsidiary()
 {
     Response.Write(RevolvingFundBAL.GetFormSubsidiary(Request.QueryString).ToJSON());
 }
 private void GetFormIndividualSupplementary()
 {
     Response.Write(RevolvingFundBAL.GetFormIndividualSupplementary(Request.QueryString).ToJSON());
 }
 private void GetRFDetail()
 {
     Response.Write(RevolvingFundBAL.GetRevolvingDetail(Request.QueryString).ToJSON());
 }
 private void GetPayee()
 {
     Response.Write(RevolvingFundBAL.GetPayee(Request.QueryString).ToJSON());
 }
 private void FinalPostRF()
 {
     Response.Write(RevolvingFundBAL.PostRecord(Request.QueryString, true));
 }
 private void UnPostRF()
 {
     Response.Write(RevolvingFundBAL.UnpostRecord(Request.QueryString));
 }
 private void GetIndividualSupplementary()
 {
     Response.Write(RevolvingFundBAL.GetIndividualSupplementary().ToJSON());
 }
 private void GetSubsidiary()
 {
     Response.Write(RevolvingFundBAL.GetSubsidiary().ToJSON());
 }
 private void GetRFCOA()
 {
     Response.Write(RevolvingFundBAL.GetRFCOA().ToJSON());
 }
 private void getRFData()
 {
     Response.Write(RevolvingFundBAL.GetRFData(Request.QueryString).ToJSON());
 }
 private void GetAutoEntries()
 {
     Response.Write(RevolvingFundBAL.GetAutoEntries(Request.QueryString).ToJSON());
 }