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.
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.
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.
Exit returns a value. You cannot use it with Exit(xxx). Your event subscriber function must not return any values.
Business Applications communities