add Currency Payment
public final Unit addCurrencyPayment(Integer number, String foreignPaymentName, Integer paidInForeignCurrency, Integer exchangeRate, Integer QAC, PaymentOrChange paymentOrChange, Integer foreignPaymentEquiv, PaymentSetOrAddOrSubtract paymentSetOrAddOrSub, String paymentName)
payment in foreign currency
Parameters
number
number of foreign currency payment
foreign Payment Name
currency name in ISO 4217 standard (3 characters) e.g. euro - EUR, polish złoty - PLN
paid In Foreign Currency
payment/change in foreign currency
exchange Rate
exchange rate; max. length is 6 digits after decimal separator
QAC
set the amount of digits after decimal separator, which are send to the printer in exchange rate
payment Or Change
set the operation type: payment or change
foreign Payment Equiv
value of the foreign currency in the base currency, can be null
payment Set Or Add Or Sub
if 'Set' then value of this number is set to paidInForeignCurrency; if 'Add' then paidInForeignCurrency is added to value of this currency number; if 'Sub' then paidInForeignCurrency is subtracted from value of this currency number, can be null
payment Name
name of payment