Skip to main content

Set Date On Status

What it does

Sets one or more fields to today's date when the codeunit is run.

First setup

Create a Configuration on the entity named "SetDateOnStatus.[StatusID]", which contains the system name(s) of the field(s) to be corrected.
If multiple fields, separate with spaces.

How to invoke

Add the codeunit to a status action.

Configuration

[All possible configurations and where to edit them]

Developer info

  • Type: CodeunitStatusaction
  • Security: access to the record
  • Classpath: com.tsnocode.codeunit.common.SetDateOnStatus