update_fxpaid
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
update_fxpaid [2016/10/04 08:14] – sweitmann | update_fxpaid [2024/09/25 06:21] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | | ||
- | | ||
- | | + | SELECT invnumber, amount, paid, fxamount, fxpaid FROM ap WHERE amount=paid AND fxamount <> |
- | | + | |
- | link LIKE '%IC_income%' OR link LIKE ' | + | |
+ | UPDATE | ||
+ | | ||
+ | link LIKE '%IC_expense%' OR link LIKE ' | ||
NOT fx_transaction); | NOT fx_transaction); | ||
- | | + | UPDATE ap SET fxpaid = paid WHERE fxpaid is NULL; |
+ | |||
+ | UPDATE ar SET fxpaid = paid WHERE fxpaid is NULL; | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | |||
+ | | ||
+ | | ||
+ | |||
+ | | ||
| | ||
- | | + | |
+ | |||
+ | | ||
+ | |||
+ | | ||
+ |
update_fxpaid.1475568848.txt.gz · Last modified: 2024/09/25 06:19 (external edit)