External business events provide partners and customers a mechanism for notifying and triggering their external systems from the Business Central application, so their systems can react and perform actions in response. For example, they can use Power Automate to subscribe to events on Business Central and react on other Dynamics 365 and partner (non-Microsoft) applications.

Clever Quality adds the following business events:

  • QualityOrderCreated
  • QualityOrderPosted
  • LotStatusChanged
  • SerialStatusChanged



QualityOrderCreated

This event is fired when a new quality order is created. The event has the following parameters:

Name Type Size Description
QualityOrderRecordID Record ID The record ID of the Quality Order. This can be used to retrieve the Quality Order record using the APIs.
ItemNo Code 20 The Item No. being tested.
VariantCode Code 10 The Variant Code being tested (If applicable).
LocationCode Code 10 The Location Code of the items being tested.

Note: If the Quality Order relates to a pre-posting or scheduled test then all fields other than PostedQualityOrderRecordID will be blank.


QualityOrderPosted

This event is fired when a quality order has been completed and posted. The event has the following parameters:

Name Type Size Description
PostedQualityOrderRecordID Record ID The record ID of the Posted Quality Order record.
ItemNo Code 20 The Item No. being tested.
VariantCode Code 10 The Variant Code being tested (If applicable).
LocationCode Code 10 The Location Code of the items being tested.
QtyTested Decimal The quantity tested.
QtyPassed Decimal The quantity of the item that have passed testing.
QtyFailed Decimal The quantity of the item that have passed testing.
QtyConcession Decimal The quantity of the item that have passed testing with concessions.

Note: If the Quality Order relates to a pre-posting or scheduled test then all fields other than PostedQualityOrderRecordID will be blank.


LotStatusChanged

This event is fired when the lot status against a lot number has been changed. This will typically be as the result of a quality order. The event has the following parameters:

Name Type Size Description
LotInfoRecordID Record ID The record ID of the Lot No. Information record. 
ItemNo Code 20 The Item No. relating to the lot number.
VariantCode Code 10 The Variant Code relating to the lot number (if Applicable).
LotNo Code 50 The Lot number.
OldLotStatusCode Code 20 The Lot Status Code before the change.
NewLotStatusCode Code 20 The Lot Status Code after the change.



SerialStatusChanged

This event is fired when the serial status against a serial number has been changed. This will typically be as the result of a quality order. The event has the following parameters:

Name Type Size Description
DropRecordID Record ID The record ID of the Serial No. Information record. 
ItemNo Code 20 The Item No. relating to the serial number.
VariantCode Code 10 The Variant Code relating to the serial number (if Applicable).
SerialNo Code 50 The serial number.
OldSerialStatusCode Code 20 The Serial Status Code before the change.
NewSerialStatusCode Code 20 The Serial Status Code after the change.