Time Entry Rule Fast Formula to show error on time card if Time type and Time allowance is null
Summary:
The requirement is to ensure that employees enter either of these fields before submitting the time card. We have created one formula to achieve the same however error is not triggering for empty time card. Can anyone please help.
Content (please ensure you mask any confidential information):
/*
- Formula Name : TIME_TYPE_ALLOWANCE_EMPTY
- Description: Formula is for entry validation of IW employees when they skip time type and time allowamce in time card
***************************************************************************/
default for measure(number) is 0default for PayrollTimeType(text) is 'NULL'
default for TIME_ALLOWANCE(text) is 'NULL'
default for StartTime(Date) is '01-JAN-1900'(DATE)