Hi all,
In Demand Planning I have a macro running successfully saying that unless the material number is at detail level, the specific key figure is locked.
This macro is as below:
IF
DET_LEVEL ( Material_No ) = 0
ROW: XYZ (Attributes) =
Row Input (0)
ELSE
ROW: XYZ (Attributes) =
Row Input (1)
ENDIF
this works fine, and the row XYZ is only open for editing when the DP planning book is drilled down to the material number detail (lowest level)
But I want to enhance this, and its not working.. I am trying to say that TWO characteristics need to be in detail.. not just Material_No
IF
DET_LEVEL ( Material_No ) = 0 AND DET_Level ( Location ) = 0
ROW: XYZ (Attributes) =
Row Input (0)
ELSE
ROW XYZ (Attributes) =
Row Input (1)
But it seems to be totally ignoring the extra part added to check that Location is also at detail.. What am I doing wrong?