Versions Compared

Key

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

Uživatel může vykonat tisk dokumentů z přehledu smluv (pokud označí více smluv, ke každé se vytiskne vybraný dokument) anebo z karty smlouvy – volba Sestavy/Tisk dokumentů.

Obdobně je možné tisknout i z přehledu předmětů (i s onačením více předmětů) anebo z karty předmětu.

Tlačítko Tisk dokumentů umožnuje vygenerování tiskového výstupu ze smlouvy ze šablon dokumentu, které jsou nadefinovány v tabulce Definice tiskových výstupů (Printout definition). Výstup může být ve formátu doc, xls anebo pdf. Po stisknutí systém vykoná:

  • Otevře zafiltrovány přehled tiskových výstupů (zafiltrovány seznam tiskových výstupů z tabulky Definice tiskových výstupů, na které):

    • uživatel má přiděleno oprávnění (viz PD na Business Nastavění) a

    • mají nastaveno ID tabulky=4026397

    • splňují filtry nastaveny v Definici tiskových výstupů vůči datum z dané leasingové smlouvy a předmětu:

    • Pole ze smlouvy:

      • Pokud se funkce spouští ze smlouvy, jede přímo přes číslo smlouvy

      • Pokud se funkce spouští z předmětu, nejprve z předmětu zjistí číslo smlouvy a pak jede na smlouvu

      • Jsou to pole:

        • Customer No. – stejné jako v smlouvě anebo prázdní

        • Financing Product Type Filter – musí mít Financing Product Type ze smlouvy anebo prázdní

        • Financing Product Filter - musí mít Financing Product Type ze smlouvy anebo prázdní

        • Detailed Contract Status Filter - musí mít Detailed Contract Status ze smlouvy anebo prázdní

        • Language Code – musí mít Language Code (4047130) se smlouvy anebo prázdní

    • Pole z předmětu:

      • Pokud se funkce spouští z předmětu, jede přímo přes číslo předmětu

      • Pokud se funkce spouští ze smlouvy, nejprve ze smlouvy zjistí číslo prvního předmětu a pak jede na předmět

      • Jsou to pole:

        • Object Category – All anebo jako na předmětu+1

        • Group – stejné jako na předmětu anebo prázdní

        • Used Financed Object – All anebo stejné jako na předmětu (pozor a předmětu je to příznak)

    • Pole z pojištění, resp. další pole nefiltruje.

Uživatel pak označí tiskový výstup, který chce vytisknout (Vybrat=A) a pokud chce vybrat i formát, případně jiné parametry, tak na daném dokumentu nastaví i Zadání parametrů=A potvrdí tlačítko Ok. Pokud bylo nastaveno i Zadání parametrů=A, systém po potvrzení vykoná kontrolu uživatele, jestli má v Nastavení uživatelů povolen Povolit tisk do XLS/DOC=A:

  • Pokud uživatel má Povolit tisk do XLS/DOC=N – systém zobrazí chybovou hlášku a nedovolí pokračovat v tisku:

    image-20240618-112708.pngImage Removed
  • Pokud uživatel má Povolit tisk do XLS/DOC=A, systém pokračuje na další krok.

  • Pokud na daném dokumentu je v Printout Definition zapnutý příznak Check Colour=Y, OC vykoná kontrolu, jestli na předmětu dané smlouvy je pole Colour Code (20025) neprázdné:

    • Pokud je prázdné, zobrazí chybovou hlášku a nedovolí pokračovat dál:

      image-20240618-112731.pngImage Removed
    • Pokud je neprázdné pokračuje dál.

  • Pokud na daném dokumentu je v Printout Definition zapnutý příznak Check Interior Colour=Y, OC vykoná kontrolu, jestli na předmětu dané smlouvy je pole Interior Colour (247) neprázdné:

    • Pokud je prázdné, zobrazí chybovou hlášku a nedovolí pokračovat dál:

      image-20240618-112756.pngImage Removed
    • Pokud je neprázdné pokračuje dál.

  • systém otevře standardní dialogové okno na zadání dalších parametrů:

    image-20240618-112834.pngImage Removed
  • Ve filtry pole Číslo je číslo leasingové smlouvy odkud se tisk spouští

