How to Any Validation without Open the Company
sanjeevdalela
Member Posts: 45
Dear Viewers''
Please help me,
I want to know. when I login the database but not open the company. How to any Validate for open the database.(like check which license Id user Open if not match that close the navison'
](*,) ](*,) ](*,) help me?????????????????????????
I am waitng your reply..................... :oops: ](*,) ](*,)
Please help me,
I want to know. when I login the database but not open the company. How to any Validate for open the database.(like check which license Id user Open if not match that close the navison'
](*,) ](*,) ](*,) help me?????????????????????????
I am waitng your reply..................... :oops: ](*,) ](*,)
Sanjeev Kumar Dalela
Technical Consultant
(Dataman Computer Systems P Ltd.)
Technical Consultant
(Dataman Computer Systems P Ltd.)
0
Comments
-
The first function where you can programming is CompanyOpen() and this run LogInStart() in CU 1.
Here is the first place where you can check the ID of License and logoff the / terminate the session (Client). But NAV runs this function first when you select a company.
Why do you want this? With more backgrounds we will find maybe a other solutionDo you make it right, it works too!0 -
I want the solution, with out open the company.Sanjeev Kumar Dalela
Technical Consultant
(Dataman Computer Systems P Ltd.)0 -
You don't have to, because NAV already takes care of it, it is standard functionality. It will not let you open a database that you don't have permissions to open.0
-
sanjeevdalela wrote:I want the solution, with out open the company.
And I want more details what exactly you want to do... if you want the solutio, you need to tell more, because for what you wrote, there is no solution... 8)0 -
The first function where you can develop this, is CompanyOpen() and this run LogInStart() in CU 1.
Here is the first place where you can check the ID of License and logoff the / terminate the session (Client).
But NAV runs this function first when you select a company.
Why do you want this? With more backgrounds we will find maybe a other solution
Sometimes i think, nobody listen to me :oops:
So, and i want a beer (and i get it
) Do you make it right, it works too!0 -
He wants it to run BEFORE the company opens, when the database is opened.0
-
i know, but the first place where you can place C/AL code ist CU 1.
If you are under SQL you can create, based on the connection, a little sql trigger to check some value before the user open a company.
But here you can't check the local license id.Do you make it right, it works too!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
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 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

