FG3 build-out: six FG3-x sub-process packages + FG3-1 executable
Adds the six FG3 sub-process packages (processes/fg3-1 .. fg3-6) and wires
them into the FG3 (L2) package via `includes`; FG3 version 0.1.0 -> 0.2.0.
FG3-1 (Rēķina/kredītrēķina saņemšana par precēm/pakalpojumiem) is built out
as an executable L4 package:
- bpmn/rekina-sanemsana.bpmn - 3-lane process (Nodarbinātais / VPC / Iestāde)
- dmn/rekina-parbaude.dmn - FIRST hit-policy routing decision table
- resources/ - roles, agent and mappings binding every user
task and the decision to a target
- metadata/ - ownership, lifecycle, policies
FG3-2..FG3-6 are draft composition placeholders (L4) pending executable
build-out.
Validated against the UAPF 2.2.0 schemas (manifest, ownership, lifecycle,
policies, resource-mapping, enterprise index): all includes resolve, no
duplicated executable artifacts, BPMN/DMN well-formed, and all resource
mapping references resolve to real BPMN/DMN element ids.
This commit is contained in:
126
processes/fg3-1/bpmn/rekina-sanemsana.bpmn
Normal file
126
processes/fg3-1/bpmn/rekina-sanemsana.bpmn
Normal file
@@ -0,0 +1,126 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
||||
id="Defs_FG3_1_RekinaSanemsana"
|
||||
targetNamespace="https://uapf.dev/vk-gramatvediba/fg3-1">
|
||||
<bpmn:process id="Process_RekinaSanemsana"
|
||||
name="Rēķina/kredītrēķina saņemšana par precēm/pakalpojumiem"
|
||||
isExecutable="true">
|
||||
|
||||
<bpmn:laneSet id="LaneSet_FG3_1">
|
||||
<bpmn:lane id="Lane_Nodarbinatais" name="Nodarbinātais">
|
||||
<bpmn:flowNodeRef>Start_RekinsSanemts</bpmn:flowNodeRef>
|
||||
</bpmn:lane>
|
||||
<bpmn:lane id="Lane_VPC" name="VPC (Vienotais pakalpojumu centrs)">
|
||||
<bpmn:flowNodeRef>Task_RegistreDVS</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Task_FormalaParbaude</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Task_SasaisteArLigumu</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Task_NoteiktMarsrutu</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Gateway_Marsruts</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Task_ManualaParbaude</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Task_AtgrieztPiegadatajam</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Task_Gramatosana</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>Task_NodotApmaksai</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>End_Iegramatots</bpmn:flowNodeRef>
|
||||
<bpmn:flowNodeRef>End_Atgriezts</bpmn:flowNodeRef>
|
||||
</bpmn:lane>
|
||||
<bpmn:lane id="Lane_Iestade" name="Iestāde (atbildīgā amatpersona)">
|
||||
<bpmn:flowNodeRef>Task_SaturiskaApstiprinasana</bpmn:flowNodeRef>
|
||||
</bpmn:lane>
|
||||
</bpmn:laneSet>
|
||||
|
||||
<bpmn:startEvent id="Start_RekinsSanemts" name="Rēķins/kredītrēķins saņemts">
|
||||
<bpmn:documentation>Rēķins saņemts elektroniski (e-rēķins EN 16931 caur e-adresi) vai papīra formā. Sistēma: e-adrese, DVS.</bpmn:documentation>
|
||||
<bpmn:outgoing>F1</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
|
||||
<bpmn:userTask id="Task_RegistreDVS" name="Reģistrēt rēķinu DVS">
|
||||
<bpmn:documentation>Rēķinu reģistrē dokumentu vadības sistēmā, piešķir reģistrācijas numuru un fiksē saņemšanas datumu. Sistēma: DVS. SLA: 1 darba diena no saņemšanas.</bpmn:documentation>
|
||||
<bpmn:incoming>F1</bpmn:incoming>
|
||||
<bpmn:outgoing>F2</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
|
||||
<bpmn:userTask id="Task_FormalaParbaude" name="Veikt formālo pārbaudi">
|
||||
<bpmn:documentation>Pārbauda obligātos rekvizītus (EN 16931), piegādātāja identificējamību un to, vai rēķins nav dublēts. Rezultāts: mainīgais formalaParbaude = "atbilst" | "neatbilst". Sistēma: DVS, grāmatvedības informācijas sistēma.</bpmn:documentation>
|
||||
<bpmn:incoming>F2</bpmn:incoming>
|
||||
<bpmn:outgoing>F3</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
|
||||
<bpmn:userTask id="Task_SasaisteArLigumu" name="Sasaistīt ar iepirkuma līgumu/pasūtījumu">
|
||||
<bpmn:documentation>Rēķinu sasaista ar iepirkuma līgumu vai pasūtījumu un veic trīspusējo salīdzināšanu (līgums – pasūtījums – rēķins). Rezultāts: mainīgais ligumaSasaiste = "pilna" | "dalena" | "nav".</bpmn:documentation>
|
||||
<bpmn:incoming>F3</bpmn:incoming>
|
||||
<bpmn:outgoing>F4</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
|
||||
<bpmn:businessRuleTask id="Task_NoteiktMarsrutu" name="Noteikt rēķina maršrutu">
|
||||
<bpmn:documentation>Automatizēti izvērtē rēķina apstrādes maršrutu, izpildot lēmumu Decision_RekinaMarsrutesana (dmn/rekina-parbaude.dmn). Ievaddati: formalaParbaude, ligumaSasaiste, dokumentaTips. Rezultāts: mainīgais marsruts.</bpmn:documentation>
|
||||
<bpmn:incoming>F4</bpmn:incoming>
|
||||
<bpmn:outgoing>F5</bpmn:outgoing>
|
||||
</bpmn:businessRuleTask>
|
||||
|
||||
<bpmn:exclusiveGateway id="Gateway_Marsruts" name="Maršruts?" default="F6">
|
||||
<bpmn:incoming>F5</bpmn:incoming>
|
||||
<bpmn:outgoing>F6</bpmn:outgoing>
|
||||
<bpmn:outgoing>F7</bpmn:outgoing>
|
||||
<bpmn:outgoing>F8</bpmn:outgoing>
|
||||
</bpmn:exclusiveGateway>
|
||||
|
||||
<bpmn:userTask id="Task_ManualaParbaude" name="Veikt manuālu izvērtēšanu">
|
||||
<bpmn:documentation>Vecākais grāmatvedis izvērtē rēķinu, kuram trūkst pilnas līguma sasaistes vai kurš ir kredītrēķins, un sagatavo to saturiskajai apstiprināšanai.</bpmn:documentation>
|
||||
<bpmn:incoming>F7</bpmn:incoming>
|
||||
<bpmn:outgoing>F9</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
|
||||
<bpmn:userTask id="Task_AtgrieztPiegadatajam" name="Atgriezt rēķinu piegādātājam precizēšanai">
|
||||
<bpmn:documentation>Rēķins, kas neiztur formālo pārbaudi, tiek atgriezts piegādātājam ar norādi par konstatētajām neatbilstībām. Sistēma: e-adrese, DVS.</bpmn:documentation>
|
||||
<bpmn:incoming>F8</bpmn:incoming>
|
||||
<bpmn:outgoing>F10</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
|
||||
<bpmn:userTask id="Task_SaturiskaApstiprinasana" name="Saturiski apstiprināt rēķinu">
|
||||
<bpmn:documentation>Iestādes atbildīgā amatpersona apliecina, ka preces/pakalpojumi ir saņemti atbilstoši līgumam, un apstiprina rēķinu apmaksai. SLA: 5 darba dienas.</bpmn:documentation>
|
||||
<bpmn:incoming>F6</bpmn:incoming>
|
||||
<bpmn:incoming>F9</bpmn:incoming>
|
||||
<bpmn:outgoing>F11</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
|
||||
<bpmn:userTask id="Task_Gramatosana" name="Iegrāmatot rēķinu">
|
||||
<bpmn:documentation>Apstiprināto rēķinu iegrāmato grāmatvedības informācijas sistēmā atbilstoši kontu plānam un izdevumu klasifikācijai. Sistēma: grāmatvedības informācijas sistēma.</bpmn:documentation>
|
||||
<bpmn:incoming>F11</bpmn:incoming>
|
||||
<bpmn:outgoing>F12</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
|
||||
<bpmn:userTask id="Task_NodotApmaksai" name="Sagatavot maksājuma uzdevuma priekšlikumu">
|
||||
<bpmn:documentation>Iegrāmatoto rēķinu nodod apmaksas plānošanai, sagatavojot maksājuma uzdevuma priekšlikumu atbilstoši samaksas termiņam.</bpmn:documentation>
|
||||
<bpmn:incoming>F12</bpmn:incoming>
|
||||
<bpmn:outgoing>F13</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
|
||||
<bpmn:endEvent id="End_Iegramatots" name="Rēķins iegrāmatots un nodots apmaksai">
|
||||
<bpmn:incoming>F13</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
|
||||
<bpmn:endEvent id="End_Atgriezts" name="Rēķins atgriezts piegādātājam">
|
||||
<bpmn:incoming>F10</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
|
||||
<bpmn:sequenceFlow id="F1" sourceRef="Start_RekinsSanemts" targetRef="Task_RegistreDVS"/>
|
||||
<bpmn:sequenceFlow id="F2" sourceRef="Task_RegistreDVS" targetRef="Task_FormalaParbaude"/>
|
||||
<bpmn:sequenceFlow id="F3" sourceRef="Task_FormalaParbaude" targetRef="Task_SasaisteArLigumu"/>
|
||||
<bpmn:sequenceFlow id="F4" sourceRef="Task_SasaisteArLigumu" targetRef="Task_NoteiktMarsrutu"/>
|
||||
<bpmn:sequenceFlow id="F5" sourceRef="Task_NoteiktMarsrutu" targetRef="Gateway_Marsruts"/>
|
||||
<bpmn:sequenceFlow id="F6" name="process" sourceRef="Gateway_Marsruts" targetRef="Task_SaturiskaApstiprinasana"/>
|
||||
<bpmn:sequenceFlow id="F7" name="manual-review" sourceRef="Gateway_Marsruts" targetRef="Task_ManualaParbaude">
|
||||
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">marsruts = "manual-review"</bpmn:conditionExpression>
|
||||
</bpmn:sequenceFlow>
|
||||
<bpmn:sequenceFlow id="F8" name="return" sourceRef="Gateway_Marsruts" targetRef="Task_AtgrieztPiegadatajam">
|
||||
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">marsruts = "return"</bpmn:conditionExpression>
|
||||
</bpmn:sequenceFlow>
|
||||
<bpmn:sequenceFlow id="F9" sourceRef="Task_ManualaParbaude" targetRef="Task_SaturiskaApstiprinasana"/>
|
||||
<bpmn:sequenceFlow id="F10" sourceRef="Task_AtgrieztPiegadatajam" targetRef="End_Atgriezts"/>
|
||||
<bpmn:sequenceFlow id="F11" sourceRef="Task_SaturiskaApstiprinasana" targetRef="Task_Gramatosana"/>
|
||||
<bpmn:sequenceFlow id="F12" sourceRef="Task_Gramatosana" targetRef="Task_NodotApmaksai"/>
|
||||
<bpmn:sequenceFlow id="F13" sourceRef="Task_NodotApmaksai" targetRef="End_Iegramatots"/>
|
||||
|
||||
</bpmn:process>
|
||||
</bpmn:definitions>
|
||||
Reference in New Issue
Block a user