Error when creating transactions

I’m being given an ‘Invalide reference’ error when i try either: creating a sales order line creating a urchase porder line creating an inventory journal line it worked before importing a database (with system tables also) I know the problem comes from there but, 1.where is the problem? 2.How can I solve it? Can anyone help!!

Hi, Looks like there could be some problem with number sequence. Do check number sequence for sales/purchase order & inventory journal. Hope this helps, Harish Mohanbabu

Hi guys, thanks for the interest. In the end, some problem with the imported data (with system tables also) has corrupted the consistency. Solution: Exporting the database without transaccions (the 3 right hand ticks) and create a new company where to import and create transactions from scratch.