发票积分存储在 navision 中的哪里?

发布于 2024-09-06 18:14:06 字数 169 浏览 0 评论 0原文

我可以访问存储 Navision 数据的 SQL 数据库,并且我有一些来自客户的信用详细信息,但我无法在 $Sales Invoice Header 中找到它们 - 我是否刚刚从客户那里获得了不正确的详细信息,或者是否存储了信用还有哪里?

我看不到任何明显的表格。

干杯

谢恩

I have access to the SQL database the Navision data is stored on, and I have some credit details from my client but I can't find them within $Sales Invoice Header - Have I just got inccorect details from client, or are the credits stored else where?

I can't see any obvious tables.

Cheers

Shane

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

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

发布评论

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

评论(2

柳若烟 2024-09-13 18:14:06

对于其他正在为此苦苦挣扎的人,积分存储在;

[DB$Sales Cr_Memo 标头]
[DB$Sales Cr_Memo 行]

For anyone else who is stuggling with this, the credits are stored in;

[DB$Sales Cr_Memo Header]
[DB$Sales Cr_Memo Line]

晒暮凉 2024-09-13 18:14:06

您永远不应该直接与 SQL 表进行交互,因为它绕过了存储在对象中的所有 NAV 业务逻辑。

您的号码是什么样的?伊维克斯?采购订单?您可以在这里发布号码或样本吗?然后我们可以为您指明正确的方向,以访问 NAV 中的详细信息。

根据以下评论更新 (6/23)。

发票贷项可能会存储为与销售发票抬头关联的销售发票行。以下 SQL 查询应该为您提供与标头关联的所有行:

SELECT *
  FROM [NAV].[dbo].[CompanyName$Sales Invoice Line]
 WHERE [Document No_] = 'INVX-0000001'
    GO

显然,将 NAV 更改为您的数据库名称,并将 CompanyName 更改为 NAV 中适当的公司名称。

这有效吗?

You should never really interact with the SQL tables directly as it bypasses all of NAV's business logic which is stored in the objects.

What does the number you have look like? INVX? PO? Can you post the number or a sample of it here? Then we can point you in the right direction to access the details within NAV.

Update (6/23) based on the comments below.

The invoice credits will probably be stored as Sales Invoice Lines associated with the Sales Invoice Header. The following SQL query should get you all the lines associated with the header:

SELECT *
  FROM [NAV].[dbo].[CompanyName$Sales Invoice Line]
 WHERE [Document No_] = 'INVX-0000001'
    GO

Obviously change NAV to your DB name and CompanyName to the appropriate company name within NAV.

Did this work?

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