This function is used to get info about one or all operations on a job.


Parameter
Description
sJobCode
Mandatory
nLineNumber
The actual line number for the operation on the specific job. The line number is unique
sOperationCode
Be aware that there can be more than one of the same operaton code on a job.
The function will return a dataset of one or more records based on the parameters. If only sJobCode is given then all operations are returned

Field
Type 
Description
JobCode
NVARCHAR(20)

LineNumber
FLOAT
 
OperationCode
NVARCHAR(20)
 
ERPReference
NVARCHAR(50)
Can be used as an internal reference to own ERP system. 
OperationCompleted
BIT
0 if operaton is not completed. 1 if operation is completed 
UsedTime
DECIMAL
The actual time used on this operation until now for all employees.
RunningNow
BIT
0 if operaton is not running. 1 if operation is running meaning somebody is working on that operation just now