1
0
Files
vk-gramatvediba/tools/register-transcoder/sample-output/3.5.2.skeleton.bpmn
Rihards Gailums 66ce42ea37 Spec-conformance fix: correct stub levels and add BPMN-DI
Three corrections grounded in the UAPF SSOT specification (UAPFormat/
UAPF-specification, specification/01-concepts.md, 04-folder-structure.md,
05-level-composition.md, 10-conformance-checklist.md), which had not been
read in full before the initial workspace build.

1. Level relabel. The FG3 sub-process stubs fg3-2, fg3-3 and fg3-6 had
   been marked level: 4 by template inheritance from fg3-1 at Step 4 of
   the build, despite carrying no BPMN and no resources. Per the spec
   conformance checklist this fails the L4 requirement. The three are
   composition placeholders, which the spec models as L3 (composed
   subprocess / variant). Their uapf.yaml is now level: 3 with
   cornerstones.bpmn: false — conformant: L1-L3 packages MUST NOT
   duplicate L4 content. The three real executables fg3-1, fg3-4 and
   fg3-5 remain L4.

2. BPMN Diagram Interchange. All five .bpmn files in the workspace now
   carry a bpmndi:BPMNDiagram with BPMNShape and BPMNEdge elements
   produced by a swim-lane left-to-right auto-layout, so the diagrams
   preview in bpmn.io, Camunda Modeler and ProcessGit's web view. The
   spec doesn't require DI (its own examples have none) but practical
   reviewability does.

3. Transcoder. tools/register-transcoder gains bpmn_di.py — also runnable
   standalone for retrofitting existing BPMN files. transcode.py now
   imports it and emits DI by default for newly generated skeletons.
   sample-output/3.5.2.skeleton.bpmn and 3.5.3.skeleton.bpmn regenerated
   with DI; the logical-model content is byte-identical to the previous
   commit, only DI is added.

docs/methodology.md updated: adds an explicit Workspace-structure section
grounding L0-L4 in the SSOT spec, a Conformance-correction section
documenting the Step-4 mislabel and its fix, and drops the now-untrue
'no DI' line from limitations.

Validation after the change, full L1-L4 sweep: uapf-cli validate green on
all 10 packages (domains/gramatvediba, fg1-fg6, fg3, fg3-1..fg3-6);
xmllint clean on all 8 .bpmn/.dmn; every .bpmn has BPMNDiagram present.
2026-05-20 06:44:14 +00:00

