public static boolean getValidated(RecId defaultDimension, Name dimName)
{
DimensionAttributeValueSetStorage dimStorage;
boolean hasValue;
dimStorage = DimensionAttributeValueSetStorage::find(defaultDimension);
hasValue = dimStorage.getDisplayValueByDimensionAttribute(DimensionAttribute::findByName(dimName).RecId)? false : True;
return hasValue;
}
No comments:
Post a Comment