There is a problem with sales order lines…
Description:-somebody has deleted sales lines items even there is a sales order number for those sales lines which is already invoiced…even i checked in voided sales orders but that sales order is not present.
Please help me out on this kind of issue.
This is allowed. The AR parameter for the control of invoiced orders is not set to error. Deleting it is no issue, you should not be running any reports from these technically, and elements like the invoice journal are still there.
To mark the deleted order as voided the relevant parameter should be enabled - AR → parameter → Mark order as voided