105 lines
7.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" id="Defs_3_5_2" targetNamespace="https://uapf.dev/vk-gramatvediba/transcoded">
<bpmn:process id="Process_3_5_2" name="Saimnieciskie norēķini un to kustība" isExecutable="false">
<bpmn:laneSet id="LaneSet_3_5_2">
<bpmn:lane id="Lane_Nodarbinatais" name="Nodarbinātais">
<bpmn:flowNodeRef>Task_3_5_2_1</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_3_5_2_2</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Start_1</bpmn:flowNodeRef>
<bpmn:flowNodeRef>End_1</bpmn:flowNodeRef>
</bpmn:lane>
<bpmn:lane id="Lane_VPC" name="VPC (Vienotais pakalpojumu centrs)">
<bpmn:flowNodeRef>Task_3_5_2_3</bpmn:flowNodeRef>
</bpmn:lane>
</bpmn:laneSet>
<bpmn:startEvent id="Start_1" name="Ieeja: 3.5.2.1.">
<bpmn:outgoing>Flow_1</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:userTask id="Task_3_5_2_1" name="Avansa pieprasījums saimnieciskajiem izdevumiem (t.sk. uz Iestādei piesaistīto norēķinu karti)">
<bpmn:documentation>Nr.p.k.: 3.5.2.1. | RACI: Nodarbinātais=R; Iestāde=A; VPC=I
Iestādes Nodarbinātais vai Iestāde Nodarbinātā vārdā, ja tas noteikts Iestādes iekšējos noteikumos, iesniedz avansa pieprasījuma pieteikumu Pašapkalpošanās portālā (HoP lietotnē Brīvās formas pieteikumi), norādot pamatojumu un vēlamo summu (finansējumu, ekk).
Ja Nodarbinātajam saimniecisko izdevumu vajadzībām ir piešķirta Iestādei piesaistītā norēķinu karte, izmaksas tiek veiktas uz Iestādei piesaistīto norēķinu karti, pārējos gadījumos - uz Nodarbinātā algas kontu. Ja nodarbinātajam saimniecisko izdevumu vajadzībām ir piešķirts iestādes Mobilly konts. Saskaņo/apstiprina atbilstoši Iestādes iepriekš definētai plūsmai.
Sistēma: Pašapkalpošanās portāls | Izpildes termiņš: pēc nepieciešamības vai Iestādes noteiktā kārtībā | Sagatavotie dati: Avansa pieteikums
Ārējais pēctecis: FG2/2.3.2</bpmn:documentation>
<bpmn:incoming>Flow_1</bpmn:incoming>
<bpmn:outgoing>Flow_4</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_3_5_2_2" name="Izdevumu apliecinošo dokumentu vai avansa norēķina iesniegšana (t.sk. arī par darījumiem ar norēķinu kartēm)">
<bpmn:documentation>Nr.p.k.: 3.5.2.2. | RACI: Nodarbinātais=R; Iestāde=A
Iestādes Nodarbinātais Pašapkalpošanās portālā (HoP lietotnē Mani izdevumi) iesniedz pieteikumu par saimnieciskajiem izdevumiem un medicīniskajiem izdevumiem, tai skaitā obligāto veselības pārbaudi (OVP), pievienojot apliecinošos dokumentus (čekus, kvītis). Nodarbinātais maksājumu apliecinošu dokumentu glabā ne īsāk par pieciem gadiem (Grāmatvedības likums 28.p(5)).
Pieteikuma saskaņošana atbilstoši Iestādes definētajai saskaņošanas plūsmai (norādot Iestādei nepieciešamās dimensijas, finansējumu). Ja iesniegtajā avansa norēķinā ir ietverta ilgtermiņa nefinanšu aktīva vai krājuma iegāde, Iestāde vienlaikus norāda noliktavu, uz kuru attiecīgais aktīvs jāreģistrē.
Izdevumu atlīdzināšana paredzēta uz Nodarbinātā algas kontu, izņemot ārvalstīs Nodarbinātos, kur sākotnēji paredzēts pieteikuma veidā iesniegt informāciju par bankas kontu un turpmāk pastāvīgi to piemērot.
Sistēma: Pašapkalpošanās portāls | Izpildes termiņš: avansa norēķinu personas par tām tieši izmaksātiem finanšu līdzekļiem - ne vēlāk kā 17 kd laikā pēc mēneša beigām, kurā attaisnojuma dokuments (attiecīgais čeks, kas pievienots pie avansa norēķina) ir izsniegts. Avansa norēķinu personas par tām netieši izmaksātiem finanšu līdzekļiem (saņemot līdzekļus Iestādei piesaistītajā maksājumu kartē) - katra nākamā mēneša sākumā līdz 10.datumam par iepriekšējā mēnesī veiktajiem norēķiniem, izņemot par kārtējā gada decembra darījumiem - līdz 27. decembrim | Sagatavotie dati: Avansa norēķins
Ārējais priekštecis: FG2/2.3.4</bpmn:documentation>
<bpmn:incoming>Flow_3</bpmn:incoming>
<bpmn:outgoing>Flow_2</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_3_5_2_3" name="Avansa norēķina apstrāde">
<bpmn:documentation>Nr.p.k.: 3.5.2.3. | RACI: VPC=R
VPC saskaņā ar Horizon projektējumā norādīto ģenerē attiecīgo dokumentu. Par saimnieciskajiem avansiem, kas veikti uz Iestādei piesaistīto norēķinu karti - avansa atlikums tiek saglabāts (izņemot decembra norēķina periodu, kas nepāriet uz nākamā gada janvāri) ar mērķi Iestādei avansa atlikumu izlietot nākamajā norēķina periodā.
Sistēma: RVS Horizon | Izpildes termiņš: *3 dd laikā no avansa norēķina apstiprināšanas, kas apstiprināts līdz darba dienas plkst.15.00 | Sagatavotie dati: Izdevumu/kreditoru dokuments
Ārējais pēctecis: FG2/2.3.2, FG3/3.5.1.5, FG3/3.5.4.1, FG6/6.2.1.1, FG6/6.2.1.2, FG6/6.2.1.3</bpmn:documentation>
<bpmn:incoming>Flow_2</bpmn:incoming>
<bpmn:outgoing>Flow_3</bpmn:outgoing>
</bpmn:userTask>
<bpmn:endEvent id="End_1" name="Izeja: 3.5.2.1.">
<bpmn:incoming>Flow_4</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1" sourceRef="Start_1" targetRef="Task_3_5_2_1"/>
<bpmn:sequenceFlow id="Flow_2" sourceRef="Task_3_5_2_2" targetRef="Task_3_5_2_3"/>
<bpmn:sequenceFlow id="Flow_3" sourceRef="Task_3_5_2_3" targetRef="Task_3_5_2_2"/>
<bpmn:sequenceFlow id="Flow_4" sourceRef="Task_3_5_2_1" targetRef="End_1"/>
</bpmn:process>
<bpmndi:BPMNDiagram xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_3_5_2">
<bpmndi:BPMNShape id="Shape_Lane_Nodarbinatais" bpmnElement="Lane_Nodarbinatais" isHorizontal="true">
<dc:Bounds x="30" y="40" width="780" height="180"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Shape_Lane_VPC" bpmnElement="Lane_VPC" isHorizontal="true">
<dc:Bounds x="30" y="220" width="780" height="180"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Shape_Start_1" bpmnElement="Start_1">
<dc:Bounds x="122" y="112" width="36" height="36"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Shape_End_1" bpmnElement="End_1">
<dc:Bounds x="462" y="112" width="36" height="36"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Shape_Task_3_5_2_1" bpmnElement="Task_3_5_2_1">
<dc:Bounds x="260" y="90" width="100" height="80"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Shape_Task_3_5_2_2" bpmnElement="Task_3_5_2_2">
<dc:Bounds x="600" y="90" width="100" height="80"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Shape_Task_3_5_2_3" bpmnElement="Task_3_5_2_3">
<dc:Bounds x="600" y="270" width="100" height="80"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Edge_Flow_1" bpmnElement="Flow_1">
<di:waypoint x="158" y="130"/>
<di:waypoint x="260" y="130"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Edge_Flow_2" bpmnElement="Flow_2">
<di:waypoint x="700" y="130"/>
<di:waypoint x="720" y="130"/>
<di:waypoint x="720" y="70"/>
<di:waypoint x="580" y="70"/>
<di:waypoint x="580" y="310"/>
<di:waypoint x="600" y="310"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Edge_Flow_3" bpmnElement="Flow_3">
<di:waypoint x="700" y="310"/>
<di:waypoint x="720" y="310"/>
<di:waypoint x="720" y="70"/>
<di:waypoint x="580" y="70"/>
<di:waypoint x="580" y="130"/>
<di:waypoint x="600" y="130"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Edge_Flow_4" bpmnElement="Flow_4">
<di:waypoint x="360" y="130"/>
<di:waypoint x="462" y="130"/>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>