To Add a Column:
- In the tmBatch table in the Taskmaster engine database, add a column, giving it the desired name preceded with pb_ (ex: pb_MyColumn).
- Save the table.
- For SQL only, also do the following:
- Open the JMView view for design.
- Delete each item appearing in the 'Alias' column.
- Press the ! (exclamation mark) icon.
- Save the view.
- Open the JobMonitor view for design.
- Press the ! (exclamation mark) icon.
- Save the view.
- Restart Taskmaster Server.
- To populate this field with dynamic content, scripting is required.
- If using a Batch Pilot form, the following command is used.
pilot.XtraBatchFieldValue("pb_MyColumn") = "my value" - If using a Rulerunner action, the pilot.XtraBatchFieldValue parameter must be uppercase. For example:
sValue = pilot.XtraBatchFieldValue("PB_MYCOLUMN") - The value passed to the property must be valid for the database field. That is, it cannot exceed the maximum number of characters that can be held in the database field or contain characters not valid for that field type.
- If using a Batch Pilot form, the following command is used.
No comments:
Post a Comment