Calculate

Calculates the Pool report and saves the result in BEAS_TEMPREPORT

 

ReportId = GET PoolReport(PersonnelId,StationId,MaterialCalculateBoolean)

 

if PersonnelId or StationId is not defined, the system uses the current connected PersonnelId,StationId

If MaterialCalculation is true, the system calculates the missing material.

This can take more time

 

Example:

Calculation for the current employee:

 

ReportId = GET PoolReport("","",true)

 

GET PoolReport?&$select=DocEntry,LineNumber,LineNumber2,

WorkorderRouting/Position,LineNumber3,ItemCode,

left(WorkorderRouting/Description,50),

Duration,ProcessingStartTime,ProcessingEndTime,MaterialInsufficient
&$filter=PoolReportId eq ' + poolReportId