I would like to perform a data check and prohibit batch sending according to some conditions. How to do that?
You can use a Workspace.Result object of IScriptResult type:
- Open Scan Station.
- Create a new Batch Type (Tools > Batch Types > New...):
- In the Scripts tab, add a script (Add.. > Script Name and Event Name, Edit)
Add the script, for On batch sending with the next code: