Показать сообщение отдельно
Старый 17.05.2011, 23:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,646 / 848 (80) +++++++
Регистрация: 28.10.2006
Dynamics AX Sustained Engineering: Internal account statement displays inconsistant information when reversing open transactions which have been exchange adjusted
Источник: 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
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.

Последний раз редактировалось Poleax; 18.05.2011 в 09:25. Причина: код