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 :
Microsoft Dynamics AX (Archived)

..

(0) ShareShare
ReportReport
Posted on by 35

0..

*This post is locked for comments

I have the same question (0)
  • Weaveriski Profile Picture
    23,620 Moderator on at

    Check the where used to see if it is in a BOM. As a service item it would not have an inventory transaction, does not mean it could not be on a document like a production order or transfer order, project usage etc.

  • Verified answer
    Galyna Fedorova Profile Picture
    3,566 on at

    You must have corrupted InventSum by some customization. Use this job to see if it's help:

    gfeaxblog.wordpress.com/.../inventsum-recalculation-for-specific-item

  • Tim Schofield Profile Picture
    on at

    I agree that InventSum could be out of synch with Inventory transactions - you could also try consistency check

  • JCoulthard Profile Picture
    35 on at

    The item doesn't appear in any BOMs. Is there an easy way to check if it has been used on a production/transfer order etc?

  • JCoulthard Profile Picture
    35 on at

    I'll give this a go

  • Galyna Fedorova Profile Picture
    3,566 on at

    If job doesn't say anything, it means that it's executed successfully.

    Can you please attach a screenshot for the item model group that is set for this item?

  • JCoulthard Profile Picture
    35 on at

    I think I made a mistake actually and there was an infolog. If I run it now I get the following:

    Error executing code:  (object) has no valid runable code in method 'Job_InventSumRecalcItem'.

    Stack trace

    (C)\Jobs\Job_InventSumRecalcItem

    I'm guessing I need to run a compile on the job?

  • Galyna Fedorova Profile Picture
    3,566 on at

    You seem to have made a mistake in code. You can share you code here, so that we can review it.

  • JCoulthard Profile Picture
    35 on at

    Here is my code:

    static void Job_InventSumRecalcItem(Args _args)

    {

    InventSumRecalcItem InventSumRecalcItem;

    ;

    InventSumRecalcItem = new InventSumRecalcItem(“CAB-ACU-RA”, true, checkfix::fix);

    InventSumRecalcItem.updatenow();

    }

  • Suggested answer
    Galyna Fedorova Profile Picture
    3,566 on at

    Please change the quotes:

    Instead of “CAB-ACU-RA”

    it should be "CAB-ACU-RA"

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 March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans