Hi Marmoud,
I ran Checklinks and it turns nothing. I ran this script and it works great.
select * from PM10200 where APTVCHNM = ‘xxxx’
Delete PM10200 where DEX_ROW_ID = 4940
select * from PM20100 where APTVCHNM = ‘xxxx’
Delete PM20100 where DEX_ROW_ID = 4937
update PM20000 set CURTRXAM = DOCAMNT where VENDORID = ‘xxxx' and VCHRNMBR = ‘xxxx’