Esempio n. 1
0
        private static void IncrementMMSAccumulatedLeave()
        {
            try
            {
                Log.ErrorFileWrite(moduleName, "5001", "IN - SPAR MAPPER MMS Accumulated Leave Increment Notification Start");

                EmployeeLeave.ProcessIncrementMMSAccumulatedLeave();

                Log.ErrorFileWrite(moduleName, "5002", "IN - SPAR MAPPER MMS Accumulated Leave Increment Notification End");
            }
            catch (Exception ex)
            {
                Log.ErrorFileWrite(moduleName, "5003", ex.Message, ex.StackTrace);
            }
        }
Esempio n. 2
0
        private void IncrementMMSAccumulatedLeave()
        {
            try
            {
                //Utility.WriteLog(2000, 5, "IN - SPAR MAPPER Email Notification Start", "Information", TraceEventType.Information, moduleName);
                Log.ErrorFileWrite(moduleName, "5001", "IN - SPAR MAPPER MMS Accumulated Leave Increment Notification Start");

                EmployeeLeave.ProcessIncrementMMSAccumulatedLeave();

                //Utility.WriteLog(2001, 5, "IN - SPAR MAPPER Email Notification End", "Information", TraceEventType.Information, moduleName);
                Log.ErrorFileWrite(moduleName, "5002", "IN - SPAR MAPPER MMS Accumulated Leave Increment Notification End");
                Application.Exit();
            }
            catch (Exception ex)
            {
                //Utility.WriteLog(2002, 5, ex.Message, "Exception", TraceEventType.Error, moduleName);
                Log.ErrorFileWrite(moduleName, "5003", ex.Message, ex.StackTrace);
                Application.Exit();
            }
        }