* The late charge (+) has a positive rate.
* The early discount (-) has a negative rate.
- To calculate the early discounts/late charges, see the Early discount/late charge documentation.
The COURS entry point is used to modify the standard rate initialized on document entry (entries and invoices).
There is usually no transaction in progress.
There is usually no open log file.
Variables | Definition |
Value Char DEVORG | Original currency |
Value Char SITE | Site |
Value Title TYPCUR | Exchange rate type |
Value Date DAT | Exchange rate date |
Variable decimal COURS | Exchange rate |
Variable Integer SPSTAT | Return status |
The following tables remain open:
- COMPANY [CPY] (companies)
- FACILITY [FCY] (sites)
- TABCUR [TCU] (currencies)
The other open tables are dependent on the calling programme.