cancel
Showing results for 
Search instead for 
Did you mean: 
Reetu_Ratn
Occasional Member - Level 2

Claim amount Check as per the transaction date and promotion date

Hi All,

 

Need one help with one of the expense type which when used by the employee should validate the transaction date and the promotion date of the employee since the amount limit is set as per the designation of the employees. And employee should not be able to claim the amount assigned to higher designation if the transaction date is before the promotion date.

5 REPLIES 5
PoojaKumatkar
Routine Member - Level 3

HI @Reetu_Ratn ,

 

This validation can only build in case promotion date field is considered in form either in employee profile or expense header or expense entry form. If promotion date is not available in any of the mentioned form, then you won't be able to compare or validate whether transaction date is before or after promotion date as there is no field considered for this comparison. 

 

Can you please check configuration and confirm. Also, if field is already considered and added in form then provide screenshot and form name, so that it will be easy to respond to your query. 

Thanks!
Regards,
Pooja
Reetu_Ratn
Occasional Member - Level 2

Hi @PoojaKumatkar 

We are still under discussion on the design and we were thinking of using promotion date at expense entry form but we were not able to connect it with the audit rule. Any idea how the rule can be created?

PoojaKumatkar
Routine Member - Level 3

Hi @Reetu_Ratn ,

 

You can create audit rule as shown below for before and after promotion limits.

 

PoojaKumatkar_0-1728896681635.png

 

 

PoojaKumatkar_1-1728896811276.png

 

 

 

Thanks!
Regards,
Pooja
Reetu_Ratn
Occasional Member - Level 2

Thank you so much @PoojaKumatkar 

This one is really helpful. I will try the same in my system and update you 🙂

PoojaKumatkar
Routine Member - Level 3

Hi @Reetu_Ratn ,

 

I have done slight changes in rule and updated screenshot in my earlier response. While trying in your system please consider those.

 

Also, if suggested audit rule works then you can update solution as accepted. 

 

Thanks!
Regards,
Pooja