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 :
Finance | Project Operations, Human Resources, ...
Answered

Error cannot select a record in items groups(InventItemGroup)???

(0) ShareShare
ReportReport
Posted on by 282
Hi All,
 
 
I require your assistance with an issue. There's an existing customization that used to function properly, but I'm uncertain about its reliability over time.
Today, I discovered that it is not working. As a result, I attempted to investigate and debug the problem.
I found an error originating from the AxTable_inventItemGroupItem within the class /inventItemGroupItem/ (which appears to be a standard function).
 
The error message reads, /Cannot select a record in Item groups (InvenItemGroup). Item group: AA. The SQL database has issued an error./
Could someone please provide guidance on how to proceed?
 
// 
//
//
 
//
//
 
 
 
I have the same question (0)
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    26,803 Super User 2026 Season 1 on at
    Hi,
     
    Please try to add the RecId field to the select statement : 
     
    e.g.
     
    select RecId,ItemGroup from inventItemGroup
    where ...
    Best regards,
    Mohamed Amine MAHMOUDI
  • Chomchanok Profile Picture
    282 on at
     
    Thak you for your reply when I try to follow up your guideline by "select recid ,itemgroup ,* from inventItemgroup"
    Field "Itemgroup" is not available in database.
     
    But when I check a code that relate Table "inventItemgroup" but it not refer to field "Itemgroup" it refer to field "ItemgroupID".
     
     
     


    workflow that I try to debug but it's not hit my code but show error(I think it's error before access to my code??)

     
     
     
  • Verified answer
    Chomchanok Profile Picture
    282 on at
    Update my case:
    1. I miss focus on my code that I need to debug on this function but after I debuging then application is work normally. I don't know why but for now I can continue to run application with out error.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 797

#2
André Arnaud de Calavon Profile Picture

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

#3
Subra Profile Picture

Subra 534

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans