system.mes.inventory.operation.exportAsJsonBytes
Description
Exports all Inventory Operations as raw bytes in JSON format (UTF-8 encoded). Streams operation data from the database and formats it as JSON, including a header row.
Syntax
system.mes.inventory.operation.exportAsJsonBytes()
Parameters
Parameter | Type | Nullable | Description |
---|---|---|---|
None | - | - | This function does not take any parameters. |
Returns
A Byte array (Byte[]) containing the raw byte data of the JSON export.
Code Examples
Perspective
jsonBytes = system.mes.inventory.operation.exportAsJsonBytes()
system.perspective.download("inventory_operations.json", jsonBytes)