Topic: Customer Credit on Sales Order not accounting Journals or Bank Payment
function 'get_customer_details' in '/sales/includes/db/customers_db.inc/'
is not counting type ST_JOURNAL or ST_BANKPAYMENT in the calculation for credit for sales orders giving a different result in customer_inquiry balance.