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
DoOpenVO
GeneralLedgerEntries (Movimentos contabilísticos)
[AttExternalCollection(typeof(DoVO), new string[] { "[Do].[docarchivalnumber]", "[PCY].[doopen]", "[Do].[year]", "[PCY].[year]" })]
public DoVO DoOpenVO { get; }
Property Value
closed
Year closed.
[AttList]
[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool closed { get; set; }
Property Value
converted
Is converted to a final year.
[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool converted { get; set; }
Property Value
currencycode
Currency code.
[AttLenght(10)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string currencycode { get; set; }
Property Value
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
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
dostampclose
[AttVirtualField]
[AttHidden]
public string dostampclose { get; set; }
Property Value
dostampopen
[AttVirtualField]
[AttHidden]
public string dostampopen { get; set; }
Property Value
enddate
End date.
[AttList]
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public DateTime enddate { get; set; }
Property Value
hascustomcalendar
[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool hascustomcalendar { get; set; }
Property Value
imported
Imported year by saft.
[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool imported { get; set; }
Property Value
integrateasdraft
[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool integrateasdraft { get; set; }
Property Value
iscashflow
Cash flow eligible.
[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool iscashflow { get; set; }
Property Value
logtext
[AttVirtualField]
[AttLogInfo(1)]
public string logtext { get; set; }
Property Value
mapystamp
[AttVirtualField]
public string mapystamp { get; set; }
Property Value
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
openingbalancetype
[AttLenght(2)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public OpeningBalanceTypes openingbalancetype { get; set; }
Property Value
pcyperiods
[AttCollection(typeof(PcyPeriodVO))]
public List<PcyPeriodVO> pcyperiods { get; set; }
Property Value
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
standard
Standard type. (Norma Contabilistica)
[AttLenght(50)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public StandardTypes standard { get; set; }
Property Value
startdate
Start date.
[AttList]
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public DateTime startdate { get; set; }
Property Value
tabaxVO
[AttExternalCollection(typeof(TabaxVO))]
public TabaxVO tabaxVO { get; }
Property Value
taxonomyreference
Taxonomy reference. (Norma Contabilistica)
[AttLenght(50)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string taxonomyreference { get; set; }
Property Value
updatepv
[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool updatepv { get; set; }
Property Value
useaccdef
Accruals and deferrals eligible.
public bool useaccdef { get; set; }
Property Value
useaccruedsalaries
[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Payroll })]
public bool useaccruedsalaries { get; set; }
Property Value
vatclearanceperiodicityvalue
[AttLenght(2)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public VatClearancePeriodicity vatclearanceperiodicityvalue { get; set; }
Property Value
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
yearnamefield
[AttVirtualField(typeof(PcyAttInfo))]
[AttHidden]
[AttLabelField(new string[] { })]
public string yearnamefield { get; set; }