Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Engineering

Status Events in PML

  • Last UpdatedMar 10, 2023
  • 1 minute read

Status Control provides an event mechanism that can be customized for individual company and project requirements. User methods can be added as event handlers and will be called with a single array argument. The following events are supported.

Status Change Events

Event

Description

BeforeStatusAssign

Before a status is assigned to an object.

AfterStatusAssign

After a status is assigned to an object.

BeforeStatusRemove

Before a status is removed from an object.

AfterStatusRemove

After a status is removed from an object.

BeforeStatusChange

Before a status is changed/promoted/demoted on an object.

AfterStatusChange

After a status is changed/promoted/demoted on an object.

BeforeControlledElementDelete

Before a controlled object is deleted.

Arg No

Type

Description

1

ARRAY

String reference numbers of controlled objects.

2

STRING

Reference number of status definition.

3

STRING

Reference number of to status value (may be =0/0).

4

STRING

Return message aborts operation if set but only on Before … operations.

Database Change Events

Event

Description

BeforeSavework

Before savework when there are changes to status data.

AfterSavework

After savework when there are changes to status data.

BeforeFlush

Before flush when there are changes to status data.

AfterFlush

After flush when there are changes to status data.

Arg No

Type

Description

1

STRING

Reference number of status definition.

2

ARRAY

String reference numbers of objects that had status assigned.

3

ARRAY

String reference numbers of objects that had status changed.

4

ARRAY

String reference numbers of objects that had status removed.

5

STRING

Return message aborts operation if set but only on Before … operations.

TitleResults for “How to create a CRG?”Also Available in