Test on smartlist value in groovy
Summary:
hi all,
Test on smartlist value in groovy
Content (required):
Is it possible to test on a smartlist value in groovy. We want to make cells read only if a cell value (which contains a smartlist) meets a certain condition.
What we currently have:
operation.grid.dataCellIterator('Sales_Manager').each { DataCell cell ->
if (cell.crossDimCell('Next_Approver', 'No Product').data !='Sales Manager' ) {
cell.setForceReadOnly(true)}}
Where the sales manager is a member in a custom dimension. The same member is part of the smartlist and availbale on the "Next_Approver" member in the account dimension.
Logic here is that if the Next_Approver is "Sales_Manager", the "Sales_Manager" member should
Tagged:
0