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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Answered

Counting journal - while creating a lines through on-hand functionality, got the error message

(1) ShareShare
ReportReport
Posted on by 26
Hi Everyone, 
 
Below are the steps they are using to generate inventory counting journal:
Inventory management > Journal entries > Item counting > Counting
Create new journal > Fill Site & warehouse
Counting by > enable site, warehouse, inventory status and location to “Yes”
Click create lines > on-hand > records to include – inventory dimension location, Site and warehouse
After above input, the journal does not comes up and this error comes up.
 
 
 
 
 
 
 
I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    306,338 Super User 2026 Season 1 on at
    Hi Hemshankar,
     
    Can you tell if there are customizations in this environment on this process? Initially, it looks like a query is created or adjusted with x++ coding dynamically making the SQL call invalid. 
    If you have customizations, review it. You can check the full SQL query as listed in the error statement and search which field is added multiple times in the order by clause. 
    If there is no customization, you can check LCS issue search for known issues or contact Microsoft Support.
  • Verified answer
    Hemshankar Ganesan Profile Picture
    26 on at
    I have identified that, this issue is causing because of one of customized roles have an issue with restricting the user to create the lines in counting journal. 
    By removing it, it's resolved now. Thanks for the quick response. @Andre Arnaud. 
  • Hana Xue Profile Picture
    Microsoft Employee on at
    Hi,
    Thank you for your timely clarification and sharing, this will help more people on the forum.
    Best Regards,
    Hana

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 79 Super User 2026 Season 1

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 75 Super User 2026 Season 1

#3
Sagar Suman Profile Picture

Sagar Suman 64 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans