Skip to main content

Notifications

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 61,229 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,759 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 10,431 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 204 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

Contextual content recommendations & SharePoint Q&A

Instantly access relevant sales materials…

Beyond the DRA Cloud Label Printing

Explore cloud-based label printing within Dynamics 365…

HR Infrastructure Customer merge

Important considerations for HR Customer migrations…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,418 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 223,760 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,142

Featured topics

Product updates

Dynamics 365 release plans