Find tardiness and early departure
Summary:
Good morning Experts, has anyone worked on being able to find early departures or tardiness in time and labor? What formula would you recommend? I am applying this one but the time card keeps spinning and it does not resolve.
/**************************************************************
FORMULA: TARDANZA_SALIDA_ANTICIPADA_OPT_V2
***************************************************************/
DEFAULT FOR HWM_CTXARY_RECORD_POSITIONS IS EMPTY_TEXT_NUMBER
DEFAULT FOR StartTime IS EMPTY_DATE_NUMBER
DEFAULT FOR StopTime IS EMPTY_DATE_NUMBER
DEFAULT FOR measure IS EMPTY_NUMBER_NUMBER
INPUTS ARE
HWM_CTXARY_RECORD_POSITIONS,
StartTime,
StopTime,
measure
ffs_id = GET_CONTEXT(HWM_FFS_ID, 0)
rule_id = GET_CONTEXT(HWM_RULE_ID, 0)
Tagged:
0