Table of Contents

Class BudgetAccountingVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Budget Accounting

[AttTable("BudgetAccounting", 20231025)]
[AttTableGama(Gamas.Enterprise)]
[AttTableVOInfo(typeof(BudgetAccountingAttInfo))]
[AttTableProducts(new Products[] { Products.Accounting })]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.NotUseHashTag })]
public class BudgetAccountingVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
BudgetAccountingVO

Properties

DimensionVO

[AttExternalCollection(typeof(DimensionVO), new string[] { "[Dimension].[dimensionstamp]", "[BudgetAccounting].[dimensionstamp]" })]
public DimensionVO DimensionVO { get; }

Property Value

DimensionVO

budgetaccountinglines

Colecção das linhas do orçamento.

[AttCollection(typeof(BudgetAccountingLineVO))]
public List<BudgetAccountingLineVO> budgetaccountinglines { get; set; }

Property Value

List<BudgetAccountingLineVO>

Remarks

This field is a collection of type List (Of BudgetAccountingLineVO).

BudgetAccountingLineVO

budgetaccountingstamp

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

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

Property Value

string

dateend

[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public DateTime dateend { get; set; }

Property Value

DateTime

dateini

[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public DateTime dateini { get; set; }

Property Value

DateTime

dimensionid

[AttLenght(7)]
[AttForeignKey(typeof(DimensionVO), CanDuplicate = true)]
[AttIndex]
public int dimensionid { get; set; }

Property Value

int

dimensionname

[AttVirtualField(typeof(BudgetAccountingAttInfo))]
[AttLenght(100)]
[AttInterfaces(new Type[] { typeof(IChange) })]
public string dimensionname { get; set; }

Property Value

string

dimensionstamp

[AttForeignKey(typeof(DimensionVO), CanDuplicate = true, HiddenField = false)]
[AttLenght(25)]
[AttIndex]
[AttEntityAvailable(typeof(DimensionVO))]
[AttHidden(HiddenParameter = new string[] { "ge_use_dimensions" }, HiddenParameterValue = new object[] { false })]
public string dimensionstamp { get; set; }

Property Value

string

inactive

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

Property Value

bool

name

[AttLenght(100)]
[AttMandatory]
[AttLabelField(new string[] { })]
[AttLogInfo(0)]
[AttList]
public string name { get; set; }

Property Value

string

startmonth

Start Month

public int startmonth { get; set; }

Property Value

int

totalcredit

Total credit

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal totalcredit { get; set; }

Property Value

decimal

Remarks

Lenght of 19, where the units are 12 and decimals are 6.

totaldebit

Total debit

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal totaldebit { get; set; }

Property Value

decimal

Remarks

Lenght of 19, where the units are 12 and decimals are 6.

Methods

GetSeriesValue()

public override decimal GetSeriesValue()

Returns

decimal

Explicit Interface Implementations

year

Year

[AttLenght(4)]
[AttMandatory]
[AttLogInfo(2)]
[AttDocType(typeof(PcyVO))]
[AttList(Hidden = true)]
int year { get; set; }

Returns

int