如何计算动态导航报告中的[剩余金额]?

How to calculate [Remaining Amount] in Dynamics Nav report?

如何在 Dynamics Nav 报告中计算 [Remaining Amount]

Receivables / Customers / Costomer No. / List of Ledger Entries

我仅通过 SQL 达到资产净值。我应该从哪个 table 和列名中获取数据?

更新。我对方向的猜测是,从 table [Cust_ Ledger Entry] 我必须采取 [Open]=1 并且从 table [Detailed Cust_ Ledg_ Entry] 我必须采取归档 [Amount].

这是附加问题。如何计算过去给定日期的 Remaining Amount。我认为目前它更容易。

要在日期获得余额,您只需在 [Detailed Cust_ Ledg_ Entry] 中对 [Amount] 求和直至目标日期,无需任何其他过滤器 ()。 此 table 包含所有操作