1

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)

3
  • Have you checked this perm Enable customization of product schedules on Product Schedules Settings? also I do not see any field with fullName on OpportunityLineItemSchedule and limit of custom field on object is 50.
    – Vinay
    Jul 6, 2023 at 8:05
  • @Vinay, the problem is with new package version creation, not with the org setting. Jul 6, 2023 at 9:18
  • I did not have an experience working with the 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 the sfdx-project.json file, so that it knows that your package uses this feature when packaging. Sep 8, 2023 at 15:23

0

You must log in to answer this question.

Browse other questions tagged .