Production
Copy codes into subordinate job cards
Process number: VYR011 |
Script Id. No.: FPLV014 |
File: VYR_STR2.PAS |
Script description: The script writes the contract code and the article code, if different, into subordinate job cards. |
||
Address in the tree: |
||
Script parameters:
MaxUroven - 20 Maximum level for recursion. |
Bulk scheduling of job cards
Process number: VYR005 |
Script Id. No.: FVYR020 |
File: Plan_Schedule.pas |
Script description: The script enables bulk scheduling of job cards from a filter without running the Dispatcher or Scheduler module. The scheduling options are entered using the script parameters. The job cards are scheduled in the order of their priority and reservation date. |
||
Address in the tree: |
||
Script parameters:
Ahead - Yes Planning method. Yes - forward planning; No - backward planning. |
CancelPartlyScheduledTreesSchedule - No Yes: If at least one job card in the tree cannot be scheduled, the whole job card tree will not be scheduled. All job cards will remain unscheduled or will be unscheduled; the from-to date in the operations and the job card header will be set to 31.12.2999. No: If some job card in the tree cannot be scheduled, this job card and its superior job cards will not be scheduled (or will be unscheduled); the from-to date in the operations and the job card headers will be set to 31.12.2999. The subordinate levels of the tree will be scheduled. |
ConsiderCoverage - No Planning with regard to coverage dates. Corresponds to the Consider coverage date option in the form for scheduling job cards. |
DetailPlanDays - 0 Number of days for the detailed plan. The period for the detailed plan is in the interval "Beginning of the planning period + parameter value". In forward planning with a non-zero value, the following procedure is used:
The result of this planning method is the loading of the set (detailed) period with production requirements, while all other requirements are postponed into the future so that they are carried out as close as possible to the dates of their reservation lists.
When planning, it is always necessary to ensure that the beginning of the planning period (the "PlanDateFrom" parameter) is set to the current date, or rather so that it is the same as the date from which you actually plan (the "DT" parameter). |
PlanDateFrom - 00.00.0000 Planning period from. Date only - the expression "now", which also contains a time component, cannot be used. The expression "date", which returns the current date without time, must be used. |
PlanDateTo - 00.00.0000 Planning period to. |
DT - 00.00.0000 Initial date for scheduling. The expression "now", which also returns the current time, can be used. |
UseReservationDate - No Yes - plan according to the date from the reservation list. For a free job card (not linked to a sales order), the Date to from the job card header is considered the reservation date. (Caution: at the same time, the "Ahead" parameter must be correctly set to "No" (backward planning). |
AllowCollisions - No Permission of collisions on resources. |
AreaWithoutCollisions - 0 Specifies which requirements can be planned with collisions, or rather which cannot be planned with collisions. The parameter corresponds to the Non-collision area field in the Schedule job cards tree form. The following areas are available:
|
OneWayPlanning - No Yes - one-way planning without optimization of the sequence of operations; No - planning with optimization of the sequence of operations |
FindRootJobCard - Yes Load root job cards: Yes - root (superior) job cards will be loaded for the job cards. No - the dispatcher does not load the superior job card for the selected job cards. However, any subordinate job cards are always loaded. |
UseJobCardFilter - No Yes - only the job cards over which the function is run (document filter) are scheduled. If job cards of semi-finished products of lower levels are also loaded in the production tree, they behave as fixed and are not rescheduled. A parameter set in this way is meaningful only if the "FindRootJobCard" parameter is also set to "No". By setting both parameters in this way, independent scheduling of job cards of semi-finished products can be achieved - root job cards are not loaded, job cards of semi-finished products behave as fixed. No - all loaded job cards are scheduled. |
ChooseInterval - No Setting the planning period. Yes - the planning period can be entered in a form before running. No - the planning period is according to the settings of the "PlanDateFrom" and "PlanDateTo" parameters. |
ScheduleConfirmedSubTrees - No Planning of confirmed trees. Yes: Unconfirmed subordinate levels of the tree are also scheduled when the superior job card is confirmed. No: Job cards in a tree where the superior job card is confirmed are not scheduled. |
ScheduleUncoveredTrees - No The parameter influences the approach to uncovered job cards when scheduling with regard to coverage dates (see the "ConsiderCoverage" parameter). Corresponds to the Schedule also non-covered production trees option in the form for scheduling job cards.
|
ShiftByDays - 0 Date offset in days when scheduling according to the reservation date. |
ShowScheduler - No Yes - after the job cards are scheduled, the Scheduler is displayed with a preview of the scheduling by resources (the Resource chart tab). |
SchedulingVariant - Scheduling variant |
SortRootJobCards - Yes Sorting of root job cards. Yes - the job cards are scheduled in the order "Priority - Reservation date - Book of document/Document No.". No - the job cards are scheduled in the order "Serial number (PlanSeq) - Book of document/Document No.". |
UniteByProductionOrders - No Grouping by production orders. |
LogDuration - No Yes - the scheduling creates a log with information about the time demands of the individual phases of scheduling the production trees. The file is saved to the user directory. |
ConsiderDeliveryTime - No Consider delivery time. The parameter is relevant when the "ConsiderCoverage" parameter = Yes. For uncovered items, the coverage date is by default calculated from the supplier price list of the optimal supplier, based on the number of delivery days. It thus expresses a possible date when the material could be delivered if it were ordered now. If we want the coverage date calculated in this way to be taken into account during scheduling, we activate this parameter. It corresponds to the Consider delivery time option in the form for scheduling job cards. |
SchedulingLimitDateTimeFrom - 00.00.0000 Limit for planning period from, including the time, for backward scheduling. |
DistributeIntoPhysicalResources - False True - Automatic distribution of operations from group resources to their physical resources. The distribution is performed only for group resources with the Split production into physical resources option activated, according to the strategy selected on the group resource. The operation time is recalculated according to the efficiency of the assigned physical resource. |
Import bill of materials
Process number: TPV002 |
Script ID No.: FTPV004 |
File: ImZbo_CAD.PAS |
Script description: The script imports Article cards from an Excel spreadsheet and, for products/subassemblies, creates routing variants with bill of materials items. |
||
Address in the tree: |
||
Script parameters:
FindByAbbr1 - Yes Yes - articles are searched by Abbreviation 1. No - articles are searched by Abbreviation 2. |
VariantDelimiter - '_' Separator in the Variant abbreviation, followed by the serial number of the variant of one supplier. |
ImportToJobCard - No Yes = import of the bill of materials directly into the job card. |
Step 1: Selection of the Excel source application, selection of Excel
Import settings:
Do not import duplicate records |
Only articles whose assigned abbreviation is not yet in the K2 database are imported. |
Allow to import duplicate records |
All records are imported as new items regardless of whether the article names in the database match. If an identical article name is found, – 01, – 02 etc. is added to the end of the name. |
Rewrite duplicate records and import new ones |
All records are imported. Articles that are already in the database according to their name will be overwritten and changed according to the imported data (including submodules); the others will be created as new. |
Rewrite duplicate records only (do not import new ones) |
Only the records whose names already exist in the database are imported. The articles will be overwritten and changed according to the imported data. |
The Import to: Articles / Job Cards option is preset according to the "ImportToJobCard" parameter.
In the Excel source application field, we select a supplier from the Suppliers/Customers book. The Article cards will then have a supplier price list item entered for this supplier (page 4 of the Article card), and the supplier number is also used as a prefix for the name of the routing variant (see the "VariantDelimiter" parameter).
Using the Load Excel button, we load the data from the required file.
Using the Next button, located in the footer of the form, we move between the individual import steps.
Step 2: Selection of the product or subassembly. Connecting columns for the product/subassembly.
We set the With header option depending on whether the Excel spreadsheet contains a header row.
The form is divided into two tables. On the left is a table with columns from the Excel spreadsheet. On the right is a table with fields from the K2 Articles book. The
flag in the PP column marks the mandatory fields in K2, to which columns from the input file must be assigned and a default value entered. We link file columns with K2 fields by selecting the required Excel column with the cursor bar in one table, selecting the K2 field with the cursor bar in the other table and pressing the Link button. A paper clip icon is displayed for columns that are already linked to a K2 field.
Def. value
- By selecting or entering a default value, it is possible to import that default value into the K2 database without assigning a value from the "xls" file.
- If both a column from the input file and a default value are assigned, the default value will be imported when an empty value occurs in the input file.
- Filling in the default value is mandatory for required fields and for fields that refer to code lists whose update is not enabled, see below.
- A default value can be inserted via the icon in the upper part of the form or using the Enter key on the record.
Updating code lists ![]()
- The
flag in the A column means that for fields linked to code lists, it is possible to enable the update of these code lists during the import. If the update of a code list is enabled, the
flag will be in the A column. - If updating of the code list is not enabled, a default value must be entered, which will be imported if the assigned column of the input file contains an empty value or a value that is not in the code list.
- Updating can be enabled via the icon
in the upper part of the form or with the keyboard shortcut Shift+Enter on the record.
Set flag bit ![]()
For some fields in the Articles module, only flags are set in IS K2. This script does not support importing flags for Article cards (it is not primarily intended for importing articles).
In this step, we therefore set up the import of product/subassembly cards into the Articles book. Before moving to the next step, the system warns us about any inconsistencies if the settings in the given step are incorrect.
Step 3: Connecting columns with subordinate articles
This step means setting up the import of material cards into the Articles book.
Step 4: Connecting columns with the routing
In this step, we set up the links for the routing items. Based on the previous step, the link to the K2 field "Subordinate article" is set automatically by connecting it with the column containing the abbreviation of the subordinate article (material). No other fields are mandatory for routing items.
Step 5: Check articles
In this step, we see a table with the loaded article data as we set up the links in the individual import steps. Before the import, we can still adjust the value settings for individual articles. Using the Create selected button, we can already create Article cards in the program for the items marked with asterisks.
In the Variant options section, we determine whether to have new routing variants created (the abbreviation is formed as the supplier number + serial number - see the description above), or whether we want to overwrite an already existing and assigned variant (in the "Variant" column).
Using the Finish import button, we perform the import into K2. Before finishing, the user is asked whether to save the import settings. By selecting "Yes", all settings of the individual steps are remembered for further imports.
Inverse Bill of materials
Process number: TPV001 |
Script ID No.: FTPV003 |
File: ZBOINVKUS.PAS |
Script description: The script searches routings for the selected article item and inserts the product/subassembly cards containing this item into the article filter. It is run over the Articles book. |
||
Address in the tree: [Production] [Technical Production Preparation] |
||
Script parameters:
ValidProductsOnly - No Only valid products: Yes - only valid product/subassembly cards are filtered. No - invalidated cards are filtered as well. |
ValidRoutingsOnly - No Only valid routing variants: Yes - only valid (non-invalidated) routing variants are searched. No - invalidated routing variants are searched as well. |
DefaultRoutingsOnly - No Only default routing variants: Yes - only default routing variants are searched. No - all variants are searched. |
Capacity plan
Process number: PLV004 |
Script ID No.: FPLV004 |
File: PLAN_CAPAPLAN.PAS |
Script description: The capacity plan is used to display an overview of the total capacities, requirements and free capacities of production resources in the specified period. The script is run over the Resources book. It can also be run from the Scheduler module. In this case, it always processes the currently selected resource; unless the parameters specify otherwise, the plan is loaded for the period according to the display period set in the Scheduler, and the data is not loaded from the database but directly from the memory table of the Scheduler. |
||
Address in the tree: |
||
Script parameters:
DateFrom - 00.00.0000 Date from which we monitor the capacity plan. |
DateTo - 00.00.0000 Date up to which we monitor the capacity plan. |
AllResLoad - Yes Yes - resources without requirements are loaded as well. No - only resources with requirements are loaded. |
GroupBySeries - No Yes - breaks down the requirements for the resource by books of job cards. |
GroupByTimeKinds - No Yes - breaks down the requirements for the resource by the type of operation time (set-up, production, inter-operation). |
GroupByPlanGroup - No Yes - breaks down the requirements for the resource by the planning group of the product (the Planning group field on the Article card). |
GroupByRealization - No Yes - breaks down the requirements for the resource according to the setting of the Execution option on the job cards. |
PlanType - 0 Plan type number. |
TypeOfPer - 4 Period type for display. 1 - display by days; 2 - display by weeks; 3 - display by ten-day periods; 4 - display by months. |
ShiftDelayed - No Shift delayed requirements: Yes - requirements falling before the required time interval are loaded into the 1st field (day, week, ten-day period, month or quarter) of the time interval from which the data for the given resource is displayed. |
ShowDelayed - Yes Yes - displays the column with delayed requirements. No - does not display the column with delayed requirements. |
ShowInHours - No Yes - displays times in hours. No - displays times in minutes. |
ShowName - No Yes - displays resource names. No - displays resource abbreviations. |
RoundFloatingPoint - 0 Rounding setting for export to an Excel spreadsheet. E.g. for rounding to 2 decimal places, set 0.01. |
Capacity plan is a script used to display resource capacities and their utilisation in the specified period. Capacities can be displayed in various periods (daily, weekly, ten-day, monthly).
The Capacity plan script is run over the Resources book (book, filter or selected records) or in the Scheduler module.
After start, a form opens with an overview of the requirements for the required resources in the given period, broken down into periods according to the settings. The 1st row of a resource shows the total capacity of the resource for the given period. The following rows show the requirements for the given resource for the given period, sorted according to the set parameters. If work shifts are monitored (the Capacity plan by work shifts client parameter is active), the capacity plan is broken down by individual work shifts.
Below the table, there is a graphical display of the total capacities, requirements and free capacities of the selected resource.
Data can be displayed both in minutes and in hours, see the "ShowInHours" parameter. Switching is also possible using the m and h buttons in the form header.
Using the Shift the past to today
button, requirements falling before the displayed interval can be added to its first column, see the "ShiftDelayed" parameter. This allows you to verify whether the requirements not yet resolved can be carried out in the current period. In the case of a capacity plan by work shifts, delayed requirements are not calculated in the breakdown by shifts and the function for shifting the past is not available.
Caution: Adding custom columns
Besides the default columns, the user can add further columns from the menu to the table. The added column is always saved when the form is closed, and only for the set display type (period type).

Picture: Capacity plan from 1.8.2011 - 31.8.2011, weekly period
Copy data from job card header into items
Process number: VYR011 |
Script ID No.: FPLV005 |
File: VYR_KOP1.PAS |
Script description: Copies information from the header to the items according to the selected parameters. Data on the contract code, cost centre and cooperant can be saved to the items. |
||
Address in the tree: |
||
Script parameters:
KodZakazky - Yes Yes - the contract code is copied. |
Stredisko - Yes Yes - the cost centre is copied. |
Kooperant - Yes Yes - the cooperant is copied. |
Find article on routing
Process number: PLV007 |
Script ID No.: FVYR002 |
File: VYR_EXISTZBO.PAS |
Script description: Creates a filter of job cards that have the specified article with the specified batch in their routing. |
||
Address in the tree: [Production] [Technical Production Preparation] |
||
Script parameters:
No parameters.
|
Order the cooperation
Process number: VYR006 |
Script ID No.: FVYR001 |
File: KOOPERACE_OBJ.PAS |
Script description: The script issues a cooperation purchase order that is part of the routing of the job card product. |
||
Address in the tree: |
||
Script parameters:
ImplRadaObj - 11 Default book of purchase orders. |
ImplDodavatel - 31 Number of the default supplier. |
PoznVyrobek - ZB Note kind that is inserted on the purchase order item. |
DruhZbo_Kooperace - E Article categories of the cooperation item (separated by semicolons). |
TypDane - TU Tax type for the new purchase order. |
ZpusobDopravy Method of transport for the new purchase order. |
ZpusobOdberu Shipping method for the new purchase order. |
ZpusobPlatby Payment method for the new purchase order. |
FormaObjednavky Form of order for the new purchase order. |
PreferujImplDodavatele - No The default supplier will take precedence over the supplier from the operation. |
SmazatPolVKoop - No Delete everything in the cooperation operation except the cooperation item (according to the setting of the "DruhZbo_Kooperace" parameter). |
The script allows you to issue a cooperation purchase order that is part of the routing of the job card product.
In the Articles book, we define article cards with the Cooperation kind. The kind for cooperation has no special attributes; we only recommend having the Preset reservation flags option activated.
Cooperation Article cards should be of the stock item type (for monitoring items using the Coverage function) and must have the Batch records option activated (for correct valuation of the cooperation in the job card).
We run the script from page 2 or 4 of the Job card in the View mode status, with the cursor bar set on the cooperation item. The cooperation item is determined by the article category specified in the "DruhZbo_Kooperace" script parameter. The cooperation item can already be defined in the routing of the product (if we always perform the specific operation in cooperation), or we can insert it only into the job card (if we decide during production to leave the given operation to our cooperant). In this case, we can delete the original items from the operation, preferably by setting the script parameter "SmazatPolVKoop" = "Yes". The script deletes all original items of the operation (resources, routing items) and keeps only the inserted cooperation item.
After start, the Cooperation purchase order form opens with pre-filled fields.

Picture: The Cooperation purchase order form
The form header displays the abbreviation and name of the cooperation item and of the product of which the given cooperation is a part.
Description of fields:
Quantity |
Quantity from the job card item. |
Supplier |
The supplier from the operation (the Cooperant field) is filled into the field; if it is not specified in the operation, then the one from the "ImplDodavatel" parameter is used. If the "PreferujImplDodavatele" parameter = "Yes", the default supplier from the parameter always overwrites the supplier from the operation. |
Date |
Date when the purchase order is to be fulfilled. It is filled into the Desired delivery field in the purchase order. |
Book of purchase orders |
Book of purchase orders in which the new purchase order is created. Preset by the "ImplRadaObj" parameter. |
After pressing the OK button, a purchase order is created in the specified book of purchase orders, a new batch is assigned to the cooperation item on the job card and to the purchase order item, a note of the type defined by the "PoznVyrobek" parameter with a reference to the job card product is inserted on the purchase order item, the cooperant is filled into the job card operation (if necessary), and the purchase order and job card documents are linked via page 9 (Documents).
Note: The receipt of the cooperation from the supplier then proceeds using the standard K2 mechanisms: creating a receipt card and receiving the cooperation into the production warehouse, and creating an invoice with the cooperation price. The cooperation item is linked between the job card and the purchase order via the batch; the correct valuation of the cooperation in the job card is ensured by the Stock recalculation function.
Cooperation receipt and completion
Process number: |
Script ID No.: |
File: CooperationReceiptAndCompletation.Pas |
Script description: The script controls the completion of a cooperation operation in detail by allowing you to record the quantity of both good pieces and rejects, for which the target handling unit, warehouse, location and reject reason can be determined independently, with the option of creating a separate job card for rejects; all behaviour is influenced by configurable parameters. |
||
Address in the tree: |
||
Script parameters:
Assembling - True - Assemble completion job cards |
Confirmation - True - Confirm documents. |
DefaultHandlingUnitId - ID of the default handling unit - 0 |
DefaultScrapHandlingUnitId - ID of the default handling unit for rejects - 0 |
DefaultScrapWhsld - 0 - ID of the default warehouse for rejects - 0 |
DefaultScrapWhsLocationld - 0 - ID of the default location for rejects - 0 |
FIFOForScrapReason - False True - Set the FIFO flag in the batch of rejects |
ScrapReasonFilterid - ID of the filter for quality. |
SeperateJobCardForScraps - False True - Complete rejects with a separate job card. |
SerieForDE - OD - Book of completion job cards. |
WhseAndLocationOperation - False True - Gives preference to the warehouse and location from the operation. |
WIPStockld - 7 - Warehouse number for work in progress. |
WIPStockLocationld - 0 - Location number for the work-in-progress warehouse. |

Picture: Script - Cooperation receipt and completion - list

Picture: Script - Cooperation receipt and completion - detail
Planned resource shutdown
Process number: |
Script ID No.: FVYR018 |
File: PlanShutdown.pas |
Script description: The script is used to create new job cards for planning shutdowns or to manage already scheduled shutdowns. |
||
Address in the tree: |
||
Script parameters:
Book - ' ' Book for creating job cards. |
OrderCode - '- ' Contract code for the job card header. |
GoodsCode - '- ' Article code for the job card header. |
OpSeq - 1 Order of operation. |
OpCode - 01 Operation code. |
OperationId - 0 Number of the "service" operation (from the Operations book). |
GoodsId - 0 Article number for the job card header (to identify the job card); filling in the article is mandatory, because the job card always has the Product option activated (to allow valuation of the job card). It makes sense to use a card of the "non-stock item" type. |
Description - 'Resource shutdown' Default description for the job card. |
Warehouse - 3 Preset warehouse for the job card. |
FillWorkshiftsOnly - No Yes: The shutdown (operation) is scheduled only into the capacities (work shifts) of the resource. No: The shutdown (operation) is scheduled into the unlimited capacities of the resource, i.e. also outside the resource capacity. |
Creating a shutdown for one resource
The script is run over the currently selected resource in the Resources book, or for the currently selected resource in the Scheduler module. In the displayed form, the New button can be used to have a job card for the resource shutdown created and scheduled. The job card is created in the book according to the parameter settings; the "service" operation and the Article card for the job card header are also preset by parameters. The operation can be changed in the script form. The New button opens the Planned resource shutdown form, in which we define the time requirements for scheduling the shutdown as well as the number of resources. By default, the script schedules into the unlimited capacities of the resource. The "FillWorkshiftsOnly" parameter can be used to ensure scheduling only into the resource capacities. Scheduling into the past is also possible. As soon as the data is confirmed with the OK button, the process of creating and scheduling the job card takes place. If the job card falls into the period set in the form header, it is displayed in the form table. By double-clicking the link or with the Job card button, we can switch to the job card. When the script is run in the Scheduler module, the work queue of the given resource is automatically reloaded after the script ends and the scheduled shutdown operation is immediately shown graphically in the resource chart (the bar is grey, however - the document is not regularly loaded).
A job card created by this script has the following properties:
- the Product option activated in the job card header - to allow valuation of the job card;
- the Incomplete routing option activated;
- it contains the operation specified by the parameter, or the operation set in the form;
- it contains the resource over which the script was run;
- the number of resources is as specified in the input form (if the resource has the Operation duration acc. to resource count option active on its card, the given resource is inserted into the job card with quantity 1 as many times as the number of resources entered in the input form);
- it is scheduled with collisions on resources allowed;
- it is scheduled regardless of the resource capacity, i.e. it can also be scheduled outside its capacity;
- it has the Fixation and Manully adjusted schedule options activated.
Creating a shutdown for multiple resources
We run the script in the Resources book over resources marked with an asterisk. All loaded resources are inserted into the created job card. Creating a shutdown for multiple resources differs from a shutdown for one resource in that we do not enter the number of resources in the form; for each resource, the maximum capacity of the resource in the given time segment of the shutdown is filled into the job card.
The script is also used to manage already existing job cards for resource shutdowns. The form displays all existing job cards with the given resource / resources for the currently set operation. Using the Change button, we can modify the scheduling of the job card, or using the Cancel button, we can cancel the required job cards.
A long, structured description of the shutdown can be entered for the job card. We write it into the editor window in the shutdown form. The description is saved to the job card header as the header text.

Picture: The Planned resource shutdown form
Material coverage of production , capacity utilization
Process number: PLV005 |
Script ID No.: FPLV009 |
File: VYR_PLA1.PAS |
Script description: Displays the coverage of production with material: in the upper table in total per material item, in the lower table by individual job cards in which the material is required. The script is run over sales orders or job cards. The quantity of material in the Status column corresponds to the value from Article coverage with the Coverage of contract codes and Coverage of batches options activated. |
||
Address in the tree: |
||
Script parameters:
FiltrZbo - No Yes - the article filter is used. |
VyrobniSkl - 253 Warehouse number for evaluating the material availability. |
Categories Article categories that are taken into account. |

Picture: The Coverage of production with material, capacity utilisation form
Allocate overheads in production
Process number: VYR013 |
Script ID No.: FVYR016 |
File: VYR_CorrJC.PAS |
Script description: The script creates correction job cards with sales order items and links them with completion or normal job cards. The aim is to correct the consumption of materials, the production price by overhead costs, etc. |
||
Address in the tree: |
||
Script parameters:
ConfirmCorrJC - Yes Yes - confirm the correction job card. |
OperationCodeCorrJC - 99 Operation code of correction documents. |
OrderOfOperationCorrJC - 99 Order of operation of correction documents. |
SerieForCorrJC - RZ Book of correction job cards. |
StockIdForCorrJC - 3 Warehouse number for correction documents. |
CorrOperationID - 1 Number of the default operation that is filled into the correction job card if no operation with the code specified in the "OperationCodeCorrJC" parameter exists in the corrected job card. |
AllocateToAllJC - Yes Yes - the item is allocated to all job cards. No - the item is allocated only to job cards that contain the given item. |
AllocateAccTo - 0 Allocation method (calculation of the allocation ratio) according to: 0 - actual price in the header, 1 - actual quantity in the header, 2 - planned quantity on the item, 3 - actual quantity on the item, 4 - actual operation time |
UnallowedKinds - ' ' List of article categories not allowed for allocation (separated by semicolons) |
ZeroPlan - Yes Yes - the value 0 is filled into the planned values. No - the same quantity as in the actual values is filled into the planned values. |
OperTimes - 0 Option specifying which operation time to allocate by when allocating according to operation times ("AllocateAccTo" = 4): 0 - sum all times, 1 - set-up time, 2 - production time, 3 - inter-operation time. |
AccordingOperationId - 0 Number of the operation (from the Operations book) according to which the allocation is performed when allocating according to operation times ("AllocateAccTo" = 4). Correction job cards are created only for job cards containing this operation. If no operation number is specified, the allocation is performed according to all operations. |
The script is run over a filter of Job Cards or Sales orders. The form is divided into two parts. The job cards into which the allocation will be made are loaded from the filter into the lower part; further job cards can be added with the Insert key. Allocation is possible only into confirmed completion and normal job cards. In the upper window, we enter sales orders with the Insert key (when run over Job Cards), or the sales orders are loaded from the filter (when run over Sales orders). With the default parameter settings, the Create correction job cards button creates one correction job card with sales order items for each production job card. The items (their quantities) are proportionally split among the job cards according to the selected criterion, which we choose with the "AllocateAccTo" parameter.
With the "AllocateAccTo" parameter, we determine the allocation method, i.e. according to which value the allocation ratio is calculated:
- value 0: according to the actual price in the header (default setting)
- value 1: according to the actual quantity in the header
- value 2: according to the planned quantity on the item
- value 3: according to the actual quantity on the item
- value 4: according to the actual operation time.
When allocating according to the header data, we can further use the "AllocateToAllJC" parameter to determine whether the item is allocated to all job cards or only to job cards that contain the given item.
After pressing the Create correction job cards button, the system first checks whether the quantity from the sales order items is available in the warehouse. If there is sufficient availability for all items, the allocation process takes place. However, if the allocation cannot be performed in full extent due to an error, the whole process is interrupted and no correction job cards are created. However, if some sales order items are not allocated because we allocate only into documents in which the article is present and no job card in the filter contains this article, this state is not a reason to interrupt the allocation process. In this case, after the function is successfully performed, only a file listing the numbers of these unallocated article cards is displayed.
Valuation of items on the job card:
- Stock items are valued according to the valuation method of the warehouse. The warehouse for correction job cards is defined by the "StockIdForCorrJC" parameter.
- Non-stock items take over the stock price from the sales order item (row "S").
- Negative items take over the stock price from the sales order item (row "S").
Note: In the case of stock items, the aim is therefore to allocate a certain consumed quantity; in the case of non-stock items, the aim is to allocate a certain amount.
Items on the correction job card are assigned to an operation according to the operation code defined in the "OperationCodeCorrJC" parameter. If an operation with such a code exists in the corrected job card, the corresponding operation is added to the correction job card. If an operation with the required code does not exist in the corrected job card, the item is assigned to the default operation and the operation is assigned the code and order from the parameters. We define the number of the default operation in the "CorrOperationId" parameter.
The correction job card is linked to page 7 of the production job card and to page 9 of the sales order. Correction items are physically stored only in the correction job card. On the corrected document, they can be displayed using the "K" button, which is displayed on page 4 in the job card header.
Search product batch
Process number: PLV007 |
Script ID No.: FVYR011 |
File: VYR_HSAR.PAS |
Script description: The script searches for a product on job cards. |
||
Address in the tree: |
||
Script parameters:
No parameters.
|
Issue job cards for subassemblies
Process number: |
Script ID number: |
File: VYR_POL1.PAS |
Script description: The script creates job cards. It is run over a sales order (creates the whole tree of job cards) or a job card (creates a job card for a subassembly). |
||
Address in the tree: |
||
Script parameters:
Vyr_Rada - PL Book of new job cards. |
JCTypePlan - Yes Yes - a job card of the "planning" type is always created. No - the job card type is set according to the presetting in the warehouse books. |
VyrSkl - 3 Production warehouse number. |
FiltrZbo - No Yes - query whether to use the article filter. |
MaxUroven - 20 Number of levels for recursion. |
Realizace - No Yes - activates the Execution option in the job cards. |
GenSarPruvUroven0 - Yes Yes - fills the batch into the job card header (product batch). |
GenSarPolPruvDruh - ' ' Fill batches into job card items with the listed article categories. Categories are separated by semicolons. |
DedeniKodu - No Yes - the contract code and article code are inherited. |
DruhDotaz - ' ' When creating job cards for items with the specified article category, a query is displayed asking whether we want to create the job card. |
DedeniZak - No Yes - the sales order is inherited. |
SklMTZ - 0 Number of the MTZ warehouse. |
ZamenyMTZ - No Yes - replaces substitutes in the item according to the stock level in the MTZ warehouse. |
NadrDoklad - No Yes - fills in the superior document in the job cards. |
VariantaTP - ' ' Abbreviation of the routing variant. |
ZZZ_Typ - ' ' Type of document over which the script is run: ZAK - sales order, VYR - job card. |
ZZZ_Rada - ' ' Book of document. |
ZZZ_Ci - 0 Document number. |
StopGenForExist - No Yes - job cards are not created for items with the "w" flag (for example after increasing the quantity in the sales order). |
UseDefaultUnit - No Yes - fills the default production unit of the article into the job card header. No - the job card is in the unit of the sales order item. |
DefaultOrderC - ' ' Default contract code which, if present on the item, is ignored and the job card is created with the contract code from the sales order header. |
Issue job cards for subassemblies with browser
Process number: |
Script ID number: |
File: VYR_POL2.PAS |
Script description: The script creates job cards or trees of job cards for items whose article category has the Product or subassembly option active. It is run over a sales order or a job card. |
||
Address in the tree: |
||
Script parameters:
Vyr_Rada - PL Book of new job cards. |
VyrSkl - 0 Production warehouse number. |
FiltrZbo - No Yes - query whether to use the article filter. |
MaxUroven - 20 Number of levels for recursion. |
Realizace - Yes Yes - the execution flag is set in the job cards. |
GenSarPruvUroven0 - Yes Yes - fills the batch into the job card header (product batch). |
GenSarPolPruvDruh - ' ' Fill batches into job card items with the listed article categories. Categories are separated by semicolons. |
DedeniKodu - No Yes - the contract code and article code are inherited. |
DruhDotaz - ' ' When creating job cards for items with the specified article category, a query is displayed asking whether we want to create the job card. |
DedeniZak - No Yes - the sales order is inherited. |
SklMTZ - 0 Number of the MTZ warehouse. |
ZamenyMTZ - No Yes - replaces substitutes in the item according to the stock level in the MTZ warehouse. |
NadrDoklad - Yes Yes - fills in the superior document in the job cards. |
VariantaTP - ' ' Abbreviation of the routing variant. |
StoreCalItems - Yes Yes - saving of calendar items. |
AllowCollisions - No Yes - collisions are allowed. |
PlanIntoHistory - No Yes - scheduling into history as well. |
VyberVse - Yes Yes - selection of all records. |
PlanPru - No Yes - creation of planning job cards. |
OnlyConfirmRC - No Yes - processes only those sales order items that have confirmed reservation sheets. |
ZZZ_Typ - ' ' Type of document over which the script is run: ZAK - sales order, VYR - job card. |
ZZZ_Rada - ' ' Book of document. |
ZZZ_Ci - 0 Document number. |
StopGenForExist - No Yes - job cards are not created for items with the "w" flag. |
Create transfer note into production
Process number: VYR004, SKL003 |
Script ID No.: FVYR003 |
File: VYR_PRE1.PAS |
Description: According to the selected or current receipt card, the script creates a transfer note to production. |
||
Address in the tree: |
||
Script parameters - default value:
Pre_Rada - IN Book of the transfer note. |
VyrSkl - 0 Production warehouse number. |
ZZZ_Rada Book of document. |
ZZZ_Ci - 0 Document number. |
Create transfer note from production
Process number: SKL003 |
Script ID No.: FVYR012 |
File: VYR_PRE2.PAS |
Script description: The script transfers products/subassemblies manufactured via job cards out of production. It processes the current job card or, with the "VFiltr" parameter activated, the documents from the filter. If some job cards are marked with asterisks, these documents take precedence. If the manufactured combination (batch, contract code, location) has a smaller quantity than the job card produced, this quantity is transferred. If the manufactured combination has a larger quantity, the quantity equal to the produced quantity from the job card header is transferred. In bulk processing over asterisks, the job cards that could not be transferred (due to zero availability) remain marked with asterisks. Conversely, in bulk processing of a filter, these non-transferred job cards are marked with asterisks. The user is informed about the transfer by a text message containing a list of job cards with the status of whether or not they were transferred, as well as a list of the created transfer notes. These are always displayed below the corresponding job card to which they relate. If the "OneToOne" parameter = No, the created transfer note is displayed at the end of the list below all job cards. |
||
Address in the tree: |
||
Script parameters:
Pre_Rada - IN Book for the created transfer notes. |
ProdSkl - 0 Number of the warehouse to which the products are transferred from production. |
Potvrdit - Yes Yes - the created transfer notes are confirmed automatically. |
ZZZ_Rada - ' ' Book of job cards that are to be processed. |
ZZZ_Ci - 0 Number of the job card to be processed. It is entered in the long format (1120000042 for job card No. 42 from the period 2012). The book of the job card is then entered in the "ZZZ_Rada" parameter. |
Vfiltr - No Yes - the script runs over the evaluation filter. No - the script runs over the current record. |
OneToOne - Yes Yes - one transfer note is created for each job card (only if the script runs over a group of records). No - one transfer note is created for all job cards. |
Ac_Distrib - 0 Posting key on the transfer note. |
Define resource capacities
Process number: |
Script ID number: |
File: ResourceCalendar.PAS |
Description: The script allows you to define production calendars and their definition items for resources. |
||
Address in the tree: |
||
Script parameters:
CalendarMode - 100 (Other) Preset mode for a new calendar. |
CheckMultiCalendars - Yes Yes - when the script is run, it checks whether one calendar is used for multiple resources and, if so, a message listing these calendars is displayed. No - the use of a calendar for multiple resources is not checked. |
ShiftDescription - 'Work shift' Preset description for a new work shift definition item. |
ShiftPriority - 550 (Low priority) Preset priority for a new work shift definition item. |
ShiftTimeFrom - '06:00:00' Preset start time for a new work shift definition item. |
ShiftTimeTo - '14:00:00' Preset end time for a new work shift definition item. |
HolidayDescription - 'Leave' Preset description for a new leave definition item. |
HolidayPriority - 150 (High priority) Preset priority for a new leave definition item. |
WorkDays - No Presetting of the Working days option: Yes - the Working days option will be activated for a new work shift definition item. |
SchedulingVariant After selecting the abbreviation of a production scheduling variant, only the creation and editing of variant calendars is allowed. |
The script is run over the Resources book. To run the script, the user right Production / Calendars / New calendar is required.
In the Filter or Container table state, it loads the filtered resources; in the Book state, it loads all resources except summary ones. If some resources are marked with asterisks, all resources are loaded as well, but the asterisks are transferred to the script form. For each resource, its calendar and the definition items from the third page of the calendar are also loaded. Definition items are loaded according to the specified calendar interval in the Production calendars book: those definition items that at least partly fall into the selected interval are loaded.
After start, the script checks whether each resource has its own calendar. If a calendar is assigned to multiple resources, the user is informed by the message "Calendar X is assigned to these resources: Y, Z". This message is only informative and does not affect further work when defining capacities.

Picture: Form for entering resource capacities
The form is divided into two parts: the upper table displays a list of the loaded resources (their Abbreviation, Name, Workplace and Calendar), and the lower table displays the corresponding loaded definition items from the calendar (by default, the most important data are displayed: Date from/to, Time from/to, Description and Resource count).
The Calendar button in the form header is used to jump to the calendar of the selected resource.
Basic conditions for working with resources:
All actions run from the script form work either with the current resource or with the resources marked with asterisks. The exception is the use of the Insert and Delete keys (see the description below), which always work with the current resource.
Resources that do not yet have any calendar assigned cannot be worked with further, and calendar items (capacities) cannot be defined for them. The New calendar button is used to create new calendars. A newly created calendar takes over its name and description from the resource.
Basic conditions for creating new calendar items:
We preset the date for new calendar items in the form header in the Date from and Date to fields. The range for creating new items cannot be entered outside the date range from the Calendars book (this is also displayed in the blue bar of the form). By default, the fields are pre-filled with the range current date / end date of the calendar range.
The date and all other preset data for new items can still be changed in the Production calendar definition item form before the item is created.
The unique key of each definition item is Date from, Date to and Description. This means that it is not possible to have two items with the same data in these fields. If we create a new item with the same description that fully overlaps an already existing item, the new item automatically overwrites the original identical item. If a new item with the same description partly overlaps an already existing item, the original item is automatically shortened in terms of dates. (Note: this differs from the behaviour of the program when items are defined by the user directly in the Production calendars book - duplicates are not checked there.)
Available operations with calendar definition items:
New work shift: creates new work shift items. The description and priority of the item are preset by the script parameters "ShiftDescription" and "ShiftPriority". The preset low priority (NS) ensures that the item will be suppressed by items with a higher priority. The start and end time of the work shift is also preset in the script parameters ("ShiftTimeFrom", "ShiftTimeTo"). The type of time interval is automatically set to PS - work shift. A new work shift can also be entered with the Insert key, but in this case the item is created only for the current resource!
New leave: creates new leave items with the item type "Time". Such an item suppresses capacities with a lower priority and only with the same work shift. The description and priority of the item are preset by the script parameters "HolidayDescription" and "HolidayPriority". The preset high priority (VS) ensures that the item will suppress items with a lower priority. The type of time interval is automatically set to ABS - absence.
New leave (Day): creates new leave items with the item type "Day". Such an item suppresses capacities with a lower priority regardless of the work shift. The description and priority of the item are preset by the script parameters "HolidayDescription" and "HolidayPriority". The preset high priority (VS) ensures that the item will suppress items with a lower priority.
Copy item: copies the definition item on which the cursor bar is currently set. An item from any resource can be copied; the new item is created for the resources according to the rule stated above (the current resource or the resources marked with asterisks).
Duplicate items: duplicates the definition items within the individual calendars. Only items meeting the filter conditions are duplicated. The filter form is displayed after pressing the button for duplicating items; the filter conditions are filled in according to the item currently selected with the cursor bar and cannot be changed. Items can be filtered by the Date from, Date to and Description fields. Filtering by dates is activated by default.

Picture: Selection conditions when duplicating and deleting items
Change items: changes the items meeting the filter. The filter conditions are filled in according to the item currently selected with the cursor bar and cannot be changed. The form also displays a row with a field whose value the user can change. This field depends on the position of the cursor bar on the item: row editing is activated on the items, and depending on which editable column we set the active part of the cursor bar to (Date from/to, Time from/to, Resource count), we can change that value. If the active part of the cursor bar is on a non-editable column or on a resource in the upper table, the Resource count field is offered for change by default.
Any value of the current item can be changed directly in the Production calendar definition item form, which is opened with the Ctrl+Shift+Enter keys.

Picture: Form for changing items
Delete items: deletes the items meeting the filter. The filter conditions are filled in according to the item currently selected with the cursor bar and cannot be changed. If we use the Delete key to delete an item, only the current definition item is deleted.
We save the changes made to definition items with the Save button or the F2 key. With the Refresh button or the F3 key, we can return to the last saved state (i.e. this action corresponds to closing the form without saving changes and running the script again).
Change planned quantity in job card header
Process number: |
Script ID No.: FPLV013 |
File: RF_VYR01.PAS |
Script description: The script creates job card items according to the routing. |
||
Address in the tree: |
||
Script parameters:
No parameters.
|
Change number of resources in job card
Process number: |
Script ID number: |
File: Plan_ChangeJCResource.pas |
Script description: The script is run in the Scheduler module, on the 1-Resource chart tab. It changes the resource count in the currently selected job card operation of the selected resource. |
||
Address in the tree: |
||
Change sequence of job card
Process number: |
Script ID No.: FVYR021 |
File: Plan_ChangeSequence.pas |
Script description: Allows you to change the sequence of a job card for scheduling in the Dispatcher / Scheduler modules. We enter the new serial number for the currently selected job card with the "NewSequence" parameter. In the modules mentioned, the script must be added to the user bar with manual input for the given parameter. |
||
Address in the tree: |
||
Script parameters:
NewSequence - 0 Serial number for the job card. |
Plan evaluation
Process number: |
Script ID number: |
File: Plan_Evaluation.pas |
Script description: The script is run in the Dispatcher module and displays summary data on the evaluation of the scheduling of the loaded production trees. Information on job cards includes: - number of final job cards - number of delayed job cards - average and maximum delay - how many job cards could not be scheduled
Information on the resources used is also displayed: - number of resources used - average and maximum load |
||
Address in the tree: |
||
Create job cards container
Process number: |
Script ID number: |
File: CreateJobCardContainer.pas |
Script description: The script is run over the Sales orders module and creates a container of job cards from the selected sales orders (marked with an asterisk or in the container) or from the selected items of one sales order. By default, all job cards from the production trees are added to the container of job cards. With the "RootJobCardsOnly" parameter, only root job cards can be filled into the container. |
||
Address in the tree: |
||
Script parameters:
RootJobCardsOnly - No Yes: The container of job cards will consist of root job cards only. No: All job cards from the production trees are filled into the container. |
ShowMessage - Yes Yes: After the action is finished, an informative message with the number of job cards in the container is displayed to the user. No: The user is not informed about the filling of the container with job cards. |
Installation and setup of mobile terminal functions
Process number: |
|
File: InstallationAndSetupMT.PAS |
Script description: The Installation and setup of mobile terminal functions script (InstallationAndSetupMT.PAS) is primarily used for a service intervention in the form of installing/reinstalling the standard extensions of mobile terminal functions, including the configuration of the individual DEMO functions. Reinstallation deletes the original configurations, therefore the script requires right No. 1 Service interventions. |
||
|
||
Script parameters:
DeleteConfigurations - 1 Delete configurations on reinstallation: 0 = all, 1 = those created by this script
|
Functional test - False If true, the script also performs a functional test after the installation (e.g. it generates test statistical data to verify that everything works). |
PathK2Maintenance - Path to the installation file of the maintenance extension. |
PathK2MES - specifies the path to the object designer for production (MES) |
PathQMS - Path to the installation file of the quality control extension (QMS). |
PathUA - Path to the installation file of the extension for completion of non-productive activities. |
PathK2WMS - specifies the path to the object designer for warehouses (WMS) |
ReinstallInstalledExtension - False If the extensions are installed, do not reinstall them. |
SelectedExtensions - 0 = all functions used to define the extended functions that need to be installed/reinstalled. 0 = all extensions, which means: functions for WMS + functions for production (MES) 1. Only functions for WMS 2. Only functions for MES 3. Only functions for Maintenance 4. Only functions for Non-productive activity 5. Only functions for Quality control (QMS) |
Update of Serviced devices data
Process number: |
|
File: UpdateDataServicedDevices.PAS |
Script description: Script description: The Update of Serviced devices data script (UpdateDataServicedDevices.PAS) is intended for updating the data of serviced devices that were created from other modules, e.g. from Assets, Resources or Vehicles. In these modules, the name, abbreviation or analytical axes changed for some reason and these changes need to be transferred to the Serviced device card as well. |
||
After running the script over the selected serviced devices, you choose the data modules according to which the specific selected data are to be updated; to be sure, you can select everything. |
||
Update of times in the operation
The script is used for the automatic calculation and correction of the time spent on a production operation. It ensures that the time on the completion document exactly corresponds to the actual time recorded using the Start and Stop buttons.
Process number: |
Script ID No.: |
File: TimeCorrectionByProductionFlow.PAS |
Script description: The script is run over job cards (a data set of the Job card type must be active - otherwise the script ends with the error "incorrect object type"). For the data correction in the system to be complete (reflected in plans and capacities), the standard K2 function "Recalculate planning job cards" must be run after this script finishes. |
||
Address in the tree: |
||
Script parameters:
RecalcPlanJobCard - True - After the times are corrected, a bulk recalculation of planning job cards is also run. False |
Assembling - True - Used in the bulk recalculation of planning job cards - controls whether completion job cards are assembled. False |
IncludeConfirmed - True - Including confirmed completion job cards False |
SetupTimesCompletition - False True - Independent completion of set-up times |
DoNotRecalculateSchedule - False True - The bulk recalculation does not reschedule the dates. |
CurrentUFContext - Technical system parameter - do not enter. It is used to connect to the current window; K2 fills it in automatically.
|
Production completion
Process number: VYR005 |
Script ID No.: FVYR |
File: JC_Completion_Terminal.pas |
Script description: The script allows you to run/call an extension, specifically the Production completion function, which is used for manufacturing products and subassemblies, reporting work and the consumption of materials. The only script parameter is Selected configuration - RID (SelectedConfigurationRID), which can be used to specify exactly the function (configuration RID from the Configuration of mobile terminal modules module) that is to be run. By running the script over a specific job card, the user gets directly to the screen for reporting the quantity and time of the production operation. |
||
Address in the tree: [Production] [Production Management] |
||
Maintance
Serviced equipment - book change
As of version 2025, the Serviced devices code list was rewritten to book mode; on reinstallation, all serviced devices will be transferred to one Generated book of Serviced devices according to the own company in which K2 was reinstalled. For moving and redistributing, the Serviced devices - change of book script (ServicedDeviceChangeBook.PAS) is available. For a group of selected records, the documents are moved and renumbered in the selected book. The script can also be used for renumbering within one book from which records were moved to another book.
Serviced devices
Update of Serviced devices data
Process number: |
Script ID No.: |
File: UpdateDataServicedDevices.PAS |
Script description: The script for updating serviced devices data automatically adjusts and supplements information about devices in the system (e.g. status, parameters or assigned customers) according to current data from the records or the database. |
||
Address in the tree: [Maintenance] [Serviced devices] [Functions and Print] |
||

Picture: Serviced devices - Update of Serviced devices data
Electrical inspection - export of inspections
Process number: |
Script ID No.: |
File: ElectricalInspectionExportRevisions.PAS |
Script description: The script exports from recorded or imported service operations (e.g. electrical inspections), generating and preparing data for inspection reports in Excel, including related data such as the signature of the inspection technician. |
||
Address in the tree: [Maintenance] [Serviced devices] [Functions and Print]. |
||
Script parameters:
AssemblyAttribute - K2_Assembly Report. |
CableLengtAttribute - K2_Power cord length (m) Power cord length (m). |
CurrentMeasurementAttribute - K2_Current measurement (mA) Current measurement (mA). |
CurrentMeasurementMethodAttribute - K2_Current measurement (Method) Current measurement (Method). |
ElectricCurrentAttribute - K2_Electric current In [A] - Electric current In [A] |
EvaluationAttribute - K2_Evaluation Evaluation |
IdentifiedDefectsAttribute - K2_Identified defects Identified defects (statement, conclusions). |
InputPowerAttribute - K2_Input power Pn [W] - Input power Pn [W]. |
InsulationResistanceAttribute - K2_Insulation resistance (Megaohm) Insulation resistance (M?). |
MoreInformation - Other information |
NameAttribute - K2_Name Performed by (Name). |
NoteAttribute - K2_Note Note. |
OperationalTestAttribute - K2_Operational test evaluation Operational test evaluation. |
OverallRatingAttribute - K2_Overall rating Overall rating. |
ProducerAttribute - K2_Manufacturer Producer |
ProtectionClassAttribute - K2_Protection class Protection class |
ProtectiveConductorResistanceAttribute - K2_Protective conductor resistance (class I) Ohm Protective conductor resistance (class I) ? |
ReviewPeriodAttribute - K2_Inspection period Inspection period (months) |
ServiceTypeAbbr - K2_Electrical inspection Abbreviation of the service operation type |
TypeAttribute - K2_Type Type |
UsageGroupAttribute - K2_Usage group Usage group |
VoltageAttribute - K2_Voltage Un [V] - voltage Un [V] |
Electrical inspection - import of inspections
Process number: |
Script ID No.: |
File: ElectricalInspectionImportRevisions.PAS |
Script description: The script is used to create or update the corresponding "Scheduled service operation" documents and to link the related data (e.g. the signature of the inspection technician), so that inspections can then be recorded and printed on reports in the standard way. |
||
Address in the tree: [Maintenance] [Serviced devices] [Functions and Print] |
||
Script parameters:
AssemblyAttribute - K2_Assembly Report. |
CableLengtAttribute - K_Power cord length (m) Power cord length (m). |
CurrentMeasurementAttribute - K2_Current measurement (mA) Current measurement (mA). |
CurrentMeasurementMethodAttribute - K2_Current measurement (Method) Current measurement (Method). |
ElectricCurrentAttribute - K2_Electric current In [A] - Electric current In [A] |
EvaluationAttribute - K2_Evaluation Evaluation |
IdentifiedDefectsAttribute - K2_Identified defects Identified defects (statement, conclusions). |
InputPowerAttribute - K2_Input power Pn [W] - Input power Pn [W]. |
InsulationResistanceAttribute - K2_Insulation resistance (Megaohm) Insulation resistance (M?). |
NameAttribute - K2_Name Performed by (Name). |
NoteAttribute - K2_Note Note. |
OperationalTestAttribute - K2_Operational test evaluation Operational test evaluation. |
OverallRatingAttribute - K2_Overall rating Overall rating. |
ProducerAttribute - K2_Manufacturer Producer |
ProtectionClassAttribute - K2_Protection class Protection class |
ProtectiveConductorResistanceAttribute - K2_Protective conductor resistance (class I) Ohm Protective conductor resistance (class I) ? |
ReviewPeriodAttribute - K2_Inspection period Inspection period (months) |
SignatureFilePath - Path of the signature file |
SignatureFileTypeAbbr - Type of the document to be used for inserting an image into the document on the performed inspection, i.e. into the Scheduled service operation document, which is filled in based on the data from Excel and to which the image with the signature of the inspection technician is then attached. This image is defined by the DMSSignatureFileId parameter, which contains the specific Document number, usually in DMS |
TypeAttribute - K2_Type Type |
UsageGroupAttribute - K2_Usage group Usage group |
VoltageAttribute - K2_Voltage Un [V] - voltage Un [V] |

Picture: Electrical inspection - Import of inspection
Electrical inspection - initialization
Process number: |
Script ID No.: |
File: ElectricalInspectionInicialization.PAS |
Script description: The script is used for the basic setup and preparation of the electrical inspection agenda in the system - typically for a one-time initialization filling of the necessary code lists, parameters and links (e.g. document types, templates, default values for import/export and printing of reports), so that the actual import, export and processing of inspections can then build on them. |
||
Address in the tree: [Maintenance] [Serviced devices] [Functions and Print] |
||
Electrical inspection - assignment of attribute sets
Process number: |
Script ID No.: |
File: ElectricalInspectionAssignmentOfAttributeSets.PAS |
Script description: The script assigns selected attribute sets (e.g. technical and inspection properties) in bulk to serviced devices intended for electrical inspections, so that all data necessary for checking and printing inspection reports can be recorded for them uniformly. |
||
Address in the tree: [Maintenance] [Serviced devices] [Functions and Print] |
||
Serviced equipment - book change
Process number: |
Script ID No.: |
File: ServicedDeviceChangeBook.PAS |
Script description: The script is used to change the book of a serviced device from one book to another |
||
Address in the tree: [Maintenance] [Serviced devices] [Functions and Print] |
||