Run Time error 9

SOLVED

Good day

Everytime when I link a order to an invoice I gets  Run Time Error 9 "Subscript out of Range" error. Please advice on this.