Topic: Seem to have added a payment with no GL transactions
Hi,
Somehow our admin has added a payment which has no GL transactions.
If I find the transaction in the 'Customer Transactions' report it shows a debit of 0.00.
If I click on the book icon (GL) I get:
'No general ledger transactions have been created for Customer Payment number 5'
If I click on the transaction number I get:
'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 ,bank_act,0_bank_accounts.bank_name, 0_bank_accounts.bank_account_name, 0_bank_accounts.account_type AS BankTransType FROM 0_debtor_trans trans LEFT JOIN 0_comments com ON trans.type=com.type AND trans.trans_no=com.id LEFT JOIN 0_shippers ON 0_shippers.shipper_id=trans.ship_via, 0_debtors_master cust, 0_bank_trans, 0_bank_accounts WHERE trans.trans_no='5' AND trans.type='12' AND trans.debtor_no=cust.debtor_no AND 0_bank_trans.trans_no ='5' AND 0_bank_trans.type=12 AND 0_bank_trans.amount != 0 AND 0_bank_accounts.id=0_bank_trans.bank_act '
It looks to me like a payment record has been added but no GL transactions created.
This doesn't look like it's causing any issues - but I would like it removed.
Is there a safe way to remove it - I've looked under 'Void Transaction' but it does not get listed.
Thanks,
Kevin B