Topic: DATABASE ERROR
We are testing FA....we have entered several customer invoices. I am trying to print them at the Reports and Analysis / Invoice/Credit Notes.
It gives me an error concerning invoice #1, but if I start at #2, all is well. I am trying to now find somewhere to look at the invoice to see what I did wrong, but it won't allow me to look at it....what can I do?
Here is the error:
DATABASE ERROR : no debtor trans found for given params
sql that failed was : SELECT trans.*,ov_amount+ov_gst+ov_freight+ov_freight_tax+ov_discount AS Total,cust.name AS DebtorName, cust.address, cust.curr_code, cust.tax_id , 0_shippers.shipper_name, 0_sales_types.sales_type, 0_sales_types.tax_included, branch.*, cust.discount, 0_tax_groups.name AS tax_group_name, 0_tax_groups.id AS tax_group_id FROM 0_debtor_trans trans, 0_debtors_master cust, 0_shippers, 0_sales_types, 0_cust_branch branch, 0_tax_groups WHERE trans.trans_no='1' AND trans.type='10' AND trans.debtor_no=cust.debtor_no AND 0_shippers.shipper_id=trans.ship_via AND 0_sales_types.id = trans.tpe AND branch.branch_code = trans.branch_code AND branch.tax_group_id = 0_tax_groups.id
How can I delete/edit/modify this invoice if I can't pull it up?