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
    Hana Xue 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
    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
    André Arnaud de Cal... 292,494 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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans