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 :
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 24
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
    301,075 Super User 2025 Season 2 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
    24 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

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 > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 299 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 183 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 118 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans