Batch Table

This widget shows batch (BPR) headers in a tabular view. The widget derives from Time Period Table and contains Table and Time Period Pickers.

Note: Features marked with (*) are not supported yet.

Model

{
    "type": "batchtable",
    "dataSource": {
        "type": "fetch",
        "path": "PATH TO BATCH OWNING OBJECT",
        "filter": {},
        "project": {},
        "sort": {},
        "skip": 0,
        "limit": 1000
    },
    "table": {}
}

Optional

Initial starttime and endtime can be given to initialize the Time Pickers.

{
    "starttime": "2020-10-01T00:00:00.000Z",
    "endtime": "2020-10-01T00:00:00.000Z"
}

Containment

The widget contains other widget(s) and can be accessed directly by:

{
    "table": {} // Table Widget.
}

See Table widget for details.

Actions

Additional hooks:

  • onSelect: Invoked when row is selected.

onSelect action

{
    "table": {
        "actions": {
            "onSelect": []
        }
    }
}

The widget will pass this object as message payload into the pipeline.

{
    "batchid": "Batch_1601472379000",
    "duration": "00:01:50",
    "endtime": 1601472499000,
    "entryid": "c1c393ac-0320-11eb-80f1-e15ed41ae343",
    "starttime": 1601472389000
}