Skip to main content

SaveBomOptionsInput

Option groups, decision-table rules and line groups of one draft bill of materials, saved together or not at all.

input SaveBomOptionsInput {
expectedVersion: Int!
lineGroups: [BomLineGroupInput!]
removeGroupKeys: [String!]
removeRuleKeys: [String!]
upsertGroups: [BomOptionGroupInput!]
upsertRules: [BomOptionRuleInput!]
versionId: ID!
}

Fields​

SaveBomOptionsInput.expectedVersion ● Int! non-null scalar​

The version you loaded; refused with VERSION_CONFLICT when someone saved first.

SaveBomOptionsInput.lineGroups ● [BomLineGroupInput!] list input​

Lines to move into or out of a group.

SaveBomOptionsInput.removeGroupKeys ● [String!] list scalar​

Keys of the groups to remove.

SaveBomOptionsInput.removeRuleKeys ● [String!] list scalar​

Keys of the rules to remove.

SaveBomOptionsInput.upsertGroups ● [BomOptionGroupInput!] list input​

Groups to add or change.

SaveBomOptionsInput.upsertRules ● [BomOptionRuleInput!] list input​

Rules to add or change.

SaveBomOptionsInput.versionId ● ID! non-null scalar​

The draft version to change.

Member Of​

saveBomOptions mutation