project QadFinancials > class BDInvoice > method DefaultValuesTaxPointDate
Description
Called from UI when the Tax point date changes
Parameters
icCurrencyCode | input | character | |
itDInvoicePostingDate | input | date | |
icOwnVatCurrencyCode | input | character | |
itDInvoiceTaxPointDate | input | date | |
odDInvoiceExchangeRate | output | decimal | |
odDInvoiceRateScale | output | decimal | |
odDInvoiceVatExchangeRate | output | decimal | |
odDInvoiceVatRateScale | output | decimal | |
oiReturnStatus | output | integer | Return status of the method. |
Internal usage
unused
program code (program3/bdinvoice.p)
if itDInvoicePostingDate = ? or itDInvoiceTaxPointDate = ?
then return.
<M-56 run DefaultValuesCurrency
(input icCurrencyCode (icCurrencyCode),
input ? (iiCurrencyId),
input itDInvoicePostingDate (itDInvoicePostingDate),
input icOwnVatCurrencyCode (icOwnVatCurrencyCode),
input itDInvoiceTaxPointDate (itDInvoiceTaxPointDate),
output odDInvoiceExchangeRate (odDInvoiceExchangeRate),
output odDInvoiceRateScale (odDInvoiceRateScale),
output odDInvoiceVatExchangeRate (odDInvoiceVatExchangeRate),
output odDInvoiceVatRateScale (odDInvoiceVatRateScale),
output viFcReturnSuper (oiReturnStatus)) in BDInvoice>
if viFcReturnSuper < 0 or (viFcReturnSuper > 0 and oiReturnStatus = 0)
then assign oiReturnStatus = viFcReturnSuper.
if viFcReturnSuper < 0
then return.