Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Business Central forum

How to change Standard Objects (Standard Business Logic/Code) in Production/Sandbox Instance?

(0) ShareShare
ReportReport
Posted on by 116

Hello All,

It's been a while Microsoft has released its next evolution of ERP solutions and as an ISV Partner employed Developer I am really looking forward to learning things down here in Business Central. 

So far I have come across with the Sandbox Development Environment which is really great to work around with as a developer. But what I've already researched and found that it's only there for Extension Developments where we can develop some amazing stuff which is not there in the BC core business logic.

Previously, with NAV product we could able to alter the existing core business logic as well with ISV partner licenses. But, am I seeing it's missing here with BC? If my sight is correct, is there any other method where we can do some changes to the core business logic (simply the AL or C/AL code inside standard FOBs) with/without a special license?

My case is if I need to call a very simple DataItem (let's say Customer Record with GET Function) inside the standard Sales Invoice (Report ID: 206), am I completely banned from Microsoft doing so (sadly)? I know it's always possible to change Report Layouts using Word/RDLC with existing XML tags (DataItems like in NAV) but what if my client asks me to add a field which is not there? Should I say no to my customer or am I missing something very important here? (The only workaround I found so far is to rebuild the Report based on Customer's requirement right from scratch, which is not that feasible as a practice)

Please enlighten me. I know there's always a possibility with Microsoft product Developers.

Categories:
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: How to change Standard Objects (Standard Business Logic/Code) in Production/Sandbox Instance?

    Yes. Take the standard report from C/SIDE from a local BC Sandbox (Docker based) or NAV 2018, convert it with Txt2AL and load the dataset in VS Code for modifying it.

  • Dilanka H. Profile Picture
    116 on at
    RE: How to change Standard Objects (Standard Business Logic/Code) in Production/Sandbox Instance?

    Hi Stefano,

    It's really great to know there's a mild possibility to customize standard report at least. And thank you for enlightening me about Txt2AL tool which I have not yet experienced. I think it's a great workaround until MS release something for us (developers) too. But, we have to take a Std. Report from existing C/SIDE environment (like from NAV 2018) and carry on the development/change right? Anyway to cover my client's need, this is the best shot so far and thanks again for the enlightenment.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: How to change Standard Objects (Standard Business Logic/Code) in Production/Sandbox Instance?

    In the on-premise version you can do exactly like in classic NAV (you can modify standard code).

    In the SaaS version, you cannot do that. You have to subscribe to events published by standard objects. If you need an event in a certain place and this is missing, you can ask MS to add them.

    Regarding reports, ACTUALLY you cannot directly modify a dataset of a standard report. You need to create a copy of this report and then modify this copy. You can create the AL dataset from the standard report with Txt2Al and then modify this code in VS Code. Microsoft isworking on the possibility to directly modify the dataset of a standard report in AL.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central forum

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans