You have T0.DocNum = {?DocKey@}, but the DocKey@ token reflects the current document's DocEntry. Change it to T0.DocEntry = {?DocKey@} and it should then work as you're expecting.
↧
You have T0.DocNum = {?DocKey@}, but the DocKey@ token reflects the current document's DocEntry. Change it to T0.DocEntry = {?DocKey@} and it should then work as you're expecting.