Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

HcmPositionDetail table delete after applying AX 2012 Feature Pack

$
0
0

Long time reader, first time poster

Earlier this week we reinstalled AX 2012 in our development environment with the 2/1/2012 Feature Pack release. Kernel version: 6.0.1108.403, Application version: 6.0.947.280

Now whenever I attempt to delete a row from the HcmPositionDetail table, I get the following sequence of infolog events:

ErrorMessage (03:12:24 pm)The value that you are trying to add or subtract creates an invalid utcdatetime.
ErrorMessage (03:12:24 pm)Cannot delete a record in Position details (HcmPositionDetail). Delete must be performed inside a transaction.
InfoMessage (03:12:24 pm)(S)\Classes\xRecord\Delete
(S)\Data Dictionary\Tables\HcmPositionDetail\Methods\Delete - line 12
(S)\Classes\xRecord\Delete
(S)\Data Dictionary\Tables\HcmPosition\Methods\Delete - line 29
(S)\Classes\xRecord\dbOpInTransaction
(C)\Classes\FormDataSource\delete
(C)\Classes\FormRun\task
(C)\Classes\SysSetupFormRun\task - line 20
InfoMessage (03:12:24 pm)Delete must be performed inside a transaction. [W-0123]

 Note that line 12 of the delete method on HcmPositionDetail is a call to super();. I've tried surrounding super() with calls to ttsbegin and ttscommit, but that throws a different error (ttscommit can't be called before ttsbegin).

Is anybody else seeing this? I have some customizations in the USR layer to HcmPositionDetail, but even after I removed them I still can't seem to delete rows. The only workaround I've found so far is to delete the applicable row(s) via SQL, but that's hardly a sustainable solution. Is this a known issue? Any ideas?

Thanks, Steven


Viewing all articles
Browse latest Browse all 72043

Trending Articles