Can you try add `console.log(window.fDeployIds);` ...
# suitescript
m
Can you try add
console.log(window.fDeployIds);
to your script and see what it logs? It look like that is what getDeploymentId() checks