Notifications
Announcements
Hi! For my job I need to add my parameters in a Microsoft's procedure, but the Microsoft's procedure use only 1 parameter and I need to add 3 and when I try I got this problem:
Do you have some idea to fix that.
Thanks a lot!
From what I can see the Service-Post codeunit does not have that event and you have an error on that part of the event subscriber anyway. Like I said tell us what you are trying to achieve and the relevant guidance can be provided. Yes, you want to pass more parameters. But what business process are you trying to do in the system. Forget the development side for a moment.
I try this like that:
How can I do?
Can you explain more about what you are trying to achieve here? You cannot alter Microsoft procedures in this way. You can use an event subscriber to in the case of your example OnAfterPostUpdateWhseDocuments where is uses these as the parameters: (var WarehouseReceiptHeader: Record "Warehouse Receipt Header"; var WhsePutAwayRequest: Record "Whse. Put-away Request")
If you want to create a copy of the Microsoft procedure you can but you have to find a way to intercept the standard logic or get a user to use your logic instead. You can then add whatever parameters you want if it is your procedure.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 1,457
Khushbu Rajvi. 742 Super User 2025 Season 2
YUN ZHU 669 Super User 2025 Season 2