Fronta změn smlouvy je speciální tabulka, do které vytvářejí zápis některé hromadné úlohy:
...
The contract change queue is a special table in which some bulk jobs create entries:
Contract Services Change)
Úloha vytváří změnové kopie, na nich vykoná přepočet (změny) služeb, pak zapíše tyto změnové kopie do listu fronty změn
Smlouvy s překročeným nájazdem (Contract
The task creates change copies, recalculates the services on them, then writes these change copies to the change queue sheet
Contracts with Outrange Odometer Status), Smlouvy na rekalkulaci ( Contracts for Recalculation), Přehled smluv zákazníka ( Customer COntract Overview)
Tyto úlohy pouze zapíše nalezené smlouvy do listu fronty změn. Pak je možné jich rekalkulovat přímo z fronty ale jednotlivě.
Do tabulky jsou zapisovány zpracované smlouvy (jejich změnové kopie) resp. různé údaje ze zpracované smlouvy i souvisejících tabulek. Obsah polí je zřejmý z názvu daného pole.
...
These jobs only write the found contracts to the change queue sheet. Then it is possible to recalculate them directly from the queue, but individually.
Processed contracts (their change copies) or various data from the processed contract and related tables are entered into the table. The contents of the fields are evident from the name of the field.
The records contain the name of the sheet (Contr.Change Queue Code), na základě, které po výběre názvu listu systém zobrazí záznamy v tabulkové části.Pozn: Názvy listů se definují v číselníku API Contr, based on which, after selecting the sheet name, the system displays the records in the table section.
Note: Sheet names are defined in the Contr API code list. Change Queue Batch (4046846) – popis viz Business Setup anebo přímo při spuštění hromadné úlohy.
Po kliknutí na název listu uživatel vybere, ze kterého listu chce zobrazit smlouvy.
Pokud na daném listu změn smlouvy jsou smlouvy, systém jich pak zobrazí v přehledu. Uživatel následně pomoci Změnit smlouvy (průvodce) rekalkuluje, případně jinak změní.
Funkce / tlačítka:
Manage/Delete
Slouží na zmazání záznamu z fronty bez jakékoliv další zpracování dané smlouvy.
Přenést změnové kopie (Transfer Change Copies)
Slouží na hromadný přenos změnových kopii zařazených do listu.
Vymazat změnové kopie (Remove Change Copies)
Slouží na hromadný výmaz změnových kopii z listu.
Karta smlouvy (Contract Card)
Slouží na otevření dané smlouvy nebo změnové kopie.
Změnit smlouvu (průvodce) (Change Contract (Wizard)
Slouží na spuštění vykonání změny smlouvy (stejně jako z karty smlouvy). Pokud se vykoná rekalkulace wizardem na změnu doby trvání/nájezdu, smlouva se z fronty automaticky vyřadí.
Přehled obsahuje následovné pole:
...
Pole
...
Popis
...
Financing Contract No.
...
see description Nastavení Business or directly when you run a bulk job.
After clicking on the sheet name, the user selects from which sheet they want to view the agreements.
If there are contracts on the contract change sheet, the system will then display them in the overview. Subsequently, the user uses Change Contracts (wizard) to recalculate or otherwise change them.
Functions / Buttons:
Manage/Delete
It is used to delete a record from the queue without any further processing of the contract.
Transfer Change Copies
It is used for mass transfer of change copies included in a sheet.
Remove Change Copies
It is used for mass deletion of change copies from a sheet.
Contract Card
It is used to open the contract or change copy.
Change Contract (Wizard)
It is used to start the execution of the contract change (as well as from the contract card). If the wizard recalculates to change the duration/mileage, the contract will be automatically removed from the queue.
The report contains the following field:
Field | Description |
Financing Contract No. | The number of the financing contract and/or change copy. |
Licence Plate No. (155) | Registrační číslo z předmětu financováníRegistration number from the financed object. |
Driver No. CZ: Číslo řidiče Plnění z EN: Driver No. | Populating from API Financed Object (4026560) pole field Driver No.(1000) BLG: Plnit z Execute from Financing Contract Header (4026397), pole BLG Driver No. field (79505). |
Driver Name CZEN: Název řidičePlnění z Driver Name | Populating from API Financed Object (4026560) pole Driver Name field (1002) BLG: Plnit z Perform from Financing Contract Header (4026397), pole BLG Driver Name field (79510). |
StatusStav dané leasingové smlouvy | Status of the lease agreement |
Detailed Contract Status CodeDetailní stav dané smlouvy o financování | Detailed status of the given financing contract |
Migrated ContractMigrovaná | smlouva, příznak ze smlouvy o financováníMigrated contract, flag from financing contract |
Object Handover Date | Datum předáníHandover Date |
Expected Termination Date | Datum předpokládaného ukončeníExpected Termination Date |
Financing Period (Month) | Plnění z Fulfillment from Financing Contract Header (4026397), pole Financing Period (Month) field (23). |
Origin Payment Excl.VAT | Plní první (následnou) nezaúčtovanou splátku ze splátkového kalendáře originálu smlouvyFulfills the first (subsequent) unposted payment from the payment schedule of the original contract |
New Payment Excl.VAT | Plní první (následnou) nezaúčtovanou splátku ze splátkového kalendáře změnové kopie smlouvyFulfills the first (subsequent) unposted payment from the contract change copy payment calendar |
Product Type CodeTyp | produktu financování dané smlouvyContract Financing Product Type |
Financing Product No. CZ: Číslo produktu financování Plnění z EN: Financing Product No. | Fulfillment from Financing Contract Header (4026397), pole Financing Product No. field (4047000). |
Financing Product Name CZ: Název produktu financování Plnění z EN: Financing Product Name | Fulfillment from Financing Contract Header (4026397), pole Financing Product Name (4047085) field. |
Financing Template No. | Plnění z Financing Fulfillment from Financing Contract Header, pole Financing Template No. |
Financing Template Name | Plnění z Financing Fulfillment from Financing Contract Header, pole Financing Template Name field. |
Customer No.Číslo zákazníka se smlouvy o financování | Customer No. with Financing Contract |
Customer NameNázev zákazníka ze smlouvy o financování | Customer Name from Financing Contract |
Registration No.IČO | zákazníkaCustomer ID No. |
Financed Object Name CZ: Název předmětu financování Plnění z EN: Name of the Financed Object | Populate from API Financed Object (4026560), pole Name field (19065). |
Chassis No. (VIN) (160) | CZ: Číslo karosérie EN: Chassis No. (VIN) SK: Číslo karosérie Chassis No. (VIN) Plnění z předmětu financováníFulfillment from the financed object. |
Contractual Distance (170) | Plnění z Fulfillment from Financing Contract Header (4026397), stejnojmenné poleCZ: Smluvní nájezdfield of the same name EN: Contractual Raid SK: Zmluvný nájazd |
Yearly Distance CZEN: Roční nájezdPlnění z Yearly Mileage | Fulfillment from Financing Contract Header (4026397), pole Yearly Distance field (4047150). |
Area CZEN: OblastPlnění z vyhodnocovaného řádku z API Area | Filling from the evaluated row from the Odometer Status History API (4026583), pole Area field (5). |
Mileage Date CZ: Datum stavu tachometru Plnění z vyhodnocovaného řádku z API EN: Mileage Date | Populating from the evaluated row from the Odometer Status History API (4026583), pole Mileage Date field (20). |
Mileage (185) | Plnění z vyhodnocovaného řádku z API Populating from the evaluated row from the Odometer Status History (4026583) API, pole Mileage field. |
Planned Mileage | Plnění z vyhodnocovaného řádku z Filling from the evaluated row from the API Odometer Status History (4026583), stejnojmenné polefield of the same name |
Km under/over Limit CZEN: Podlimitní/nadlimitní kmPlnění z vyhodnocovaného řádku z Km under/over limit | Filling from the evaluated row from the API Odometer Status History (4026583), pole field Km under/over Limit (160). |
Ratio km % CZEN: Poměr Ratio km % | Plnění z vyhodnocovaného řádku z Filling from the evaluated row from the API Odometer Status History (4026583), pole field Ratio km % (65). |
Lower Tolerance % | Plnění z vyhodnocovaného řádku z Filling from the evaluated row from the API Odometer Status History (4026583), stejnojmenné polefield of the same name |
Lower Tolerance | Plnění z vyhodnocovaného řádku z Filling from the evaluated row from the API Odometer Status History (4026583), stejnojmenné polefield of the same name |
Lower Tolarence Actual CZ: Spodní tolerance aktuálníEN: Lower Tolerance Actual SK: Spodná tolerancia aktuálna | Spodní Lower tolerance aktuální (výpočet viz výšecurrent (see above for calculation). Plnění z vyhodnocovaného řádku z API Filling from the evaluated row from the Odometer Status History (4026583) API, pole Lower Tolerance Actual field. |
Upper Tolerance % CZEN: Horní tolerance %Plnění z vyhodnocovaného řádku z Upper Tolerance % | Filling from the evaluated row from the API Odometer Status History (4026583), stejnojmenné polefield of the same name |
Upper Tolerance CZEN: Horní tolerancePlnění z vyhodnocovaného řádku z Upper Tolerance | Filling from the evaluated row from the API Odometer Status History (4026583), stejnojmenné polefield of the same name |
Upper Tolerance Actual CZ: Horní tolerance aktuálníEN: Upper Tolerance Actual SK: Horná tolerancia aktuálna | Plnění z vyhodnocovaného řádku z API Populating from the evaluated row from the Odometer Status History (4026583) API, pole Upper Tolerance Actual field. |
Predicted Mileage CZ: Predikovaný stav tachometru Odhadovaný stav tacho na konci smlouvy. Plnění z vyhodnocovaného řádku z EN: Predicted mileage | Estimated tacho status at the end of the contract. Populating from the evaluated row from the API Odometer Status History (4026583), pole Predicted Mileage field (190). |
Contractual Mileage CZ: Smluvní stav tachometru Plnění z vyhodnocovaného řádku z API EN: Contractual mileage | Fulfillment from the evaluated row from the Odometer Status History (4026583) API, pole Contractual Mileage field. |
Predicted Difference CZEN: Predikovaný rozdílPlnění z vyhodnocovaného řádku z Predicted Difference | Populating from the evaluated row from the API Odometer Status History (4026583), pole Predicted Difference field. |
Predicted Contractual Distance CZ: Predikovaný smluvní nájezd Plnění z vyhodnocovaného řádku z EN: Predicted Contractual Mileage | Fulfillment from the evaluated row from API Odometer Status History (4026583), pole Predicted Contractual Distance field. |
Predicted Yearly Distance CZ: Predikovaný roční nájezd Plnění z vyhodnocovaného řádku z EN: Predicted Yearly Mileage | Populating from the evaluated row from the API Odometer Status History (4026583), pole Predicted Yearly Distance field. |
Predicted Financing Period (in Months) CZ: Predikovaná doba trvání Plnění z vyhodnocovaného řádku z EN: Predicted Duration | Fulfillment from the evaluated row from API Odometer Status History (4026583), pole Predicted Financing Period (in Months) field. |
Last Recalculation Date | Datum poslední rekalkulace, plnění z API Financing Contract Header ze stejnojmenného poleThe date of the last recalculation, fulfillment from API Financing Contract Header from the field of the same name. |
Nearest Recalculation Date | Datum poslední rekalkulace, plnění z API Financing Contract Header ze stejnojmenného poleThe date of the last recalculation, fulfillment from API Financing Contract Header from the field of the same name. |
User Id | ID uživatele, který záznam vytvořilof the user who created the record |
Date Created | Datum vytvoření záznamu |
...
Record Creation Date |
Mass Change Copies Removal
...
Úloha na hromadnou změnu služeb smlouvy (případně i jiné hromadné úlohy) vytvoří změnové kopie smluv a po jejich úspěšném zpracování jich zařadí do Fronty změn smluv.
Uživatel tyto změnové kopie zkontroluje případně některé může vymazat, přičemž se může rozhodnout pro dva způsoby:
Manuálně
Pomoci tlačítka Contract Card otevře změnovou kopii, pak tlačítkem Changes / Remove Change Copy vymaže změnovou kopii
Pak se vrátí do Fronty změn smlouvy a manuálně vymaže i zápis dané změnové kopie z fronty změn.
Hromadně
Pomoci tlačítka Vymazat změnové kopie (Remove Change Copy) – popis viz dál.
Systém po stisknutí tlačítka Remove Change Copy otevře request form na zadání filtrů pro identifikaci změnových kopií na přenos:
...
The Mass Change of Contract Services task (or other mass tasks) will create change copies of contracts and after their successful processing, they will be included in the Contract Change Queue.
The user can check these change copies, or delete some of them, and can choose two ways:
Manually
Use the Contract Card button to open the change copy, then use the Changes / Remove Change Copy button to delete the change copy
It then returns to the Change Queue and manually deletes the change copy from the Change Queue.
Collectively
Use the Remove Change Copy button – see below.
System at the touch of a button Remove Change Copy Opens the Request Form to specify filters to identify change copies per transfer:
It has only one tab Filter: Contract Change Queue In order for the user to be able to filter change copies for deletion, by default it will contain the field:
Contr. Change Queue List Code
Plní se automaticky při otevření request formou hodnotou z Batch Name z hlavičky fronty změn
NeeditovatelnéIt is populated automatically when opening a request in the form of a value from the Batch Name from the change queue header
Non-editable
Financing Product Type Code
Financing Product No.
Customer No. (číslo zákazníka)
No. (číslo smlouvycontract number)
Migrated Contract
další filtry může přidat uživatel pře tlačítko + (např additional filters can be added by the user via the + button (e.g. Fin.Template No., atdetc.).
Uživatelsky přes tlačítko +Filter se pak dá přidat libovolný další filter na pole z The user can then use the +Filter button to add any additional filter to the field from the API Financing Contract Header.
Prázdne pole ve filtrech znamená, že systém zařadí všechny záznamy do filtru.
Kromě těchto uživatelských filtrů je zapnutý i pevný filtr na technické pole An empty field in the filters means that the system will include all records in the filter.
In addition to these user filters, the fixed filter for the Mass Change=Y technical field is also enabled.
Pozn: pravidlá filtrování v Note: filtering rules in BC: Řazení, vyhledávání a filtrování seznamů Sorting, Searching, and Filtering Lists - Business Central | Microsoft Learn
Po potvrzení tlačítkem OK anebo Schedule… (úlohu bude možné spustit takto manuálne i přes plánovač), systém vykoná následovné kroky:
...
After confirmation by OK or Schedule... (it will be possible to run the task both manually and via the scheduler), the system will perform the following steps:
When executed, it checks whether Batch Name=Contr.Change is Queue List Code.
kontrola usera na change copy owneraPokud platí, pokračuje dál.
Pokud neplatí, zobrazí hlášku „ContrIf it is valid, it continues.
If it does not apply, it will display the message "Contr. Change Queue List Code and Batch Name must be the same.“ CZ: Kód listu změn smlouvy a Název listu musí být stejné.“ a dál nepokračuje.
Pri spustení přes Schedule... se hláška nezobrazuje.
zafiltruje záznamy ve frontě na uživatelské filtry i na pevný filter
z řádku fronty zavolá funkce na výmaz změnové kopie “Delete Change Copy” (která se spouští tlačítkem ze smlouvy)
funkci spustí na změnové kopii s číslem ve Financing Contract No. na řádku fronty
" EN: The Contr. Change Sheet Code and Sheet Name must be the same." and does not continue.
When running via Schedule... the message is not displayed.
filters the records in the queue to both user filters and fixed filters
From the queue line, the change copy deletion function calls "Delete Change Copy" (which is triggered by a button from the contract)
The function runs on the change copy with the number in Financing Contract No. on the queue line
User check for Change Copy Owner (User ID=Change Copy User ID) nebude vykonána (při spustění výmazu ze smlouvy dáva hláškuwill not be performed (it gives a message when starting the deletion from the contract):
následující hláška na potvrzení výmazu změnové kopii nebude zobrazena, resp bude na pozadí potvrzena Yes: “Would The following message to confirm the deletion of the change copy will not be displayed, or it will be confirmed in the background Yes: "Would you like to delete change copy from contract no.XXX?”
změnová kopie bude zmazána (stejný proces jak při jednotlivém mazání)
po dokončení výmazu úloha vykoná zápis smlouvy do "
The change copy will be deleted (same process as for individual deletion)
After the deletion is complete, the job writes the contract to the API Fin. Contract Change Log (4046845) s with Recalculation Result=Success, Record Origin=API Mass Change Copy Removal.
Pokud se výmaz neuskutoční, zápis vykonán taktéž i s popisem chyby proč se změnová kopie nevymazala (řádek bude nadále ve frontě) a pokračuje na další řádek.
pokud se výmaz uskutočnil, zmaže řádek z Contract Change Queue (funkce Delete)
po dokončení pokračuje na další řádek.
Pozn1: výmaz změnové kopie blokuje tabulky smlouvy, proto doporučujeme výmaz uskutočnit mimo pracovných hodín.
Pozn2: výmaz velikého množství změnových kopií je časovo náročný proces. Skutečné časové trvání procesu není možné nijak v aktuálném momentu předikovat.
Hromadný přenos změnových kopii (Mass Change Copies Transfer)
Úloha na hromadnou změnu služeb smlouvy (případně i jiné hromadné úlohy) vytvoří změnové kopie smluv a po jejich úspěšném zpracování jich zařadí do Fronty změn smluv.
Uživatel tyto změnové kopie zkontroluje (případně některé vymaže – viz dál), pak může přistoupit k jejich transferu:
Manuálně
Pomoci tlačítka Contract Card otevře změnovou kopii, pak tlačítkem Changes / Transfer Change Copy přenese změnovou kopii
Pak se vrátí do Fronty změn smlouvy a manuálně vymaže i zápis dané změnové kopie z fronty změn.
Hromadně
Pomoci tlačítka Přenést změnové kopie (Transfer Change Copy) – popis viz dál.
Tento hromadný přenos je možné spustit z fronty změn smlouvy tlačítkem Přenést změnové kopie (Transfer Change Copy).
Systém po stisknutí tlačítka spouští report na výběr změnový kopii na přenos:
- Má pouze jednu záložku Filter: Contract Change Queue aby uživatel mohl zafiltrovat změnové kopie k přenosu, defaultně bude obsahovat pole
If the deletion does not take place, the entry will also be executed with a description of the error why the change copy has not been deleted (the line will continue in the queue) and continues to the next line.
if the deletion has taken place, deletes the row from the Contract Change Queue (Delete function)
When finished, it continues to the next line.
Note1: the deletion of the change copy blocks the contract tables, so we recommend that the deletion be carried out outside of working hours.
Note2: Deleting a large number of change copies is a time-consuming process. The actual time duration of the process cannot be predicted in any way at the current moment.
Mass Change Copies Transfer
The Mass Change of Contract Services task (or other mass tasks) will create change copies of contracts and after their successful processing, they will be included in the Contract Change Queue.
The user checks these change copies (or deletes some of them – see below), then he can proceed to their transfer:
Manually
Use the Contract Card button to open the change copy, then use the Changes / Transfer Change Copy button to transfer the change copy
It then returns to the Change Queue and manually deletes the change copy from the Change Queue.
Collectively
Using the Transfer Change Copy button – see below.
This bulk transfer can be started from the contract change queue by pressing the button Transfer Change Copy.
After pressing the button, the system triggers a report to select the change copy for transfer:
It has only one tab Filter: Contract Change Queue In order for the user to be able to filter change copies for transfer, it will by default contain the field:
Contr. Change Queue List Code
Plní se automaticky při otevření request formou hodnotou z Batch Name z hlavičky fronty změn
NeeditovatelnéIt is populated automatically when opening a request in the form of a value from the Batch Name from the change queue header
Non-editable
Financing Product Type Code
Financing Product No.
Customer No. (číslo zákazníka)
No. (číslo smlouvycontract number)
Migrated Contract
další filtry může přidat uživatel pře tlačítko + (např additional filters can be added by the user via the + button (e.g. Fin.Template No., atdetc.).
Uživatelsky přes tlačítko +Filter se pak dá přidat libovolný další filter na pole z The user can then use the +Filter button to add any additional filter to the field from the API Financing Contract Header.
Prázdne pole ve filtrech znamená, že systém zařadí všechny záznamy do filtru.
Kromě těchto uživatelských filtrů je zapnutý i pevný filtr na technické pole An empty field in the filters means that the system will include all records in the filter.
In addition to these user filters, the fixed filter for the Mass Change=Y technical field is also enabled.
Po potvrzení tlačítkem OK anebo Schedule… (úlohu bude možné spustit takto manuálne i přes plánovač), systém vykoná následovné kroky:
Pozn: pravidlá filtrování v BC: Řazení, vyhledávání a filtrování seznamů After confirmation by OK or Schedule... (it will be possible to run the task both manually and via the scheduler), the system will perform the following steps:
Note: filtering rules in BC: Sorting, Searching, and Filtering Lists - Business Central | Microsoft Learn
Po potvrzení tlačítkem OK anebo Schedule… (úlohu bude možné spustit takto manuálne i přes plánovač), systém vykoná následovné kroky:
...
After confirmation by OK or Schedule... (it will be possible to run the task both manually and via the scheduler), the system will perform the following steps:
When executed, it checks whether Batch Name=Contr.Change is Queue List Code.
kontrola usera na change copy owneraPokud platí, pokračuje dál.
Pokud neplatí, zobrazí hlášku „ContrIf it is valid, it continues.
If it does not apply, it will display the message "Contr. Change Queue List Code and Batch Name must be the same.“ CZ: Kód listu změn smlouvy a Název listu musí být stejné.“ a dál nepokračuje.
Pri spustení přes Schedule... se hláška nezobrazuje.
zafiltruje záznamy ve frontě na uživatelské filtry i na pevný filter
z řádku fronty zavolá funkce na přenos změnové kopie “Transfer Change Copy” (která se spouští tlačítkem ze smlouvy)
funkci spustí na změnové kopii s číslem ve Financing Contract No. na řádku fronty
" EN: The Contr. Change Sheet Code and Sheet Name must be the same." and does not continue.
When running via Schedule... the message is not displayed.
filters the records in the queue to both user filters and fixed filters
From the queue line, the change copy transfer function calls "Transfer Change Copy" (which is started by a button from the contract)
The function runs on the change copy with the number in Financing Contract No. on the queue line
checking the user for Change Copy owner (User ID=Change Copy User ID) nebude vykonána - ze smlouvy dáva hláškuwill not be performed - it gives a message from the contract:
hláška o aktivních variantach nebude zobrazená, resp. bude na pozadí potvrzena the message about active variants will not be displayed, or it will be confirmed in the background Yes:
následující hláška na potvrzení přepisu originálu změnovou kopii taktéž nebude zobrazena, resp bude na pozadí potvrzena Yes:
změnová kopie bude přenesena (stejný proces jak při jednotlivém přenosu)
po dokončení přenosu úloha vykoná zápis smlouvy do The following message to confirm the transcription of the original change copy will also not be displayed, or it will be confirmed Yes in the background:
The change copy will be transferred (same process as for a single transfer)
After the transfer is complete, the job writes the contract to the API Fin. Contract Change Log (4046845) s with Recalculation Result=Success, Record Origin=název úlohy na hromadný přenos.
Pokud se přenos neuskutoční, zápis vykonán taktéž i s popisem chyby proč se změnová kopie nepřenesla (řádek bude nadále ve frontě) a pokračuje na další řádek.
pokud se přenos uskutočnil, zmaže řádek z Contract Change Queue (funkce Delete
po dokončení pokračuje na další řádek.
Pozn1: Přenos změnové kopie blokuje tabulky smlouvy, proto doporučujeme přenos uskutočnit mimo pracovných hodín.
...
Mass Transfer Job Name.
If the transfer does not take place, the write is also executed with a description of the error why the change copy was not transferred (the line will still be in the queue) and continues to the next line.
if the transfer has taken place, deletes the row from the Contract Change Queue (Delete function
When finished, it continues to the next line.
Note1: The transfer of the change copy blocks the contract tables, so we recommend that the transfer be carried out outside of working hours.
Note2: Transferring a large number of change copies will be a time-consuming process. The actual time duration of the process cannot be predicted in any way at the current moment