addCurrencyPayment

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

foreignPaymentName

currency name in ISO 4217 standard (3 characters) e.g. euro - EUR, polish złoty - PLN

paidInForeignCurrency

payment/change in foreign currency

exchangeRate

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

paymentOrChange

set the operation type: payment or change

foreignPaymentEquiv

value of the foreign currency in the base currency, can be null

paymentSetOrAddOrSub

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

paymentName

name of payment