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

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Modify OIOUBL in Business Central

(0) ShareShare
ReportReport
Posted on by

Hi,

This is a danish localization. In NAV2018 - newer (Business Central) the localization code is moved to an extension.

In older versions of NAV I could open codeunit 13609 - "OIOUBL Export Sales Invoice" and make the adjustment for the file format, but with the Business Central I don't know how I can do it any longer. The code is now in the extension, but the source code is not on github or in the CD-package.

Is my option to go back to an older version of NAV (NAV2017) and take the codeunit there and compile it in the business central and make my changes to the codeunit?

How would you edit the OIOUBL export?

Thanks in advance

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Claus Macali.dk Profile Picture
    1,003 on at
    RE: Modify OIOUBL in Business Central

    Hi Perhaps this link can save you for a lot of work

    Macali-OIOUBL - #MSDYN365BC

    Claus

  • Hasnain Ali Profile Picture
    132 on at
    RE: Modify OIOUBL in Business Central

    Hi,

    Microsoft responded to our request and now we have an EVENT in codenuit "OIOUBL-Export Sales Invoice".

     OIOUBL_2D00_Export-Sales-Invoice.dal.png 

    Preview:


    pastedimage1653469873644v3.png

    pastedimage1653469924228v4.png

    Code:

    pastedimage1653469986124v5.png

    I hope this will be helpful

  • Community Member Profile Picture
    on at
    RE: Modify OIOUBL in Business Central

    My issue is pretty similar.

    I am also trying to add "Work Description" from "Sales Invoice Header" in the xml file exported by "OIOUBL-Export Sales Invoice" codeunit but cannot find appropriate trigger to subscribe to.

    Also not able to see the codeunit's definition.

    Can anyone help!

  • Community Member Profile Picture
    on at
    RE: Modify OIOUBL in Business Central

    The function does not have events you can subscribe to. It's just 1 function thats 850 lines of code long that creates a XML file based on a posted sales invoice.

  • Suggested answer
    Suresh Kulla Profile Picture
    49,609 Super User 2025 Season 2 on at
    RE: Modify OIOUBL in Business Central

    You can just create another extension by specifying it has dependencies and then you have access to their objects which you can modify by subscribing to the events.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Modify OIOUBL in Business Central

    You need to investigate the code of extension and suggest an event to be added in the place of code where you want to change the logic.

    For event requests see this website: github.com/.../issues. Search for "event request"

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans