The formal parameter was not declared as an output parameter – D365FO Error after DB restore

After the database restore, we might face the following error ‘The formal parameter was not declared as an OUTPUT parameter, but the actual parameter passed in the requested output’

Given below one error where it says something about ‘getNumInternalWithNoBlocking’

Few more similat error from different forms

During Production order estimation but a different paramter was mentioned. – WHSInventReserveMinValuesForDimId / dbo.WHSInventReserveMinValuesForDimIdWithDelta

The formal parameter "@considerAssignmentCount" was not declared as an OUTPUT parameter,
but the actual parameter passed in requested output.

This is not an issue with database sync. The issue is in the Stored Procedure.

Solution is simple

Go to SSMS and Navigate to Stored Procedure

Right click on the Stored Procedure and

Enter the name of the Stored Procedure in the Filter setting

Hit Ok.

The filtered SP will be displayed.

Delete the SP

Do not worry.

Copy the same Stored Procedure from another VM .

Follow the above steps to filter the SP name in another VM and copy the SP contents.

Coming back to your VM where the SP is deleted-

After deleting, Create a new Stored Procedure.

Paste the copied contents

Hit Execute .

Reset IIS .

The error will not appear again .

Original Post https://anithasantosh.wordpress.com/2026/06/17/the-formal-parameter-was-not-declared-as-an-output-parameter-d365fo-error-after-db-restore/

0 Votes: 0 Upvotes, 0 Downvotes (0 Points)

Leave a reply

Join Us
  • X Network2.1K
  • LinkedIn3.8k
  • Bluesky0.5K
Support The Site
Events
June 2026
MTWTFSS
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30      
« May   Jul »
Follow
Search
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...

Discover more from 365 Community Online

Subscribe now to keep reading and get access to the full archive.

Continue reading