Skip to main content

Notifications

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

events and subscribes not supporting on 9.0 runtime version in business central

Posted on by 4
Currently my app.jason runtime version is 9.0 . it seems not to be supported many events & subscribes.
when i try to subscribes some events like following it show an error like
Support for using Identifiers instead of Literals in event subscribers.' is not available in runtime version '9.0'. The supported runtime versions are: '11.0' or greater.ALAL0666

 
 
Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,472 Super User 2024 Season 2 on at
    events and subscribes not supporting on 9.0 runtime version in business central
    Hi, hope the following helps.
    Business Central 2023 wave 1 (BC22) new features: Event navigability
     
     
    Thanks.
    ZHU
  • Suggested answer
    TeddyH Profile Picture
    TeddyH 12,868 Super User 2024 Season 1 on at
    events and subscribes not supporting on 9.0 runtime version in business central
    It's related to the way you subscribe to the event.
    You need to wrap the event using single quotes for runtime lower than 11.0.
     
    Example:
    'OnAfterInitItemLedgEntry'
  • Suggested answer
    Saurav.Dhyani Profile Picture
    Saurav.Dhyani 17,965 Super User 2024 Season 2 on at
    events and subscribes not supporting on 9.0 runtime version in business central
    Hi,
     
    Just wrap your event name between single quotes ' '.
     
    With runtime 11.0 and higher you don't have to use '' in the event name. For Prior runtime you need to append single quotes.
     
    Your event subscriber will be - 
     
  • Suggested answer
    Yi Yong Profile Picture
    Yi Yong 1,350 Super User 2024 Season 2 on at
    events and subscribes not supporting on 9.0 runtime version in business central
    Hello,
     
    Because these events are introduced in a later version, so you can't subscribe to them using an earlier version.
     
    It is best to match the app.json runtime to be similar to the environment you are deploying to.
     
     

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans