BomOptionRuleInput
One decision-table rule to add or change, by key. A removed rule saved again is restored.
input BomOptionRuleInput {
definition: JSON!
key: String!
kind: BomOptionRuleKind!
}
Fields
BomOptionRuleInput.definition ● JSON! non-null scalar
The rule's typed fields. REQUIRES/EXCLUDES: { "if": { "group", "lineId" }, "then": { "group", "lineId" } }. LOOKUP: { "from": { "group" }, "to": { "group" }, "rows": [{ "whenLineId", "selectLineId" }] }. Data only, never a formula; anything else is refused as BOM_INVALID.
BomOptionRuleInput.key ● String! non-null scalar
The rule's key, unique in the version: up to 64 letters, digits, _, . or -.
BomOptionRuleInput.kind ● BomOptionRuleKind! non-null enum
The rule's kind.
Member Of
SaveBomOptionsInput input