When I am Declaring return Value in Procedure it's showing an Error "The event 'GetLastShipmentNo' must not have a return value.". Can any one Suggest me What is Wrong with code.
When I am Declaring return Value in Procedure it's showing an Error "The event 'GetLastShipmentNo' must not have a return value.". Can any one Suggest me What is Wrong with code.
Exit returns a value. You cannot use it with Exit(xxx). Your event subscriber function must not return any values.
If I remove the return Value , it's Showing another error : "Since 'GetLastShipmentNo' doesn't have a return value, EXIT cannot be called with a value" at Exit() function.
This is an event subscriber, you cannot have a return value. In the event subscriber you write code that is executed attached to the standard event.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156