web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

I need to add my parameters in a Microsoft's procedure

(0) ShareShare
ReportReport
Posted on by 10

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:

pastedimage1611666898155v1.png

Do you have some idea to fix that.

Thanks a lot!

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    150 on at

    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.

  • Pepito_labo Profile Picture
    10 on at

    I try this like that:

    pastedimage1611669429988v1.png

    How can I do?

  • JAngle Profile Picture
    150 on at

    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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,986 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,071 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 975 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans