Ejemplo n.º 1
0
        private APAgingMasterModel GetAPAgingMasterModel()
        {
            string             KeyFieldName = "Customer_Number";
            APAgingMasterModel model        = new APAgingMasterModel()
            {
                KeyFieldName = KeyFieldName
            };

            model.AsOf    = Session["Accounting_sPeriodBegin"] as string;
            model.Branch  = Session["Accounting_sBranchName"] == null ? "" : Session["Accounting_sBranchName"] as string;
            model.Company = Session["Accounting_sCompanName"] == null ? "" : Session["Accounting_sCompanName"] as string;

            var data = GetAPAgingTransactionalData();

            model.Elements = data;
            return(model);
        }
Ejemplo n.º 2
0
        public ActionResult APAgingMaster()
        {
            APAgingMasterModel model = GetAPAgingMasterModel();

            return(PartialView("_APAging/_APAgingMaster", model));
        }