Quantity on Hand for the Item Card

mtnbuzz
Member Posts: 3
I understand its a Flow field but what tables/columns (sql2k) does it use to calculate this? Thanks.
0
Comments
-
The Qty On Hand on the Item Card is getting it's info from the Item Ledger Entries. Below are the filters used to get the On Hand Qty.
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)))0 -
mleser wrote:The Qty On Hand on the Item Card is getting it's info from the Item Ledger Entries. Below are the filters used to get the On Hand Qty.
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.0 -
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.0 -
mleser wrote:The Qty On Hand on the Item Card is getting it's info from the Item Ledger Entries. Below are the filters used to get the On Hand Qty.
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)))
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..0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions