AlmondTill/G3N API

NewCommissionConfigInput

input type

Create-input for a CommissionConfig.

Fields

FieldTypeRequiredNotes
captionStringnoOptional: when omitted the per-type default applies — a readable axis summary (the class — e.g. Commission: role …, category …, pos); when supplied it must be non-blank.
appliesToAllSalesInScopeBooleannoThe manager-on-all flag — literal true; REQUIRES agentRoleId (without agentUserId).
agentRoleIdIDnoAgent axis (Role arm).
agentUserIdIDnoAgent axis (User arm).
divisionIdIDnoMerchandise axis (Division arm).
categoryIdIDnoMerchandise axis (Category arm — subtree).
styleIdIDnoMerchandise axis (Style arm).
organizationIdIDnoLocation axis (Organization arm).
logicalFacilityIdIDnoLocation axis (LogicalFacility arm).
channelOrderChannelnoChannel axis.
rateCommissionRateInputnoThe earning formula (≥1 of rate/enabled required — the substance rule).
enabledBooleannoThe per-cell switch.

Used by