Update a record with SQL Query

SuperSage77
Member Posts: 101
Hello!
I want update a Record with a SQL Query but when I launch it, the record is good created , but no functions proved like Relationtable or no CAL/Code into the record are launched, like triggers OnInsert or OnValidate ?
Can I launch the CAL/Code on the trigger OnValidate for example, with the SQL Query ?
USE NDS_09062011
INSERT INTO "NDS Technologies France$Table_tampon"("DateTime Key","Table ID","Company Name","Update maked",FilterKeyValue,Champ1ID,Champ1Value)
VALUES(CURRENT_TIMESTAMP
,CONVERT(int,'38'),'NDS Technologies France',CONVERT(tinyint,' '),'Devis,DA016398 ',CONVERT(int,'120'),'1')
Thanks for answer
Rudy
I want update a Record with a SQL Query but when I launch it, the record is good created , but no functions proved like Relationtable or no CAL/Code into the record are launched, like triggers OnInsert or OnValidate ?
Can I launch the CAL/Code on the trigger OnValidate for example, with the SQL Query ?
USE NDS_09062011
INSERT INTO "NDS Technologies France$Table_tampon"("DateTime Key","Table ID","Company Name","Update maked",FilterKeyValue,Champ1ID,Champ1Value)
VALUES(CURRENT_TIMESTAMP
,CONVERT(int,'38'),'NDS Technologies France',CONVERT(tinyint,' '),'Devis,DA016398 ',CONVERT(int,'120'),'1')
Thanks for answer
Rudy
0
Answers
-
no you cannot. you need to integrate using webservice or use nas.0
-
NAV is interpret and the C/AL code is interpreted by NAV client/Service tier. It is not possible to call the code from outside without using these components. It is not coded as SQL trigger or anything around...0
-
OK
Thanks!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