使用 Dynamics AX 的业务连接器生成销售订单

发布于 2024-08-23 12:13:53 字数 361 浏览 8 评论 0原文

因此,就像标题所说,我需要创建一个应用程序,从另一个数据库获取数据,并将其推入 Dynamics AX 的喉咙。

该数据来自门户,不是企业门户,而是 PHP 门户。它将订单中的一些数据存储在单独的数据库中。如前所述,我需要将其“导入”到 AX,使用我从其他数据库获得的数据创建销售订单。

另外,我也想要一些有关 Business Conector 的参考资料,它是否可以处理 AX 为我使用的所有 RECIDS 和参考资料?

提前致谢。


编辑:

好的,我可以在 AX 的数据库中插入记录,只有一个问题。我无法生成内部 ID。就像 CustTable 的“AccountNum”字段一样。有没有办法从业务连接器捕获它?

So, just like the title says, I need to create an application that gets data from another Database, and shoves it through Dynamics AX's throat.

This data comes from a portal, not Enterprise Portal, but a PHP one. It stores some data from the order in a separate database. So as said, I need to 'import' that to AX, creating the sales orders with the data I have from the other database.

Also I'd like some references on Business Conector too, does it handle all those RECIDS and references that AX uses for me?

Thanks in advance.


EDIT:

OK, I'm able to insert records in AX's database, theres just one problem. I can't generate the internal ID. Like, the 'AccountNum' field for the CustTable. Is there a way to capture it from business connector?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

○愚か者の日 2024-08-30 12:13:53

最后,我没有使用.NET Business Connector,我们让其他应用程序将数据插入到 AX 数据库的表中。然后在互联网上找到了一些代码,为我插入 SalesTable 表中的每条记录生成下一个 salesID。不过我必须补充一点,根据我的搜索结果,使用 .NET Business Connector 听起来并不难。

In the end, I didn't use the .NET Business Connector, we got the other application to insert data in a table in the AX's database. Then found some code on the internet to generate the next salesID for each record I inserted in the SalesTable table. Though I must add that using the .NET Business Connector didn't sound so hard from what I've searched.

小伙你站住 2024-08-30 12:13:53

我建议您使用应用程序中的 AXSalesTable 和 AXSalesLine 类。这些将处理很多内务工作,还会自动创建销售 ID。

Business Connector 文档可在此处找到:http://msdn.microsoft.com/ en-us/library/bb496526.aspx

I suggest you use the AXSalesTable and AXSalesLine classes from your application. These will take care of a lot of the housekeeping, also automatically creation of sales id's.

Business Connector documentation can be found here: http://msdn.microsoft.com/en-us/library/bb496526.aspx

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文