How to update a new field in table (ID : 336 & 337)
Durand
Member Posts: 61
Hello,
I’ve added a new field in the table (ID : 336 « Tracking Specification » & ID : 337 « Reservation Entry »). I want to update these fields via the form ID : 6510 « Item Tracking Lines ». But Those 2 tables (336 & 337) seems to be updated via a temporary table. I’m not able to find how to update those two table. Who can help me.
Regard’s,
Benoit.
I’ve added a new field in the table (ID : 336 « Tracking Specification » & ID : 337 « Reservation Entry »). I want to update these fields via the form ID : 6510 « Item Tracking Lines ». But Those 2 tables (336 & 337) seems to be updated via a temporary table. I’m not able to find how to update those two table. Who can help me.
Regard’s,
Benoit.
0
Comments
-
I also faced d same thing some times ago & solved dat after HUGE efforts.
this is very tricky & complex, i ever found in Navision.
Very first thing, Navision never stores records in Tracking Specification table.
-->Records gets stored in Reservation Table only. When Form6510 (Item Tracking Spec) runs, it fetches records from Reservation Table & stores in tracking specification for temporary basis only.
-->After posting of relevant document(Order,journal,etc..), You may want to have those fields in Item Ledger Entry OR Warehouse Entry also.
--> Add field in Item Ledger Entry Table also.
-->Add ur new added fields in "EntriesAreIdentical" function (at form 6510) for changed records to save records each time u change ur field value.
--> In CodeUnit-99000830 "Create Reserv. Entry", add new field as parameter in CreateReservEntryFor & in CreateReservEntryFrom function.
--> Call them in RegisterChange function (at form 6510)
--> Add new field in SumUpItemTracking function of Codeunit6500, Item Tracking Management
--> Add code in ModifyItemTrackingOnTempRec function at Codeunit 99000831 "Reservation Engine Mgt."
--> Add code in ModifyFieldsWithinFilter function at form6510, Item Tracking Mgmt.
-->In "Write to Database" function (at form 6510), check for ur field also with other field of reservation.
--> Add Code in CollectPostedOutputEntries function(at form 6510)
--> Add Code in SetItemLedgEntry function (at CodeUnit 99000845 Reservation Management) for to get those fields in Item Ledger Entry also.
Best way to solve this, go on debug the code using Code Coverage & Breakpoints on triggers. Definietly u will get d solution very soon.
This will help u a LOT
Best of luck.0 -
I think the codeunit that modifies those tables is 99000845 Reservation Management.0
-
Hello Mahesh & Alisha,
How long did it take you to solve this problem?
Regard’s,
Benoit.0 -
Hello Mahesh & Alisha,
Thank for your information it help me to solve my problem.
Regard’s,
Benoit.0 -
Hi Durand,
Wat u want to say exactly in ur latest second post?
Regards0 -
HI Mahesh,
I just want to know how long does it take to do that, because my boss wants to know if it's better for our business to do it ourselves or to make it done by someone else.
Anyway, thanks for your help and spend a nice Christmas time!!
Benoît,0 -
Hello.
Here is a how to example, I read on this blog.
http://www.revolution1210.com/article.asp?r0=3&r1=3070 -
Hi Durand,
I think it will not take more than 2-3 days.
Once the coding structure is clear. Its easy.
gReat wiShes for chRisTmas0
Categories
- All Categories
- 73 General
- 73 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 328 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
