AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 15.08.2007, 12:50   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
daxmy: Transaction Reorganizing
Источник: http://daxmy.blogspot.com/2007/07/tr...rganizing.html
==============

Recently I have working on one interesting standard bug in AX 4.0 SP1. As far as I concerned, no hot fixes available for the particular bug description.

Below is the link for all hot fixes (requires PartnerSource logon)

Hot fixes List

How to reproduce the scenario:
  1. Create an open AP payment journal and select any one voucher as settlement.
  2. Go to Vendor form and click on “Open Transaction Editing” button, and select another voucher for transaction reorganizing. Now you will see “red hand” exist for previous open settlement record.
  3. Click on Transaction Reorganizing button, you will notice Amount Currency was wrong. It was calculated based on all open settlement records (included previous AP payment journal amount).
  4. Try to fill in the grid. Let’s said you will use percent as parameter. Add 2 lines each will denote 50% of Amount Currency.
  5. Click on Accept button and system freeze.
It is applicable to Vendor and Customer.

How to resolve:
  1. Open your VendOpenTrans Form, and look in “\Forms\VendOpenTrans\Designs\Design\[ButtonGroup:ButtonGroup]\ Button:CustVendTransReorgButton\Methods\Clicked” method.
  2. Modified code as below. Save and compile. Done.
Current Code:

while select vendTransOpenLocal
where vendTransOpenLocal.AccountNum == vendTrans.AccountNum
join specTransLocal
where specTransLocal.RefTableId == vendTransOpenLocal.TableId
&& specTransLocal.RefRecId == vendTransOpenLocal.RecId
{
amountCurLocal += vendTransOpenLocal.AmountCur;
}

New Code:

while select vendTransOpenLocal where vendTransOpenLocal.AccountNum == vendTrans.AccountNum join specTransLocal where specTransLocal.RefTableId == vendTransOpenLocal.TableId && specTransLocal.RefRecId == vendTransOpenLocal.RecId
&& specTransLocal.SpecTableId == common.TableId //source tableid
&& specTransLocal.SpecRecId == common.RecId //source recid
{ amountCurLocal += vendTransOpenLocal.AmountCur; }


Updated on 25 July 2007: I just received june 2007 hot fixes and the bug was fixed.


Источник: http://daxmy.blogspot.com/2007/07/tr...rganizing.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Inside Dynamics AX 4.0: Transaction Semantics Blog bot DAX Blogs 0 31.10.2007 23:40
daxmy: Transfer Orders - Missing Remaining Shipping Quantity Blog bot DAX Blogs 0 31.10.2007 17:40
daxmy: Tips: Enable company/user template when created new form with new table Blog bot DAX Blogs 2 18.10.2007 11:38
daxmy: Transfer Orders - "Receive Remain" show weird value after multiple shipments and received Blog bot DAX Blogs 0 06.09.2007 20:41
daxmy: AOT Find function Blog bot DAX Blogs 0 17.08.2007 01:23

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 21:44.