Beispiel #1
0
        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));
        }
Beispiel #2
0
 public GLOpening GetGLOpening(GLOpening item)
 {
     return((GLOpening)glopeningDAL.GetItem <GLOpening>(item));
 }
Beispiel #3
0
 public bool DeleteGLOpening(GLOpening item)
 {
     return(glopeningDAL.Delete(item));
 }
Beispiel #4
0
 public bool SaveGLOpening(GLOpening newItem)
 {
     return(glopeningDAL.Save(newItem));
 }