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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 04.07.2013, 08:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,486 / 846 (79) +++++++
Регистрация: 28.10.2006
Dynamics AX Sustained Engineering: Update conflict error thrown when an Intercompany Purchase Order is invoiced
Источник: http://blogs.technet.com/b/dynamicsa...-invoiced.aspx
==============

ISSUE: When an Intercompany Purchase Order is invoiced, “Cannot edit a record in Purchase order lines (PurchLine). An update conflict occurred due to another user process deleting the record or changing one or more fields in the record.” error thrown.



RECOMMENDATION: In \DataDictionary\Tables\CustInvoiceJour\Methods\interCompanyUpdate, reread method should be called first to make sure that PurchLine table buffer uses its latest versionId

while select forupdate purchLine

where purchLine.PurchId == interCompanyPurchId

&& !purchLine.IsDeleted

{

purchLine.reread();

if
(inventTransIdMap.exists(purchLine.InventTransId))

{

purchLine.PurchReceivedNow =
inventTransIdMap.lookup(purchLine.InventTransId);

}



Similar function used in \Classes\SysCodeProfilerCleanUp\delete.




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

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Dynamics AX Sustained Engineering: Announcing Cumulative Update 6 for Microsoft Dynamics AX 2012 R2 Blog bot DAX Blogs 0 28.06.2013 21:12
Cumulative Update 1 for Microsoft Dynamics AX 2012 R2 Vadik DAX: База знаний и проекты 2 02.03.2013 10:14
Dynamics AX Sustained Engineering: Dynamics AX Compatibility with SQL Server 2008 Blog bot DAX Blogs 1 02.11.2012 00:11
Dynamics AX Sustained Engineering: POS Transaction with Sales Order that nets to $0.00 posting failure in statement Blog bot DAX Blogs 0 06.01.2011 20:16
DynamicsAxSCM: Sales and purchase prices in relation to the item price setup in Microsoft Dynamics AX 2009 Blog bot DAX Blogs 0 11.02.2010 09:05

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

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

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 20:13.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.