Dimension Combination Validation - outside Nav

rjd58
Member Posts: 4
Hi,
I have a custom application outside of Nav that allows users to choose a combination of dimension values. This combination is then stored by this external tool. The dimension values available for selection in this external tool are extracted straight from the Nav database.
Problem is, I need a way of "validating" the combination of dimension values the user has selected, based on any rules defined in Nav.
I don't particularly want to reproduce the business rule logic in my own tool, and would rather do a real-time call to Nav, that asks whether a given set of dimension values is a "valid" combination.
I would be interested in any suggested approaches to this problem that you may have.
Thanks.
I have a custom application outside of Nav that allows users to choose a combination of dimension values. This combination is then stored by this external tool. The dimension values available for selection in this external tool are extracted straight from the Nav database.
Problem is, I need a way of "validating" the combination of dimension values the user has selected, based on any rules defined in Nav.
I don't particularly want to reproduce the business rule logic in my own tool, and would rather do a real-time call to Nav, that asks whether a given set of dimension values is a "valid" combination.
I would be interested in any suggested approaches to this problem that you may have.
Thanks.
0
Comments
-
Hi rjd58,
I think the only problem we have here is that C/ODBC (which you are probably using) is very poor which data consistency and allows every kind of information to be put on the database, withouth doing any checks.
Even if you have SQL Server (and that should be a second way to get your information), there are no "Table Triggers" to validate the information you put directly in the SQL database outside Nav.
I think that, even if you find a solution for Navision to check it automatically, you'll spend more time finding it than implementing the Business rules of Dimension-Value validation in your external program. And we must agree that this rules are not thaaaat hard, huh?!Marcelo Borges
D365 Business Central Solutions Architect
BC AL/NAV C/AL Developer
BC Repositories.com0 -
You could do something with NAS using either MSMQ or a webservice. Send a message to NAS and get back a reply.There are no bugs - only undocumented features.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