# How to find active BOM for an item through code?

**URL:** <https://www.dynamicsuser.net/t/how-to-find-active-bom-for-an-item-through-code/66729>\
**Category:** Developer Forum\
**Created:** [February 22, 2019, 10:39am UTC](https://www.dynamicsuser.net/t/how-to-find-active-bom-for-an-item-through-code/66729 "2019-02-22T10:39:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![IlamvazhudhiSriRanja](https://avatars.discourse-cdn.com/v4/letter/i/49beb7/32.png) [@IlamvazhudhiSriRanja](https://www.dynamicsuser.net/u/IlamvazhudhiSriRanja)\
**Post date:** [February 22, 2019, 10:39am UTC](https://www.dynamicsuser.net/t/how-to-find-active-bom-for-an-item-through-code/66729/1 "2019-02-22T10:39:22Z")

</div>

how to find active bom of an item through code in ax 2009?

---

<div class="post-metadata">

**Author:** ![kranthi](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@kranthi](https://www.dynamicsuser.net/u/kranthi)\
**Post date:** [February 22, 2019, 11:21am UTC](https://www.dynamicsuser.net/t/how-to-find-active-bom-for-an-item-through-code/66729/2 "2019-02-22T11:21:05Z")

</div>

You can use \Data Dictionary\Tables\InventTable\Methods\bomId
