P_Pane_Versions
The procedure p_pane_versions is a standard script that can be used to fill lists in a selection pane with content. This script gets data from the planning versions saved in Bizview and will also check if versions are active, open, and/or valid.
When selecting the script in Pane Designer, the following parameters can be defined:
Input Parameters
@client
The logged in client is automatically sent into the pane.
@user
The logged in user is automatically sent into the pane.
@active
Optional parameter. Enter a "1" if only active versions should be returned in the list box. Enter a "0" if only inactive versions should be returned. If left empty, both active and inactive versions will be returned in the list:
@open_check
Mandatory parameter. Enter a "1" if only versions open for entry should be returned in the list box. Enter a "0" if no check if versions are open for entry or not:
Important: In versions prior to Bizview 2011 R2 (1.1215.1909) this property could be left empty. However, from Bizview 2011 R2 (1.1215.1909) the open check property must be defined as either 0 or 1.
@valid_check
Optional parameter. Enter a "1" if only valid versions should be returned in the list box. Enter a "0" if only invalid versions should be returned. If left empty, both valid and invalid versions will be returned.
@order_by
Optional parameter. If the list should be ordered in any other way than by version ID column, then enter the column: