Table of Contents

Class PcyVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Accounting Years

[AttTable("PCY", 20230411)]
[AttTableVOInfo(typeof(PcyAttInfo))]
[AttTableProducts(new Products[] { Products.Accounting })]
[AttTableOrderBy("[PCY].[year]")]
[AttTableMaintenance(typeof(PcyMaintenance))]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.MandatorySaveLog, TableFlags.AddOnNotDeployable })]
public class PcyVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
PcyVO

Properties

DoCloseVO

GeneralLedgerEntries (Movimentos contabilísticos)

[AttExternalCollection(typeof(DoVO), new string[] { "[Do].[docarchivalnumber]", "[PCY].[doclose]", "[Do].[year]", "[PCY].[year]" })]
public DoVO DoCloseVO { get; }

Property Value

DoVO

DoOpenVO

GeneralLedgerEntries (Movimentos contabilísticos)

[AttExternalCollection(typeof(DoVO), new string[] { "[Do].[docarchivalnumber]", "[PCY].[doopen]", "[Do].[year]", "[PCY].[year]" })]
public DoVO DoOpenVO { get; }

Property Value

DoVO

closed

Year closed.

[AttList]
[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool closed { get; set; }

Property Value

bool

converted

Is converted to a final year.

[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool converted { get; set; }

Property Value

bool

currencycode

Currency code.

[AttLenght(10)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string currencycode { get; set; }

Property Value

string

doclose

Movement that closed the year (DO - Movimentos contabilísticos)

[AttLenght(30)]
[AttForeignKey(ForeignType = typeof(DoVO), HiddenField = false)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string doclose { get; set; }

Property Value

string

doopen

Movement that open the year (DO - Movimentos contabilísticos)

[AttLenght(30)]
[AttForeignKey(ForeignType = typeof(DoVO), HiddenField = false)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string doopen { get; set; }

Property Value

string

dostampclose

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

Property Value

string

dostampopen

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

Property Value

string

enddate

End date.

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

Property Value

DateTime

hascustomcalendar

[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool hascustomcalendar { get; set; }

Property Value

bool

imported

Imported year by saft.

[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool imported { get; set; }

Property Value

bool

integrateasdraft

[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool integrateasdraft { get; set; }

Property Value

bool

iscashflow

Cash flow eligible.

[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool iscashflow { get; set; }

Property Value

bool

logtext

[AttVirtualField]
[AttLogInfo(1)]
public string logtext { get; set; }

Property Value

string

mapystamp

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

Property Value

string

markedForMenu

User can check this year to be at menu. Notice: The last major closed year is always at menu

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

Property Value

bool

openingbalancetype

[AttLenght(2)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public OpeningBalanceTypes openingbalancetype { get; set; }

Property Value

OpeningBalanceTypes

pcyperiods

[AttCollection(typeof(PcyPeriodVO))]
public List<PcyPeriodVO> pcyperiods { get; set; }

Property Value

List<PcyPeriodVO>

pcystamp

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

[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string pcystamp { get; set; }

Property Value

string

standard

Standard type. (Norma Contabilistica)

[AttLenght(50)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public StandardTypes standard { get; set; }

Property Value

StandardTypes

startdate

Start date.

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

Property Value

DateTime

tabaxVO

[AttExternalCollection(typeof(TabaxVO))]
public TabaxVO tabaxVO { get; }

Property Value

TabaxVO

taxonomyreference

Taxonomy reference. (Norma Contabilistica)

[AttLenght(50)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string taxonomyreference { get; set; }

Property Value

string

updatepv

[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool updatepv { get; set; }

Property Value

bool

useaccdef

Accruals and deferrals eligible.

public bool useaccdef { get; set; }

Property Value

bool

useaccruedsalaries

[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Payroll })]
public bool useaccruedsalaries { get; set; }

Property Value

bool

vatclearanceperiodicityvalue

[AttLenght(2)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public VatClearancePeriodicity vatclearanceperiodicityvalue { get; set; }

Property Value

VatClearancePeriodicity

year

Year.

[AttLenght(4)]
[AttMandatory]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList]
[AttLogInfo(0)]
public int year { get; set; }

Property Value

int

yearnamefield

[AttVirtualField(typeof(PcyAttInfo))]
[AttHidden]
[AttLabelField(new string[] { })]
public string yearnamefield { get; set; }

Property Value

string