• Ben Affleck-Currie
  • NEWBIE
  • 0 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
Hi, I was told to post this issue here after contacting Salesforce Support in the usual way.
-----

What happened?:
We're working with a customer and they've installed one of our products from the AppExchange. This package contains a collection of custom objects and fields, as well as some Apex Classes and Triggers. Our package relates to Opportunities and Opportunity Products, via a custom Revenue Schedules object.

When logged in as a system administrator with the "Modify All Data" permission, everything works correctly (as expected). The Revenue Schedules change, which updates the Opportunity Product information as expected (Sales Price and Total Price specifically).

When logged in as another user in the system with a different profile, they are unable to trigger an update on the Opportunity Product despite having full access to the object and the fields. All necessary fields are read/write and the object access is correct. When logged in as another user, I am also able view the record I need to edit, so I am absolutely certain these is no access issue. When our code triggers, the update to the Opportunity Product object never occurs, and we can't understand why.

We attempted to add the "Modify All Data" permission to a different profile for testing and debugging, but we are also unable to save this permission.

Our app works perfectly for all users in other environments with exactly the same configuration.

Expected Outcome:
When a user manipulates the custom Revenue Schedules object records, the Opportunity Product Sales Price and Total Price should change and the Opportunity Amount should update. This is only working for System Administrators, no other users.

Error Messages:
There is no error message, instead, the process is bypassed unexpectedly.

Does anyone have any idea as to why this issue might be occurring?