Since runtime version 11, the event subscriber syntax has changed from using text to reference a function, to using identifiers instead. However, when running the code cleanup with action AddMissingParentheses, the event subscribers on - wrongfully - updated with their parentheses.
More info: https://learn.microsoft.com/en-us/dynamics365/release-plan/2023wave1/smb/dynamics365-business-central/code-navigability-event-subscribers
Original source code
[EventSubscriber(ObjectType::Codeunit, Codeunit::"WMS Management", 'OnBeforeCreateWhseJnlLine', '', false, false)]
>> 'OnBeforeCreateWhseJnlLine'
After running code cleanup actions
[EventSubscriber(ObjectType::Codeunit, Codeunit::"WMS Management", OnBeforeCreateWhseJnlLine(), '', false, false)]
>> OnBeforeCreateWhseJnlLine()
To be
[EventSubscriber(ObjectType::Codeunit, Codeunit::"WMS Management", OnBeforeCreateWhseJnlLine, '', false, false)]
>> OnBeforeCreateWhseJnlLine
Since runtime version 11, the event subscriber syntax has changed from using text to reference a function, to using identifiers instead. However, when running the code cleanup with action
AddMissingParentheses, the event subscribers on - wrongfully - updated with their parentheses.More info: https://learn.microsoft.com/en-us/dynamics365/release-plan/2023wave1/smb/dynamics365-business-central/code-navigability-event-subscribers
Original source code
After running code cleanup actions
To be