is it possible to use custom fields from the OpportunityLineItemSchedule object in the unlocked package? We received an error when tried to create a package version
OpportunityLineItemSchedule: Invalid fullName, must end in a custom suffix (e.g. __c)
OpportunityLineItemSchedule
in scratch orgs, but I believe this is a feature that needs to be enabled in the Scratch org via org-def.json file (see salesforce.stackexchange.com/questions/239772/…). And you may need to add the"definitionFile": "config/project-scratch-def.json"
property to your packageDirectory in thesfdx-project.json
file, so that it knows that your package uses this feature when packaging.