@Duncan ******
, I'm saying you could have applied for a work permit before you get a Non-B visa.
If you went out of the country to get your Non-B visa from a thai consulate and didn't go to the Hong Kong consulate, in your documentation for the Non-B visa was a receipt that your employer had applied for a work permit for you. Otherwise you wouldn't have gotten the Non-B.
This is right off the documentation requirements for Vientiane :