Skip to main content

system.mes.inventory.operation.exportAsCsvBytes

Description

Exports all Inventory Operations as raw bytes in CSV format (UTF-8 encoded). Streams operation data from the database and formats it as CSV, including a header row.

Syntax

system.mes.inventory.operation.exportAsCsvBytes()

Parameters

ParameterTypeNullableDescription
None--This function does not take any parameters.

Returns

A Byte array (Byte[]) containing the raw byte data of the CSV export.

Code Examples

Perspective

csvBytes = system.mes.inventory.operation.exportAsCsvBytes()
system.perspective.download("inventory_operations.csv", csvBytes)