Function getCompanyID is not allowed in scope sn_sc in sandbox

LFM
Tera Contributor

I've created a variable set to use on my Request items

I want the variable set to provide logged in users manager, company and department, so I added javascript:gs.getUser().getManagerName() / .getCompanyID() / .getDepartmentID() as default value.

When checking out the order, I get an error; saying Function getCompanyID is not allowed in scope sn_sc in sandbox.

But it looks like every thing is working as intended, the information that I wanted is provided in the requested item, and the request is submitted.

But I don't like having an error message showing up every time somebody order something, and I have no clue on where to start fixing this.

 

11 REPLIES 11

Thanks for update. I too raised HI case for the same and they are still doing the Root cause analysis for the same.

 

Regards,

Mihir Rathod.

Sorry to resurrect a bit of a zombie thread here but did you ever get anything back from HI regarding this?