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. With managementFeeComputationId, toggleAll only targets the fees of that management fee period (a ManagementFeeComputation).

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.
managementFeeComputationIdID—Id of a management fee period (a ManagementFeeComputation). With toggleAll=true, the selection becomes the fees that GetTransactionManagementFees lists for that period, matching search + filters. With toggleAll=false it has no effect: the fees are the ones named in transactionFeeIds.

Exemple​

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