Skip to main content

Notifications

Announcements

No record found.

Business Central forum
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

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,353 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,251 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans