You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/events.md
+20-18Lines changed: 20 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,55 +87,57 @@ This event is fired **after** an engineering change has been released. Raising a
87
87
|parts| list[[Part](objects.md#part)]|List of included parts.|
88
88
89
89
90
-
## PartReleaseEvent
91
-
`csfunctions.events.PartReleaseEvent`
90
+
## PartReleaseCheckEvent
91
+
`csfunctions.events.PartReleaseCheckEvent`
92
92
93
-
This event is fired **after** a part has been released. Raising an exception thus can not prevent the release.
93
+
This event is fired when a user tries to release a part. Raising an exception will prevent the release. If the release is done via the express release, the event is triggered before reviewers are notified.
94
+
Be aware that the part is not released yet and the release might still be aborted for other reasons (e.g. the reviewers don't give approval), so don't sent the part to e.g. an ERP system yet.
|parts| list[[Part](objects.md#part)]|List of parts that were released.|
106
+
|parts| list[[Part](objects.md#part)]|List of parts that will released.|
102
107
|documents| list[[Document](objects.md#document)]|List of documents that belong to the released parts.|
103
108
|dialog_data|PartReleaseDialogData|Contents of the dialog.|
104
109
105
-
**PartReleaseDialogData:**
110
+
**PartReleaseCheckDialogData:**
106
111
107
112
|Attribute|Type|Description|
108
113
|-|-|-|
109
114
|cdbprot_remark|str \| None | Remark|
110
115
|cdb_ec_id|str \| None| Engineering Change ID|
111
116
112
-
## PartReleaseCheckEvent
113
-
`csfunctions.events.PartReleaseCheckEvent`
114
-
115
-
This event is fired when a user tries to release a part. Raising an exception will prevent the release. If the release is done via the express release, the event is triggered before reviewers are notified.
116
-
Be aware that the part is not released yet and the release might still be aborted for other reasons (e.g. the reviewers don't give approval), so don't sent the part to e.g. an ERP system yet.
0 commit comments