Interface IBomService
Get Bill of Material information. See Bill of Material page in item details page.
Namespace: DirectScale.Disco.Extension.Services
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public interface IBomService
Methods
GetBOM(Int32)
Get all the bill of materials for itemId.
Declaration
Task<Bom[]> GetBOM(int itemId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | itemId | Item to get bill of materials for. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Bom[]> | Bill of materials. |
GetBOMGroups(Int32)
Get all the bill of materials for itemId by group.
Declaration
Task<BomGroup[]> GetBOMGroups(int itemId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | itemId | Item to get bill of material groups for. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<BomGroup[]> | Bill of materials by group. |