As described here Configuring the Lookup for a Data Set Field [AX 2012] you can change how lookup look like. What you can also do you can range to the lookup to show i.e. only rooms which are in service. Following X++ shows how to achieve this:
void dataSetLookup(SysDataSetLookup sysDataSetLookup)
{
List list = new List(Types::String);
Query query = new Query();
QueryBuildDataSource queryBuildDataSource;
QueryBuildRange qbr;
// Add the table to the query.
queryBuildDataSource...(read more)
↧