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

RMS Error #5: Invalid Procedural Call or Argument

(0) ShareShare
ReportReport
Posted on by 80

When attempting to generate an Item - Inventory Valuation Report in RMS, we get and Error #5: Invalid Procedural Call or Argument. This occurs on both computers.

We have re-indexed and checked the database in the Administrator. 

k2_5F00_1.pngK2_5F00_2.pngK2_5F00_3.png

I have the same question (0)
  • ToddB Profile Picture
    on at

    Hi seminolebs,

    What Filters are you using on the report?

    Do you get the same error if you filter for 1 Item Lookup Code for 1 day?

  • seminolebs Profile Picture
    80 on at

    I get the same result no matter what day, group of days, or all items or just a singular item. I upgraded SQL Server 2005 Express to SQL Server Express 2014 but result is the same.

  • ToddB Profile Picture
    on at

    Hi seminolebs,

    Do you get any results when you run the following query?

    SELECT ID, * FROM ItemValueLog WHERE OldAmount > 10000 OR OldAmount < -10000

  • Suggested answer
    seminolebs Profile Picture
    80 on at

    Todd,

    Your query did find the problem and I was able to delete the bad record with the following;

    DELETE ItemValueLog WHERE ID = (id)

    Thanks for the help

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 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans