Table of Contents

Class MainFormObjectVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Represent an object of screen

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

Properties

GetFieldStampName

Use only field name without table name

public override string GetFieldStampName { get; }

Property Value

string

GetStampValue

public override string GetStampValue { get; }

Property Value

string

fields

[AttCollection(typeof(MainFormFieldVO), new TableFlags[] { TableFlags.CanUpdFromSourceBD }, new string[] { "[MainFormField].[mainFormObjectstamp]", "[MainFormObject].[mainFormObjectstamp]" })]
public List<MainFormFieldVO> fields { get; set; }

Property Value

List<MainFormFieldVO>

formulaLabel

GRID formula config

[AttLenght(50)]
public string formulaLabel { get; set; }

Property Value

string

formulastamp

GRID formula config

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

Property Value

string

gridDatasourceCode

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

Property Value

string

hiddenFields

[AttCollection(typeof(MainFormFieldVO), new TableFlags[] { TableFlags.CanUpdFromSourceBD }, new string[] { "[MainFormField].[mainFormObjectstamp]", "[MainFormObject].[mainFormObjectstamp]" })]
public List<MainFormFieldVO> hiddenFields { get; set; }

Property Value

List<MainFormFieldVO>

isMapFormula

GRID formula config

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

Property Value

bool

label

Label given by developer (for "FIELD" type objects this will hold the same value as the associated "MainFormFieldVO")

public string label { get; set; }

Property Value

string

line

wich line (index) this object belongs

[AttLenght(4)]
public int line { get; set; }

Property Value

int

lordem

position order

[AttLenght(4)]
public int lordem { get; set; }

Property Value

int

mainFormObjectstamp

Record stamp identifier

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

Property Value

string

manyRowsLabel

GRID Usage Nature of each row entity (plural)

public string manyRowsLabel { get; set; }

Property Value

string

name

Name given by developer

[AttLenght(60)]
[AttLogInfo(1)]
public string name { get; set; }

Property Value

string

navigationLabel

Label to show on dropdown column in GRID

public string navigationLabel { get; set; }

Property Value

string

navigationSourceField

Source entityfield for navigation

[AttLenght(60)]
public string navigationSourceField { get; set; }

Property Value

string

navigationTargetEntity

Target entity for navigation

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

Property Value

string

navigationTargetEntitySeriesField

Target entity for navigation

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

Property Value

string

navigationTargetField

Target entityfield for navigation

[AttLenght(60)]
public string navigationTargetField { get; set; }

Property Value

string

navigationType

Type of field navigation

[AttLenght(2)]
public InputBoxNavigationMode navigationType { get; set; }

Property Value

InputBoxNavigationMode

onlyEdition

public bool onlyEdition { get; set; }

Property Value

bool

parentStamp

Parent Stamp

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

Property Value

string

searchCode

typescript code for search queryvo

[AttFieldType(AttFieldType.InputTypes.memo)]
public string searchCode { get; set; }

Property Value

string

searchFields

[AttCollection(typeof(MainFormFieldVO), new TableFlags[] { TableFlags.CanUpdFromSourceBD }, new string[] { "[MainFormField].[mainFormObjectstamp]", "[MainFormObject].[mainFormObjectstamp]" })]
public List<MainFormFieldVO> searchFields { get; set; }

Property Value

List<MainFormFieldVO>

searchQuery

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

Property Value

string

searchSourceField

Source field for popup search (grid usage)

[AttLenght(50)]
public string searchSourceField { get; set; }

Property Value

string

searchTargetField

Target field for popup search (grid usage)

[AttLenght(50)]
public string searchTargetField { get; set; }

Property Value

string

searchTrackBy

id of record to track by

[AttLenght(50)]
public string searchTrackBy { get; set; }

Property Value

string

secondaryEntity

Used only for grid extension

[AttLenght(100)]
public string secondaryEntity { get; set; }

Property Value

string

singleRowLabel

GRID Usage Nature of each row entity (singular)

public string singleRowLabel { get; set; }

Property Value

string

type

Type of Object

[AttLenght(2)]
public MainFormObjectType type { get; set; }

Property Value

MainFormObjectType

useDimensions

public bool useDimensions { get; set; }

Property Value

bool

width

Width of a object [100, 75, 50, 25]

[AttLenght(3)]
public MainFormObjectWidth width { get; set; }

Property Value

MainFormObjectWidth

zone

Wich zone this object belongs

[AttLenght(2)]
public ObjectRenderPlaces zone { get; set; }

Property Value

ObjectRenderPlaces

Methods

SetStampValue(string)

public override void SetStampValue(string stampID)

Parameters

Nome Tipo Descrição
stampID string