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
GetStampValue
public override string GetStampValue { get; }
Property Value
fields
[AttCollection(typeof(MainFormFieldVO), new TableFlags[] { TableFlags.CanUpdFromSourceBD }, new string[] { "[MainFormField].[mainFormObjectstamp]", "[MainFormObject].[mainFormObjectstamp]" })]
public List<MainFormFieldVO> fields { get; set; }
Property Value
formulaLabel
GRID formula config
[AttLenght(50)]
public string formulaLabel { get; set; }
Property Value
formulastamp
GRID formula config
[AttLenght(25)]
public string formulastamp { get; set; }
Property Value
gridDatasourceCode
[AttVirtualField]
public string gridDatasourceCode { get; set; }
Property Value
hiddenFields
[AttCollection(typeof(MainFormFieldVO), new TableFlags[] { TableFlags.CanUpdFromSourceBD }, new string[] { "[MainFormField].[mainFormObjectstamp]", "[MainFormObject].[mainFormObjectstamp]" })]
public List<MainFormFieldVO> hiddenFields { get; set; }
Property Value
isMapFormula
GRID formula config
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool isMapFormula { get; set; }
Property Value
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
line
wich line (index) this object belongs
[AttLenght(4)]
public int line { get; set; }
Property Value
lordem
position order
[AttLenght(4)]
public int lordem { get; set; }
Property Value
mainFormObjectstamp
Record stamp identifier
[AttLenght(25)]
public string mainFormObjectstamp { get; set; }
Property Value
manyRowsLabel
GRID Usage Nature of each row entity (plural)
public string manyRowsLabel { get; set; }
Property Value
name
Name given by developer
[AttLenght(60)]
[AttLogInfo(1)]
public string name { get; set; }
Property Value
navigationLabel
Label to show on dropdown column in GRID
public string navigationLabel { get; set; }
Property Value
navigationSourceField
Source entityfield for navigation
[AttLenght(60)]
public string navigationSourceField { get; set; }
Property Value
navigationTargetEntity
Target entity for navigation
[AttLenght(40)]
public string navigationTargetEntity { get; set; }
Property Value
navigationTargetEntitySeriesField
Target entity for navigation
[AttLenght(40)]
public string navigationTargetEntitySeriesField { get; set; }
Property Value
navigationTargetField
Target entityfield for navigation
[AttLenght(60)]
public string navigationTargetField { get; set; }
Property Value
navigationType
Type of field navigation
[AttLenght(2)]
public InputBoxNavigationMode navigationType { get; set; }
Property Value
onlyEdition
public bool onlyEdition { get; set; }
Property Value
parentStamp
Parent Stamp
[AttForeignKey]
[AttLenght(25)]
public string parentStamp { get; set; }
Property Value
searchCode
typescript code for search queryvo
[AttFieldType(AttFieldType.InputTypes.memo)]
public string searchCode { get; set; }
Property Value
searchFields
[AttCollection(typeof(MainFormFieldVO), new TableFlags[] { TableFlags.CanUpdFromSourceBD }, new string[] { "[MainFormField].[mainFormObjectstamp]", "[MainFormObject].[mainFormObjectstamp]" })]
public List<MainFormFieldVO> searchFields { get; set; }
Property Value
searchQuery
[AttVirtualField]
public string searchQuery { get; set; }
Property Value
searchSourceField
Source field for popup search (grid usage)
[AttLenght(50)]
public string searchSourceField { get; set; }
Property Value
searchTargetField
Target field for popup search (grid usage)
[AttLenght(50)]
public string searchTargetField { get; set; }
Property Value
searchTrackBy
id of record to track by
[AttLenght(50)]
public string searchTrackBy { get; set; }
Property Value
secondaryEntity
Used only for grid extension
[AttLenght(100)]
public string secondaryEntity { get; set; }
Property Value
singleRowLabel
GRID Usage Nature of each row entity (singular)
public string singleRowLabel { get; set; }
Property Value
type
Type of Object
[AttLenght(2)]
public MainFormObjectType type { get; set; }
Property Value
useDimensions
public bool useDimensions { get; set; }
Property Value
width
Width of a object [100, 75, 50, 25]
[AttLenght(3)]
public MainFormObjectWidth width { get; set; }
Property Value
zone
Wich zone this object belongs
[AttLenght(2)]
public ObjectRenderPlaces zone { get; set; }
Property Value
Methods
SetStampValue(string)
public override void SetStampValue(string stampID)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
stampID |
string |