Class AvencaiVO
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
Rows of Recurrent Invoice
[AttTable("Avencai", 20240103)]
[AttTableOrderBy("lordem")]
[AttTableFlags(new TableFlags[] { TableFlags.AddOnCustomizable, TableFlags.UseDimensions })]
public class AvencaiVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent<AvencaVO>, IParent, IGenericVO
- Inheritance
-
AvencaiVO
Properties
GetFieldStampName
Use only field name without table name
public override string GetFieldStampName { get; }
Property Value
GetStampValue
public override string GetStampValue { get; }
Property Value
MiseimpVO
[AttExternalCollection(typeof(MiseimpVO), new string[] { "[Miseimp].[miseimpstamp]", "[Avencai].[miseimpstamp]" })]
public MiseimpVO MiseimpVO { get; }
Property Value
StVO
[AttExternalCollection(typeof(StVO), new string[] { "st.ref", "ref" })]
public StVO StVO { get; }
Property Value
TaxaIVAVO
[AttExternalCollection(typeof(TaxasIVAVO), new string[] { "[TaxasIva].[codigo]", "[Avencai].[tabiva]" })]
public TaxasIVAVO TaxaIVAVO { get; }
Property Value
avencastamp
Connection field to the main entity AvencaVO.
[AttForeignKey(typeof(AvencaVO))]
[AttLenght(25)]
public string avencastamp { get; set; }
Property Value
Remarks
Length 25.
Foreign Key field to another table.
desc2
Amount discount 2.
[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
public decimal desc2 { get; set; }
Property Value
Remarks
Lenght of 5, where the units are 2 and decimals are 2.
desc3
Amount discount 3.
[AttLenght(5, 2)]
public decimal desc3 { get; set; }
Property Value
Remarks
Lenght of 5, where the units are 2 and decimals are 2.
desc4
Amount discount 4.
[AttLenght(5, 2)]
public decimal desc4 { get; set; }
Property Value
Remarks
Lenght of 5, where the units are 2 and decimals are 2.
desc5
Amount discount 5.
[AttLenght(5, 2)]
public decimal desc5 { get; set; }
Property Value
Remarks
Lenght of 5, where the units are 2 and decimals are 2.
desc6
Amount discount 6.
[AttLenght(5, 2)]
public decimal desc6 { get; set; }
Property Value
Remarks
Lenght of 5, where the units are 2 and decimals are 2.
desconto
Amount discount 1.
[AttLenght(6, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
public decimal desconto { get; set; }
Property Value
Remarks
Lenght of 6, where the units are 3 and decimals are 2.
design
Description.
[AttFieldType(AttFieldType.InputTypes.memo)]
public string design { get; set; }
Property Value
Remarks
Item reference description.
ecusto
Product or Service unit cost.
[AttLenght(19, 6)]
public decimal ecusto { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
epv
Unit Price.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal epv { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
etiliquido
Net total.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal etiliquido { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
ettiva
Value in euros of total VAT.
[AttVirtualField]
public decimal ettiva { get; set; }
Property Value
Remarks
Virtual field.
fullmotiseimp
Code and Reason for VAT exemption
[AttVirtualField]
[AttLenght(64)]
public string fullmotiseimp { get; set; }
Property Value
ivaincl
Whether VAT is included.
[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool ivaincl { get; set; }
Property Value
Remarks
Lenght 1.
ivarec
Amount surcharge VAT.
[AttLenght(5, 2)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivarec { get; set; }
Property Value
Remarks
Lenght of 5, where the units are 2 and decimals are 2.
labelField
VAT table label
[AttVirtualField]
public string labelField { get; set; }
Property Value
pvmoeda
Unit price in foreign currency.
[AttLenght(19, 6)]
public decimal pvmoeda { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
qtt
Quantity.
[AttLenght(14, 4)]
[AttFieldType(AttFieldType.InputTypes.quantity)]
public decimal qtt { get; set; }
Property Value
Remarks
Lenght of 14, where the units are 9 and decimals are 4.
ref
Product or Service reference.
[AttLenght(18)]
public string @ref { get; set; }
Property Value
Remarks
Length 18.
sujirs
Indicates if the Product or Service issubject to Person Income Tax.
public bool sujirs { get; set; }
Property Value
tmoeda
Value in foreign currency of total.
[AttLenght(19, 6)]
public decimal tmoeda { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
wasAppliedIdiom
Field to know if was applied a idiom
[AttVirtualField]
public bool wasAppliedIdiom { get; set; }
Property Value
Methods
SetStampValue(string)
public override void SetStampValue(string stampID)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
stampID |
string |
Explicit Interface Implementations
ParentVO
AvencaVO ParentVO { get; set; }
Returns
avencaistamp
Single registration field, used to link others to this entity.
[AttLenght(25)]
string avencaistamp { get; set; }
Returns
Remarks
This field uniquely identifies the record (primary key by default).
Length 25.
codmotiseimp
Code for VAT exemption Reason
[AttVirtualField]
[AttLenght(4)]
string codmotiseimp { get; set; }
Returns
componente
Indicates if the Product or Service is compound.
bool componente { get; set; }
Returns
compound
Indicates if the Product or Service is compound.
bool compound { get; set; }
Returns
iva
VAT value.
[AttLenght(5, 2)]
decimal iva { get; set; }
Returns
Remarks
Lenght of 5, where the units are 2 and decimals are 2.
lordem
Indicates the line order in the document.
[AttLenght(10)]
[AttHidden]
decimal lordem { get; set; }
Returns
Remarks
Length 10.
Field not available to the user.
lrecno
Guarda o stamp da linha Avencai do produto composto
[AttLenght(25)]
[AttEntityAvailable(typeof(ScVO))]
string lrecno { get; set; }
Returns
Remarks
Length 25.
Foreign Key field to another table.
miseimpstamp
Connection field to tax exemption reason (MiseimpVO).
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(MiseimpVO), HiddenField = false)]
[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
string miseimpstamp { get; set; }
Returns
Remarks
Length 25.
Foreign Key field to another table.
motiseimp
Reason for VAT exemption
[AttVirtualField]
[AttLenght(60)]
string motiseimp { get; set; }
Returns
previousLineID
[AttVirtualField]
[AttHidden]
string previousLineID { get; set; }
Returns
tabiva
VAT table.
[AttLenght(3)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
int tabiva { get; set; }
Returns
Remarks
Length 3.
treestamp
[AttLenght(25)]
string treestamp { get; set; }