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 64,563 Super User 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,775 Super User 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 14,613 User Group Leader 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 295 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.
     
     

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,584 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,864 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans