Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Automatically translated by Lango

Codeunit 7026398, funkce Calculation APR

Výpočet RPSN probíhá vždy nezávisle na typu financování, osobě smlouvy nebo jiným parametrům v případě, ze na hlavičce smlouvy je vyplněn příznak Kalkulovat RPSN (Calculate APR) = Ano.

Princip výpočtu je iterativní výpočet hledání úrokové sazby v %, kdy diskontovaná částka cash flow z temp tabulky se shoduje se vstupní cenou podle vzorce:

...

The APR is always calculated independently of the type of financing, the person of the contract or other parameters if the Calculate APR = Yes flag is filled in on the contract header.

The principle of the calculation is an iterative calculation of finding the interest rate in %, where the discounted amount of cash flow from the temp table matches the input price according to the formula:

  • Input Price = SUM(Amount Amount / (1+ (iterovaný úrok Iterated Interest % / 100))počet dnůNumber of Days/365,.25

KdeWhere:

  • Počet dnů je (Datum splatnosti splátky - Datum předání předmětu)

  • Vstupní cena = pro úvěr suma(Financovaná hodnota (Financed Amount) ( z KV pro Do pořízení = Ano, Do kalkulace = Ano)

  • Pro ostatní typy financování suma(Částka základu z KV pro Do pořízení = Ano, Do kalkulace = Ano)

Do cash flow jsou započteny (pozn. Leasing s dodáním zboží není ve OneCore aplikován):

...

Částka cash flow

...

Rozhodné datum

...

  • Number of Days is (Payment Due Date - Object Handover Date)

  • Input Price = for Loan Sum(Financed Amount) ( from CI for To Acquisition = Yes, To Calculation = Yes)

  • For other types of financing, sum(Base amount from CI for To Acquisition = Yes, To Calculation = Yes)

The following are included in the cash flow (note: Leasing with delivery of goods is not applied in OneCore):

Cash Flow Amount

Decisive date

Note

Line.Amount - Liability Insurance Amount - Crash Insurance Amount - Other Insurance Amount - Amount VAT Insurance

Line.Due Date

 

Insurance Client Cal.Amount + VAT Amount u pojistek, kde for policies where InsProduct." Included in APR"=Ano a na pojistce Yes and Include In Payments = Ano a stav Yes and Status <=AktivníActive

Line.Due Date

 U

Leasingu s dodáním zboží se nepřičítá VAT AmountFor Leasing with delivery of goods, the VAT Amount is not added

 

Initial Fee (Vstupní poplatek z The initial fee from the ContractHeader." Initial Fee")

Handover DatePřičítá

se DPH k poplatku (podle nastaveníVAT is added to the fee (depending on the

Closing Fee (poplatek na konci -  z Fee at the end - from Gen. Terms and Conditions. Contract Finish Cost Amount

ContractHeader." Expected Termination Date"

Přičítá se DPH k poplatku (podle nastaveníVAT is added to the fee (depending on the setting)

 

 Model

výpočtu je uveden zdeThe calculation model is shown here:

View file
nameOC_vzor_vypocet RPSN_KK.xlsx

...