Hello,
I have a behavior I cannot to debug. Maybe you could point me out to the right direction please
I exten the standard class SalesPackingSlipDP for the stadard packing slip report.
In the method SalesPackingSlipDP.createSalesPackingSlip() it's passed userconnection to SalesPackingSlipDP.parmuserconnection()
protected SalesPackingSlipHeaderTmp createSalesPackingSlip()
{
if (!this.parmUserConnection() && SalesPackingSlipDPDBInteractionInUsrConnectionFlight::instance().isEnabled())
{
#OCCRetryCount
SalesPackingSlipHeaderTmp salesPackingSlipHeaderTmp;
try
{
uc = new UserConnection();
uc.ttsbegin();
this.parmUserConnection(uc);
salesPackingSlipHeaderTmp = this.createSalesPackingSlipHeader();
this.createSalesPackingSlipLines(salesPackingSlipHeaderTmp);
uc.ttscommit();
}
then they set transaction connection on the report tables like that, for instance in the method SalesPackingSlipDP.initializeSalesPackingSlipLine()
I do exctly the same for my custom report table
this.setTransactionConnection(myCustomTable);
then I fill up myCustomTable with records. Then I do update_recordset on the myCustomTable and it works fine, then I do another one update_recordset and it's suspended and AX freezes.
In the SQL activity monitor I see this
I
blockedby field points to this process
which doesn't give me a clue.
Is there any way to troubleshoot why the table is blocked during second update_recordset?
Thanks.