Map queryContracts = reportController.parmReportContract().parmQueryContracts();
MapEnumerator mapEnumerator = queryContracts.getEnumerator();
while(mapEnumerator.moveNext())
{
Query query = mapEnumerator.currentValue();
if(query)
{
QueryBuildDataSource qbds = query.dataSourceTable(tableNum(WHSWorkLine));
if(qbds)
{
qbds.addRange(fieldNum(WHSWorkLine, ShipmentId)).value(queryValue(_shipmentTable.ShipmentId));
}
}
}