Class FiVO
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
Rows of Invoice Document
[AttTable("Fi", 20250118)]
[AttTableOrderBy("[Fi].[lordem]")]
[AttTableVOInfo(typeof(FiAttInfo))]
[AttTableMaintenance(typeof(FiMaintenance))]
[AttTableFlags(new TableFlags[] { TableFlags.AddOnCustomizable, TableFlags.UseDimensions })]
public class FiVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent<FtVO>, IParent, IGenericVO
- Inheritance
-
FiVO
Properties
AccountingStVO
Just for accounting usage
[AttHidden]
public StVO AccountingStVO { get; }
Property Value
AssetVO
[AttExternalCollection(typeof(AssetVO), new string[] { "[Asset].[assetcode]", "[Fi].[asset]" })]
public AssetVO AssetVO { get; }
Property Value
AvencaVO
[AttExternalCollection(typeof(AvencaVO), new string[] { "avenca.avencastamp", "avencastamp" })]
public AvencaVO AvencaVO { get; }
Property Value
BiVO
[AttExternalCollection(typeof(BiVO), new string[] { "Fi.bistamp", "Bi.bistamp" })]
public BiVO BiVO { get; }
Property Value
FiMas
[AttVirtualField]
public List<FiMaVO> FiMas { get; }
Property Value
FiVO
[AttExternalCollection(typeof(FiVO), new string[] { "Fi.ofistamp", "Fi.fistamp" })]
public FiVO FiVO { get; }
Property Value
FnVO
[AttExternalCollection(typeof(FnVO), new string[] { "Fi.ofnstamp", "Fi.ofnstamp" })]
public FnVO FnVO { get; }
Property Value
GetFieldStampName
Use only field name without table name
public override string GetFieldStampName { get; }
Property Value
GetStampValue
public override string GetStampValue { get; }
Property Value
HasTaxRelevance
The line should go to the saft ?
[AttVirtualField]
public bool HasTaxRelevance { get; }
Property Value
Remarks
For a line to have fiscal relevance to AT, first the line should not be a component, then just have one of the following fields non-zero, note that this property only indicates that the line should go to the saft, does not indicate that it is valid for inclusion in the saft.
IsDescription
Is it a line that should not be included in saft ?
[AttVirtualField]
public bool IsDescription { get; }
Property Value
LotVO
[AttExternalCollection(typeof(LotVO), new string[] { "Fi.ref", "Lot.ref", "Fi.lote", "Lot.lote" })]
public LotVO LotVO { get; }
Property Value
MiseimpVO
[AttExternalCollection(typeof(MiseimpVO), new string[] { "[Miseimp].[miseimpstamp]", "[Fi].[miseimpstamp]" })]
public MiseimpVO MiseimpVO { get; }
Property Value
ModalidadVO
[AttExternalCollection(typeof(ModalidadVO), new string[] { "[Modalidad].[modalidadstamp]", "[Fi].[modalidadstamp]" })]
public ModalidadVO ModalidadVO { get; }
Property Value
OriFtVO
[AttExternalCollection(typeof(FtVO), new string[] { "ft.ftstamp", "oftstamp" })]
public FtVO OriFtVO { get; }
Property Value
SaVO
[AttExternalCollection(typeof(SaVO), new string[] { "sa.ref", "ref", "sa.armazem", "armazem" })]
public SaVO SaVO { get; }
Property Value
SlVO
[AttExternalCollection(typeof(SlVO), new string[] { "sl.fistamp", "fistamp" })]
public SlVO SlVO { get; }
Property Value
StVO
[AttExternalCollection(typeof(StVO), new string[] { "st.ref", "ref" })]
public StVO StVO { get; }
Property Value
TaxRelevanceInvalid
Is the line invalid to be included in the saft ?
[AttVirtualField]
public bool TaxRelevanceInvalid { get; }
Property Value
Remarks
If the line has fiscal relevance to the AT, this property determines if it is invalid to be included in the saft
TaxRetentionVO
[AttExternalCollection(typeof(TaxRetentionVO), new string[] { "[TaxRetention].[codstamp]", "[Fi].[codstamp]" })]
public TaxRetentionVO TaxRetentionVO { get; }
Property Value
TaxaIVAVO
[AttExternalCollection(typeof(TaxasIVAVO), new string[] { "[TaxasIva].[codigo]", "[Fi].[tabiva]" })]
public TaxasIVAVO TaxaIVAVO { get; }
Property Value
accountingref
Accounting ref for integration
[AttLenght(18)]
[AttProducts(new Products[] { Products.Accounting })]
public string accountingref { get; set; }
Property Value
Remarks
Length 18.
Non Duplicable Field.
acquisitionValue
Unit Cost
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
[AttHidden(HiddenParameter = new string[] { "ft_specialScheme" }, HiddenParameterValue = new object[] { false })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public decimal acquisitionValue { get; set; }
Property Value
actqtt2
Se esta linha actualiza o campo qtt2 da linha do Dossier Interno de onde foi copiada.
[AttHidden]
public bool actqtt2 { get; set; }
Property Value
Remarks
Field not available to the user.
Non Duplicable Field.
alternativeQtt
[AttLenght(14, 4)]
[AttGama(Gamas.Advanced)]
[AttMinValue(0)]
[AttFieldType(AttFieldType.InputTypes.measurements)]
public decimal alternativeQtt { get; set; }
Property Value
alternativeUnit
Alternative unit
[AttLenght(4)]
[AttGama(Gamas.Advanced)]
public string alternativeUnit { get; set; }
Property Value
Remarks
Length 4.
amostra
Indica se o Artigo ou Serviço é um amostra
[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttGama(Gamas.Advanced)]
public bool amostra { get; set; }
Property Value
armazem
Armazém onde se encontra o Artigo ou Serviço.
[AttLenght(5)]
[AttEntityAvailable(typeof(SaVO))]
[AttFieldType(AttFieldType.InputTypes.integer)]
public int armazem { get; set; }
Property Value
Remarks
Length 5.
articleAutoCreationCode
[AttVirtualField]
[AttHidden]
public AutoCreationCodes articleAutoCreationCode { get; }
Property Value
Remarks
This field does not physically exist in the database. Its value results from a calculation expression with the help of other fields of the entity. Is provided in order to hide the complexity of calculating the value thus providing in a simple way.
Due to the nature of their calculation the field is not available to be included in queries, but to be included in listings or reports. Another feature is that this field by being virtual will never appear in the collection Modified Fields of the entity itself.
asset
Referência do ativo.
[AttLenght(18)]
[AttProducts(new Products[] { Products.Assets })]
public string asset { get; set; }
Property Value
assetcategorysubsuffix
[AttVirtualField]
[AttLenght(1)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_MZ })]
public int assetcategorysubsuffix { get; }
Property Value
assetcategorysuffix
[AttVirtualField]
[AttLenght(1)]
public int assetcategorysuffix { get; }
Property Value
assetnaturesuffix
[AttVirtualField]
[AttLenght(1)]
public int assetnaturesuffix { get; }
Property Value
avencano
Número da avença.
[AttLenght(10)]
public decimal avencano { get; set; }
Property Value
Remarks
Length 10.
avencastamp
Connects to avencastamp
[AttForeignKey(typeof(AvencaVO))]
[AttLenght(25)]
public string avencastamp { get; set; }
Property Value
bistamp
Connects to bistamp from which this line was copied.
[AttLenght(25)]
[AttForeignKey(typeof(BiVO))]
public string bistamp { get; set; }
Property Value
caneditlotrefdate
[AttVirtualField]
[AttHidden]
public bool caneditlotrefdate { get; set; }
Property Value
ccstamp
Connects to ccstamp
[AttForeignKey(typeof(CcVO))]
[AttLenght(25)]
public string ccstamp { get; set; }
Property Value
cliref
Referência do Cliente.
[AttLenght(18)]
public string cliref { get; set; }
Property Value
Remarks
Length 18.
codigo
Código de Barras
[AttLenght(25)]
public string codigo { get; set; }
Property Value
Remarks
Length 25.
codstamp
[AttLenght(25)]
[AttEntityAvailable(typeof(TaxRetentionVO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string codstamp { get; set; }
Property Value
commissionConfigLabel
Commission of this ST.
[AttVirtualField]
[AttGama(Gamas.Advanced)]
public string commissionConfigLabel { get; set; }
Property Value
cpoc
Código SNC
[AttLenght(6)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttMinValue(0)]
public int cpoc { get; set; }
Property Value
Remarks
Data type Numeric.
Length 6.
davencaft
Data de facturação ao qual respeita a avença.
public DateTime davencaft { get; set; }
Property Value
desc2
Discount Percentage Value 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
Valor percentual do Desconto 3
[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
public decimal desc3 { get; set; }
Property Value
Remarks
Lenght of 5, where the units are 2 and decimals are 2.
desc4
Valor percentual do Desconto 4
[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
public decimal desc4 { get; set; }
Property Value
Remarks
Lenght of 5, where the units are 2 and decimals are 2.
desc5
Valor percentual do Desconto 5
[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
public decimal desc5 { get; set; }
Property Value
Remarks
Lenght of 5, where the units are 2 and decimals are 2.
desc6
Valor percentual do Desconto 6
[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
public decimal desc6 { get; set; }
Property Value
Remarks
Lenght of 5, where the units are 2 and decimals are 2.
desconto
Discount Percentage Value 1.
[AttLenght(6, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
public decimal desconto { get; set; }
Property Value
Remarks
Total length: 6 - where 3 are for units and 2 for decimals.
design
Designação.
[AttFieldType(AttFieldType.InputTypes.memo)]
public string design { get; set; }
Property Value
dim1
This field will store the first dimension
[AttLenght(14, 4)]
[AttGama(Gamas.Advanced)]
[AttMinValue(0)]
[AttFieldType(AttFieldType.InputTypes.measurements)]
public decimal dim1 { get; set; }
Property Value
dim2
This field will store the second dimension
[AttLenght(14, 4)]
[AttGama(Gamas.Advanced)]
[AttMinValue(0)]
[AttFieldType(AttFieldType.InputTypes.measurements)]
public decimal dim2 { get; set; }
Property Value
dim3
This field will store the third dimension
[AttLenght(14, 4)]
[AttGama(Gamas.Advanced)]
[AttMinValue(0)]
[AttFieldType(AttFieldType.InputTypes.measurements)]
public decimal dim3 { get; set; }
Property Value
disposalstamp
Disposal connection.
[AttLenght(25)]
[AttProducts(new Products[] { Products.Assets })]
[AttEntityAvailable(typeof(AssetVO))]
public string disposalstamp { get; set; }
Property Value
ebasein
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal ebasein { get; set; }
Property Value
ecusto
Unit Cost
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public decimal ecusto { get; set; }
Property Value
eivain
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal eivain { get; set; }
Property Value
elucro
Valor em Euros do Lucro.
[AttVirtualField]
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal elucro { get; set; }
Property Value
Remarks
This field does not physically exist in the database. Its value results from a calculation expression with the help of other fields of the entity. Is provided in order to hide the complexity of calculating the value thus providing in a simple way.
Due to the nature of their calculation the field is not available to be included in queries, but to be included in listings or reports. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
emargem
[AttVirtualField(typeof(FiAttInfo))]
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
[AttInterfaces(new Type[] { typeof(IChange) })]
public decimal emargem { get; set; }
Property Value
epv
Unit Price
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
[AttMinValue(0)]
public decimal epv { get; set; }
Property Value
epvWithoutPromotion
Epv from st without applying the promotion
[AttVirtualField]
public decimal epvWithoutPromotion { get; set; }
Property Value
etaxtot
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal etaxtot { get; set; }
Property Value
etaxvatsuj
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal etaxvatsuj { get; set; }
Property Value
etiliquido
Total = (epv * qtt) - discount
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal etiliquido { get; set; }
Property Value
etotal
Total value = epvbase + ettiva + etaxtot
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal etotal { get; set; }
Property Value
ettdesc
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal ettdesc { get; set; }
Property Value
ettiva
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal ettiva { get; set; }
Property Value
evalcomissao
Valor de comissão.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
[AttMinValue(0)]
public decimal evalcomissao { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
expeditionDate
[AttVirtualField]
public DateTime expeditionDate { get; set; }
Property Value
facturaFt
Se esta linha causa marca como Facturada a factura de onde foi copiada.
[AttHidden]
public bool facturaFt { get; set; }
Property Value
Remarks
Field not available to the user.
Non Duplicable Field.
familia
Família do Artigo ou Serviço.
[AttLenght(50)]
public string familia { get; set; }
Property Value
Remarks
Length 50.
ftstamp
Connects to ftstamp that contains this line.
[AttForeignKey(typeof(FtVO))]
[AttLenght(25)]
[AttIndex]
public string ftstamp { get; set; }
Property Value
fullmotiseimp
Code and Reason for VAT exemption
[AttVirtualField]
[AttLenght(64)]
public string fullmotiseimp { get; set; }
Property Value
haveIStax
Have IS tax
[AttVirtualField]
[AttHidden]
public bool haveIStax { get; set; }
Property Value
invoiceoperationtype
Operações com IVA - Vendas e prestações de serviços
[AttVirtualField]
[AttLenght(1)]
public int invoiceoperationtype { get; }
Property Value
isToUptParts2
[AttHidden]
public bool isToUptParts2 { get; set; }
Property Value
isdisposal
Identifies whether the record was automatically created by a disposal movement.
[AttProducts(new Products[] { Products.Assets })]
[AttEntityAvailable(typeof(AssetVO))]
public bool isdisposal { get; set; }
Property Value
iseregrecargo
[AttHidden]
public bool iseregrecargo { get; set; }
Property Value
ivadata
[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime ivadata { get; set; }
Property Value
ivaincl
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool ivaincl { get; set; }
Property Value
ivarec
Recargo VAT
[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivarec { get; set; }
Property Value
labelField
VAT table label
[AttVirtualField]
public string labelField { get; set; }
Property Value
listFima
[AttVirtualField]
public string listFima { get; }
Property Value
listTaxes
[AttVirtualField]
public string listTaxes { get; }
Property Value
litem
Título para a primeira coluna do item.
[AttLenght(40)]
public string litem { get; set; }
Property Value
Remarks
Length 40.
litem2
Título para a segunda coluna do item.
[AttLenght(40)]
public string litem2 { get; set; }
Property Value
Remarks
Length 40.
lote
Lot
[AttLenght(40)]
[AttForeignKey(true, typeof(LotVO), HiddenField = false)]
[AttEntityAvailable(typeof(LotVO))]
[AttHidden(HiddenParameter = new string[] { "allowlot" }, HiddenParameterValue = new object[] { false })]
public string lote { get; set; }
Property Value
Remarks
ForeignKey to lote
lotrefdate
Expiration date for FEFO
[AttEntityAvailable(typeof(LotVO))]
[AttFieldType(AttFieldType.InputTypes.date)]
[AttHidden(HiddenParameter = new string[] { "allowlot" }, HiddenParameterValue = new object[] { false })]
public DateTime lotrefdate { get; set; }
Property Value
lottype
[AttEntityAvailable(typeof(LotVO))]
public LotTypes lottype { get; set; }
Property Value
lottypename
Name of lot type.
[AttLenght(50)]
[AttLocale(typeof(FiAttInfo), new string[] { "[FI].[lottype]" })]
public string lottypename { get; set; }
Property Value
marketwithregion
Market with region
[AttVirtualField]
[AttLenght(1)]
public int marketwithregion { get; }
Property Value
maxQttRefund
Max quantity of a product to refund by copy To be used when creation Refund documents from another record
[AttVirtualField]
public decimal maxQttRefund { get; set; }
Property Value
Remarks
This field will be used to validate the limit quantity of a product to be refunded. The Fi may be in multiple FTs but we have to establish a limit for refunds
mbasein
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal mbasein { get; set; }
Property Value
measurementType
[AttLenght(2)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttGama(Gamas.Advanced)]
public MeasurementTypes measurementType { get; set; }
Property Value
measurementTypeName
Name of lot type.
[AttLenght(50)]
[AttLocale(typeof(FiAttInfo), new string[] { "[Fi].[measurementType]" })]
public string measurementTypeName { get; set; }
Property Value
merchandisetype
[AttVirtualField]
[AttLenght(1)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_MZ })]
public int merchandisetype { get; }
Property Value
mivain
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal mivain { get; set; }
Property Value
modalidaddescription
[AttVirtualField]
[AttEntityAvailable(typeof(ModalidadVO))]
public string modalidaddescription { get; set; }
Property Value
modalidadstamp
[AttLenght(25)]
[AttEntityAvailable(typeof(ModalidadVO))]
public string modalidadstamp { get; set; }
Property Value
mtaxtot
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal mtaxtot { get; set; }
Property Value
mtaxvatsuj
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal mtaxvatsuj { get; set; }
Property Value
mtotal
Total value in currency = mpvbase + mttiva + mtaxtot
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal mtotal { get; set; }
Property Value
mttdesc
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal mttdesc { get; set; }
Property Value
mttiva
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal mttiva { get; set; }
Property Value
nvol
Número de Volumes
[AttLenght(14, 4)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.decimal)]
public decimal nvol { get; set; }
Property Value
Remarks
Length: 14.4
obostamp
Connects to bostamp from which this line was copied.
[AttForeignKey(typeof(BoVO))]
[AttLenght(25)]
public string obostamp { get; set; }
Property Value
ofistamp
Connects to fistamp from which this line was copied.
[AttForeignKey(typeof(FiVO))]
[AttLenght(25)]
public string ofistamp { get; set; }
Property Value
ofnstamp
Connects to fnstamp from which this line was copied.
[AttForeignKey(typeof(FnVO))]
[AttLenght(25)]
public string ofnstamp { get; set; }
Property Value
ofostamp
Connects to fostamp from which this line was copied.
[AttForeignKey(typeof(FoVO))]
[AttLenght(25)]
public string ofostamp { get; set; }
Property Value
oftstamp
Connects to ftstamp from which this line was copied.
[AttForeignKey(typeof(FtVO))]
[AttLenght(25)]
public string oftstamp { get; set; }
Property Value
operationtype
Sales type.
[AttVirtualField]
[AttLenght(1)]
public int operationtype { get; }
Property Value
orderDate
[AttLenght(25)]
public DateTime orderDate { get; set; }
Property Value
oref
Referência do artigo ou serviço (se origem já movimentou).
[AttLenght(18)]
public string oref { get; set; }
Property Value
Remarks
Length 18.
Non Duplicable Field.
originalMaxQttRefund
Max quantity of a product to refund To be used when consulting an Record
[AttVirtualField]
public decimal originalMaxQttRefund { get; set; }
Property Value
Remarks
To get the maxQtt to refund of an Fi original, it means that we will see only the original
originatingOn
[AttLenght(60)]
public string originatingOn { get; set; }
Property Value
oristamp
key to document of origin - only by integration
[AttLenght(25)]
[AttIndex(new string[] { "oritable", "oristamp" }, new OrderTypes[] { OrderTypes.Ascending, OrderTypes.Descending })]
public string oristamp { get; set; }
Property Value
oristampLine
key to the document line of origin - only by integration
[AttLenght(25)]
[AttIndex(new string[] { "oritableLine", "oristampLine" }, new OrderTypes[] { OrderTypes.Ascending, OrderTypes.Descending })]
public string oristampLine { get; set; }
Property Value
oritable
[AttLenght(25)]
public string oritable { get; set; }
Property Value
oritableLine
[AttLenght(25)]
public string oritableLine { get; set; }
Property Value
parts
[AttLenght(14, 4)]
[AttGama(Gamas.Advanced)]
[AttMinValue(0)]
[AttFieldType(AttFieldType.InputTypes.measurements)]
public decimal parts { get; set; }
Property Value
pbuni
Peso Bruto Unitário
[AttLenght(14, 4)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.decimal)]
public decimal pbuni { get; set; }
Property Value
pluni
Peso Líquido Unitário
[AttLenght(14, 4)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.decimal)]
public decimal pluni { get; set; }
Property Value
producttype
[AttVirtualField]
[AttLenght(1)]
public int producttype { get; }
Property Value
promotionName
Promotion Name
[AttVirtualField]
public string promotionName { get; set; }
Property Value
promotionstamp
Promotion Stamp
[AttForeignKey(typeof(PromotionsVO))]
[AttLenght(25)]
[AttEntityAvailable(typeof(PromotionsVO))]
public string promotionstamp { get; set; }
Property Value
proposelot
[AttVirtualField]
[AttHidden]
public bool proposelot { get; set; }
Property Value
pvmoeda
Unit price in foreign currency
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal pvmoeda { get; set; }
Property Value
qtt
Quantity of the Article or Service.
[AttLenght(14, 4)]
[AttFieldType(AttFieldType.InputTypes.quantity)]
public decimal qtt { get; set; }
Property Value
Remarks
Length 14 for the units and 4 for the decimals.
rdata
Data.
[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime rdata { get; set; }
Property Value
Remarks
Length 1.
rdstamp
Connects to rdstamp
[AttForeignKey(typeof(RdVO))]
[AttLenght(25)]
public string rdstamp { get; set; }
Property Value
ref
Referencia do Artigo ou Serviço.
[AttLenght(18)]
[AttIndex]
public string @ref { get; set; }
Property Value
Remarks
Length 18.
referencia
[AttVirtualField]
[AttLenght(18)]
public string referencia { get; }
Property Value
Remarks
This field does not physically exist in the database. Its value results from a calculation expression with the help of other fields of the entity. Is provided in order to hide the complexity of calculating the value thus providing in a simple way.
Due to the nature of their calculation the field is not available to be included in queries, but to be included in listings or reports. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
retentionTax
[AttLenght(6, 2)]
public decimal retentionTax { get; set; }
Property Value
saleopervatfree
Tipo de operações isentas
[AttVirtualField]
[AttLenght(1)]
public int saleopervatfree { get; }
Property Value
servicetype
Tipo de serviço
[AttVirtualField]
[AttLenght(1)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_MZ })]
public int servicetype { get; }
Property Value
servicetypestamp
Tipo de serviço stamp
[AttVirtualField]
[AttLenght(25)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_MZ })]
[AttDynamicIntegrationValue(typeof(SupplyTypeVO))]
public string servicetypestamp { get; }
Property Value
showqtt
[AttVirtualField]
public bool showqtt { get; }
Property Value
sourceid
[AttHidden]
public bool sourceid { get; set; }
Property Value
stns
Indica que a referência é um serviço.
[AttLenght(1)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public bool stns { get; set; }
Property Value
Remarks
Length 1.
ststamp
[AttLenght(25)]
[AttVirtualField]
public string ststamp { get; set; }
Property Value
subcategoryaccounting
[AttVirtualField]
[AttLenght(1)]
public int subcategoryaccounting { get; }
Property Value
sujirs
Indica se o Artigo ou Serviço está sujeito a I.R.S.
[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public bool sujirs { get; set; }
Property Value
taxLabelField
[AttVirtualField]
public string taxLabelField { get; set; }
Property Value
taxes
Taxes collection
[AttCollection(typeof(FiTaxesVO))]
public List<FiTaxesVO> taxes { get; set; }
Property Value
Remarks
This field is a collection of type List(Of FiTaxesVO).
tmoeda
Total in currency = (pvmoeda * qtt) - discount
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal tmoeda { get; set; }
Property Value
tnvol
Total Número de Volumes
[AttLenght(18, 4)]
[AttGama(Gamas.Advanced)]
[AttVirtualField]
public decimal tnvol { get; set; }
Property Value
Remarks
- Length: 18.4
- Virtual
tpbrut
Total Peso Bruto
[AttLenght(18, 4)]
[AttGama(Gamas.Advanced)]
[AttVirtualField]
public decimal tpbrut { get; set; }
Property Value
Remarks
- Length: 18.4
- Virtual
tpliq
Total Peso Líquido
[AttLenght(18, 4)]
[AttGama(Gamas.Advanced)]
[AttVirtualField]
public decimal tpliq { get; set; }
Property Value
Remarks
- Length: 18.4
- Virtual
tvol
Total Volume
[AttLenght(18, 6)]
[AttGama(Gamas.Advanced)]
[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.volumes)]
public decimal tvol { get; set; }
Property Value
Remarks
- Length: 18.4
- Virtual
unidade
Tipo de Unidade a ser usada no Artigo ou Serviço.
[AttLenght(4)]
public string unidade { get; set; }
Property Value
Remarks
Length 4.
usaRecargoIva
Indicates whether the document uses the surcharge of VAT.
[AttVirtualField]
[AttHidden]
public bool usaRecargoIva { get; set; }
Property Value
Remarks
Virtual field.
Field not available for the user.
uselot
[AttEntityAvailable(typeof(LotVO))]
public bool uselot { get; set; }
Property Value
usr1
Marca do Artigo ou Serviço
[AttLenght(20)]
public string usr1 { get; set; }
Property Value
Remarks
Length 20.
usr2
Modelo do Artigo ou Serviço
[AttLenght(20)]
public string usr2 { get; set; }
Property Value
Remarks
Length 20.
validlot
[AttVirtualField]
[AttHidden]
public bool validlot { get; set; }
Property Value
vatHasTaxes
[AttVirtualField]
[AttHidden]
public bool vatHasTaxes { get; set; }
Property Value
vatsalesoperation
Operações com IVA - Vendas e prestações de serviços
[AttVirtualField]
[AttLenght(1)]
public int vatsalesoperation { get; }
Property Value
vattype
Vat type.
[AttVirtualField]
[AttLenght(1)]
public int vattype { get; }
Property Value
vuni
Volume Unitário
[AttLenght(14, 6)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.volumes)]
public decimal vuni { get; set; }
Property Value
Remarks
Length: 14.4
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
FtVO ParentVO { get; set; }
Returns
codmotiseimp
Code for VAT exemption Reason
[AttVirtualField]
[AttLenght(4)]
string codmotiseimp { get; set; }
Returns
componente
Define se o artigo é um componente
[AttGama(Gamas.Advanced)]
bool componente { get; set; }
Returns
compound
Define se o artigo é composto por outros artigos
[AttEntityAvailable(typeof(ScVO))]
bool compound { get; set; }
Returns
fistamp
This field uniquely identifies the record (primary key by default).
[AttLenght(25)]
string fistamp { get; set; }
Returns
Remarks
Length 25.
This field uniquely identifies the record (primary key by default).
iva
VAT table rate
[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
decimal iva { get; set; }
Returns
lordem
Indica a ordem da linha no documento.
[AttLenght(10)]
[AttHidden]
decimal lordem { get; set; }
Returns
Remarks
Length 10.
Field not available to the user.
lrecno
Guarda o stamp da linha FI do produto composto
[AttLenght(25)]
[AttEntityAvailable(typeof(ScVO))]
string lrecno { get; set; }
Returns
Remarks
Length 25.
Foreign Key field to another table.
miseimpstamp
StampID for VAT exemption Reason
[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
motiseimp
Reason for VAT exemption
[AttVirtualField]
[AttLenght(60)]
string motiseimp { get; set; }
Returns
previousLineID
[AttVirtualField]
[AttHidden]
string previousLineID { get; set; }
Returns
tabiva
VAT table code
[AttLenght(3)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
int tabiva { get; set; }
Returns
treestamp
[AttLenght(25)]
string treestamp { get; set; }