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.
 
 
 
 
 
 
 
  • Hana Xue Profile Picture
    Microsoft Employee on at
    Counting journal - while creating a lines through on-hand functionality, got the error message
    Hi,
    Thank you for your timely clarification and sharing, this will help more people on the forum.
    Best Regards,
    Hana
  • Verified answer
    Hemshankar Ganesan Profile Picture
    24 on at
    Counting journal - while creating a lines through on-hand functionality, got the error message
    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. 
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    295,829 Super User 2025 Season 1 on at
    Counting journal - while creating a lines through on-hand functionality, got the error message
    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.

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 171 Super User 2025 Season 1

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 140 Super User 2025 Season 1

#3
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 127 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans