Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

!!! Při výpočte splátkového kalendáře systém kontroluje vyplnění všech účto skupin v splátkových kalendářích služeb, pojištění, zákazníka (celkový splátkový kalendář). V případě, ak by chyběla účtoskupina, systém nevypočítá splátkový kalendář, zobrazí Uživatelovi hlášku při aktivaci smlouvy příp. výpočte splátkového kalendáře. Ak by kombinace účto skupin pro výpočet DPH nebyla v Nastavení účtovaní DPH, systém nezaúčtuje fakturu, zobrazí Uživatelovi hlášku.

Při účtovaní jednotlivé splátky přímo ze řádku splátkového kalendáře uživatel označí řádek a spustí funkci Účtovat (Post).

Po spuštění funkce Účtovat (Post) systém:

Pokud je příznak smlouvy Financing with Services=Y

 systém zkontroluje Payments Billing Method (4026635) v tabulce Customer (18) následně bude postupovat podle této hodnoty:

...

Samostatně za smlouvu (Separately for Contract)

  • Uživateli se nezobrazí dialogové okno na změnu Zúčtovacího datumu (Posting Date) a DPH Datumu (VAT Date)

...

When calculating the payment schedule, the system checks the completion of all posting groups in the payment calendars for services, insurance, and customer (total payment calendar). If there is no posting group, the system will not calculate the payment schedule, it will display a message to the User when activating the contract or calculating the payment schedule. If the combination of posting groups for VAT calculation is not in the VAT posting setup, the system will not post the invoice, it will display a message to the User.

When posting an individual payment directly from a payment calendar line, the user marks the line and runs the Post function.

After you run the Post function, the system:

  • If the contract flag is Financing with Services=Y

    •  The system checks the Payments Billing Method (4026635) in the Customer table (18) and then proceeds according to this value:

  • Zúčtovací datum (Posting Date) - z dialogového okna

  • Datum DPH ( VAT Date) - z dialogového okna

  • Datum splatnosti (Due Date):

    • podle hodnoty Payments Billing Method (4026635) na zákazníkovi
      • Separately for Contract

        • The user does not see a dialog window to change the Posting Date and VAT Date

      • Other values (Collectively for Contract, Collectively for Customer, Collectively for Customer Business Places, Collectively for Customer and Calc.Type, Collectively for Framework Agreement), systém po spuštění funkce zobrazí dialogové okno s poli:

        • Zúčtovací datum (Posting Date)

          • defaultně plnit workdatem systému, uživatel může ručně změnit

        • Datum DPH ( VAT Date)

          • defaultně plnit workdatem systému, uživatel může ručně změnit

Nastavení na zákazníkovi: pole Způsob fakturace splátek = Hromadně za zákazníka

Zobrazení dialogového okna:

image-20240621-193337.pngImage Removed

Po potvrzení, systém provede další kontrolu:

  • Zda je absolutní hodnota pole „Částka“ <= než hodnota pole „Tolerance pro tvorbu dokladu z SPK (LM)“ z „Nastavení Onecore“ (pokud je smlouva v jiné měně než lokální, pak systém přepočítá hodnotu pole „Tolerance pro tvorbu dokladu z SPK (LM)“ z „Nastavení Onecore“ dle aktuálního kurzu k systémovému datu)

    • Pokud ANO, pak systém zobrazí dotaz:

      image-20240621-193430.pngImage Removed
      • Výchozí hodnota je uvedena dle aktuální hodnoty pole „Částka“, pokud je „Částka“ >= 0 pak zaškrtne Faktura, jinak Dobropis (tvorba dobropisu je popsána v kapitole Účtovaní dobropisu se splátkového kalendáře).

      • Uživatel může změnitPo potvrzení systém tvoří doklad dle aktuální funkcionality. Pokud by tvořil zaúčtovaný doklad a zobrazila se chyba na částku dokladu, pak uživatel spustí opětovně účtování a volí druhý typ dokladu

      • Pokračuje dál

    • Pokud NE, úloha pokračuje dál

 

Systém vytvoří doklad, na který přepíše datumy z prvního dialogového okna  - do prodejní faktury (v případě záporného RS řádku aj dobropisu  – popis v kapitole Účtovaní dobropisu se splátkového kalendáře) a to následovně:

      • the system displays a dialog box with fields when the function runs:

        • Posting Date

          • By default, fill the Workdate system, the user can manually change the

        • VAT Date

          • By default, fill the Workdate system, the user can manually change the

Customer-facing settings: field Payment Billing Method = Collectively per customer

To display a dialog box:

image-20240621-193337.pngImage Added

After confirmation, the system performs another check:

  • Whether the absolute value of the "Amount" field is <= than the value of the field "Tolerance for creating a document from SP (LCY)" from "Onecore settings" (if the contract is in a currency other than the local currency, then the system will recalculate the value of the field "Tolerance for creating a document from SP (LCY)" from "Onecore setup" according to the current exchange rate as of the system date)

    • If YES, then the system will ask:

      image-20240621-193430.pngImage Added
      • The default value is given according to the current value of the "Amount" field, if "Amount" is >= 0 then Invoice is checked, otherwise Credit note (the creation of a credit note is described in chapter Posting a Credit Memo from a Payment Calendar).

      • User can changeAfter confirmation, the system creates a document according to the current functionality. If it creates a posted document and an error is displayed on the amount of the document, then the user starts posting again and selects the second type of document

      • Goes on

    • If NO, the job continues

 

The system creates a document to which it overwrites the dates from the first dialog window - into the sales invoice (in the case of a negative RS line and credit note - description in the chapter Posting a credit memo from a payment calendar) as follows:

  • Posting Date - from the dialog box

  • VAT Date - from the dialog window

  • Due Date:

    • according to the value of Payments Billing Method (4026635) on Customer (18):

      • Collectively for Contract, Collectively for Customer, Collectively for Customer Business Places, Collectively for Customer and Calc.Type

        • vypočítá calculates Due Date=Posting Date + počet dní podle kódu platební podmínky ze zákazníka z pole  the number of days per payment terms code from the customer from the Payment Terms Code §  (stejně jako v hromadné úloze § field (same as in the Post Financing Payment with Services mass job).

      • Collectively for Framework Agreement

        • vypočítá calculates Due Date=Posting Date + počet dní podle kódu platební podmínky z number of days according to the payment terms code from API Master Agreement (4026497) z pole from the Payment Terms Code (190, Code) field. Číslo Master Agreementu zjistí z hlavičky smlouvy o financovaní pole The Master Agreement number is found in the header of the financing contract in the Master Agreement No. (4026670) z field from the API Financing Contract Header (4026397).

 

Po zaúčtovaní prodejní faktury (dobropisu) systém přepíše datumy (Zúčtovací datum, Datum DPH a Datum splatnosti) do splátkového kalendáře pro danou splátku.

V hlavičce faktury se dále plní pole:

...

Typ tisku faktury = Payment

...

Contract Kód = Smlouva, z který se fakturuje

...

DPH účtoskupina = Z karty smlouvy

...

When a sales invoice (credit memo) is posted, the system overwrites the dates (Posting Date, VAT Date, and Due Date) into the payment calendar for that payment.

In the header of the invoice, the following fields are also filled in:

  • Invoice Print Type = Payment

  • Contract Code = Contract to be invoiced from

  • VAT Posting Group = From Contract Card

  • Customer Posting Group = From Contract Card