Announcements
No record found.
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!
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.
I try this like that:
How can I do?
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.
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.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 1,986 Super User 2026 Season 1
YUN ZHU 1,071 Super User 2026 Season 1
Dhiren Nagar 975 Super User 2026 Season 1