# Statusaction

Will execute just about anything for a single object in a determined state

# Description

Status actions codeunits will execute just about anything for a single object in a determined state.

The codeunit is bound to a Status action, and can be executed either on entry, on exit or after a given amount of time.

As with other actions the execution is logged, in order to prevent double firing of an given event.

The event methods are

```java
execute(int SagID, int DataID, int StatusID );
```