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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

The user-defined C/AL function 'CreateReservEntryFor' requires 12 parameters. It was called with 11 parameters

(0) ShareShare
ReportReport
Posted on by
Hi Expert,
 
When my customer used codeunit "Create Reserv. Entry" and function "CreateReservEntryFor" to create item trackings for sales line, but it errors out with below message:
The user-defined C/AL function 'CreateReservEntryFor' requires 12 parameters. It was called with 11 parameters.
My customer's BC version is 13.0.183491.0 on premise.
 
I have checked the parameters for function "CreateReservEntryFor", it only has 11 parameters in the version which greater than "13.0.24623.0", so my question is: function 'CreateReservEntryFor' need 12 parameters in the version less than version "'CreateReservEntryFor'"?
 
Thanks,
Ming
I have the same question (0)
  • Suggested answer
    Alexey Finogenov Profile Picture
    1,659 on at

    I see even RTM version W1 "13.0.24623.0" has 11 parameters

    12 parameters.. not sure what you mean.

    11parameters.png

  • Community Member Profile Picture
    on at

    Hi Alexey,

    Yes, I agree with you, but my customer has this 12 parameters error, so I was wondering that is there a way to overload this function in extension?

    Thanks,

    Ming

  • Alexey Finogenov Profile Picture
    1,659 on at

    In 16.0 the function "CreateReservEntryFor" has been refactored, I see 10 parameters..

    10parameters.png

  • Suggested answer
    keoma Profile Picture
    32,729 on at

    is that an upgraded database? if yes, then could be, that the old standard code is used.

    best you upgrade to a newer release. 

  • Suggested answer
    THE Italian Profile Picture
    on at

    The suggestion here is to upgrade to a supported version asap.

    This not only will resolve your problem but will lead your customer to come back being fully supported by Microsoft.

    Version 13.x is out of support since April 2020 and the warm suggestion here is to upgrade asap to, at least, version 14.x and latest update (currently CU 11).

    See below disclaimer about lifecycle

    docs.microsoft.com/.../lifecycle-policy-on-premises

    pastedimage1586521406174v1.png

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

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 2,126

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 744 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 674 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans