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

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
    Microsoft Employee 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
    Microsoft Employee 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,948 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 936 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 616 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans