Date Of Joining

Please note currently Date Of Joining allows to enter date prior to current date. This results at times wrong date being entered. Can this be frozen or made only allowed to enter dates from current date.

Date of joining needs ability to have date in the past. Consider companies may migrate from legacy systems or record keeping might be behind actual hire date.

You are free to add a customization to make it behave as you wish.

1 Like

Dear @sureshmony ,

I understand that Date of Joining cannot be earlier to

  1. Company’s Incorporation date
  2. Employee’s Date of Birth
  3. New Joiner’s DOJ cannot be earlier to oldest joiner in the company…

…likewise you can add as much, validations.

But, business case always exists for older date in DOJ - many scenarios.

What I don’t understand is why it’s a mandatory field. And you can’t remove this constraint using the Customize Form

Fields are often mandatory because other doctypes depend on them. There are ways to force it non-mandatory, but you’re risking unpredictable behavior down the line. If you don’t want to deal with the field, you can also just set a default value and then hide it.

Dear @ahassoun ,

I see dependencies for making this mandatory field.

  1. Leave eligibility calculations - in the 1st year of joining.
  2. Payroll - for the 1st month.
  3. For the purposes of gratuity
  4. For the purposes of joining letter, experience letter and appraisal letters.
  5. All payslips - generally carry the date of joining

Likewise, I can add a few more.

But, any business cases or used cases for this?

Thank you guys…!