MS Dynamics AX / AXAPTA - 防止重新打印未过帐支票付款通知书的代码在哪里?

发布于 07-07 09:03 字数 184 浏览 11 评论 0原文

我们希望在发布付款通知之前重新打印付款通知。 那个报告 BankPaymAdviceCheque 应该能够做到这一点,但只打印建议 已经寄出支票。 但是,报告的对话框允许您选择 还有未发布的。

无论我如何在代码中查找,都找不到 防止未过帐汇款被重新打印的位 -

帮助将不胜感激?

We want to reprint a payment advice, even before it is posted. The report
BankPaymAdviceCheque should be able to do this but only prints advices for
already posted cheques. The report's dialog, however, allows you to choose
unposted ones as well.

No matter how I searched in the code, I cannot find
the bit that prevents unposted remittances from being re-printed -

Help would be greatly appreciated?

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

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

发布评论

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

评论(1

鲸落2024-07-14 09:03:16

逻辑位于 vendTransInvoice 方法中。 当针对已打印和过帐的支票运行报告时,vendOutPaymCheque 将为 null,因此会运行在 vendTrans 和 vendSettlement 中查找记录的代码块。 当报表在支票打印期间运行时,vendOutPaymCheque 不为空,因此会运行在specTrans 中查找记录的代码块。 当调用报表来获取已打印但未过账的支票时,此代码会错误地查找 vendTrans 和 vendSettlement 中的记录,并且找不到任何数据,因为日记帐尚未过账。

The logic is in the vendTransInvoice method. When the report is run for a check that has already printed and posted, vendOutPaymCheque will be null, so the block of code that looks up records in vendTrans and vendSettlement gets run. When the report is run during the printing of a check, vendOutPaymCheque isn't null, so the block of code that looks up records in specTrans gets run. When the report is called for a check that has printed but not posted, this code is incorrectly looking up records in vendTrans and vendSettlement and not finding any data because the journal hasn't posted yet.

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