Table of Contents

Class EntityRuleVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Regras de Entidade

[AttTable("EntityRule", 20230701)]
[AttTableTarget(DBTarget.Home)]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.FullTextSearchable, TableFlags.TableForJorge, TableFlags.AddOnNotCustomizable, TableFlags.DisableRowCount, TableFlags.AddOnFramework, TableFlags.StudioOnly })]
[AttTableVOInfo(typeof(EntityRuleAttInfo))]
public class EntityRuleVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
EntityRuleVO

Properties

customizationname

Description

[AttLenght(80)]
[AttMandatory]
[AttLogInfo(0)]
[AttList]
public string customizationname { get; set; }

Property Value

string

description

Description given by developer

[AttList]
public string description { get; set; }

Property Value

string

entity

Entity ID

[AttLenght(45)]
[AttMandatory]
[AttLogInfo(1)]
[AttList]
public string entity { get; set; }

Property Value

string

entityLabel

[AttLocale(typeof(EntityRuleAttInfo), new string[] { "[EntityRule].[entity]" })]
[AttList(Hidden = true)]
[AttVirtualField]
public string entityLabel { get; set; }

Property Value

string

entityrulestamp

ID, used to link others to this entity.

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

Property Value

string

Remarks

This field uniquely identifies the record.

entityruletype

public EntityRuleTypes entityruletype { get; set; }

Property Value

EntityRuleTypes

functionfooter

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

Property Value

string

functionheader

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

Property Value

string

functionhelp

[AttVirtualField]
[AttHidden]
public HelperVO functionhelp { get; set; }

Property Value

HelperVO

refentity

Ref Entity ID

[AttLenght(45)]
[AttList(Hidden = true)]
public string refentity { get; set; }

Property Value

string

refentityLabel

[AttLocale(typeof(EntityRuleAttInfo), new string[] { "[EntityRule].[refentity]" })]
[AttList(Hidden = true)]
[AttVirtualField]
public string refentityLabel { get; set; }

Property Value

string

rulecode

[AttFieldType(AttFieldType.InputTypes.memo)]
[AttList(Hidden = true)]
public string rulecode { get; set; }

Property Value

string

ruleid

[AttLenght(60)]
[AttList(Hidden = true)]
public string ruleid { get; set; }

Property Value

string

tipo

Rule Type

[AttLenght(2)]
[AttMandatory]
public RulesTypes tipo { get; set; }

Property Value

RulesTypes

tipoLabel

Calculation Type name

[AttLenght(40)]
[AttLocale(typeof(EntityRuleAttInfo), new string[] { "[EntityRule].[tipo]" })]
[AttList]
[AttLogInfo(2)]
public string tipoLabel { get; set; }

Property Value

string

toolDescription

Virtual use only for "recent" tab @frontend Do not forget to include AttList for fields that are included in virtual

[AttVirtualField]
public string toolDescription { get; set; }

Property Value

string

toolName

Virtual use only for "recent" tab @frontend Do not forget to include AttList for fields that are included in virtual

[AttVirtualField]
public string toolName { get; set; }

Property Value

string

translations

[AttCollection(typeof(UserLocaleVO), new string[] { "[UserLocale].[parentStamp]", "[EntityRule].[entityrulestamp]" })]
public List<UserLocaleVO> translations { get; set; }

Property Value

List<UserLocaleVO>

Explicit Interface Implementations

AsStudioTool()

StudioToolVO AsStudioTool()

Returns

StudioToolVO

CanDeleteTool()

bool CanDeleteTool()

Returns

bool

ToolMainFields()

List<string> ToolMainFields()

Returns

List<string>