Class PvVO
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
Plano de IVA
[AttTable("Pv", 20220216)]
[AttTableVOInfo(typeof(PvAttInfo))]
[AttTableMaintenance(typeof(PvMaintenance))]
[AttTableProducts(new Products[] { Products.Accounting })]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.RequiresAdminAccess, TableFlags.DisableRowCount, TableFlags.NotUseHashTag })]
public class PvVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IGenericVO, IParent<PcVO>, IParent
- Inheritance
-
PvVO
Properties
PcVO
[AttExternalCollection(typeof(PcVO), new string[] { "pc.accountid", "pcaccount", "pc.year", "year" })]
public PcVO PcVO { get; }
Property Value
account
[AttPrimaryKey]
[AttLenght(30)]
[AttMandatory]
[AttLogInfo(1)]
[AttList]
public string account { get; set; }
Property Value
deductibleavldescription
[AttVirtualField]
public string deductibleavldescription { get; set; }
Property Value
deductibleavlstamp
Value used when the tax in non deductible.
[AttLenght(25)]
public string deductibleavlstamp { get; set; }
Property Value
deductibleavname
[AttVirtualField]
public string deductibleavname { get; set; }
Property Value
deductibleavstamp
Variable used when the tax in non deductible.
[AttLenght(25)]
public string deductibleavstamp { get; set; }
Property Value
groupingcode
Grouping Code (Hierarquia da conta)
[AttLenght(30)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
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
ismovement
If is an account of movement (if this field is false then means is an integration acccount)
[AttList]
[AttIndex(new string[] { "year", "ismovement", "pcaccount" }, new string[] { "description", "pvstamp" })]
public bool ismovement { get; set; }
Property Value
ismovementlabel
Type of the account 1 - Movement, 2 - Integration
[AttVirtualField]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string ismovementlabel { get; set; }
Property Value
nondeductibilitytax
The amount of tax that economic agents can recover.
[AttLenght(7, 2)]
[AttList]
[AttFieldType(AttFieldType.InputTypes.percentage)]
[AttMaxValue(100)]
[AttMinValue(0)]
public decimal nondeductibilitytax { get; set; }
Property Value
pcaccount
[AttLenght(30)]
public string pcaccount { get; set; }
Property Value
pcaccountdescription
Description of the account (PC)
[AttLenght(200)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList]
public string pcaccountdescription { get; set; }
Property Value
pcaccountstamp
Connection field to the main entity PcVO.
[AttLenght(25)]
public string pcaccountstamp { get; set; }
Property Value
pvflts
[AttCollection(typeof(PvFltVO))]
public List<PvFltVO> pvflts { get; set; }
Property Value
region
Tax region (PT, PT-AC, PT-MA).
[AttLenght(5)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_MZ })]
[AttList]
public string region { get; set; }
Property Value
regionnm
[AttVirtualField]
public string regionnm { get; set; }
Property Value
reversechargeaccount
[AttLenght(30)]
public string reversechargeaccount { get; set; }
Property Value
reversechargeaccountdescription
Description of the account for the reverse charge tax.
[AttLenght(200)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList]
public string reversechargeaccountdescription { get; set; }
Property Value
reversechargeaccountstamp
The amount of tax to pay when recipient or purchaser of goods and services is also the debtor of the tax.
[AttLenght(25)]
public string reversechargeaccountstamp { get; set; }
Property Value
taxcode
Attachment type.
[AttLenght(1)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public IVABiz.VatCodTax taxcode { get; set; }
Property Value
Remarks
Sets the attachment type, can exist physically on the database or na external URL.
Length 1.
taxcodename
Tax code (RED, INT,NOR, ISE, OUT)
[AttLenght(10)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_MZ })]
[AttList]
public string taxcodename { get; set; }
Property Value
Methods
GetSeriesValue()
public override decimal GetSeriesValue()
Returns
Explicit Interface Implementations
ParentVO
PcVO ParentVO { get; set; }
Returns
description
Descrição da conta
[AttMandatory]
[AttList]
string description { get; set; }
Returns
pvstamp
Single registration field, used to link others to this entity.
[AttLenght(25)]
[AttHidden]
string pvstamp { get; set; }
Returns
year
Year associated with this account.
[AttPrimaryKey]
[AttForeignKey(typeof(PcVO))]
[AttLenght(4)]
[AttMandatory]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttDocType(typeof(PcyVO))]
[AttList(Hidden = true)]
int year { get; set; }