GetByKey Method (Cause)Save PDFSave selected topicSave selected topic and subtopicsSave all topicsShareShare to emailCopy topic URLLast UpdatedNov 06, 20251 minute readOperations and ExecutionManufacturing Execution System 2023 R2 The GetByKey() method retrieves the specified cause record from the Cause table.Syntax Visual BasicC# 'Declaration Public Shared Function GetByKey( _ ByVal causeId As Integer _ ) As DataSet 'Usage Dim causeId As Integer Dim value As DataSet value = Cause.GetByKey(causeId) public static DataSet GetByKey( int causeId ) ParameterscauseId Required. Holds the code of the cause whose record is being retrieved. Return ValueReturns a DataSet that contains the record of the specified cause in the Cause table. If no matching records are found, an empty DataSet is returned.See AlsoReferenceCause ClassCause Members In This Topic
The GetByKey() method retrieves the specified cause record from the Cause table.Syntax Visual BasicC# 'Declaration Public Shared Function GetByKey( _ ByVal causeId As Integer _ ) As DataSet 'Usage Dim causeId As Integer Dim value As DataSet value = Cause.GetByKey(causeId) public static DataSet GetByKey( int causeId ) ParameterscauseId Required. Holds the code of the cause whose record is being retrieved. Return ValueReturns a DataSet that contains the record of the specified cause in the Cause table. If no matching records are found, an empty DataSet is returned.See AlsoReferenceCause ClassCause Members
The GetByKey() method retrieves the specified cause record from the Cause table.Syntax Visual BasicC# 'Declaration Public Shared Function GetByKey( _ ByVal causeId As Integer _ ) As DataSet 'Usage Dim causeId As Integer Dim value As DataSet value = Cause.GetByKey(causeId) public static DataSet GetByKey( int causeId ) ParameterscauseId Required. Holds the code of the cause whose record is being retrieved. Return ValueReturns a DataSet that contains the record of the specified cause in the Cause table. If no matching records are found, an empty DataSet is returned.See AlsoReferenceCause ClassCause Members
The GetByKey() method retrieves the specified cause record from the Cause table.Syntax Visual BasicC# 'Declaration Public Shared Function GetByKey( _ ByVal causeId As Integer _ ) As DataSet 'Usage Dim causeId As Integer Dim value As DataSet value = Cause.GetByKey(causeId) public static DataSet GetByKey( int causeId ) ParameterscauseId Required. Holds the code of the cause whose record is being retrieved. Return ValueReturns a DataSet that contains the record of the specified cause in the Cause table. If no matching records are found, an empty DataSet is returned.See AlsoReferenceCause ClassCause Members