# AX 2009 Report

**URL:** <https://www.dynamicsuser.net/t/ax-2009-report/54510>\
**Category:** Developer Forum\
**Created:** [August 22, 2014, 5:56pm UTC](https://www.dynamicsuser.net/t/ax-2009-report/54510 "2014-08-22T17:56:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![K.manish](https://avatars.discourse-cdn.com/v4/letter/k/a8b319/32.png) [@K.manish](https://www.dynamicsuser.net/u/K.manish)\
**Post date:** [August 22, 2014, 5:56pm UTC](https://www.dynamicsuser.net/t/ax-2009-report/54510/1 "2014-08-22T17:56:32Z")

</div>

Hi Friends,

i am using AX2009 , and creating a report. In fetch method i have written code to get the table as :

while (qr.next())

{

\_inventSum= qr.get(tablenum(inventSum));

///doing some thing

}

when i put add watch to **\_inventSum** , i can see value for every field but , can’t see value in field **inventbatchid**.

can you suggest me what would be the reason, for reference , this report is duplicate of **InventDimPosted report.**

**thanks**

---

<div class="post-metadata">

**Author:** ![krishna.rao](https://avatars.discourse-cdn.com/v4/letter/k/ac8455/32.png) [@krishna.rao](https://www.dynamicsuser.net/u/krishna.rao)\
**Post date:** [August 23, 2014, 5:18am UTC](https://www.dynamicsuser.net/t/ax-2009-report/54510/2 "2014-08-23T05:18:17Z")

</div>

in the table field (**inventbatchid )** property

**Visible** --No

may be a reason why it’s not displaying

set **Visible** — yes and then try

---

<div class="post-metadata">

**Author:** ![sreddy](https://avatars.discourse-cdn.com/v4/letter/s/a88e57/32.png) [@sreddy](https://www.dynamicsuser.net/u/sreddy)\
**Post date:** [August 23, 2014, 1:42pm UTC](https://www.dynamicsuser.net/t/ax-2009-report/54510/3 "2014-08-23T13:42:10Z")

</div>

Hi Manish,

InventSum table don’t have the filed InventBatchId directly based on InvendimId you can get the InventBatchId value from InventDim table…

Can you check weather you are able to see the InventdimId value or not.

Note: are you using any group by conditions in query.

Thanks,

Sandeep

---

<div class="post-metadata">

**Author:** ![K.manish](https://avatars.discourse-cdn.com/v4/letter/k/a8b319/32.png) [@K.manish](https://www.dynamicsuser.net/u/K.manish)\
**Post date:** [August 24, 2014, 1:43am UTC](https://www.dynamicsuser.net/t/ax-2009-report/54510/4 "2014-08-24T01:43:37Z")

</div>

Hi Sandeep,

tnx for response,

I can’t see the InventDimId value also and there is no condition on group in query,
