Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

insert item table from SQL

Posted on by 16

Dear all,

i'd like to understand why if i create a SQL script to insert Items, i can see them in SQL but not from the table in BC14. I'm not interested to import them in another way, i'm interested in knowing what i miss (and the reason why i can't see them). 

I tried to refresh and also to run a Codunit (selectlastversion), but i can't see them.

I tried to insert also records in table "integration record" but is not enought.

Have you any idea, what i have to manage to see them from table/page?

Thanks

Alberto

  • Verified answer
    Rehan Satti Profile Picture
    Rehan Satti 634 on at
    RE: insert item table from SQL

    Hi Alberto,

    This is not best practice and not recommended by NAV Business Central.

    When data is inserted directly using SQL either through script or some query. The data validation triggers codes written on the table level in business central /NAV is not executed. That's why this practice is very risky and not recommended.

    its better to use web services to insert data in business central table.

  • Suggested answer
    Jyotsna NAV Profile Picture
    Jyotsna NAV 585 on at
    RE: insert item table from SQL

    Check this thread: https://community.dynamics.com/nav/f/microsoft-dynamics-nav-forum/185046/how-to-add-table-to-navision-through-back-end-sqlserver#:~:text=you%20can%20add%20an%20existing,the%20property%20linkedobject%20to%20true.

    Regards
    Jyotsna
    jyotsnanav.blogspot.com

    Don't forget to help the community by verifying the answer or at least like the suggestion if it did help in any way. It will let others know that the topic has a verified

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans