Hi,
is there a way to combine a PU Function with a CALC_CROP Function?
CASE WHEN PROCESS # 'Change Requested Delivery Date'
THEN
TO_TIMESTAMP ( PU_FIRST ( "VBAP" , "_CEL_O2C_ACTIVITIES"."CHANGED_TO" , "_CEL_O2C_ACTIVITIES"."ACTIVITY_EN" = 'Change Confirmed Delivery Date')
, 'YYYYMMDD' )
ELSE
"VBEP"."EDATU"
END
This is the formula without CALC_CROP. But doing this, Celonis is looking at the first "Change Confirmed Delivery Date".
I would like to look at the first "Change Confirmed Delivery Date" Event after the last "Change Requested Delivery Date" Event.