GetSpecs Method (BomItemOperSpec)
- Last UpdatedNov 06, 2025
- 2 minute read
The GetSpecs() method retrieves the BOM item operation specification records along with the value and step number if the specification is used for the item in the operation.
public static DataSet GetSpecs(
string itemId,
string verId,
int bomPos,
string processId,
string operId,
string specVerId
)
Parameters
- itemId
Required. Holds the ID of the BOM item.
- verId
Required. Holds the ID of the BOM version.
- bomPos
Required. Holds the BOM position (not necessarily in sequence).
- processId
Required. Holds the ID of the process that is used to make the item.
- operId
Required. Holds the ID of the operation in the process.
- specVerId
Required. Holds the ID of the specification version.
Return Value
Returns a DataSet that contains records for all the BOM item operation specifications that satisfy the specified filters. The returned records include columns from the Spec and Bom_Item_Oper_Spec tables. If no matching BOM item operation specification records are found, an empty DataSet is returned.
The columns of the returned DataSet are described below.
|
ColumnName |
Description |
|---|---|
|
grp_id |
A string that is the ID of the spec group of which this specification is a member, from the Spec table. |
|
spec_id |
A string that is the specification ID, from the Spec table. |
|
spec_desc |
A string that is the description of the specification, from the Spec table. |
|
spec_value |
A string that is the value for this specification. |
|
step_no |
An integer that is the number of the step with which this specification is associated. |
|
mod_id |
The current modification ID of the record in the table. This ID is binary number that increments each time the record’s table row is modified. Optionally used for optimistic concurrency control when performing updates or deletes. |
|
access_level |
An integer that is the security access level for modifying this specification. |
|
data_type |
An integer that is the enumeration that indicates the data type of the specification value, from the Spec table. 0 = string (the default) 1 = floating point number |