PBAFrontEndControl.getVariable Method [AX 2012]

Gets the container with the PBA variable and array index associated with the control selected by the user in the form.

public container getVariable(FormStringControl _control)

Run On

Called

Parameters

_control
Type: FormStringControl Class
The form control that is selected.

Return Value

Type: container
A container with the selected variable and array index (PBAVariable, PBAArrayIdx), or (NULL, 0) if the data source is not valid.

This method is called to display the list of possible outcomes for that variable.

Community Additions

ADD
Show: