PCModelingLibrary::validateChangeAttributeVisibility Method [AX 2012]

Prompts the user to authorize the visibility attribute to be changed if it is mandatory and does not have a default value.

client public static boolean validateChangeAttributeVisibility(EcoResCategoryAttribute _categoryAttribute, NoYes _hidden)

Run On

Client

Parameters

_categoryAttribute
Type: EcoResCategoryAttribute Table
The specified attribute to be hidden.
_hidden
Type: NoYes Enumeration
The value of the NoYes::Yes enumeration if the attribute is to be hidden.

Return Value

Type: boolean
true if the user authorized the action or has chosen not to be prompted again.

ExceptionCondition
Error

The function was called without a record.

Show: