Class PcVO
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
General Ledger Accounts (Tabela de contas)
[AttTable("Pc", 20230412)]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.NotUseHashTag })]
[AttTableVOInfo(typeof(PcAttInfo))]
[AttTableProducts(new Products[] { Products.Accounting })]
[AttTableMaintenance(typeof(PcMaintenance))]
[AttTableOrderBy("[Pc].[accountID]")]
public class PcVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
- Inheritance
-
PcVO
Properties
Accountbalancetype
Balance type.
[AttLenght(3)]
public AccountsBalanceTypes Accountbalancetype { get; set; }
Property Value
PcTaxoVO
[AttExternalCollection(typeof(PcTaxo), new string[] { "[PCTAXO].[pctaxostamp]", "[Pc].[pctaxostamp]" })]
public PcTaxoVO PcTaxoVO { get; }
Property Value
createdbyparent
If was created by a parent account.
public bool createdbyparent { get; set; }
Property Value
groupingcategory
Grouping Category (Categoria e tipo de conta)
[AttLenght(2)]
public string groupingcategory { get; set; }
Property Value
Remarks
Deve ser indicado o tipo e a categoria da conta: “GR” – Conta de 1.º grau da contabilidade geral; “GA” – Conta agregadora ou integradora da contabilidade geral; “GM” – Conta de movimento da contabilidade geral; “AR” – Conta de 1.º grau da contabilidade analítica; “AA” – Conta agregadora ou integradora da contabilidade analítica; e “AM” – Conta de movimmento da contabilidade analítica
groupingcode
Grouping Code (Hierarquia da conta)
[AttLenght(30)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttIndex(false, new string[] { "groupingcode", "year" })]
public string groupingcode { get; set; }
Property Value
groupingcodestamp
Grouping Code Stamp (Stamp da hierarquia da conta)
[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string groupingcodestamp { get; set; }
Property Value
iscashflow
Cash flow eligible.
public bool iscashflow { get; set; }
Property Value
ismovement
If the account is of movement.
[AttList]
[AttIndex(new string[] { "year", "ismovement" }, new string[] { "accountdescription", "pcstamp" })]
public bool ismovement { get; set; }
Property Value
ismovementlabel
IsMovement label
[AttVirtualField]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string ismovementlabel { get; set; }
Property Value
pcstamp
Single registration field, used to link others to this entity.
[AttLenght(25)]
public string pcstamp { get; set; }
Property Value
pctaxostamp
Taxonomy stamp.
[AttLenght(25)]
[AttIndex(new string[] { "PctaxoStamp" }, new OrderTypes[] { OrderTypes.Ascending })]
public string pctaxostamp { get; set; }
Property Value
pcvars
[AttCollection(typeof(PcVarVO))]
public List<PcVarVO> pcvars { get; set; }
Property Value
Remarks
This field is a collection of type List (Of pcvarVO).
PcVarVOtaxonomycode
Taxonomy code.
[AttLenght(10)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string taxonomycode { get; set; }
Property Value
taxonomydesc
Taxonomy description.
[AttLenght(250)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string taxonomydesc { get; set; }
Property Value
useaccdef
Accruals and deferrals eligible.
public bool useaccdef { get; set; }
Property Value
useshortname
Uses short name
public bool useshortname { get; set; }
Property Value
Methods
GetSeriesValue()
public override decimal GetSeriesValue()
Returns
PcVarsLoaded()
public bool PcVarsLoaded()
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Explicit Interface Implementations
accountdescription
Account Description
[AttLenght(100)]
[AttMandatory]
[AttLogInfo(1)]
[AttList]
string accountdescription { get; set; }
Returns
accountid
Account ID (Número da conta)
[AttPrimaryKey]
[AttLenght(30)]
[AttMandatory]
[AttLogInfo(0)]
[AttList]
string accountid { get; set; }
Returns
year
Year
[AttPrimaryKey]
[AttLenght(4)]
[AttMandatory]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttDocType(typeof(PcyVO))]
[AttList(Hidden = true)]
int year { get; set; }