This documentation is archived and is not being maintained.
PCEnterprisePortalMain.fixValueExtended Method [AX 2012]
Fixes a user selected value for a given attribute by using the solver. Updates the XmlModel variable if no contradiction was detected.
public boolean fixValueExtended(
str _value,
str _attributeId,
str _componentId)
Run On Server
Parameters
_value
Type: str
The value, formatted as a non-localized string.
_attributeId
Type: str
The ID of the attribute for which to set the value.
_componentId
Type: str
The ID of the component instance for the attribute.
Return Value Type:
boolean
true if a contradiction is detected; otherwise, false .
Loads the model from the class level variable parmXmlModel , and applies the values from the class level variable parmUserSelectedValues , before the fix is performed.