summaryrefslogtreecommitdiffstats
path: root/Woflan/WarehouseWarehouse/Main_Process.tpn
blob: 8512fc522228ff209bf7040b0bd2bc12fc861fc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
-- Reading file D:\My Documents\Protos\Classic\Woflan\Order and restock\Main_Process.scr
-- 
-- Generated by Co2Tpn, d.d. Jul 10 2003 --
-- 
-- History
-- 
-- 10 Jul 2003:
--   Fixed a subsubprocess nomenclature bug.
--   Writing file handling errors to output file.
-- 
-- 16 Oct 2000:
--   Moved "icon_id" and "duration" option outside "with" option.
--   Added "command_ruled" option for conditions (has extra parameter).
-- 
-- 13 Oct 2000:
--   Initial version.
-- 
-- declare flow: Main_Process
place "start flow" init 1;
-- declare activity: dummy_2
trans "dummy_2"
    in "date_checked"
    out "inventory_updated"
;
-- end activity: dummy_2
-- declare activity: throw_away
trans "throw_away"
    in "date_checked"
    out "thrown_away"
;
-- end activity: throw_away
-- declare activity: check_date
trans "check_date"
    in "date_inspection"
    out "date_checked"
;
-- end activity: check_date
-- declare activity: update_inventory_1
trans "update_inventory_1"
    in "thrown_away"
    out "inventory_updated"
;
-- end activity: update_inventory_1
-- declare activity: AND_join_1
trans "AND_join_1"
    in "inventory_updated" "added_to_order"
    out "end_of_process"
;
-- end activity: AND_join_1
-- declare activity: end_activity
trans "end_activity"
    in "end_of_process"
    out "end flow"
;
-- end activity: end_activity
-- declare activity: start_activity
trans "start_activity"
    in "start flow"
    out "wait_for_restocking"
;
-- end activity: start_activity
-- declare activity: inspect_goods
trans "inspect_goods"
    in "wait_for_restocking"
    out "date_inspection" "quantity_inspection"
;
-- end activity: inspect_goods
-- declare activity: dummy_1
trans "dummy_1"
    in "inventory_updated"
    out "date_inspection"
;
-- end activity: dummy_1
-- declare activity: add_to_order
trans "add_to_order"
    in "quantity_checked"
    out "added_to_order"
;
-- end activity: add_to_order
-- declare activity: check_quantity
trans "check_quantity"
    in "quantity_inspection"
    out "quantity_checked"
;
-- end activity: check_quantity
-- end flow: Main_Process