Change Log Problem...

Angelo
Member Posts: 180
Hi Master,
I have a problem in Change Log. I have already setup up one table in change log Setup ( Creation,Modification, and Deletion for all fields) but why when I delete record in the table and there is no information in Change Log Entry for deleted record?
Please Advice....
I have a problem in Change Log. I have already setup up one table in change log Setup ( Creation,Modification, and Deletion for all fields) but why when I delete record in the table and there is no information in Change Log Entry for deleted record?
Please Advice....
0
Comments
-
It seems that the record is deleted through some C/AL code. Changes done through C/AL code are not in the change log.0
-
Angelo, I think you are using native database. That does not work. I had the same problem, but when I'm changed to SQL that work fine.0
-
it works also in Native.Do you make it right, it works too!0
-
I'm using SQL and the problem happened when I cancel reservation. Cancel Reservation means delete Reservation Entry table,right? but why that is not recorded in Change Log Entry?0
-
Angelo wrote:I'm using SQL and the problem happened when I cancel reservation. Cancel Reservation means delete Reservation Entry table,right? but why that is not recorded in Change Log Entry?
Not directly. You are not deleting the reservation entry directly. You are running some C/AL which will delete it... and this is the problem... ;-)0 -
For cancellation of Reservation you need to check the custom table that is created specially for this purpose
Check with your manger on thisNAV - Norton Anti Virus
ERP Consultant (not just Navision) & Navision challenger0 -
kine's right.
The change log only log manual changes.
If you need to update the change log also when the record is changed by code, you must create your own function based on the changelog management codeunit (see CU 1) and CU for Changelog.
take a look at this post
RegardsDo you make it right, it works too!0 -
Can help me how to make additional coding to record Canceled Reservation(Deletion Reservation Entry) in CU 1 (OnGlobalDelete Function)?0
-
Angelo wrote:Can help me how to make additional coding to record Canceled Reservation(Deletion Reservation Entry) in CU 1 (OnGlobalDelete Function)?
check codeunit 103 "Cust. Entry-Edit".it is called from OnModify trigger of "Customer Ledger Entries" form.
you should add similar code to the location where reservation entries are deleted.0 -
thanks guys for all your clues... \:D/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