Table of Contents | ||
---|---|---|
|
Purpose
This procedure (automatic schedule task) is designed to deactivate Requisition numbers when it became expired.
Process configuration
Name | Description | Format | Default value |
---|---|---|---|
MEDICATION_DEACTIVATION_SCHEDULE | How often to perform this task | Cron Format | `0 24 * * *` |
Job logic
Delete records from ME.requisition_number, where:
end_date < current_date()
Write changes to audit log