How to find item application chain?

arcull
Member Posts: 191
Hi guys. I wonder if anyone had simmilar issue to this one. I have a report based on item ledger entry that is supposed to show three columns. The first is actual sales, which I get directly from "Sales Amount (Actual)", the second should be the direct cost of this saled item and the third the indirect cost of this saled item. The problem is, how to find the the very first source positive entry, which should be of type Purchase or Positive Adjustment. I checked the code on form 38, which opens a form showing the application entries, but these entries ar just a one level back, and are not always of type purchase they could also be correction of sales entries. But in order to get costs separated, I have to go back through aplication to the very first positive entry. Did anyone have similar issue? Thanks for your help.
0
Comments
-
Look for table 339. Try to understand it, there is all what you need to go through the tree...0
-
Thanks, I already tried that, but considering all the possible scenarios of applications that isnt so simple... Well I know that this table is the key and underrstanding it would help me achieving the right result. I thought I am not the first one trying to do that, and hoped to get some more info about that. Thanks anyway0
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