mutation DeleteKitItemComponent($request: DeleteKitItemComponentCommandRequestInput!) {
DeleteKitItemComponent(request: $request)
}{
"request": {
"itemId": "id",
"componentItemId": "id"
}
}{
"data": {
"DeleteKitItemComponent": true
}
}DeleteKitItemComponent
Removes one component from an existing kit item (Stückliste), exactly as in the desktop client. Only the kit relationship is removed; the component item itself is not deleted. The positions of the remaining components are renumbered. Every removal recalculates the kit’s stock management from its remaining components: as soon as none of them is stock-managed, stock management is switched off for the kit, which also switches “allowNegativeStock” off and clears the per-warehouse minimum and maximum stock levels; adding a component back does not restore them. Removing the last component dissolves the kit and the item becomes a standard item again. If the item is part of any sales document, dissolving it turns every line of it on orders, invoices and delivery notes into a free line item, which cannot be undone.
DeleteKitItemComponent(request: DeleteKitItemComponentCommandRequestInput!): Boolean!Arguments
Returns
mutation DeleteKitItemComponent($request: DeleteKitItemComponentCommandRequestInput!) {
DeleteKitItemComponent(request: $request)
}{
"request": {
"itemId": "id",
"componentItemId": "id"
}
}{
"data": {
"DeleteKitItemComponent": true
}
}Was this page helpful?