SQL Views with Dynamics NAV

abnainasabnainas Member Posts: 174
edited 2007-11-05 in Navision Financials
Dear All,

Can I Take a view and insert it to navision... can u tell me how navision work with views.

Best Regards
Ahmad Bani Naser
Dynamics NAV Developer

Comments

  • nunomaianunomaia Member Posts: 1,153
    You can use SQL views in Navision by using Linked Tables.
    Nuno Maia

    Freelance Dynamics AX
    Blog : http://axnmaia.wordpress.com/
  • abnainasabnainas Member Posts: 174
    Please, I want more information. Do u have any documents ?

    Regards
    Ahmad Bani Naser
    Dynamics NAV Developer
  • jlandeenjlandeen Member Posts: 524
    I haven't seen a lot of documentation from the product itself but I have done this a few times in both a development and a production environment.

    It's not too hard to do all you have to do is build a SQL view in your Navision database that exactly matches the table definition and table name and then set the LinkedObject property to Yes. You can then apply filters to columns using standard Navision syntax and Navision will handle translating that to SQL statements executed against the view.

    There are a few other articles and you may want to search the forums here:
    http://www.mibuso.com/forum/viewtopic.p ... t=sql+view
    http://www.mibuso.com/forum/viewtopic.p ... t=sql+view
    Jeff Landeen - Sr. Consultant
    Epimatic Corp.

    http://www.epimatic.com
  • DenSterDenSter Member Posts: 8,304
    I think the application designer guide has a good section on linked tables.
  • jlandeenjlandeen Member Posts: 524
    Sorry you are correct there is a section in the ADG manual, however it is only 4 pages. However it's only a few pages and I generally don't see a lot of people use this feature or talk about this feature. So this is why I said "not a lot of documentation".

    It really can be a useful feature for abstracting underlying table structures and working with external systems.
    Jeff Landeen - Sr. Consultant
    Epimatic Corp.

    http://www.epimatic.com
Sign In or Register to comment.