Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

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

Posted on by 253
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?
 
// 
//
//
 
//
//
 
 
 
  • Verified answer
    Chomchanok Profile Picture
    Chomchanok 253 on at
    Error cannot select a record in items groups(InventItemGroup)???
    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.
  • Chomchanok Profile Picture
    Chomchanok 253 on at
    Error cannot select a record in items groups(InventItemGroup)???
     
    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??)

     
     
     
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 9,596 Super User 2024 Season 2 on at
    Error cannot select a record in items groups(InventItemGroup)???
    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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans