Beispiel #1
0
        private ARAgingMasterModel GetARAgingMasterModel()
        {
            string             KeyFieldName = "Customer_Number";
            ARAgingMasterModel model        = new ARAgingMasterModel()
            {
                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 = GetARAgingTransactionalData();

            model.Elements = data;
            return(model);
        }
Beispiel #2
0
        public ActionResult ARAgingMaster()
        {
            ARAgingMasterModel model = GetARAgingMasterModel();

            return(PartialView("_ARAging/_ARAgingMaster", model));
        }