Unlocked package creation with dependency on Financial Services Cloud object BranchUnitBusinessMember
Last updated 2021-10-26 ·Reference W-9986148 ·Reported By 2 users
Unlocked package creation with dependency on Financial Services Cloud object BranchUnitBusinessMember results in error.
1. Authorise to a DevHub org using Salesforce CLI.
2. Create a Custom Object which has a custom master-detail relationship field with parent as FSC object "BranchUnitBusinessMember".
3. Try to create an unlocked package which above object using below scratch-def file.
4. Unlocked package metadata validation will fail with error something similar to below. It is due to "BranchUnitBusinessMember" object not available in the build org during package version creation.
ERROR running force:package:version:create: An unexpected error occurred. Please contact Salesforce Support and provide the following error code: 1437755252-56264 (1658854796)
Note: Please note configuring "INDUSTRIESBRANCHMANAGEMENT" in def file does expose a permission set named "Financial Services Cloud Comprehensive". Assigning this perm set will expose "BranchUnitBusinessMember" object however during package creation via Salesforce CLI, assigning this perm set in build org is not possible.
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.