Beispiel #1
0
        public PartyBalance Update(PartyBalance t, int id)
        {
            var res = service.Update(t, id);

            if (t != null)
            {
                service.ExecuteNonQuery("Exec BalanceReconcilation " + t.LedgerId + "," + yearId + "");
            }
            return(res);
        }
Beispiel #2
0
        public int CustomerWiseYearClosed(int customerId)
        {
            List <SqlParameter> parameters = new List <SqlParameter>();
            // var date = fromDate.Date.Date.ToString("yyyy-MM-dd");
            var get = service.ExecuteNonQuery("Exec YearClosed '" + customerId + "'");

            return(1);
        }