Показать сообщение отдельно
Старый 09.12.2009, 09:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,644 / 848 (80) +++++++
Регистрация: 28.10.2006
Dynamics AX Sustained Engineering: Incorrect posting profile used when cancelling a prepayment
Источник: http://blogs.technet.com/dynamicsaxs...repayment.aspx
==============

Prepayment reversal is posted using the default posting profile summary account and then eventually reversed to the prepayment posting profile summary account. When cancelling a payment unnecessary reversal transaction records are inserted in the CustTrans table. These transactions should be at least marked/checked in the ‘CancelledPayment’ column.



This fix is applied in \Classes\CustVendSettle_Cust\postingProfileSettle().



Change:



custVoucher.parmTransVoucher(_custVendTrans.Voucher);



custVoucher.parmVoucher(_custVendTrans.Voucher);

custVoucher.parmInvoiceId(_custVendTrans.Invoice);

custVoucher.parmPaymMode(_custVendTrans.PaymMode);

custVoucher.parmPaymSpec(_custVendTrans.PaymSpec);

custVoucher.parmFormLetter(_custVendTrans.Voucher);

To:

custVoucher.parmTransVoucher(_custVendTrans.Voucher);



cust.Voucher.parmCancelledPayment(true);

custVoucher.parmVoucher(_custVendTrans.Voucher);

custVoucher.parmInvoiceId(_custVendTrans.Invoice);

custVoucher.parmPaymMode(_custVendTrans.PaymMode);

custVoucher.parmPaymSpec(_custVendTrans.PaymSpec);

custVoucher.parmFormLetter(_custVendTrans.Voucher);







Источник: http://blogs.technet.com/dynamicsaxs...repayment.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.