Parameters
iiFromCurrencyId | input | integer | |
icFromCurrencyCode | input | character | |
iiToCurrencyId | input | integer | |
icToCurrencyCode | input | character | |
iiExchangeRateTypeId | input | integer | |
icExchangeRateTypeCode | input | character | |
ilisCustomer | input | logical | |
itInvoiceDate | input | date | |
itPostingDate | input | date | |
icInvoiceType | input | character | |
odExchangeRate | output | decimal | |
odExchangeRateScale | output | decimal | |
oiReturnStatus | output | integer | Return status of the method. |
Internal usage
QadFinancials
program code (program1/bopenitemadjustment.p)
/* Get the correct Exchange Rate Date to use for the Open Item*/
<M-65 run GetExchangeRateDateToUse
(input ilisCustomer (ilisCustomer),
input itPostingDate (itPostingDate),
input itInvoiceDate (itInvoiceDate),
input icInvoiceType (icInvoiceType),
output vtExchangeRateDate (otExchangeRateDate),
output viFcReturnSuper (oiReturnStatus)) in BOpenItemAdjustment>
<M-19 run GetExchangeRate
(input ? (iiCompanyID),
input iiFromCurrencyId (iiFromCurrencyID),
input icFromCurrencyCode (icFromCurrencyCode),
input iiToCurrencyId (iiToCurrencyID),
input icToCurrencyCode (icToCurrencyCode),
input iiExchangeRateTypeId (iiExchangeRateTypeID),
input icExchangeRateTypeCode (icExchangeRateTypeCode),
input vtExchangeRateDate (itValidityDate),
output odExchangeRate (odExchangeRate),
output odExchangeRateScale (odExchangeScaleFactor),
output oiReturnStatus (oiReturnStatus)) in BOpenItemAdjustment>