Change log issue

siyak
Member Posts: 66
Hi good people!!! I've writen a code that write straight to the change log,I'm doing a reject/Approve on that code the it writes to the change log.Here is the Code
Oldrecref.GETTABLE(Rec); Lastname := "Old Lastname"; Initials := "Old Initials"; "ID No." := "Old ID No."; "VAT Registration No." := "Old Vat Registration No"; "Actual Status" := "Actual Status"::Rejected; cChangeLogMngt.LogModification( NewRecRef, Oldrecref ); This working very well,when i do the reject,it shows the modification verify and Rejected on the change log,but when the client do it shows the changes but not the modification Rejected.I don't know if its the Change log setup or what? :-k
0
Comments
-
Whenever something is happening proper with developer and improper with customer, mostly It is the Licence and/or Permission problem. Please do let we also know what is wrong when you get the problems - root. :-kSandeep Prajapati
Technical Consultant, MS Dynamics NAV0 -
Hi
You are not getting the NewRecRef maybe you should try thisLastname := "Old Lastname"; Initials := "Old Initials"; "ID No." := "Old ID No."; "VAT Registration No." := "Old Vat Registration No"; "Actual Status" := "Actual Status"::Rejected; //Add MODIFY; NewRecRef.GETTABLE(Rec); //EndAdd cChangeLogMngt.LogModification( NewRecRef, Oldrecref );
Hope this helps
Albert0 -
I'm sorry i left thison when i copied the code
NewRecRef.GETTABLE(Rec); I have this piece of code before i call the function!!!
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