Class BomService
Inheritance
System.Object
BomService
Implements
Namespace: DirectScale.Disco.Extension.Services
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public class BomService : Object, IBomService
Constructors
BomService(IApiService)
Declaration
public BomService(IApiService apiService)
Parameters
Type | Name | Description |
---|---|---|
IApiService | apiService |
Methods
GetBOM(Int32)
Get all the bill of materials for itemId
.
Declaration
public 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
public 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. |