Passing information with the ButtonBar Execute() and LaunchBrowser() methods
- Last UpdatedNov 26, 2024
- 1 minute read
The ButtonBar Execute() and LaunchBrowser() methods will pass along the selected row to the external application if the underlying control contains a grid and a row is selected in the grid.
The value from a column in the selected row from the grid will be passed if the column name from the grid is specified in the method's commandInfo parameter. The columns names for the grid can be found by right-clicking on the grid in the control and then clicking Configure.
These methods can also get global information and pass it on to the external application in the commandInfo parameter by specifying any of the values listed below with an "@" preceding the name.
session_id
The current session ID.
ent_id
The ID of the current entity.
ent_name
The name of the current entity.
user_id
The ID of the current user.
wo_id
The ID of the current job's work order.
oper_id
The ID of the current job's operation.
seq_no
The sequence number of the current job.
item_id
The ID of the item being made by the current job.
item_desc
The description of the item being made by the current job.
wo_desc
The description of the current job's work order.
job_desc
The description of the current job.
util_state_desc
The description of the utilization state for the current entity.
qty_at_start
The starting quantity of the current job.
batch_size
The batch size of the current job.
qty_prod
The quantity produced for the current job.
qty_reqd
The quantity required for the current job.
qty_rejected
The quantity rejected for the current job.
notes
Notes for the current job