Funkce:

...

Odeslat do…

  • Umožní uživateli vybrat formát výstupu (pozn. šablona daného výstupu musí umožnit tyto výstupné formáty, pokud ne, operace se nemusí dokončit):

    image-20240618-112905.pngImage Removed

...

Tisk

  • Otevře vygenerovaný tiskový výstup v prohlížeči odkud může uživatel daný výstup vytisknout.

...

Náhled

  • Otevře vygenerovaný dokument v standardním náhledu v prohlížeči odkud může uživatel daný výstup vytisknout.

Storno

...

The user can print documents from the list of contracts (if he selects multiple contracts, the selected document is printed for each) or from the contract card – option Reports/Print Documents.

Similarly, it is possible to print from the list of courses (even with multiple items) or from the course card.

Button Print Documents allows you to generate a contract printout from document templates that are defined in the Printout definition table. The output can be in doc, xls or pdf format. When pressed, the system executes:

  • Opens the filtered list of printouts (filtered list of printouts from the Printout Definition table on which):

    • the user has been assigned permissions (see PD on Business Settings) and

    • table ID is set=4026397

    • meet the filters set in the Printout Definition against the dates of the given leasing contract and object:

    • Fields from Contract:

      • If the function is launched from a contract, it goes directly through the contract number

      • If the function is run from a subject, it first detects the contract number from the subject and then goes to the contract

      • These are the fields:

        • Customer No. – same as in the contract or empty

        • Financing Product Type Filter – must have the Financing Product Type from the contract or empty

        • Financing Product Filter - must have Financing Product Type from the contract or empty

        • Detailed Contract Status Filter - must have Detailed Contract Status from the contract or empty

        • Language Code – must have a Language Code (4047130) with a contract or empty

    • Fields from the subject:

      • If the function is run from an object, it goes directly through the object number

      • If the function is run from a contract, it first detects the number of the first object from the contract and then goes to the object

      • These are the fields:

        • Object Category – All or as on Item+1

        • Group – same as on the object or empty

        • Used Financed Object – All or the same as on the object (note that the object is a flag)

    • It does not filter fields from insurance or other fields.

The user then selects the printout he wants to print (Select=A) and if he wants to select the format or other parameters, he also sets the Parameter input=And confirms the Ok button on the given document. If Parameter input=A has been set, the system will check the user after confirmation whether Enable printing to XLS/DOC=A is enabled in User Settings:

  • If the user has Enable printing to XLS/DOC=N – the system displays an error message and does not allow printing to continue:

    image-20240618-112708.pngImage Added
  • If the user has Enable printing to XLS/DOC=A, the system proceeds to the next step.

  • If the Check Colour=Y flag is enabled in the Printout Definition on a given document, the OC will check if the Colour Code (20025) field is not empty on the subject of the contract:

    • If it is empty, it will display an error message and will not allow you to continue:

      image-20240618-112731.pngImage Added
    • If it is not empty, it continues.

  • If the Check Interior Colour=Y flag is enabled in the Printout Definition on a given document, the OC will check if the Interior Colour field (247) is not empty on the subject of the contract:

    • If it is empty, it will display an error message and will not allow you to continue:

      image-20240618-112756.pngImage Added
    • If it is not empty, it continues.

  • The system will open a standard dialog window to specify additional parameters:

    image-20240618-112834.pngImage Added
  • In the filters field, Number is the number of the leasing agreement from where the print is started

Function:

  • Send to...

    • Allows the user to select the output format (note: the template of the output must allow these output formats, if not, the operation may not complete):

      image-20240618-112905.pngImage Added
  • Press

    • Opens the generated printout in a browser from where the user can print the output.

  • Preview

    • Opens the generated document in a standard browser preview from where the user can print the output.

  • Cancellation

    • Reverse an operation