Hi.
In fact there is no solution for this.
You have to maintain the dua number manually or you can also fullfill the reference doc number with the dua code.
The problem for that is that this field doesnt appear reflected in the program RFIDESM340 so it doesnt solve the problem.
Bye