Loading

Error while activating a second Custom Calendar for a Sales Org

Date de publication: Sep 30, 2026
Description

When a customer attempts to activate a new custom calendar for a TPM Sales Org that has previously activated a different custom calendar, the activation fails with an "Internal Server Error."

  1. Navigate to the Sales Org record.
  2. Click Activate Custom Calendar.
  3. Select the new custom calendar from the dropdown.
  4. Click Next.
  5. Enter the external ID.
  6. Click Confirm and Finish.
  7. The activation fails with an Internal Server Error.

 

 

Résolution

This is working as designed, not a product defect — no fix will be delivered. A Sales Org's custom-calendar registration is enforced by a database primary-key constraint (pkey_customcalendarregistration) on the sales-org column, meaning one Sales Org can hold exactly one activated custom calendar, permanently. There is no deactivate, replace, or unregister operation for custom calendars in the product, so an existing registration can't be released to make room for a new one.

Workaround: Create a new Sales Org and activate the new custom calendar on it. Note this has downstream implications for any integrations, since the new Sales Org will have a different Sales Org code.

Ressources supplémentaires

TPM Custom Calendar setup documentation: https://help.salesforce.com/s/articleView?id=ind.tpm_foundation_create_custom_calendar.htm&type=5

Numéro d’article de la base de connaissances

005460830

 
Chargement
Salesforce Help | Article