setFinanceMasterDataActive Mutation
Activates or retires master-data records in bulk: services, items, tax codes, classes and payment terms. Each row is flipped through that entity's own update mutation, so a bulk change means exactly what the same change means in the edit sheet. This is not one of the legacy bulk* mutations and takes no status string — master data has no document lifecycle, only the active flag its Active/Closed status is derived from.
A row already in the requested state is reported as succeeded and left untouched, so a selection that mixes active and inactive rows records no change for the ones that had none.
Rows are independent: a row that cannot be flipped is reported in results with its reason and does not stop the rest.
Access: signed-in members of the workspace with the setupUpdate permission each entity's update mutation enforces, in a workspace where finance is enabled. Errors: the workspace has finance disabled, the user is not logged in, or records is empty.
Arguments
#
Response
#
Returns FinanceBulkMutationResult !.
Example
#
setFilePublicLink