CanLogData Method (Job)
- Last UpdatedNov 06, 2025
- 1 minute read
The CanLogData() method retrieves the current status of whether data can be logged for the specified job.
Parameters
- sessionId
- Optional. Holds the session ID and thus the user who is making this method call.
- woId
- Required. Holds the work order ID of the job.
- operId
- Required. Holds the operation ID of the job.
- seqNo
- Required. Holds the operation sequence number of the job.
Return Value
Returns true if data can be logged for the job, or false if it cannot.
This method first extracts the init_sched_ent_id and the target_sched_ent_id from the Job table and checks whether these entities can log data. If not, then this method goes through all of their descendent entities. The method returns true as soon as any descendent entity that can log data is found; otherwise, it returns false.