I have a Batch Trend control in a ProcessBook display. I would like to programmatically do the following things:
- Search and find Unit Batches
- Add Unit Batches to the Batch Trend Display.
- Remove Unit Batches from the Batch Trend display
- If possible, control the pen color of the individual batches on the Batch Trend Display.
Does anyone have any example code of performing these tasks in Processbook? The 'PI Batch View Programming Help' document does not contain anything useful.