GetReworkCdsByProcess(String) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetReworkCdsByProcess() method retrieves all rework codes that are not tied to an original process or, optionally, all rework codes associated with a specified process.
'Declaration
Public Overloads Shared Function GetReworkCdsByProcess( _
ByVal originalProcessId As String _
) As DataSet
'Usage
Dim originalProcessId As String
Dim value As DataSet
value = ReworkProcessUsage.GetReworkCdsByProcess(originalProcessId)
public static DataSet GetReworkCdsByProcess(
string originalProcessId
)
Parameters
- originalProcessId
- Optional. The ID of the process of the work order from which the rework originates.
Return Value
Returns a DataSet that contains a list of rework codes, optionally filtered by a process. If no rework codes are found, an empty DataSet is returned.