We have the requirement to add a range on the Warehouse type as not Transit for a specific role
I tried to modify the addFilterPaneRanges() method, updatedesign method
But it didnt work.
//protected void addFilterPaneRanges()
//{
// next addFilterPaneRanges();
// QueryBuildDataSource InventLocationDS = InventLocation_ds.query().dataSourceName(InventLocation_ds.name());
// SysQuery::findOrCreateRange(InventLocationDS, fieldNum(InventLocation, InventLocationType));
//}
// QueryBuildDataSource InventLocationDS = InventLocation_ds.query().dataSourceName(InventLocation_ds.name());
// SysQuery::findOrCreateRange(InventLocationDS, fieldNum(InventLocation, InventLocationType));
// CoC
// next updateDesign(_mode);
// if(_mode == InventDimFormDesignUpdate::Init)
// {
// isFormOpenedWithDynalink = (InventSum_DS.query().dataSourceName(InventSum_DS.name()).dynalinkCount() > 0)
// || (InventTable_DS_DS.query().dataSourceName(InventTable_DS_DS.name()).dynalinkCount() > 0)
// || (InventDim_DS.query().dataSourceName(InventDim_DS.name()).dynalinkCount() > 0)
// || (InventBatch_DS.query().dataSourceName(InventBatch_DS.name()).dynalinkCount() > 0);
// if(!isFormOpenedWithDynalink)
// {
// InventLocationDS = InventDim_ds.query().dataSourceName(InventLocation_ds.name());
// SysQuery::findOrCreateRange(InventLocationDS, fieldNum(InventLocation, InventLocationType));
// }
// }


Report
All responses (
Answers (