简体   繁体   English

将方法从Navision Dynamics 5.0导出到数据仓库/ OLAP的目的?

[英]Export methods from Navision Dynamics 5.0 to datawarehouse/OLAP purposes?

I'm using Navision Dynamics 5.0 and need to export all the financial data into my datawarehouse on a regular basis (1 time daily). 我正在使用Navision Dynamics 5.0,并且需要定期(每天1次)将所有财务数据导出到我的数据仓库中。 And therefore I don't want to use csv-files as exporting method. 因此,我不想将csv文件用作导出方法。

Which other methods are normally used? 通常使用哪些其他方法? This must be a regular task for all companies who uses Navision Dynamics, and needs to get the data out in an automatic manner. 对于使用Navision Dynamics的所有公司,这必须是一项常规任务,并且需要以自动方式获取数据。

I'm of course also worried about locking the tables when exporting the data. 我当然也担心在导出数据时锁定表。

I can think of these methods so far: 到目前为止,我可以想到这些方法:

1) direct ODBC access to all the underlying tables 1)直接对所有基础表进行ODBC访问

2) Creation of a read only indexed view (mateterialized view) on top of the Navision tables, which holds a copy of Navision data and then can be accessed by the datawarehouse. 2)在Navision表顶部创建一个只读索引视图(子视图),该视图保存Navision数据的副本,然后可以由数据仓库访问。 (NB: An indexed view is a view that has been materialized. This means it has been computed and stored.) (注意:索引视图是已实现的视图。这意味着它已被计算并存储。)

3) ? 3)?

4) ? 4)?

Let me hear you typical ways of doing the export. 让我听听您进行导出的典型方法。

PS: I have heard that there is no webservice export option for Navision Dynamics 5.0, only in the newest version NAV2009. PS:我听说Navision Dynamics 5.0没有Web服务导出选项,仅在最新版本的NAV2009中。 So I cannot use a webservice method. 因此,我不能使用Web服务方法。

I found this document describing some of the various export methods: http://nav.dk/files/Nav_IntegrationGuide1.2.pdf 我发现该文档描述了各种导出方法: http : //nav.dk/files/Nav_IntegrationGuide1.2.pdf

So to continue my list, here are some more options: 因此,要继续我的列表,这里有更多选择:

3) Seems like a solution could be using Navisions own ODBC driver called NAV ODBC Driver (NODBC) 3)似乎解决方案可能是使用Navisions自己的ODBC驱动程序,即NAV ODBC Driver(NODBC)

4) Another solution could be using the Navision in-build Dataports for exporting data. 4)另一个解决方案可能是使用Navision内置数据端口导出数据。 However Dataports can only produce csv-files. 但是,数据端口只能生成csv文件。

You could also use XmlPorts, if an XML file is preferable to csv. 如果XML文件比csv更可取,则也可以使用XmlPorts。 Both DataPorts and XmlPorts allow you to aggregate data: for example you can export sales headers along with the lines for each header, if this is useful in your scenario. DataPort和XmlPorts都允许您聚合数据:例如,如果在您的方案中有用的话,您可以导出销售标头以及每个标头的行。

You can also use filters, so you can export incremental updates to the warehouse daily. 您还可以使用过滤器,因此可以每天将增量更新导出到仓库。 If you are concerned about holding locks for a long time, you could also try using filters to export the data in chunks. 如果您担心长时间持有锁,也可以尝试使用过滤器以块的形式导出数据。

I believe most solutions use the NAS (Navision Application Server) to schedule running DataPorts or XmlPorts, so the export is driven by NAV. 我相信大多数解决方案都使用NAS(Navision应用服务器)来调度正在运行的DataPort或XmlPort,因此导出是由NAV驱动的。

As a further alternative to using NODBC, you could also explore using CFront, which is a C/.NET API giving relatively low level access to the data including the facility to evaluate flow fields etc. NODBC and CFront are really the only options if you want to call into NAV (rather than using the NAS to pushing data out as csv/xml). 作为使用NODBC的另一种选择,您还可以探索使用CFront,它是一种C / .NET API,可以对数据进行相对较低级别的访问,包括用于评估流字段等的功能。NODBC和CFront实际上是唯一的选择想要调用NAV(而不是使用NAS将数据作为csv / xml推送出去)。

I haven't compared the relative performance of each method, but suspect that NODBC and CFront would be fastest for large volumes of data. 我没有比较每种方法的相对性能,但怀疑NODBC和CFront对于最快的数据处理速度最快。

NODBC, CFront and the NAS all require specific granules in your license - so you might want to check which, if any, you are currently licensed to use. NODBC,CFront和NAS都需要许可证中包含特定的颗粒-因此,您可能需要检查当前已获得许可使用的颗粒。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM