can not make invoices anymore

please can someone tell me wat i can do on this error tracking specification entry no 1 already exists it happenes when i try to post an invoice thanks cor

sorry I found it myself in table 337 was the serienumber already present without a ordernumber I deleted the lines now it works how it is possible that this happenes i dont know yet thsnks anyway cor