It depends on what is a size of table, what statistic information has SQL and so on.
It can be calculated from few tables
First one in table "<company name>_$Item Ledger Entry"
Also you can try to get information from tables like
"<company name>_$32$0" ot 1... at the end. In these tables there is an information for SumIndexFieds. More information you can get from Navision solution center in your country.
Comments
Sum("Item Ledger Entry".Quantity WHERE (Item No.=FIELD(No.),Global Dimension 1 Code=FIELD(Global Dimension 1 Filter),Global Dimension 2 Code=FIELD(Global Dimension 2 Filter),Location Code=FIELD(Location Filter),Drop Shipment=FIELD(Drop Shipment Filter),Variant Code=FIELD(Variant Filter),Bin Code=FIELD(Bin Filter)))
I followed the logic and the only place where there are inventory Qty's is Item Ledger Entry.Quantity. The remaining fields contain other data.
It can be calculated from few tables
First one in table "<company name>_$Item Ledger Entry"
Also you can try to get information from tables like
"<company name>_$32$0" ot 1... at the end. In these tables there is an information for SumIndexFieds. More information you can get from Navision solution center in your country.
Hello, Just wondering if you manually add the Bin filter cause I can't find the Bin Code on the Item Ledger Entry... BTW i'm using NAV 5.0..