Here is a very simple tip. These days, In NAV 2009, you got the RoleTailored Client, the Classic Client, web service and the NAS Server. So, you got more "clients", "environments", … or how you kids call it these days … then you had in 5.0. Now, you can trigger each environment you want in code. This might be helpful when you want certain things to behave differently in a specific environments. You only need two statements … and combine them: GUIALLOWED: you...