发票积分存储在 navision 中的哪里?
我可以访问存储 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
对于其他正在为此苦苦挣扎的人,积分存储在;
[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]
您永远不应该直接与 SQL 表进行交互,因为它绕过了存储在对象中的所有 NAV 业务逻辑。
您的号码是什么样的?伊维克斯?采购订单?您可以在这里发布号码或样本吗?然后我们可以为您指明正确的方向,以访问 NAV 中的详细信息。
根据以下评论更新 (6/23)。
发票贷项可能会存储为与销售发票抬头关联的销售发票行。以下 SQL 查询应该为您提供与标头关联的所有行:
显然,将 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:
Obviously change NAV to your DB name and CompanyName to the appropriate company name within NAV.
Did this work?