Calculate invenotry - PLease help
Lisa_Randall
Member Posts: 44
I am trying to create a sort order for the phys inventory journal to sort by bespoke field Product Type however this is not as simple as i first thought ( or maybe it is !?) i added the field in no problem but when i run the calc inventory routine it does not pull through the fields that match to the relevant items.
I assume that i need to do some kind of get function within the calc inventory report but i just dont know enough to actually do it and would really appreciate a little hand holding here ?
](*,) :-k
I assume that i need to do some kind of get function within the calc inventory report but i just dont know enough to actually do it and would really appreciate a little hand holding here ?
](*,) :-k
0
Comments
-
Wouldn't that be nicer if you had this field populated in every kind of item journal, either you create lines manually or automatically? In that case, go to Table Item Journal Line, and insert into the OnValidate code of Item No. f.e. after "Product Group Code" := Item."Product Group Code"; this code: "Product Type".VALIDATE(Item."Product Type"); (You can also write "Product Type" := Item."Product Type", but that's not good practice, despite it's often done this way in the standard too.)
After this, whenever you manually or the Calculate Inventory selects an Item No. it will fill this field.
Do It Yourself is they key. Standard code might work - your code surely works.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions