示例#1
0
        public static List <LTOLiquidationCashAdvance> GetCAList(NameValueCollection querystring)
        {
            int    intIDLiquidation = int.TryParse(querystring.Get("intIDLiquidation"), out intIDLiquidation) ? intIDLiquidation : 0;
            string type             = querystring.Get("strType");

            return(LTOLiquidationDAL.GetCAList(intIDLiquidation, type));
        }
示例#2
0
        public static List <LTOLiq_LTOAR> GetLTOAR(NameValueCollection querystring)
        {
            int    intIDLTOLiquidation = int.TryParse(querystring.Get("intIDLTOLiquidation"), out intIDLTOLiquidation) ? intIDLTOLiquidation : 0;
            string strCriteria         = querystring.Get("strCriteria").ToString();

            return(LTOLiquidationDAL.GetLTOAR(intIDLTOLiquidation, strCriteria));
        }
示例#3
0
        public static List <LTOLiquidationDetails> GetCAListDetail(NameValueCollection querystring)
        {
            int    intIDLtoCashAdvance = int.TryParse(querystring.Get("intIDLtoCashAdvance"), out intIDLtoCashAdvance) ? intIDLtoCashAdvance : 0;
            int    intIDLTOLiquidation = int.TryParse(querystring.Get("intIDLTOLiquidation"), out intIDLTOLiquidation) ? intIDLTOLiquidation : 0;
            string strType             = querystring.Get("strType");

            return(LTOLiquidationDAL.GetCAListDetail(intIDLtoCashAdvance, intIDLTOLiquidation, strType));
        }
示例#4
0
        public static ManageResultString VerifyCA(NameValueCollection querystring)
        {
            UserProfile userprofile = WebCommon.GetUserProfile();
            var         verifiedCA  = new LTOLiq_VerifiedCA();

            int     intIDColCollection;
            decimal ARAmount;

            verifiedCA.intIDLTOCashAdvance = int.Parse(querystring.Get("intIDLTOCashAdvance"));
            verifiedCA.intIDLTOLiquidation = int.Parse(querystring.Get("intIDLTOLiquidation"));
            verifiedCA.TransactionDate     = querystring.Get("TransactionDate");
            verifiedCA.ReceivedDate        = querystring.Get("ReceivedDate");
            verifiedCA.Remarks             = querystring.Get("Remarks");
            verifiedCA.intIDColCollection  = int.TryParse(querystring.Get("intIDColCollection"), out intIDColCollection) ? intIDColCollection : 0;
            verifiedCA.ARNumber            = querystring.Get("ARNumber");
            verifiedCA.ARDate       = querystring.Get("ARDate");
            verifiedCA.ARAmount     = decimal.TryParse(querystring.Get("ARAmount"), out ARAmount) ? ARAmount : 0;
            verifiedCA.intIDSecUser = int.Parse(userprofile.UserId.ToString());
            verifiedCA.type         = querystring.Get("transType");

            return(LTOLiquidationDAL.VerifyCA(verifiedCA));
        }
示例#5
0
        public static List <LTOLiquidationHead> GetLiquidation(NameValueCollection querystring)
        {
            string criteria = querystring.Get("criteria");

            return(LTOLiquidationDAL.GetLiquidation(criteria));
        }