Dynamics NAV的2013 Web应用程序 [英] Dynamics Nav 2013 web application

查看:137
本文介绍了Dynamics NAV的2013 Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要创建将与2013年NAV集成Web应用程序(某物像仪表板)(以数据形式导航,它显示给客户,也可以更新或插入数据)。

I want to create web application (sth like dashboard) which will be integrated with nav 2013. (Take data form Nav, display it to customers and also can update or insert data).

在导航我已经做已specificed领域上的所有条件和功能的所有表和页面。

In Nav I have done all tables and pages which have specificed all conditions and functions on fields.

在要插入的页面导航的一些数据这些条件都是非常有用的(例如:填充客户号后,页面会自动显示该客户的项目 - 什么是非常有益的)

Those conditions are very usefull when you want to insert some data from page in Nav (for example: after filling customer number, page automatically show projects for this customer - what is very helpfull)

一切都在Navision的工作很好,当你在页面上工作,但在我的应用程序,我使用web服务与NAV沟通我有很多它这是在表上指定的那些条件的问题。

Everything is working fine in Navision when you working on pages, but in my application where I use webservices to communicate with NAV I have a lots of problems which those conditions which are specified on tables.

我的问题是,最好是prepare在导航空白表格和充分的逻辑在我的网络应用程序(asp.net),或在其上的导航指定的逻辑操作?

My question is, it is better to prepare "blank" tables in nav and make full logic in my web application(asp.net) or operate on logic which is specified in Nav?

在我看来:


  • 表不应该只是有关键的一些基本逻辑的逻辑编号

  • ,旨在帮助用户填写数据的所有条件,应分别进行
    (在导航的Web应用程序和独立的逻辑页单独逻辑)

推荐答案

根据意见,我会说去了simpliest解决方案:

Based on comments I'd say go for the simpliest solution:


  • 创建一组表(让我们称之为集成表),这将对他们没有逻辑,不会涉及到导航的实体(如任务或项目或任何表你有你的基地)。这将是通信只表

  • 创建调度员$ C $库尼特这将携带最通信和数据转换逻辑的。

  • 发布基于融合表调度$ C $库尼特和页面。

  • 使用发布的网页,从导航邮件推送到导航和读取数据。

  • 每次推消息调用幕调度方法后做的一切你想要的东西(如插入和更新记录,以NAV)

  • 使用OData的,网页或$ C $库尼特功能返回XML阅读所有你需要显示在Web表单中的数据。我的建议是不要只有通过整合表和调度更新/直接插入导航本地表(通过页)。这将是更容易在这种情况下管理错误。

  • 从周期性集成表删除旧的或处理的记录。

这将让你保持大部分业务逻辑上的Web应用程序的一面,而且preSERV把一些普通逻辑的能力(例如,限制条件等)对资产净值(经调度员和表触发器),作为调度程序将总是返回您已成功处理来自Web应用程序发送的操作结果的天气信息。

This will allow you to keep most of business logic on web app side but also preserv the ability to put some general logic (such as restrictions and etc) to Nav (via dispatcher and table triggers), as dispatcher will always return you an operation result weather message sent from web application was processed successfully or not.

请注意,可能存在的缺陷。

Be aware, there may be pitfalls.

这篇关于Dynamics NAV的2013 Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