Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Error while Costing an BOM Item .

Posted on by Microsoft Employee

Hi All,

When trying to cost a BOM Item getting the Following Error :

"Item T737 has no BOM Version on BOM Number 489496".

When I debug the Error . I noticed that the Error is popping up after the below line executes .

Class Name : BOMRoutePhantomExpand

Method Name : expandBOM 

//  The below code is shooting up the error //

phantomBomId = bom.itemBOMId(calcDate, searchQty,parentItemId,parentInventDim);
if (!phantomBomId)
{
throw error(strFmt("@SYS69982", bom.ItemId, bom.bomId));
}

While debugging , The line "bom.itemBOMId(calcDate, searchQty,parentItemId,parentInventDim);" is returning just null to phantomBomId even though each argument of the bom.itemBomId(.........) is having a value.

Please let me know what is going wrong.

*This post is locked for comments

  • Suggested answer
    Richard Wehmeyer Profile Picture
    Richard Wehmeyer 1,002 on at
    RE: Error while Costing an BOM Item .

    Check the cost version date.  I just had the same problem and the BOM date was 6/28/2017 but the cost version was set to 1/1/2017.

    Inventory warehouse management > Setup > Costing > Costing verisons
    Recording tab > From date field

    ETA:

    Also phantom lines tend to do some funny things.  Sometimes costing the phantoms and set them to item for the costing will work in a pinch. 

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error while Costing an BOM Item .

    Hi Microsoft Mania,

    Go to Product Information Management - Common - Released products,

    Find the item thats missing BOM version.

    From top action pane select Engineer tab - BOM - Lines and activate current BOM version if there's one. If you are missing BOM version, create BOM as per your drawing and activate it.

    Regards,

    V

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,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans