# Fill in baseline data ## Open baseline details In **Learning Management → Baseline**, open an existing record. The detail route is `/baseline/items/:id`. If you do not yet have a baseline, [create one first](/en/docs/baseline-data). This page stores planned counts by profession and course year. Verify year, semester, degree and learning format before entering data. The educational program and profession list comes from the baseline's blocks. Professions with child records are excluded from the displayed rows. Educational unit columns are taken from the [academic structure](/en/docs/academic-structure) in hierarchy order. ## Fields to complete Large screens display an educational program/profession table. Each existing course year has its own column group. On screens up to 1024 pixels wide, the interface displays cards. | Field | Meaning and example | | --- | --- | | Educational program, profession | The block's profession directory relationships identify the row. | | Course year | The block's numeric course, for example 2. The system sets it at creation. | | Course (classifier) | Optional course label, e.g. `INF-2A`. It does not change the course number. Up to 15 characters, using letters, digits, spaces and `- _ . ( ) \| \ / : ,`. | | Students | Total planned count, e.g. 48. | | Course/stream, group, subgroup and other units | Count of the indicated unit, e.g. 1 stream, 2 groups, 4 subgroups. Labels depend on the configured directory. | Enter nonnegative whole-number counts. Zero values in the desktop table may appear blank; clearing a numeric field submits zero. Group quantities are entered separately by hand. The form does not automatically divide students into groups of a given size. ### Example For the Computer Science program, course year 2 with 48 students, enter the following. | Classifier | Students | Stream/course | Group | Subgroup | | --- | --- | --- | --- | --- | | INF-2A | 48 | 1 | 2 | 4 | 1. Find the program or profession using search. The search matches translations of the profession name and its parent; clearing the query returns the list. 2. On a large screen, enter values directly in the cells. Changes save automatically after approximately one second or when leaving a field. Wait for save confirmation. 3. On a narrow screen, open the card's edit action, select the course year using the switcher and enter the values. Fill multiple courses if necessary and save the card. Requests are sent sequentially by course, so check which values were saved if a request fails. 4. Reload the details and compare saved values. Repeat for the other course years and programs. On the desktop table you can navigate between fields using the keyboard. ## Refresh professions, deletion and new levels Refresh professions regenerates the selection of blocks using the current active leaf professions of the selected degree and format and the applicable maximum course. It retains matching profession/course blocks and their entered values, adds missing blocks with zero values, and removes blocks no longer in the selection. Missing educational units are also added to existing blocks with zero values. After adding professions, changing maximum courses or updating the academic structure, review the selection, refresh professions and fill the new fields. Check entered values before refreshing. If a profession or course is no longer included, its previous values disappear from the details. If a profession becomes a parent of new leaf records, you may need to transfer planned values to the new rows. Deleting a row removes the entire profession from the current baseline. The server deletes its blocks for all courses. The confirmation applies to the selected baseline's data. There is no individual block Trash view in the details. Refreshing professions again can recreate an eligible row with zero values. Record required planned counts before deleting. ## How workload calculation uses baseline data An ordinary block corresponds to the profession and course number in the baseline for the chosen year, semester, degree and format. Workload is linked to matching baseline data. For each teaching format the calculation resolves the educational unit using the academic structure's year assignment and reads its quantity from the baseline block. For example, for 48 students, 1 stream, 2 groups and 4 subgroups, suppose lectures are linked to the stream and practical classes to groups. Weekly workload for this component is the weekly hours of the teaching format multiplied by the corresponding unit quantity. A 2-hour lecture and 1-hour practical class produce 2 × 1 + 1 × 2 = 4 hours in that component. Total workload can also include other activities, assessments, coefficients and calculation conditions. Count formulas use the student count and educational unit values when calculation settings refer to them. Where special sources exist, such as actual or manual counts, an [elective subject](/en/docs/elective-subjects), [united lesson](/en/docs/united-lessons) or [virtual groups](/en/docs/virtual-group-attachments), the corresponding components follow those source-specific rules. Verify the workload calculation again after correcting baseline values. Saving the baseline table does not guarantee automatic recalculation of previously prepared results. ## Approval, access and exports When an approval workflow exists, its panel, status and available field history are displayed. During an active workflow lock, Refresh professions is unavailable. Editing counts and deleting rows depend on the content lock and workflow permissions. The server enforces locking on block operations. | Operation | Permission | | --- | --- | | Open details and load table | `reference-blocks/get-table.getTable` in the frontend map; server binds it to `reference-blocks.show`. Baseline metadata also uses `reference-datas.index`. | | Edit a block, including mobile editing | `reference-blocks.update`; additional access may be granted by approval workflow permissions. | | Refresh professions | `reference-datas/refresh.refresh` in the frontend map (bound to `reference-blocks.update`); requires table read access as well. | | Delete row | `reference-blocks.destroy` | | Export contents | `reference-datas.export`; the column catalog is bound to the same permission. | The page route checks the `baseline-data` module, and block permissions belong to `baseline-data-manage`. No faculty, profession or department scopes are declared on these module routes. Actions are controlled by role permissions and approval workflow. To obtain a document, use the record content export button. Open the available column catalog, select the required fields and format in the export dialog. Save the resulting document to verify it with the workload owner. ## Troubleshooting - Profession absent: check its status and hierarchy, degree and learning format; make sure it is a leaf record, then refresh the baseline. - Course absent: check Maximum Courses for the year, degree and format. After cloning, check transferred course numbers. - Column absent: verify the academic structure directory, then refresh. - Save error: check classifier length and characters, whole-number counts, role permissions and the approval lock. - Unexpected workload: compare year, semester, course number, profession, educational unit counts and the teaching-format mapping. Identify whether the baseline or a special count source is used. ## Implementation references - [BaselineItems.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Baseline/components/BaselineItems/App/BaselineItems.tsx) - [BaselineItemsTable.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Baseline/components/BaselineItems/components/BaselineItemsTable/App/BaselineItemsTable.tsx) - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Baseline/components/BaselineItems/components/BaselineItemsTable/columns/index.tsx) - [BaselineItemsCard.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Baseline/components/BaselineItems/components/BaselineItemsCard/App/BaselineItemsCard.tsx) - [BaselineItemEditModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Baseline/components/BaselineItems/components/BaselineItemsCard/components/BaselineItemEditModal/BaselineItemEditModal.tsx) - [BaselineItemsActions.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Baseline/components/BaselineItems/components/BaselineItemsActions/BaselineItemsActions.tsx) - [buildBaselineUpdate.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Baseline/components/BaselineItems/utils/buildBaselineUpdate.ts) - [matchesBaselineBlock.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Baseline/utils/matchesBaselineBlock.ts) - [permissionActionMap.json](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/public/permissionActionMap.json) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ReferenceBlock/routes/api.php) - [ReferenceBlockRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ReferenceBlock/Http/Requests/ReferenceBlockRequest.php) - [ReferenceBlockService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ReferenceBlock/Http/Services/ReferenceBlockService.php) - [ReferenceBlockRepository.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ReferenceBlock/Http/Repositories/ReferenceBlockRepository.php) - [WorkloadSubjectCalculationService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/WorkloadSubject/Services/WorkloadSubjectCalculationService.php) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExport/routes/api.php)