Force Record Delete

Name in migrated code: DeleteRowAfterLeavingItIf
Location in migrated code: OnLoad

Migrated Code Example

protected override void OnLoad()
{
     DeleteRowAfterLeavingItIf(() => true);
} 

Condition as an expression:

protected override void OnLoad()
{
      DeleteRowAfterLeavingItIf(() => ENV.Security.UserManager.CurrentUser.Name == "SUPERVISOR");
} 

Property Values

True or false. The default is false which is Force record delete = No in Magic

See Also

UIController DeleteRowAfterLeavingItIf


Help us improve, Edit this page on GitHub
or email us at info@fireflymigration.com