Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Refer to the shipped advanced example Command Enablement for more information.

Note
Note: The changing of business object instance level command states within business objects that support multiple concurrently open instances is not viable because you cannot identify which open instance the state change applies to.

...

  
Note
Note: Do not use avChangeCommandState in business objects that use Subtypes. The subtype enablement/disablement will override any enablement/disablement done by avChangeCommandState.

Method: avChangeCommandState

Event: avCommandStateChanged

Parameters:

NameUsageClassDescription

ObjectName

Input - Mandatory

Alpha – max length 32

Specifies the User Object Name/Type of the framework, application or business object to which the command belongs. An invalid name will cause a message to be displayed and the request will be ignored.

CommandName

Input – Mandatory

Alpha – max length 32

Specifies the User Object Name/Type of the command which is to have its state changed. An invalid name will cause a message to be displayed and the request will be ignored.

Enabled

Input - Mandatory

Boolean

Specifies whether the command is to now be enabled or disabled. If the command already has the requested state the request is ignored.

Signal (avChangeCommandState only)

Input - Optional

Boolean

Specifies whether the avCommandStateChanged event should be signaled. Default is true.