GetByKey Method (ItemCons)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 item consumption record from the Item_Cons table.Syntax Visual BasicC# 'Declaration Public Shared Function GetByKey( _ ByVal rowId As Integer _ ) As DataSet 'Usage Dim rowId As Integer Dim value As DataSet value = ItemCons.GetByKey(rowId) public static DataSet GetByKey( int rowId ) ParametersrowId Required. Holds the row ID of the item consumption record to be retrieved. Return ValueThis method is to retrieve a single row from the database table based on the supplied primary key value.See AlsoReferenceItemCons ClassItemCons Members In This Topic
The GetByKey() method retrieves the specified item consumption record from the Item_Cons table.Syntax Visual BasicC# 'Declaration Public Shared Function GetByKey( _ ByVal rowId As Integer _ ) As DataSet 'Usage Dim rowId As Integer Dim value As DataSet value = ItemCons.GetByKey(rowId) public static DataSet GetByKey( int rowId ) ParametersrowId Required. Holds the row ID of the item consumption record to be retrieved. Return ValueThis method is to retrieve a single row from the database table based on the supplied primary key value.See AlsoReferenceItemCons ClassItemCons Members
The GetByKey() method retrieves the specified item consumption record from the Item_Cons table.Syntax Visual BasicC# 'Declaration Public Shared Function GetByKey( _ ByVal rowId As Integer _ ) As DataSet 'Usage Dim rowId As Integer Dim value As DataSet value = ItemCons.GetByKey(rowId) public static DataSet GetByKey( int rowId ) ParametersrowId Required. Holds the row ID of the item consumption record to be retrieved. Return ValueThis method is to retrieve a single row from the database table based on the supplied primary key value.See AlsoReferenceItemCons ClassItemCons Members
The GetByKey() method retrieves the specified item consumption record from the Item_Cons table.Syntax Visual BasicC# 'Declaration Public Shared Function GetByKey( _ ByVal rowId As Integer _ ) As DataSet 'Usage Dim rowId As Integer Dim value As DataSet value = ItemCons.GetByKey(rowId) public static DataSet GetByKey( int rowId ) ParametersrowId Required. Holds the row ID of the item consumption record to be retrieved. Return ValueThis method is to retrieve a single row from the database table based on the supplied primary key value.See AlsoReferenceItemCons ClassItemCons Members