you do not have permission to read the Change Log Setup tabl
charles.roos
Member Posts: 60
If i change data in item card with client licence, i get following error message:
"you do not have permission to read the Change Log Setup table"
with developer licence i don't get the error.
change log is turned off. what's the problem then?
codeunit 423 is runned anyway and i see that "ChangeLogSetup.GET" is called:
"you do not have permission to read the Change Log Setup table"
with developer licence i don't get the error.
change log is turned off. what's the problem then?
codeunit 423 is runned anyway and i see that "ChangeLogSetup.GET" is called:
GetTableTriggerMask(TableNumber : Integer) : Integer
IF TableNumber = DATABASE::"Change Log Entry" THEN
EXIT(0);
IF COMPANYNAME = '' THEN
EXIT(0);
IF TableNumber IN
[DATABASE::"Change Log Setup",DATABASE::"Change Log Setup (Table)",
DATABASE::"Change Log Setup (Field)"]
THEN
EXIT(15);
IF NOT ChangeLogSetupRead THEN BEGIN
IF ChangeLogSetup.GET THEN;
ChangeLogSetupRead := TRUE;
END;
IF NOT ChangeLogSetup."Change Log Activated" THEN
EXIT(0);
IF NOT TempChangeLogSetupTable.GET(TableNumber) THEN BEGIN
IF NOT ChangeLogSetupTable.GET(TableNumber) THEN BEGIN
TempChangeLogSetupTable.INIT;
TempChangeLogSetupTable."Table No." := TableNumber;
END ELSE
TempChangeLogSetupTable := ChangeLogSetupTable;
TempChangeLogSetupTable.INSERT;
END;
ResultMask := 0;
WITH TempChangeLogSetupTable DO BEGIN
IF "Log Insertion" <> "Log Insertion"::" " THEN
ResultMask := 1;
IF "Log Modification" <> "Log Modification"::" " THEN
ResultMask := ResultMask + 2 + 8; // also rename
IF "Log Deletion" <> "Log Deletion"::" " THEN
ResultMask := ResultMask + 4;
END;
EXIT(ResultMask);
0
Comments
-
You don't have Change log in customer's license.
And (that's the point of error) you have at least one record in Change log table.
Delete records and it should work.0 -
You may try.
Go to tools>Security>Roles.
Just add the Table ID with the permissions you want in the concerned role.
Make a new role if you wish to.
Assign the role to the user ID from which you want to access.
Logoff and logon.Regards,
Deep
India0 -
Deep wrote:You may try.
Go to tools>Security>Roles.
Just add the Table ID with the permissions you want in the concerned role.
Make a new role if you wish to.
Assign the role to the user ID from which you want to access.
Logoff and logon.
Change log table still have one empty record inside, after deletion problem solved.
Both fields in that table have "notBlank=No" attribute, which enables "invisible" empty record insertion.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
- 611 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