Hi Ludovic,
From just looking at the SQL, it will be impossible to determine.
My best guess is that the SQL simply returns 0 rows.
What I suggest:
- take this SQL and replace all the variables (i.e. [destPhase] etc.) with real values
- run in it MS Studio Manager on the BFC database and see if any data is returned.
Thanks
Marc