Skip to main content

UpdateRetrocessionsVisibility

Stable

Bulk-sets the distributor visibility of retrocession fees. With toggleAll=false, transactionFeeIds is required (current-page selection). With toggleAll=true, every fee matching search + filters is targeted. The update is applied synchronously up to a configurable threshold, beyond which it is processed asynchronously.

Signature​

mutation {
UpdateRetrocessionsVisibility(visibleToDistributor: ..., toggleAll: ...)
}

Retourne : RetrocessionsVisibilityUpdateResult!

Arguments​

NomTypeRequisDéfautDescription
visibleToDistributorBoolean!✓——
toggleAllBoolean!✓—When true, every fee matching search + filters is targeted and transactionFeeIds is ignored. When false, transactionFeeIds is required.
transactionFeeIds[ID!]—Explicit fee ids (current-page selection). Required when toggleAll is false.
searchString——
filtersRetrocessionFiltersInput——
propertyFilters[PropertyFilterInput]—Filters for property columns. Merged with 'filters' (propertyFilters takes precedence on conflict).
searchableProperties[String!]—Property technical codes to include in the global search scope. Caller-controlled — the back has no DataTable lookup, so any property column the caller wants matched by 'search' must be listed here.

Exemple​

mutation {
UpdateRetrocessionsVisibility(
visibleToDistributor: $visibleToDistributor
toggleAll: $toggleAll
) {
updatedCount
processedAsynchronously
}
}