Versions Compared

Key

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

...

Customer Number and Card Type on the fuel card (Customer Number and Card Type)

Důležitým údajem pro objednávku tankovací karty je Zákaznické číslo a Typ TK.

Tyto údaje je třeba zadat na tankovací kartu před objednáním.

Vytvořená objednávka je vždy na jedno zákaznické číslo. Pokud je třeba hromadně objednat více zákaznických čísel, systém vytváří více objednávek.

...

Important information for ordering a fuel card is the Customer Number and TK Type.

These details must be entered on the fuel card before ordering.

A created order is always for one customer number. If multiple customer numbers need to be ordered in bulk, the system creates multiple orders.

Printout Definition – Order Attachments

...

Pro vytvoření a odeslání objednávky tankovací karty lze využít Definice tiskových výstupů, která je podrobně popsána v Nastavení Business

...

To create and send a fuel card order, you can use the Printout Definition, which is described in detail in Nastavení Business

We have prepared two types of printouts for fuel card ordering. With the use of Word, the report 4026760 is determined, which uses a "custom report layout". For an Excel attachment, there is a 4026759 report that uses the import of an Excel template in Actions. For an Excel template, you need to set up the worksheet that contains the data source. Source: Blokace_vzor.xlsx

View file
nameBlokace_vzor.xlsx

Základní vzor obsahuje list Data, který je stejný pro objednávku i blokaci a plní jej systém. Je třeba vždy upravit první list, podle toho, zda se jedná o objednávku nebo blokaci a přizpůsobit pořadí sloupců požadavkům tankovací společnosti. První list obsahuje excelovské funkce, které dotahují obsah z listu Data. Třetí list Vzor DataSetu je ukázka, jak vypadá po naplnění list Data a slouží pro usnadnění mapování prvního listu.

Právo na tiskový výstup (Right to Press Output)

Je třeba nastavit práva na tiskové výstupy pro uživatele, kteří budou objednávky tvořit.

Dodavatel – tiskový výstup objednávky (Vendor – Printout of Orders)

Na kartě dodavatele je třeba na záložce Operativní leasing nastavit typ tiskového výstupu objednávky tankovacích karet:

Pokud chybí nastavení na dodavateli, systém při vytváření objednávky vypíše chybovou zprávu:

...

Definice tiskového výstupu – WORD (Printout Definition – WORD)

Pokud je požadovaná objednávka ve Wordu, je třeba použít standardního rozvržení sestav.

Rozvržení sestav přes Word je použité také pro tělo e-mailu. Z toho důvodu musí pro objednávky tankovacích karet být nastavena alespoň jedna definice tiskového výstupu přes Kód rozvržení sestavy.

Při nastavování je třeba vytvořit Vlastní rozvržení sestav – nový řádek a vybrat číslo reportu s DataSetem pro word:

...

Pak je možné do nového řádku se jménem Objednávka CCS „importovat“ už předem připravené rozvržení:

...

Definice tiskového výstupu – Excel (Printout Definition – Excel)

Pro vytvoření objednávky v Excelu využijeme šablonu v excelu, která obsahuje prázdný list s názvem DATA. Tento list bude plnit systém DataSetem a pomocí standardních excelových funkcí přeneseme data na vzorový list požadovaný dodavatelem.

Do nově založeného řádku v Definici tiskových výstupů je třeba nejdříve Importovat šablonu. Může to být soubor se vzorem od společnosti, kde je přidaný nový prázdný list DATA pro plnění DataSetem:

...

Protože list Data musí být prázdný, bude dobré přidat do šablony i list Vzor DataSetu, aby uživatel pro mapování viděl, do které buňky co report 4026759 naplní.

...

Vzorová šablona bude obsahovat tyto listy:

  • List předepsaným vzorem od dodavatele

    • Zde se doplní mapování na pole DataSetu z listu Data

  • List Data

    • Prázdný, plní systém při spuštění

  • Vzor DataSetu

    • Pomůcka při úpravách

Postup:

