system.kanoa.operators.getOLEDataAsset(assetId, startDate, endDate)
Returns single-range, whole-crew-combined OLE/POLE data for one asset (no operator breakdown). period is resolved automatically from the asset's currently-running item (mes.vwAssetItem) via mes.fnGetStandardRateAndPeriod - no longer a caller-supplied input.
Parameters
assetId Integer: Id of asset
startDate DateTime: Start date
endDate DateTime: End date
Returns
oleData pyDataset
Example
assetId = 4
startDate = system.date.parse("2025-11-01 00:00:00")
endDate = system.date.parse("2025-11-05 00:00:00")
data = system.kanoa.operators.getOLEDataAsset(assetId, startDate, endDate)