this._Workspace was coming back as null because the order model is a collection of different order types and thus, failing to get the workspace name so I added this getWorkspace here: https://github.com/xtuple/private-extensions/pull/274/files#diff-545d99fc8e14d6619a0bf79fe54e6051R549 and that is what is getting called in this line. I will comment code and push it up unless there is an objection.