Uživatel do excelu se vzorem od dodavatele přidá list s kopíí Vzor DataSetu. Zkopíruje ho jako list Data. Nastaví mapování ve vzoru od dodavatele. Pak na listu Data smaže obsah.

Příklad mapování vzoru Excel (The example of the Excel Mapping)

Funkce excel použité pro mapování do formuláře od dodavatele

...

=Data!M20      

  • Bere z DataSetu na listu Data obsah pole M20. Pokud zkopírujeme vzorec v cílovém poli na Card Order, systém sám mění pole ve vzorcích na dalších řádcích na M21, M22 atd. Ale pokud je zdrojové pole prázdné, dává 0!

...

The basic template contains the Data sheet, which is the same for both order and blocking and is filled by the system. It is always necessary to adjust the first sheet, depending on whether it is an order or a block, and adapt the order of the columns to the requirements of the fuel company. The first worksheet contains Excel functions that retrieve the content from the Data worksheet. The dataset pattern is a sample of what it looks like when the Data sheet is populated, and is used to help map the first sheet.

Right to Press Output

You need to set printout permissions for the users who will create the orders.

Vendor – Printout of Orders

On the vendor card, on the Operative leasing tab, it is necessary to set the type of fuel card order printout:

If the settings on the vendor are missing, the system outputs an error message when creating the order:

...

Printout Definition - WORD

If the desired order is in Word, you must use the standard report layout.

Word report layout is also used for the body of the email. For this reason, at least one printout definition must be set up via the Report Layout Code for fuel card orders.

When setting up, you need to create a Custom Report Layout – new row and select the report number with the DataSet for Word:

...

It is then possible to "import" the pre-prepared layout into a new line named CCS Order:

...

Printout Definition - Excel

To create an order in Excel, we will use a template in Excel that contains a blank sheet called DATA. This batch will be populated by the DataSet system and we will use standard Excel functions to transfer the data to the sample sheet required by the supplier.

In a newly created row in the Printout Definition, it is necessary to first Import Template. It can be a template file from a company where a new one is added Blank DATA sheet To populate the DataSet:

...

Because the data sheet must be empty, it will be a good idea to add a sheet to the template Dataset patternso that the mapping user can see which cell the report 4026759 populates into.

...

The sample template will contain the following worksheets:

  • Sheet with a prescribed template from the supplier

    • This is where the mapping to the dataset fields from the Data sheet is completed

  • Data Sheet

    • Empty, fills the system at startup

  • Dataset pattern

    • Editing aid

Procedure:

User in excel with Pattern from the vendor adds a lance sheet Dataset pattern. Copy it as a sheet Data. Sets up the mapping in the template from the vendor. Then, on the Data worksheet, it deletes the content.

The example of the Excel Mapping

