check vacation request on other form
Hi all,
Could anyone help me what's wrong with this code?
My intention is if the assistant set vacation status on the Timesheet form the script should check if the employee has a valid vacation request for the certain day on Vacation form.
checkvacreq=Vacation[ID==input.Name];
if(checkvacreq.count>0)
{
if(Date >= checkvacreq.Start && Date <= checkvacreq.End)
{
alert " Employee has a vacation request for today";
}
else
{
alert " Employee does not have a vacation request for today";
}
}
Thanks a lot!
George
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Zoho Orchestly Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.