[Axapta-Knowledge-Village] update a field based on dates calculation

2010-07-05 Thread kardo_ax
Dear All, I want your help regarding the following: Each employee is monthly eligible for X number of vacation days and from the day the employee joined the company. I want the system to accumalate the vacation days for each employee on monthly bases based on the employee's starting date.

Re: [Axapta-Knowledge-Village] update a field based on dates calculation

2010-07-05 Thread Agus Riyadi
Hi, You can write a class with batch framework (see class tutorial_runbasebatch), that you set to run every night to check for all employee that has due one month since the last vacation day update. There should be a date field in the employee that show what is the last update date the vacation