Skip to main content

Notifications

Announcements

No record found.

Business Central forum
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 69,639 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,861 Moderator 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,959 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 771 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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 228,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans