Share via


RetailProductUpdater.canOverride Method [AX 2012]

Indicates whether the attribute of the product should be set.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          protected boolean canOverride(
            boolean _shouldBeSet, 
            anytype _currentValue, 
           [anytype _originalValue])

  Microsoft Dynamics AX 2012 R2 (SYS)
          protected boolean canOverride(
            boolean _shouldBeSet, 
            anytype _currentValue, 
           [anytype _originalValue])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          private boolean canOverride(
            boolean _shouldBeSet, 
            anytype _currentValue, 
           [anytype _originalValue])

Run On

Called

Parameters

  • _shouldBeSet
    Type: boolean
    A Boolean value that indicates whether the attribute was selected to be set.
  • _currentValue
    Type: anytype
    The current value of the attribute.
  • _originalValue
    Type: anytype
    The previous value of the attribute before the category was changed.

Return Value

Type: boolean
true if the attribute should be overridden; otherwise, false.

See Also

Reference

RetailProductUpdater Class