Thanks Amol,
Didn't try yet. This was needed for a demo and for now I just had to make it work. Let me try this at leisure sometime.
This one below is not the final one. it has more conditions like DET_LEVEL and ROUND and other conditions but this is roughly the idea. PLIFZ is planned delivery time from Prod-Loc master
Regards
BS