I cannot see a record inserted through SQL!
chachitano@hotmail.com
Member Posts: 8
Hi,
I've just inserted a record using a SQL script into the table Sales Header. I can see the record fine in SQL but not in Business Central.
The sales Header table has some extensions which I did't populate, but I don't need these fields.
Is there a trick to fetch this record from BC?
Thanks and Regards,
Héctor
I've just inserted a record using a SQL script into the table Sales Header. I can see the record fine in SQL but not in Business Central.
The sales Header table has some extensions which I did't populate, but I don't need these fields.
Is there a trick to fetch this record from BC?
Thanks and Regards,
Héctor
0
Answers
-
Why are you using SQL to insert data into SQL ?
It is a bad idea, unless you 100 % know what you are doing.
But to answer you question, no there is no trick to do so,
which fields have you published?For help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.0 -
Hi SanderDk,
Thank you for your reply. Finally I figured out what was wrong. All fields on extension SQL tables have to be populated (with blanks zeroes or whatever), I guess otherwise it's like having NULL values, which is unreadable for BC pages.
Regards,
Héctor1 -
Agree with SanderDk. Do not insert directly from SQL because it bypasses all of the business logic that makes sure you have a valid working order. Use web services or the API instead.Kyle Hardin - ArcherPoint0
Categories
- All Categories
- 73 General
- 73 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 328 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
