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); }
public ActionResult ARAgingMaster() { ARAgingMasterModel model = GetARAgingMasterModel(); return(PartialView("_ARAging/_ARAgingMaster", model)); }