Table of Contents

Class MainFormActionVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Represents an user action available for the records of an entity

[AttTable("MainFormAction", 20230418)]
[AttTableTarget(DBTarget.Home)]
[AttTableFlags(new TableFlags[] { TableFlags.AddOnNotCustomizable })]
public class MainFormActionVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
MainFormActionVO

Properties

EntityRuleVO

[AttExternalCollection(typeof(EntityRuleVO), new string[] { "[EntityRule].[customizationname]", "[MainFormAction].[businessRuleID]" })]
public EntityRuleVO EntityRuleVO { get; }

Property Value

EntityRuleVO

actionCode

action .TS code

public string actionCode { get; set; }

Property Value

string

actionId

Only backend use for portal form action dll generation

[AttLenght(40)]
public string actionId { get; set; }

Property Value

string

authEntity

Only backend use for portal form action dll generation

[AttLenght(40)]
public string authEntity { get; set; }

Property Value

string

businessRuleCall

Indicates that the action is just a business rule call

[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool businessRuleCall { get; set; }

Property Value

bool

businessRuleID

business rule id

[AttLenght(60)]
[AttLogInfo(2)]
public string businessRuleID { get; set; }

Property Value

string

businessRuleName

[AttVirtualField]
[AttHidden]
public string businessRuleName { get; set; }

Property Value

string

conditionCode

condition of action .TS

public string conditionCode { get; set; }

Property Value

string

isPortalAction

Indicates that this action config is only available @portal

[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool isPortalAction { get; set; }

Property Value

bool

listAction

Indicates if the type of action is list mode

[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool listAction { get; set; }

Property Value

bool

mainFormActionstamp

Record stamp identifier

[AttLenght(25)]
public string mainFormActionstamp { get; set; }

Property Value

string

parentStamp

Parent Stamp

[AttForeignKey]
[AttLenght(25)]
public string parentStamp { get; set; }

Property Value

string

runWarningRules

ask user a question

[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool runWarningRules { get; set; }

Property Value

bool

suggestedAction

Indicates that the action should be suggested after the record is saved

[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool suggestedAction { get; set; }

Property Value

bool

targetEntity

Target entity ID

[AttLenght(40)]
[AttMandatory]
[AttLogInfo(1)]
public string targetEntity { get; set; }

Property Value

string

title

Title given by developer

[AttLenght(250)]
[AttLogInfo(0)]
public string title { get; set; }

Property Value

string