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

Notifications

Announcements

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)
  • JAngle Profile Picture
    137 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.

  • Pepito_labo Profile Picture
    10 on at

    I try this like that:

    pastedimage1611669429988v1.png

    How can I do?

  • Suggested answer
    JAngle Profile Picture
    137 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.

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,457

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 742 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 669 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans