public ActionResult GLOpening(string documentNo) { GLOpening glOpening = new GLOpening(); glOpening.AccountCodeList = Utility.GetAccountCodeItemList(); glOpening.DebitCreditList = Utility.GetLookupItemList("DebitCredit"); glOpening.AccountDate = DateTime.Now.Date; glOpening.BranchID = Utility.SsnBranch; glOpening.GLOpenDetails = new List <GLOpeningDetail>(); //glTransaction.GLJournalDetails = new List<GLJournalDetail>(); return(View("GLOpening", glOpening)); }
public GLOpening GetGLOpening(GLOpening item) { return((GLOpening)glopeningDAL.GetItem <GLOpening>(item)); }
public bool DeleteGLOpening(GLOpening item) { return(glopeningDAL.Delete(item)); }
public bool SaveGLOpening(GLOpening newItem) { return(glopeningDAL.Save(newItem)); }