Hi,
I have started getting deadlocks in one of my batch processed and have difficulties figuring out how to resolve it.
Deadlock graph and table structure is attached to the post.
For a start I dont understand why a pocess can have an active lock on a page and at the same time request what seems like an additional lock on the same page which cannot be granted.

I would be gratefull if anyone could point me in a direction :)
122883-ht-mainitemtable.txt
122838-rename-xml-to-xdl-before-opening-deadlock-modified.xml