Excel functions used for mapping to a form from a vendor

  • =Data! M20      

    • Takes the contents of the M20 field from the DataSet on the Data sheet. If we copy the formula in the target field on the Card Order, the system itself changes the fields in the formulas on the other lines to M21, M22, etc. But if the source field is empty, it gives 0!

  • =IF(Data! L20<>"'; Data! L20;"")

    • Systém kontroluje pole L20. Pokud je neprázdná, vloží do cílového pole. Pokud je prázdná, dá do cílového pole mezeru. Když nebylo ošetřeno, do prázdných polí excel vkládal 0The system checks the L20 field. If it is nonempty, it is inserted into the target field. If it's empty, it puts a space in the target field. When it wasn't treated, excel would put 0 in the empty fields

  • =Data!$B$10   

    • Bere z DataSetu (list Data) buňku B10. Pokud kopíruji v cíli na Card Order, systém nemění čísla buněk ve vzorci a kopíruje ve všech řádcích totéž pole.

    =KDYŽ
    • Takes cell B10 from the DataSet (Data Sheet). If I copy in the destination on Card Order, the system does not change the cell numbers in the formula and copies the same field in all rows.

  • =IF(Data! F20="NárodníNational";" GS"'; KDYŽWHEN(Data! F20="MezinárodníInternational";" GG"; KDYŽWHEN(Data! F20="";,"")))

    •  Bere z pole  Takes from the Data field! F20 územní platnost a pokud je národní, dá GS, pokud je mezinárodní, dá GG. (pro territorial validity and if it is national, it will give GS, if it is international, it will give GG. (for MOL)

  • =KDYŽIF(Data! L20<>““L20<>"'; HODNOTAVALUE. NAON. TEXT(Data! L20;“00000000“" 00000000“);““).

    • Pokud je třeba v cíli na Card Order pro SHELL doplnit do Zákaznického čísla vodící nuly. DataSet podá „207051“ a funkce HODNOTA.NA.TEXT změní na „00207051“.

Kopírováním vzorce přenést až na řádek např. 500

Logické funkce:

...

Pomocí těchto standardních excelovských funkcí pak propojíme jednotlivá pole s buňkami listu DATA:

...

Z prvního řádku, kopírováním přeneseme na další řádky.

Email pro odeslání objednávky (Email for sending the order)

V “Definici tiskových výstupů” můžeme použít k odeslání emailu buď přímo cílovou emailovou adresu (pole “Odeslat na mailovou adresu”), nebo pracovní odpovědnost (pole “Odestlat na prac.odpovědnost”), která je nastavena na kontaktní osobu dodavatele.

Kontaktní osoba dodavatele (Contact person of the vendor)

Údaje z kontaktní osoby dodavatele využíváme pro příjemce emailu. Je to kontaktní osoba, které email posíláme – příjemce emailu.

Tato osoba musí mít na kartě kontaktu přes tlačítko Pracovní odpovědnosti nastavený příslušný „Kód pracovní odpovědnosti“.

Pracovní odpovědnost – kontakt pro objednávky (Job Responsibility – contact for orders)

Kontaktní osobě musí být přidělena Pracovní odpovědnost – označení pracovníka pro objednávky.

Pracovní odpovědnost je stejná jako v Definici tiskových výstupů

Na tuto pracovní odpovědnost se budou zasílat objednávky.

Zaměstnanec leasingové společnosti (Employee of the leasing company)

Uživatel, který objednávku posílá musí mít založenu kartu zaměstnance. Údaje ze zaměstnance využíváme pro toho, kdo posílá – zaměstnanec leasingové společnosti. Zaměstnanec je odesílatel emailu. Uživatel, který spustil objednávky.

„Firemní e-mail“ bude použitý jako odesílatel emailu s objednávkou.

Definice tiskových výstupů – email (Printout Definition – email)

Definice tiskových výstupů obsahuje pole pro nastavení emailů

...

    • If it is necessary to add leading zeros to the Customer Number at the end of the Card Order for SHELL. The dataset passes "207051" and the VALUE function. ON. TEXT changes to "00207051".

Copy the formula to transfer it to a line, e.g. 500

Logical functions:

...

Using these standard Excel functions, we will then link the individual fields to the cells of the DATA worksheet:

...

From the first row, we copy to the next rows.

Email for sending the order

In the "Printout Definition", you can use either the destination e-mail address ("Send to e-mail address" field) or the job responsibility ("Send to Job Responsibility" field) to send the e-mail, which is set to the vendor's contact person.

Contact person of the vendor

Data from Contact Persons We use suppliers for email recipients. It is the contact person to whom we send the email – the recipient of the email.

This person must have the appropriate "Job Responsibility Code" set on the contact card via the Job Responsibility button.

Job Responsibility – contact for orders

The contact person must be assigned Job Responsibility – designation of a worker for orders.

Job responsibility is the same as in the Printout Definition

Orders will be sent for this job responsibility.

Employee of the leasing company

The user who sends the order must have an employee card. Data from Employee We use it for the one who sends – an employee of the leasing company. An employee is the sender of the email. The user who ran the orders.

The "company email" will be used as the sender of the order email.

Printout Definition – email

The printout definition contains fields for setting up emails

In the case of orders in the form of Excel, the system uses the same layout for email.