@@ -154,6 +154,164 @@ This event is fired **after** an engineering change has been released. Raising a
154154| documents | list[[ Document] ( objects.md#document )] | List of included documents. |
155155| parts | list[[ Part] ( objects.md#part )] | List of included parts. |
156156
157+ ## ChangeOrderReleaseCheckEvent
158+ ` csfunctions.events.ChangeOrderReleaseCheckEvent `
159+
160+ This event is fired when a user tries to release a change order. Raising an exception will prevent the release.
161+ Be aware that the change order is not released yet and the release might still be aborted for other reasons, so don't sent the change order to e.g. an ERP system yet.
162+
163+ ** Supported actions:**
164+
165+ - [ AbortAndShowErrorAction] ( actions.md#abortandshowerroraction )
166+
167+ ** ChangeOrderReleaseCheckEvent.name:** change_order_release_check
168+
169+ ** ChangeOrderReleaseCheckEvent.data:**
170+
171+ | Attribute | Type | Description |
172+ | ------------- | ------------------------------------------- | -------------------------------------------- |
173+ | change_orders | list[[ ChangeOrder] ( objects.md#changeorder )] | List of change orders that will be released. |
174+ | documents | list[[ Document] ( objects.md#document )] | List of included documents. |
175+ | parts | list[[ Part] ( objects.md#part )] | List of included parts. |
176+
177+
178+ ## ChangeOrderReleasedEvent
179+ ` csfunctions.events.ChangeOrderReleasedEvent `
180+
181+ This event is fired ** after** a change order has been released. Raising an exception thus can not prevent the release.
182+
183+ ** Supported actions:**
184+
185+ - [ StartWorkflowAction] ( actions.md#startworkflowaction )
186+
187+ ** ChangeOrderReleasedEvent.name:** change_order_released
188+
189+ ** ChangeOrderReleasedEvent.data:**
190+
191+ | Attribute | Type | Description |
192+ | ------------- | ------------------------------------------- | ----------------------------------------- |
193+ | change_orders | list[[ ChangeOrder] ( objects.md#changeorder )] | List of change orders that were released. |
194+ | documents | list[[ Document] ( objects.md#document )] | List of included documents. |
195+ | parts | list[[ Part] ( objects.md#part )] | List of included parts. |
196+
197+
198+ ## ChangeOrderStatusChangedEvent
199+ ` csfunctions.events.ChangeOrderStatusChangedEvent `
200+
201+ This event is fired ** after** a change order's status has been modified. Raising an exception cannot prevent the status change.
202+
203+ ** ChangeOrderStatusChangedEvent.name:** change_order_status_changed
204+
205+ ** ChangeOrderStatusChangedEvent.data:**
206+
207+ | Attribute | Type | Description |
208+ | ------------ | ------------------------------------- | ------------------------------------------------- |
209+ | change_order | [ ChangeOrder] ( objects.md#changeorder ) | The change order that had its status modified |
210+ | prev_status | int | The previous status of the change order |
211+ | documents | list[[ Document] ( objects.md#document )] | List of documents attached to the change order |
212+ | parts | list[[ Part] ( objects.md#part )] | List of parts attached to the change order |
213+
214+
215+ ## ChangeOrderStatusChangeCheckEvent
216+ ` csfunctions.events.ChangeOrderStatusChangeCheckEvent `
217+
218+ This event is fired when a user tries to modify a change order's status. Raising an exception will prevent the status change.
219+
220+ ** Supported actions:**
221+
222+ - [ AbortAndShowErrorAction] ( actions.md#abortandshowerroraction )
223+
224+ ** ChangeOrderStatusChangeCheckEvent.name:** change_order_status_change_check
225+
226+ ** ChangeOrderStatusChangeCheckEvent.data:**
227+
228+ | Attribute | Type | Description |
229+ | ------------- | ------------------------------------- | ------------------------------------------------- |
230+ | change_order | [ ChangeOrder] ( objects.md#changeorder ) | The change order that will have its status modified |
231+ | target_status | int | The target status of the change order |
232+ | documents | list[[ Document] ( objects.md#document )] | List of documents attached to the change order |
233+ | parts | list[[ Part] ( objects.md#part )] | List of parts attached to the change order |
234+
235+
236+ ## ChangeRequestReleaseCheckEvent
237+ ` csfunctions.events.ChangeRequestReleaseCheckEvent `
238+
239+ This event is fired when a user tries to release a change request. Raising an exception will prevent the release.
240+ Be aware that the change request is not released yet and the release might still be aborted for other reasons, so don't sent the change request to e.g. an ERP system yet.
241+
242+ ** Supported actions:**
243+
244+ - [ AbortAndShowErrorAction] ( actions.md#abortandshowerroraction )
245+
246+ ** ChangeRequestReleaseCheckEvent.name:** change_request_release_check
247+
248+ ** ChangeRequestReleaseCheckEvent.data:**
249+
250+ | Attribute | Type | Description |
251+ | --------------- | ----------------------------------------------- | ---------------------------------------------- |
252+ | change_requests | list[[ ChangeRequest] ( objects.md#changerequest )] | List of change requests that will be released. |
253+ | documents | list[[ Document] ( objects.md#document )] | List of included documents. |
254+ | parts | list[[ Part] ( objects.md#part )] | List of included parts. |
255+
256+
257+ ## ChangeRequestReleasedEvent
258+ ` csfunctions.events.ChangeRequestReleasedEvent `
259+
260+ This event is fired ** after** a change request has been released. Raising an exception thus can not prevent the release.
261+
262+ ** Supported actions:**
263+
264+ - [ StartWorkflowAction] ( actions.md#startworkflowaction )
265+
266+ ** ChangeRequestReleasedEvent.name:** change_request_released
267+
268+ ** ChangeRequestReleasedEvent.data:**
269+
270+ | Attribute | Type | Description |
271+ | --------------- | ----------------------------------------------- | ------------------------------------------- |
272+ | change_requests | list[[ ChangeRequest] ( objects.md#changerequest )] | List of change requests that were released. |
273+ | documents | list[[ Document] ( objects.md#document )] | List of included documents. |
274+ | parts | list[[ Part] ( objects.md#part )] | List of included parts. |
275+
276+
277+ ## ChangeRequestStatusChangedEvent
278+ ` csfunctions.events.ChangeRequestStatusChangedEvent `
279+
280+ This event is fired ** after** a change request's status has been modified. Raising an exception cannot prevent the status change.
281+
282+ ** ChangeRequestStatusChangedEvent.name:** change_request_status_changed
283+
284+ ** ChangeRequestStatusChangedEvent.data:**
285+
286+ | Attribute | Type | Description |
287+ | -------------- | ----------------------------------------- | ------------------------------------------------ |
288+ | change_request | [ ChangeRequest] ( objects.md#changerequest ) | The change request that had its status modified |
289+ | prev_status | int | The previous status of the change request |
290+ | documents | list[[ Document] ( objects.md#document )] | List of documents attached to the change request |
291+ | parts | list[[ Part] ( objects.md#part )] | List of parts attached to the change request |
292+
293+
294+ ## ChangeRequestStatusChangeCheckEvent
295+ ` csfunctions.events.ChangeRequestStatusChangeCheckEvent `
296+
297+ This event is fired when a user tries to modify a change request's status. Raising an exception will prevent the status change.
298+
299+ ** Supported actions:**
300+
301+ - [ AbortAndShowErrorAction] ( actions.md#abortandshowerroraction )
302+
303+ ** ChangeRequestStatusChangeCheckEvent.name:** change_request_status_change_check
304+
305+ ** ChangeRequestStatusChangeCheckEvent.data:**
306+
307+ | Attribute | Type | Description |
308+ | -------------- | ----------------------------------------- | ---------------------------------------------------- |
309+ | change_request | [ ChangeRequest] ( objects.md#changerequest ) | The change request that will have its status modified |
310+ | target_status | int | The target status of the change request |
311+ | documents | list[[ Document] ( objects.md#document )] | List of documents attached to the change request |
312+ | parts | list[[ Part] ( objects.md#part )] | List of parts attached to the change request |
313+
314+
157315## PartCreateCheckEvent
158316` csfunctions.events.PartCreateCheckEvent `
159317
@@ -299,6 +457,8 @@ This event is fired by the workflow task "Trigger Webhook".
299457| parts | list[[ Part] ( objects.md#part )] | List of parts attached to the workflow. |
300458| documents | list[[ Document] ( objects.md#document )] | List of documents attached to the workflow. |
301459| engineering_changes | list[[ EngineeringChange] ( objects.md#engineeringchange )] | List of engineering changes attached to the workflow. |
460+ | change_orders | list[[ ChangeOrder] ( objects.md#changeorder )] | List of change orders attached to the workflow. |
461+ | change_requests | list[[ ChangeRequest] ( objects.md#changerequest )] | List of change requests attached to the workflow. |
302462| briefcases | list[[ Briefcase] ( objects.md#briefcase )] | List of briefcases attached to the workflow. |
303463
304464## EngineeringChangeStatusChanged
0 commit comments