Problem
After a Kaptio release update, customers see warning triangle icons in the Package Components tab with the message āPackage has no main component selectedā. This affects all packages that existed before the update, particularly those migrated from production environments.
What We Found
Two new fields were introduced to Package Components in a recent release: āIs Main Componentā (IsMainComponent__c) and āIs Main Tour Componentā (IsMainTourComponent__c). These fields are required for the Cancellation Engine to correctly calculate cancellation fees for multi-component packages. Existing packages donāt have these fields configured, triggering the warning messages.
Solution
- Navigate to the Package record in Salesforce
- Go to the Components tab
- Click Edit on the relevant component(s)
- Check āIs Main Componentā checkbox for components that should be included in relative (%) cancellation fee calculations - multiple components can have this checked
- Check āIs Main Tour Componentā checkbox on ONE component only - this determines where fixed-amount cancellation fees are applied
- Save the component
Notes
- These fields are ONLY used by the Cancellation Engine - if the customer is not using the Cancellation Engine, the warnings can be safely ignored
- The warnings do not affect any other functionality besides cancellation fee calculations
- Is Main Component: Used for relative/percentage cancellation fees - can be checked on multiple components (e.g., both Cruise and Tour)
- Is Main Tour Component: Used for fixed-amount cancellation fees - should only be checked on ONE component per package
- WARNING: If two components are marked as IsMainTourComponent, fixed cancellation fees will be charged twice
Warnings
ā ļø Only mark ONE component as āIs Main Tour Componentā per package - marking multiple will cause fixed fees to be applied multiple times ā ļø These warnings will persist until the fields are configured, but they have no functional impact if Cancellation Engine is not in use
Source: KHELP-12289