Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Local Procedures

Posted on by 55

Hi,

I am trying to call the local procedure CalcCubage on Table Item Unit of Measure from a table extension object.

Is it possible ?

Thanks

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 71,565 Super User 2024 Season 2 on at
    RE: Local Procedures

    Hi, Unfortunately, this is not possible.

    PS: This may not be related to your question, we can access some global variables in the extension.

    More details: https://yzhums.com/21738/

    Thanks.

    ZHU

  • Suggested answer
    matthias_rabus Profile Picture
    matthias_rabus 160 on at
    RE: Local Procedures

    Or even better:

    Ask Microsoft to make the procedure global in the AlAppExtensions repo on github:

    github.com/.../issues

  • Suggested answer
    TeddyH Profile Picture
    TeddyH 12,868 Super User 2024 Season 1 on at
    RE: Local Procedures

    A local procedure can't be called from outside the object. That's why it is called local.

    You will need to copy the procedure into your own extension.

  • Daniel Rimmelzwaan Profile Picture
    Daniel Rimmelzwaan 3,485 on at
    RE: Local Procedures

    No that is not possible. It should be, and I think this has been mentioned in the ideas list, but unfortunately you cannot access local procedures or even global variables of the source object in extension objects.

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 Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,900 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,275 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans