Skip to main content

system.mes.location.getAllLocationPathsWithShifts

Deprecated

This method is deprecated. Use system.mes.shift.getAllLocationPathsWithShifts() instead, which also supports an optional path prefix filter.

Description

Retrieves all Location paths for locations that have associated Shifts.

Syntax

system.mes.location.getAllLocationPathsWithShifts()

Parameters

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

Returns

Returns a list of strings representing location paths that have associated shifts.

Code Examples

# Deprecated - use system.mes.shift.getAllLocationPathsWithShifts() instead
paths = system.mes.location.getAllLocationPathsWithShifts()
print(paths)