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

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

(0) ShareShare
ReportReport
Posted on by 276
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,423 Super User 2025 Season 2 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
    276 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
    276 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

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

#1
Martin Dráb Profile Picture

Martin Dráb 551 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans