find_arap_outofbalance
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
find_arap_outofbalance [2016/04/20 09:49] – created sweitmann | find_arap_outofbalance [2024/09/25 06:21] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
In earlier RMA versions of SQL-Ledger sometimes exchange rate differences were not booked correctly on the debitor and creditor control accounts, but ended up on the exchange rate difference account instead. This would lead to different results in the P+L versus the results in the Balance Sheet. | In earlier RMA versions of SQL-Ledger sometimes exchange rate differences were not booked correctly on the debitor and creditor control accounts, but ended up on the exchange rate difference account instead. This would lead to different results in the P+L versus the results in the Balance Sheet. | ||
- | The following query will help you identify such transactions: | + | The following query will help you identify such AR transactions: |
- | SELECT transdate, invnumber, | + | SELECT transdate, |
- | | + | id FROM chart WHERE link LIKE ' |
- | chart WHERE category=' | + | trans_id=ar.id AND chart_id IN (SELECT id FROM chart WHERE category=' |
+ | FROM acc_trans WHERE trans_id = ar.id AND chart_id IN (SELECT id FROM chart WHERE category=' | ||
+ | payment | ||
+ | | ||
+ | |||
+ | And the following query will help you identify such AP transactions: | ||
+ | |||
+ | | ||
+ | FROM chart WHERE link LIKE ' | ||
+ | trans_id=ap.id AND chart_id IN (SELECT id FROM chart WHERE category=' | ||
+ | FROM acc_trans WHERE trans_id = ap.id AND chart_id IN (SELECT id FROM chart WHERE category=' | ||
+ | payment FROM ap WHERE transdate BETWEEN ' | ||
+ | acc_trans WHERE ABS(amount) = 0.01 AND chart_id IN (SELECT id FROM chart WHERE category=' | ||
| | ||
You may need to adjust the dates and amounts to fit your individual search. | You may need to adjust the dates and amounts to fit your individual search. |
find_arap_outofbalance.1461145794.txt.gz · Last modified: 2024/09/25 06:19 (external edit)