public ActionResult JVManual(string documentNo) { GLJournal gljournal = new GLJournal(); if (documentNo == Utility.NEWRECORD) { gljournal.DocumentDate = DateTime.Now.Date; gljournal.GLJournalDetails = new List <GLJournalDetail>(); } else { gljournal = new NetStock.BusinessFactory.GLJournalBO().GetGLJournal(new GLJournal { BranchID = Utility.SsnBranch, DocumentNo = documentNo }); } gljournal.AccountCodeList = Utility.GetAccountCodeItemList(); gljournal.DebitCreditList = Utility.GetLookupItemList("DebitCredit"); return(View("JVManual", gljournal)); }
public bool DeleteGLJournal(GLJournal item) { return(GLJournalDAL.Delete(item)); }
public GLJournal GetGLJournal(GLJournal item) { return((GLJournal)GLJournalDAL.GetItem <GLJournal>(item)); }
public bool SaveGLJournal(GLJournal newItem) { return(GLJournalDAL.Save(newItem)); }