Table of Contents

Class FormulaVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
[AttTable("FORMULA", 20231111)]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.CanUpdFromSourceBD, TableFlags.AddOnNotCustomizable, TableFlags.AddOnFramework, TableFlags.DisableRowCount, TableFlags.NotUseHashTag })]
[AttTableVOInfo(typeof(FormulaAttInfo))]
[AttTableProducts(new Products[] { Products.Accounting })]
[AttTableTarget(DBTarget.Home)]
[AttTableOrderBy("[Formula].[name]")]
public class FormulaVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
FormulaVO

Properties

code

[AttLenght(100)]
[AttLogInfo(1)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string code { get; set; }

Property Value

string

decimalplaces

[AttLenght(2)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttMinValue(0)]
[AttLogInfo(2)]
[AttList]
public int decimalplaces { get; set; }

Property Value

int

description

[AttFieldType(AttFieldType.InputTypes.memo)]
[AttList]
[AttLogInfo(3)]
public string description { get; set; }

Property Value

string

formulacategoryrelations

[AttCollection(typeof(FormulaCategoryRelationVO), new TableFlags[] { TableFlags.CanUpdFromSourceBD }, new string[] { "[Formula].[formulastamp]", "[FormulaCategoryRelation].[formulastamp]" })]
public List<FormulaCategoryRelationVO> formulacategoryrelations { get; set; }

Property Value

List<FormulaCategoryRelationVO>

formulaparts

[AttCollection(typeof(FormulaPartVO), new TableFlags[] { TableFlags.CanUpdFromSourceBD }, new string[] { "[Formula].[formulastamp]", "[FormulaPart].[formulastamp]" })]
public List<FormulaPartVO> formulaparts { get; set; }

Property Value

List<FormulaPartVO>

formulastamp

Single registration field, used to link others to this entity.

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

Property Value

string

gridDatasourceCode

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

Property Value

string

isGridFormula

[AttList]
public bool isGridFormula { get; set; }

Property Value

bool

name

[AttLenght(100)]
[AttMandatory]
[AttLogInfo(0)]
[AttList]
public string name { 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

Explicit Interface Implementations

AsStudioTool()

StudioToolVO AsStudioTool()

Returns

StudioToolVO

CanDeleteTool()

bool CanDeleteTool()

Returns

bool

ToolMainFields()

List<string> ToolMainFields()

Returns

List<string>