It's down to the search criterion not pulling the required Credit Note data out.
WHERE bt.type = ".BT_CHEQUE."
AND bt.person_type_id = ".PT_SUPPLIER."
WHERE bt.type <> ".BT_CREDIT."
AND bt.person_type_id <> ".PT_CUSTOMER."
WHERE bt.type = ".BT_CHEQUE."
AND bt.person_type_id = ".PT_CUSTOMER."
WHERE bt.type = ".BT_CREDIT."
AND bt.person_type_id <> ".PT_SUPPLIER."
These are in the cash basis tax report module and don't work - When the credit note is entered bt.type is set to BT_CREDIT and bt.person_type.id is set to PT_SUPPLIER
Question is (hoping to save time with further working out etc)
Can anyone who knows the inner workings well advise on a search criterion that will pull the Credit Notes out without pulling out other unwanted data? ie - if I just set the criterion to pull the bt.type= BT_CREDIT and bt.person_type.id = PT_SUPPLIER, I assume I will get all the unwanted credit data too!
I entered the credit note via Bank Deposit in banking & GL screen as payment into checking account and it notes the bt.type as BT_CREDIT is that right? it's not a credit control account?
Thanks