web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Custom Functionality Not working on the Production Instance

(0) ShareShare
ReportReport
Posted on by 2,102

Hi All,

I did customization on the sandbox instance, The customization is when someone creates a new record on the Custom created owner table the same values inserted on the dimension of owner [Values inserted would be Code and name from the owner table to owner dimension values]. This customization works perfectly on all the sandbox instance but however it is not working on the production instance. I have deployed the same latest extension on the production instance. what was the problem? could anyone tell us why the functionality not working on the production instance? 

I have the same question (0)
  • Suggested answer
    DAnny3211 Profile Picture
    11,407 Super User 2026 Season 1 on at

    hi

    there could be multiple reasons why the customization is not working on the production instance:

    Data differences: The production instance might have different data compared to the sandbox instance, which could result in the customization not working as expected.

    Code differences: There could be differences in the code between the sandbox and production instances. Make sure that the latest code has been deployed to the production instance and that there are no errors or warnings during the deployment.

    Environment differences: The sandbox and production instances could be running on different environments, which could affect the customization. For example, if the customization relies on a specific version of a library, the production instance may be running a different version, which could cause issues.

    Configuration differences: There could be differences in the configuration settings between the sandbox and production instances. Make sure that the necessary configuration settings are set up correctly in the production instance.

    Permission differences: Check if the user account that is being used to test the customization in the production instance has the necessary permissions to access the objects and tables required by the customization.

    It's important to debug the issue by checking the logs and debugging the code to identify the root cause of the issue. Once the root cause is identified, it can be addressed accordingly.

    DAniele

  • Suggested answer
    Nitin Verma Profile Picture
    21,788 Moderator on at

    Hi,

    Can you check if required permission are set?

    Thanks.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,161 Moderator on at

    When you try to run the code in your production environment are you using licensed user or a CSP user?

    Are your code using job queues during the execution or is it all done in a trigger or a event?

  • Inkey Solutions Profile Picture
    2,102 on at

    Hi NorthW 

    I have used Event subcriber, please see the below code.

    pastedimage1680002851993v1.png

    pastedimage1680002878033v2.png

    pastedimage1680002897905v3.png

  • Inkey Solutions Profile Picture
    2,102 on at

    Hi Nitin Verma ,

    I have check permission set and it works for one dimension but not work for another dimension.

  • Suggested answer
    Nitin Verma Profile Picture
    21,788 Moderator on at

    Hi,

    Did you try to put the specifically permission on that codeunit?

    Thanks

  • Suggested answer
    YUN ZHU Profile Picture
    98,358 Super User 2026 Season 1 on at

    Hi, have you generated or updated the permissions file? This is not required in Sandbox but is required in production

    More details:

    New command to generate or update AL permission set

    https://yzhums.com/29221/

    Hope this helps.

    Thanks.

    ZHU

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,965 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,125 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 961 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans