DeleteAll Method (LaborDeptCatLink)
- Last UpdatedMar 17, 2026
- 1 minute read
The DeleteAll() method removes one or more labor department/category link records in the Labor_Dept_Cat_Link table, as specified by the filter parameters. Passing no filter parameters will remove all labor department/category link records from the table.
'Declaration
Public Shared Sub DeleteAll( _
ByVal sessionId As Integer, _
ByVal deptId As String, _
ByVal labCd As String _
)
'Usage
Dim sessionId As Integer
Dim deptId As String
Dim labCd As String
LaborDeptCatLink.DeleteAll(sessionId, deptId, labCd)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- deptId
- Optional. Holds the ID of the labor department whose link(s) is being deleted.
- labCd
- Optional. Holds the code of the labor category whose link(s) is being deleted.