productBillsOfMaterials
Lists every product in the company that has a bill of materials.
One entry per product, carrying the revision currently in effect - or the
open draft, where nothing has been released yet. A product with an active
revision and a draft in progress appears once, as the active revision, with
hasOpenDraft set.
This is the counterpart to productBomRevisions, which answers "every
revision of one product". This answers "everything we build".
Business Rules
- Products with no live revision are not listed. A discarded draft is not live.
- Every product filter narrows on the product being built, so this list filters and searches the same way the product list does.
Permissions Required
Requires authentication and the products:read_components permission.
productBillsOfMaterials(
after: String
before: String
filters: BillOfMaterialsFilterInput
first: Int
last: Int
): BomRevisionConnection!
Arguments
productBillsOfMaterials.after ● String scalar common
Returns the elements in the list that come after the specified cursor.
productBillsOfMaterials.before ● String scalar common
Returns the elements in the list that come before the specified cursor.
productBillsOfMaterials.filters ● BillOfMaterialsFilterInput input products
Filtering, sorting and search options.
productBillsOfMaterials.first ● Int scalar common
Returns the first _n_ elements from the list.
productBillsOfMaterials.last ● Int scalar common
Returns the last _n_ elements from the list.
Type
BomRevisionConnection object common
The connection type for BomRevision.