Skip to main content
Business Central forum
Suggested answer

Local Procedures

editSubscribe (0) ShareShare
Posted on by 55


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

Is it possible ?


  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 59,844 Super User 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:



  • 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:

  • Suggested answer
    TeddyH Profile Picture
    TeddyH 12,718 Super User 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.

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Sundar…

Industry experts answer burning questions directly from our amazing Community…

Enabling Copilot Case and Conversation…

Agents can easily recap an ongoing chat, transcribe a voice conversation…


Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 282,978 Super User

Martin Dráb Profile Picture

Martin Dráb 222,562 Super User

nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans