Источник:
http://blogs.technet.com/b/dynamicsa...-adjusted.aspx
==============
Problem:
The Internal account statement report may display inconsistant balance information when reversing open transactions which have been exchange adjusted.
Resolution:
To resolve the issue the following code changes can be made.
Change \Classes\CustVendTransData\remainAmountMST
From:
X++:
public AmountMST remainAmountMST()
{
AmountMST remainAmountMST;
;
if (custVendTrans.TransType == LedgerTransType::ExchAdjustment)
{
remainAmountMST = custVendTrans.AmountMST - custVendTrans.SettleAmountMST;
}
To:
X++:
public AmountMST remainAmountMST()
{
AmountMST remainAmountMST;
;
if (custVendTrans.TransType == LedgerTransType::ExchAdjustment || custVendTrans.LastExchAdjVoucher)
{
remainAmountMST = custVendTrans.AmountMST - custVendTrans.SettleAmountMST;
}
Источник:
http://blogs.technet.com/b/dynamicsa...-adjusted.aspx