Converting mysql statement to Navision c/al codes

asembereng
Member Posts: 220
I was running a payroll application using php and mysql.. Pretty nice application we had. Now my boss wants me to implement this on Navision. I am new to navision. But i managed to design all the tables and forms that i need.
On my the php version this is the way i used to generate a payroll.. I used mysql statement to go through tables, select data from these tables dumb to their history tables; just to keep records.
How can i achieve this on Navision.. from eg select all employee ids from the employee table, select allowances related to this employee from the allowance table, deductions from the deductions table and dump these data into the history table to their respective field.
thanks.
On my the php version this is the way i used to generate a payroll.. I used mysql statement to go through tables, select data from these tables dumb to their history tables; just to keep records.
How can i achieve this on Navision.. from eg select all employee ids from the employee table, select allowances related to this employee from the allowance table, deductions from the deductions table and dump these data into the history table to their respective field.
thanks.
0
Comments
-
There's really no such thing as converting MySQL Statements to C/AL code. You could of course develop this functionality in C/AL, but it won't be as easy as just translating MySQL statements into C/AL.0
-
Yes, can you show me using coding and the examples of the table given on my previous post.0
-
No I can't do that. First you give me no specifics of what you need. Second I don't know the structure of those tables. Even if I knew what you wanted, I wouldn't know how to do it. If you have a developer license, you can look at standard code and see how things happen in there, and apply what you see there to the functionality you need.
You might want to see about studying the development training material. There are also a number of books that might be helpful to you.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