After many attempts trying to use GP's next voucher number, and much frustration, I would strongly, strongly recommend maintaining your own next doc number table. I made 3 attempts at using the PM40100 table to get the next voucher number. Each time it appeared to work, but what I found is that in...