Class FoVO
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
Purchases
[AttTable("Fo", 20250116)]
[AttTableOrderBy("doccode,data,nome,estab,adoc", "A,D,A,A,D")]
[AttTableVOInfo(typeof(FOAttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.MandatorySaveLog, TableFlags.MasterEntity, TableFlags.UseInternalRef, TableFlags.FullTextSearchable, TableFlags.TableForJorge, TableFlags.AddOnNotDeployable, TableFlags.CelebrateFirstInsert, TableFlags.UseDimensions })]
[AttTableGama(Gamas.Corporate)]
[AttTableProducts(new Products[] { Products.COMPRAS })]
[AttRelationShip(typeof(FlVO), RelationShipTypes.OneToOne, new string[] { "[Fo].[no]", "[Fl].[no]", "[Fo].[estab]", "[Fl].[estab]" })]
[AttRelationShip(typeof(FopdVO), RelationShipTypes.OneToMany, new string[] { "[Fo].[fostamp]", "[Fopd].[fostamp]" })]
[AttTableMaintenance(typeof(FoMaintenance))]
public class FoVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
- Inheritance
-
FoVO
Remarks
Esta entidade é composta por duas colecções principais, linhas de documentos de compras FnVO e linhas de valores de iva por taxa FoTxIvaVO. .
Existe uma outra entidade Cm1VO que serve de configuração para regras de negócio a aplicar aos dos registos aqui guardados. .
Properties
BlVO
[AttExternalCollection(typeof(BlVO), new string[] { "bl.noconta", "contado" })]
public BlVO BlVO { get; }
Property Value
CatIvaTaxRetentionVO
[AttExternalCollection(typeof(TaxRetentionVO), new string[] { "[TaxRetention].[codstamp]", "[Fo].[codcativastamp]" })]
public TaxRetentionVO CatIvaTaxRetentionVO { get; }
Property Value
Cm1VO
[AttExternalCollection(typeof(Cm1VO), new string[] { "cm1.cm", "doccode" })]
public Cm1VO Cm1VO { get; }
Property Value
CountryVO
[AttExternalCollection(typeof(CountryVO), new string[] { "countries.paisesstamp", "paisesstamp" })]
public CountryVO CountryVO { get; }
Property Value
FlVO
[AttExternalCollection(typeof(FlVO), new string[] { "fl.no", "no", "fl.estab", "estab" })]
public FlVO FlVO { 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
IvaFieldsRelation
hide iva fields when zero
[AttVirtualField]
public Dictionary<string, List<string>> IvaFieldsRelation { get; }
Property Value
MiseimpVO
[AttExternalCollection(typeof(MiseimpVO), new string[] { "[Miseimp].[miseimpstamp]", "[Fo].[miseimpstamp]" })]
public MiseimpVO MiseimpVO { get; }
Property Value
ModalidadVO
[AttExternalCollection(typeof(ModalidadVO), new string[] { "[Modalidad].[modalidadstamp]", "[Fo].[modalidadstamp]" })]
public ModalidadVO ModalidadVO { get; }
Property Value
OlVO
The treasury movement created in OL
[AttExternalCollection(typeof(OlVO))]
public OlVO OlVO { get; }
Property Value
OwnerEmail
[AttHidden]
public string OwnerEmail { get; }
Property Value
TaxRetentionVO
[AttExternalCollection(typeof(TaxRetentionVO), new string[] { "[TaxRetention].[codstamp]", "[Fo].[codstamp]" })]
public TaxRetentionVO TaxRetentionVO { get; }
Property Value
TpVO
[AttExternalCollection(typeof(TpVO), new string[] { "tp.tpstamp", "tpstamp" })]
public TpVO TpVO { get; }
Property Value
accruedtype
[AttVirtualField]
[AttLenght(1)]
public int accruedtype { get; }
Property Value
adoc
Document number.
[AttPrimaryKey]
[AttLenght(50)]
[AttLogInfo(1)]
[AttList]
[AttMandatory]
public string adoc { get; set; }
Property Value
Remarks
This field is Primary Key.
Length 50.
Research field.
Field available in the basic search results list.
aivainm
Arredondamento do Valor da Base de Incidência em Moeda Estrangeira.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal aivainm { get; set; }
Property Value
Remarks
Lenght of 5, where the units are 2 and decimals are 2.
approvedByName
The name of person who approve the document
[AttLenght(100)]
[AttGama(Gamas.Advanced)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string approvedByName { get; set; }
Property Value
approvedByStamp
The stamp of person who approve the document
[AttLenght(25)]
[AttGama(Gamas.Advanced)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string approvedByStamp { get; set; }
Property Value
approvedDate
The date when was approved
[AttGama(Gamas.Advanced)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public DateTime approvedDate { get; set; }
Property Value
approvedHour
The hour when was approved
[AttLenght(8)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.time, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string approvedHour { get; set; }
Property Value
assinatura
Assinatura do Documento.
[AttLenght(200)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string assinatura { get; set; }
Property Value
atcudUniqueID
[AttLenght(80)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string atcudUniqueID { get; set; }
Property Value
atcudUniqueIDForReports
atcudUniqueID to be used in reports (ATCUD:AAJFF7FJXK-140).
[AttVirtualField]
[AttLenght(90)]
public string atcudUniqueIDForReports { get; }
Property Value
Remarks
Virtual field.
atwebatcudready
[AttVirtualField]
[AttHidden]
public bool atwebatcudready { get; set; }
Property Value
blLabelField
From BlVO.labelField
[AttVirtualField]
[AttHidden]
public string blLabelField { get; set; }
Property Value
blsupplytype
[AttVirtualField]
[AttLenght(1)]
[AttProducts(new Products[] { Products.Accounting })]
[AttDynamicIntegrationValue(typeof(SupplyTypeVO))]
public string blsupplytype { get; }
Property Value
cancreatelot
[AttVirtualField]
[AttHidden]
public bool cancreatelot { get; set; }
Property Value
cativandoctax
{#P:ge_iva#} captivation rate series
[AttLenght(18)]
[AttHidden]
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public decimal cativandoctax { get; set; }
Property Value
cativataxa
[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public decimal cativataxa { get; set; }
Property Value
cativataxname
Captivation fee of {#P:ge_iva#}
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public string cativataxname { get; set; }
Property Value
cativataxstamp
{#P:ge_iva#} captivation fee code
[AttLenght(25)]
[AttHidden]
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public string cativataxstamp { get; set; }
Property Value
codcativastamp
{#P:ge_iva#} captivation fee type code
[AttLenght(25)]
[AttEntityAvailable(typeof(TaxRetentionVO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public string codcativastamp { get; set; }
Property Value
codigo4041
Código correspondente ao valor a ser incluído no quadro 1-A do modelo 40 (Formato: Código Alínea)
[AttLenght(30)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string codigo4041 { get; set; }
Property Value
Remarks
Data type String.
Length 30.
Non Duplicable Field
codigo4041desc
Texto com os artigos dos Modelos 40 e 41
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public string codigo4041desc { 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.
Devido á natureza do seu calculo o campo nao se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Another feature is that this field by being virtual will never appear in the collection Modified Fields of the entity itself.
codigo4041reg
Regularizações - favor do Estado
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public int codigo4041reg { get; set; }
Property Value
codpost
Código Postal da morada do fornecedor.
[AttLenght(45)]
[AttRGPDrank(RGPDranks.Personal)]
public string codpost { get; set; }
Property Value
Remarks
Length 45.
codstamp
[AttLenght(25)]
[AttEntityAvailable(typeof(TaxRetentionVO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string codstamp { get; set; }
Property Value
contado
Número interno da conta.
[AttLenght(4)]
[AttEntityAvailable(typeof(BlVO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public int contado { get; set; }
Property Value
Remarks
Length 4.
dataefect
Data efetiva de Entrega de Bens ou Serviços
public DateTime dataefect { get; set; }
Property Value
descm
Descontos Comerciais em Moeda Estrangeira.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal descm { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
diaplano
Dia da data de contabilização.
[AttLenght(2)]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public int diaplano { get; set; }
Property Value
Remarks
Data type Numeric.
Non Duplicable Field
Length 2.
dilnoplano
Nº lançamento no Diário de contabilização.
[AttLenght(10)]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public int dilnoplano { get; set; }
Property Value
Remarks
Data type Numeric.
Non Duplicable Field
Length 10.
dinoplano
Diário de contabilização.
[AttLenght(50)]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public string dinoplano { get; set; }
Property Value
Remarks
Data type String.
Non Duplicable Field
Length 50.
docName
[AttFieldType(AttFieldType.InputTypes.string)]
[AttHidden]
public string docName { get; set; }
Property Value
docString
[AttFieldType(AttFieldType.InputTypes.memo)]
[AttHidden]
public string docString { get; set; }
Property Value
doccode
Document Code.
[AttPrimaryKey]
[AttLenght(6)]
[AttDocType(typeof(Cm1VO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList(Hidden = true)]
public int doccode { get; set; }
Property Value
Remarks
Primary key.
Length 6.
Identifies the type of document.
docnome
Document Code.
[AttLenght(25)]
[AttLogInfo(0)]
[AttList(Inactive = true)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string docnome { get; set; }
Property Value
Remarks
Length 20.
Search Field.
Field available in the basic search results list.
dplano
Data de contabilização do documento.
[AttFieldType(AttFieldType.InputTypes.date)]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public DateTime dplano { get; set; }
Property Value
Remarks
Data type DateTime.
Non Duplicable Field
eaivain
Arredondamento do Valor da Base de Incidência.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal eaivain { get; set; }
Property Value
Remarks
Lenght of 5, where the units are 2 and decimals are 2.
ecativa
VAT captivation
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public decimal ecativa { get; set; }
Property Value
edescc
Valor do Desconto Comercial.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal edescc { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
efinv
Valor do Desconto Financeiro.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal efinv { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
eivain
Valor da Base de Incidência (após arredondamento).
[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal eivain { 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 your calculation the field is not available to be included in queries, but able 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.
[AttVirtualField]
[AttHidden]
public string email { get; set; }
Property Value
enotproc
Unprocessed
[AttVirtualField(typeof(FOAttInfo))]
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal enotproc { get; set; }
Property Value
enreg
Unsettled Amount
[AttVirtualField(typeof(FOAttInfo))]
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal enreg { get; set; }
Property Value
entrada
[AttVirtualField]
[AttHidden]
public bool entrada { get; set; }
Property Value
epaivain
Valor da Base de Incidência (antes de arredondamento).
[AttVirtualField]
[AttLenght(19, 6)]
public decimal epaivain { 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.
Devido á natureza do seu calculo o campo nao se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
epayable
Payment
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public decimal epayable { get; set; }
Property Value
epdcativa
Captivation of VAT on the document that was regularized due to the inclusion of advances to the supplier
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public decimal epdcativa { get; set; }
Property Value
erdtotal
Valor total de regularizações em Euros.
[AttLenght(19, 6)]
[AttEntityAvailable(typeof(PdVO))]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal erdtotal { get; set; }
Property Value
estab
Número que identifica o Estabelecimento do Fornecedor.
[AttLenght(6)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttMinValue(0)]
[AttList(Inactive = true)]
[AttSmartField]
public int estab { get; set; }
Property Value
Remarks
Length 3.
etiliqdc
Total before discounts.
[AttVirtualField]
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal etiliqdc { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
Virtual field.
etotal
Total of the Document.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList]
public decimal etotal { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
Search Field.
Field available in the basic search results list.
etotalglobal
Valor total do documento com as regularizações em Euros.
[AttLenght(19, 6)]
[AttEntityAvailable(typeof(PdVO))]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal etotalglobal { get; set; }
Property Value
etotaliva
Total de IVA.
[AttVirtualField]
[AttLenght(19, 6)]
[AttHidden]
public decimal etotaliva { 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.
Devido á natureza do seu calculo o campo nao se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Another feature is that this field by being virtual will never appear in the collection Modified Fields of the entity itself.
etotalivarec
Total de Recargo de IVA.
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal etotalivarec { 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 your calculation the field is not available to be included in queries, but able 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.
ettiliq
Total ilíquido antes do IVA e do desconto financeiro.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal ettiliq { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
ettiva
Total de IVA.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal ettiva { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
evirs
Retenção de IRS.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal evirs { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
Corresponds to the sum of the values of articles subject to IRS multiplied by the IRS retention rate of the supplier chosen for the document.
expensespercent
Percentage of Expenses.
[AttLenght(6, 2)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.percentage, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttMaxValue(100)]
public decimal expensespercent { get; set; }
Property Value
Remarks
Lenght of 6, where the units are 2 and decimals are 2.
expensesvalue
Expenses amount in Euros.
[AttLenght(19, 6)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal expensesvalue { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
fin
Percentagem de Desconto Financeiro.
[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttMaxValue(100)]
public decimal fin { get; set; }
Property Value
Remarks
Lenght of 5, where the units are 2 and decimals are 2.
finmv
Valor do Desconto Financeiro em Moeda Estrangeira.
[AttLenght(19, 6)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal finmv { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
firstPrintDate
Date of first print (original document)
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public DateTime firstPrintDate { get; set; }
Property Value
Remarks
Non Duplicable Field.
firstPrintRepStamp
Reportstamp used on first print (original document)
[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string firstPrintRepStamp { get; set; }
Property Value
Remarks
Non Duplicable Field.
fiscalLocation
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttLenght(10)]
[AttEntityAvailable(typeof(TaxRetentionVO))]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public FiscalLocationEnum fiscalLocation { get; set; }
Property Value
fiscalacceptance
Fixed value for fiscal acceptance assets type in account variables
[AttVirtualField]
[AttLenght(1)]
public int fiscalacceptance { get; }
Property Value
flstamp
[AttVirtualField]
[AttHidden]
public string flstamp { get; set; }
Property Value
fnmas
Colecção dos numeros de série da linha.
[AttCollection(typeof(FnMaVO))]
public List<FnMaVO> fnmas { get; set; }
Property Value
Remarks
This field is a collection of type List (Of FnMaVO).
FnMaVOfns
Collection of the lines of this document.
[AttCollection(typeof(FnVO))]
public List<FnVO> fns { get; set; }
Property Value
Remarks
Collection of elements type. FnVO.
foano
Year of the Document.
[AttPrimaryKey]
[AttLenght(4)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public int foano { get; set; }
Property Value
Remarks
Primary key.
Length 4.
fofcs
[AttCollection(typeof(FoFcVO))]
public List<FoFcVO> fofcs { get; set; }
Property Value
fopds
Colecção das linhas de recibos de adiantamento do documento.
[AttCollection(typeof(FopdVO))]
public List<FopdVO> fopds { get; set; }
Property Value
Remarks
This field is a collection of type List (Of FopdVO).
FiVOfostamp
Single registration field, used to link others to this entity.
[AttLenght(25)]
public string fostamp { get; set; }
Property Value
Remarks
This field uniquely identifies the record (primary key by default).
Length 25.
fullmotiseimp
Code and Reason for VAT exemption
[AttVirtualField]
[AttLenght(64)]
public string fullmotiseimp { get; set; }
Property Value
hora
Internal Hour.
[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time)]
[AttMandatory]
public string hora { get; set; }
Property Value
Remarks
- Length 8
- Appears in Quicklist.
- Available in Quick Search.
- Required field.
Non Duplicable Field
This field accepts the format “HH: mm: ss“, where “HH” is the hour, using a 24-hour clock from 0 to 23, “mm” are the minutes from 00 to 59 and, finally, “ss” are the seconds, also from 00 to 59. Note that the two tabs are included in the value of the field, for example: if the time is 15 hours 14 minutes and 13 seconds the value of this field will be: 15:14:13.
This field is used in conjunction with the Internal Date field to sort the records in order to achieve a chronological identification that allows the independent record time to be entered into the system.
idiom
Idiom Field
[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttGama(Gamas.Advanced)]
public string idiom { get; set; }
Property Value
impUniqueID
Unique identifier for imports.
[AttLenght(60)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string impUniqueID { get; set; }
Property Value
Remarks
This field is used when the respective series of the receipt is configured as an import series, which indicates that the documents of this series were made in other software, in these cases it is necessary to keep the number of the original document.
impcae
Imported CAE (Economic activity code) of the company
[AttLenght(5)]
[AttFieldType(AttFieldType.InputTypes.string)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public string impcae { get; set; }
Property Value
impousrdata
Imported ousrdata
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public virtual DateTime impousrdata { get; set; }
Property Value
impousrhora
Imported ousrhora
[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public virtual string impousrhora { get; set; }
Property Value
impousrinis
Imported ousrinis
[AttLenght(30)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string impousrinis { get; set; }
Property Value
impusrdata
Imported usrdata
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public virtual DateTime impusrdata { get; set; }
Property Value
impusrhora
Imported usrhora
[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public virtual string impusrhora { get; set; }
Property Value
impusrinis
Imported usrinis
[AttLenght(30)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string impusrinis { get; set; }
Property Value
incometaxcode
Fixed income tax
[AttVirtualField]
[AttLenght(1)]
public int incometaxcode { get; }
Property Value
introexpenses
Calculation origin of financial discount
[AttHidden]
public ExpensesTypes introexpenses { get; set; }
Property Value
introfin
Indica se o Desconto Financeiro é introduzido em valor.
[AttHidden]
public bool introfin { get; set; }
Property Value
isSigned
Indicates whether the purchase series to which this purchase belongs belongs configured to digitally sign.
[AttVirtualField]
[AttHidden]
public bool isSigned { 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 Modified Fields of the entity itself.
isconfiguredtosign
Indicates whether the purchase series to which this purchase belongs belongs configured to digitally sign.
[AttVirtualField]
[AttHidden]
public bool isconfiguredtosign { 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 Modified Fields of the entity itself.
ivaBase1
Primeira linha IVA - Incidência.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase1 { 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.
Devido á natureza do seu calculo o campo nao se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
ivaBase1MoedaEstrangeira
Primeira linha IVA - Incidência em moeda estrangeira.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase1MoedaEstrangeira { get; }
Property Value
ivaBase2
Segunda linha IVA - Incidência.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase2 { 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.
Devido á natureza do seu calculo o campo nao se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
ivaBase2MoedaEstrangeira
Segunda linha IVA - Incidência em moeda estrangeira.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase2MoedaEstrangeira { get; }
Property Value
ivaBase3
Terceira linha IVA - Incidência.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase3 { 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.
Devido á natureza do seu calculo o campo nao se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
ivaBase3MoedaEstrangeira
Terceira linha IVA - Incidência em moeda estrangeira.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase3MoedaEstrangeira { get; }
Property Value
ivaBase4
4º line - VAT base
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase4 { get; }
Property Value
ivaBase4MoedaEstrangeira
4º line - VAT base in foreign currency.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase4MoedaEstrangeira { get; }
Property Value
ivaBase5
5º line - VAT base
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase5 { get; }
Property Value
ivaBase5MoedaEstrangeira
5º line - VAT base in foreign currency.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase5MoedaEstrangeira { get; }
Property Value
ivaBase6
6º line - VAT base
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase6 { get; }
Property Value
ivaBase6MoedaEstrangeira
6º line - VAT base in foreign currency.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase6MoedaEstrangeira { get; }
Property Value
ivaTaxa1
Primeira linha IVA - Taxa.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaTaxa1 { 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.
Devido á natureza do seu calculo o campo nao se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
ivaTaxa2
Segunda linha IVA - Taxa.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaTaxa2 { 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.
Devido á natureza do seu calculo o campo nao se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
ivaTaxa3
Terceira linha IVA - Taxa.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaTaxa3 { 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.
Devido á natureza do seu calculo o campo nao se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
ivaTaxa4
4º line - VAT rate
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaTaxa4 { get; }
Property Value
ivaTaxa5
5º line - VAT rate
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaTaxa5 { get; }
Property Value
ivaTaxa6
6º line - VAT rate
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaTaxa6 { get; }
Property Value
ivaTaxaRec1
Primeira linha Recargo - Taxa.
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaTaxaRec1 { 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.
Devido á natureza do seu calculo o campo nao se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
ivaTaxaRec2
Segunda linha Recargo - Taxa.
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaTaxaRec2 { 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.
Devido á natureza do seu calculo o campo nao se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
ivaTaxaRec3
Terceira linha Recargo - Taxa.
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaTaxaRec3 { 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.
Devido á natureza do seu calculo o campo nao se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
ivaTaxaRec4
4º line - VAT surcharge rate
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaTaxaRec4 { get; }
Property Value
ivaTaxaRec5
5º line - VAT surcharge rate
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaTaxaRec5 { get; }
Property Value
ivaTaxaRec6
6º line - VAT surcharge rate
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaTaxaRec6 { get; }
Property Value
ivaValor1
Primeira linha IVA - Valor IVA.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor1 { 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.
Devido á natureza do seu calculo o campo nao se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
ivaValor1MoedaEstrangeira
Primeira linha IVA - Valor IVA em moeda estrangeira.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor1MoedaEstrangeira { get; }
Property Value
ivaValor2
Segunda linha IVA - Valor IVA.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor2 { 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.
Devido á natureza do seu calculo o campo nao se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
ivaValor2MoedaEstrangeira
Segunda linha IVA - Valor IVA em moeda estrangeira.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor2MoedaEstrangeira { get; }
Property Value
ivaValor3
Terceira linha IVA - Valor IVA.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor3 { 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.
Devido á natureza do seu calculo o campo nao se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
ivaValor3MoedaEstrangeira
Terceira linha IVA - Valor IVA em moeda estrangeira.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor3MoedaEstrangeira { get; }
Property Value
ivaValor4
4º line - VAT amount
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor4 { get; }
Property Value
ivaValor4MoedaEstrangeira
4º line - VAT amount in foreign currency.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor4MoedaEstrangeira { get; }
Property Value
ivaValor5
5º line - VAT amount
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor5 { get; }
Property Value
ivaValor5MoedaEstrangeira
5º line - VAT amount in foreign currency.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor5MoedaEstrangeira { get; }
Property Value
ivaValor6
6º line - VAT amount
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor6 { get; }
Property Value
ivaValor6MoedaEstrangeira
6º line - VAT amount in foreign currency.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor6MoedaEstrangeira { get; }
Property Value
ivaValorRec1
Primeira linha Recargo - Valor.
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaValorRec1 { 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.
Devido á natureza do seu calculo o campo nao se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
ivaValorRec2
Segunda linha Recargo - Valor.
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaValorRec2 { 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.
Devido á natureza do seu calculo o campo nao se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
ivaValorRec3
Terceira linha Recargo - Valor.
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaValorRec3 { 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.
Devido á natureza do seu calculo o campo nao se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
ivaValorRec4
4º line - VAT surcharge amount.
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaValorRec4 { get; }
Property Value
ivaValorRec5
5º line - VAT surcharge amount.
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaValorRec5 { get; }
Property Value
ivaValorRec6
6º line - VAT surcharge amount.
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaValorRec6 { get; }
Property Value
ivacaixa
Compra ao abrigo do regime de IVA de Caixa
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.es_ES, languages.pt_AO })]
public bool ivacaixa { get; set; }
Property Value
ivainm
Valor da Base de Incidência em moeda (após arredondamento).
[AttVirtualField]
public decimal ivainm { 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.
Devido á natureza do seu calculo o campo nao se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Another feature is that this field by being virtual will never appear in the collection Modified Fields of the entity itself.
local
Localidade da morada do fornecedor.
[AttLenght(43)]
[AttRGPDrank(RGPDranks.Personal)]
public string local { get; set; }
Property Value
Remarks
Length 43.
madein
[AttLenght(30)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string madein { get; set; }
Property Value
madeintitle
[AttVirtualField]
[AttLenght(30)]
public string madeintitle { get; set; }
Property Value
market
Market.
[AttVirtualField]
[AttLenght(1)]
public int market { get; }
Property Value
masterTiposaft
[AttVirtualField]
public string masterTiposaft { get; }
Property Value
mcativa
VAT captivation in foreign currency
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public decimal mcativa { get; set; }
Property Value
mexpensesvalue
Expenses amount in foreign currency..
[AttLenght(19, 6)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal mexpensesvalue { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
mivain
Valor da Base de Incidência em moeda (após arredondamento).
[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal mivain { 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 your calculation the field is not available to be included in queries, but able 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.
mnotproc
Unprocessed in foreign currency
[AttVirtualField(typeof(FOAttInfo))]
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal mnotproc { 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
moeda
Moeda
Contém o nome abreviado da moeda usada neste documento de facturação .
[AttLenght(3)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList(Inactive = true)]
public string moeda { get; set; }
Property Value
Remarks
Length 3 .
morada
Morada do fornecedor.
[AttLenght(55)]
[AttRGPDrank(RGPDranks.Legal)]
[AttList]
public string morada { get; set; }
Property Value
Remarks
Length 55.
morada2
Morada do fornecedor.
[AttLenght(55)]
[AttRGPDrank(RGPDranks.Personal)]
public string morada2 { get; set; }
Property Value
Remarks
Length 55.
mpayable
Payment in foreign currency
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public decimal mpayable { get; set; }
Property Value
mpdcativa
Captivation of VAT on the document that was regularized due to the inclusion of advances to the supplier (in foreign currency)
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public decimal mpdcativa { get; set; }
Property Value
mtotalivarec
Total de Recargo de IVA em moeda.
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal mtotalivarec { 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 your calculation the field is not available to be included in queries, but able 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.
mtotallineexpensesvalue
Total expenses lines value in foreign currency..
[AttLenght(19, 6)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange, AttFieldType.FieldFlags.NotEditLoop })]
public decimal mtotallineexpensesvalue { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
municipio
Morada do municipio de Carga.
[AttLenght(55)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
[AttRGPDrank(RGPDranks.Legal)]
public string municipio { get; set; }
Property Value
ncont
Número de Contribuinte do fornecedor.
[AttLenght(20)]
[AttRGPDrank(RGPDranks.Legal)]
[AttList(Inactive = true)]
public string ncont { get; set; }
Property Value
Remarks
Length 20.
ndoctaxes
[AttLenght(18)]
[AttHidden]
[AttVirtualField]
public decimal ndoctaxes { get; set; }
Property Value
no
Supplier Number.
[AttPrimaryKey(CanDuplicate = true)]
[AttLenght(10)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttMinValue(0)]
[AttList(Inactive = true)]
[AttSmartField]
public decimal no { get; set; }
Property Value
Remarks
This field is Primary Key.
Length 10.
Required field.
nome
Supplier's name.
[AttLenght(100)]
[AttMandatory]
[AttRGPDrank(RGPDranks.Legal)]
[AttLogInfo(3)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList]
[AttSmartField]
public string nome { get; set; }
Property Value
Remarks
Length 55.
Required field.
Research field.
Field available in the basic search results list.
Non Duplicable Field
nome2
Abreviatura do Nome.
[AttLenght(55)]
[AttRGPDrank(RGPDranks.Legal)]
public string nome2 { get; set; }
Property Value
Remarks
Length 55.
nreg
Unsettled Amount in foreign currency
[AttVirtualField(typeof(FOAttInfo))]
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal nreg { get; set; }
Property Value
nullifyHour
Time of nullify.
[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string nullifyHour { get; set; }
Property Value
nullifyReason
Time of nullify.
[AttLenght(50)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string nullifyReason { get; set; }
Property Value
ollocal
Conta de Tesouraria.
[AttLenght(50)]
[AttEntityAvailable(typeof(BlVO))]
[AttFieldType(AttFieldType.InputTypes.string)]
public string ollocal { get; set; }
Property Value
Remarks
Length 50.
pais
Represents a CountryVO.
[AttLenght(70)]
public string pais { get; set; }
Property Value
paisesstamp
Connection field to entity CountryVO.
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(CountryVO), HiddenField = false)]
[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string paisesstamp { get; set; }
Property Value
Remarks
Length 45.
paivainm
Valor da Base de Incidência em moeda (antes de arredondamento).
[AttVirtualField]
[AttLenght(19, 6)]
public decimal paivainm { 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 your calculation the field is not available to be included in queries, but able 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.
paymentoptions
Fixed value for payment options in account variables
[AttVirtualField]
[AttLenght(1)]
public int paymentoptions { get; }
Property Value
pdata
Data de Vencimento.
[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public DateTime pdata { get; set; }
Property Value
plano
Accounted.
[AttLenght(1)]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public bool plano { get; set; }
Property Value
Remarks
Indicates whether the purchase is accounted for.
Non Duplicable Field
pncont
Initials of the country of origin.
[AttLenght(2)]
public string pncont { get; set; }
Property Value
Remarks
Length 2.
Search Field.
printCounter
Number of prints for this document
[AttLenght(10)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList(Hidden = true)]
public int printCounter { get; set; }
Property Value
provincia
Morada do provincia de Carga.
[AttLenght(55)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
[AttRGPDrank(RGPDranks.Legal)]
public string provincia { get; set; }
Property Value
qrcode
QRCODE
[AttVirtualField]
public string qrcode { get; }
Property Value
qrcodeEtotal
Original Total of the Document scanned from qr code
[AttLenght(19, 6)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public decimal qrcodeEtotal { get; set; }
Property Value
qrcodeNcont
This field is the original company ncont scanned from QR Code
[AttLenght(30)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string qrcodeNcont { get; set; }
Property Value
rdtotalm
Valor total de regularizações em Moeda Estrangeira.
[AttLenght(19, 6)]
[AttEntityAvailable(typeof(PdVO))]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal rdtotalm { get; set; }
Property Value
refInt
Referência interna
Contains the value of the user's internal reference that created the record.
[AttLenght(50)]
[AttEntityAvailable(typeof(RefInternaVO))]
[AttList(Inactive = true)]
public string refInt { get; set; }
Property Value
Remarks
Length 50 .
regrecargo
[AttHidden]
public bool regrecargo { get; set; }
Property Value
retention
[AttLenght(6, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
public decimal retention { get; set; }
Property Value
serieuniqueid
[AttVirtualField]
[AttLenght(5)]
public string serieuniqueid { get; set; }
Property Value
showRecargoIva
Indicates whether the document shows the surcharge of VAT.
[AttVirtualField]
[AttHidden]
public bool showRecargoIva { get; set; }
Property Value
Remarks
Virtual field.
Field not available for the user.
signatureDate
Data da assinatura.
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public DateTime signatureDate { get; set; }
Property Value
signatureHour
Signature Hour.
[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string signatureHour { get; set; }
Property Value
suplierAutoCreationCode
[AttVirtualField]
[AttHidden]
public AutoCreationCodes suplierAutoCreationCode { 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.
Devido á natureza do seu calculo o campo nao se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Another feature is that this field by being virtual will never appear in the collection Modified Fieldsof the entity itself.
suplieroperation
Suplier operation.
[AttVirtualField]
[AttLenght(1)]
public int suplieroperation { get; }
Property Value
suppliertermoperation
[AttVirtualField]
[AttLenght(1)]
public int suppliertermoperation { get; }
Property Value
taxLabelField
[AttVirtualField]
public string taxLabelField { get; set; }
Property Value
taxasIVA
List of IVA Rates available for this document.
[AttCollection(typeof(FoTxIvaVO))]
public List<FoTxIvaVO> taxasIVA { get; set; }
Property Value
Remarks
Collection of type elements. FoTxIvaVO.
taxcategorycode
Tax category for mapping accounts variables
[AttVirtualField]
[AttLenght(1)]
public int taxcategorycode { get; }
Property Value
taxregularizations
Fixed variable - A favor do estado
[AttVirtualField]
[AttLenght(1)]
public int taxregularizations { get; }
Property Value
taxretentionstamp
[AttLenght(25)]
[AttHidden]
[AttVirtualField]
public string taxretentionstamp { get; set; }
Property Value
textoCertificacao
Texto com nº de certificação para Relatórios
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO })]
public string textoCertificacao { 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.
textoCertificacaoParcialAssinatura
Certificação: Texto Parcial - Assinatura
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO })]
public string textoCertificacaoParcialAssinatura { 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.
textoCertificacaoParcialDemo
Certificação: Texto Parcial - Base de dados de demonstração
[AttVirtualField]
public string textoCertificacaoParcialDemo { 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.
textoCertificacaoParcialNaoServeFactura
Certificação: Texto Parcial - Não serve de factura
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO })]
public string textoCertificacaoParcialNaoServeFactura { 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.
textoCertificacaoParcialNaoServeFacturaAgregado
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO })]
public string textoCertificacaoParcialNaoServeFacturaAgregado { get; set; }
Property Value
textoCertificacaoParcialNomeSoftware
Certificação: Texto Parcial - Nome do software
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO })]
public string textoCertificacaoParcialNomeSoftware { 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.
textoCertificacaoParcialNumeroCertificacao
Certificação: Texto Parcial - Número da certificação
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO })]
public string textoCertificacaoParcialNumeroCertificacao { 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.
textoCertificacaoParcialProcessadoPor
Certificação: Texto Parcial - Processado por
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO })]
public string textoCertificacaoParcialProcessadoPor { 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.
texto_anulado
[AttVirtualField]
public string texto_anulado { get; }
Property Value
tiliqdcm
[AttVirtualField]
[AttLenght(19, 6)]
public decimal tiliqdcm { get; set; }
Property Value
tipo
Tipo de Fornecedor.
[AttLenght(20)]
public string tipo { get; set; }
Property Value
Remarks
Length 20.
tiposaft
SAF-T Type.
[AttLenght(2)]
[AttHidden]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string tiposaft { get; set; }
Property Value
Remarks
Length 2.
It serves to identify which code to use for SAF-T production.
Non Duplicable Field
tmiliq
Valor total ilíquido em Moeda Estrangeira.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal tmiliq { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
tmiva
Total de I.V.A. em Moeda Estrangeira.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal tmiva { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
tnvol
Total Número de Volumes
[AttLenght(18, 4)]
[AttGama(Gamas.Advanced)]
[AttVirtualField]
[AttHidden]
public decimal tnvol { get; }
Property Value
Remarks
- Length: 18.4
- Virtual
totalglobalm
Valor total do documento com as regularizações em Moeda Estrangeira.
[AttLenght(19, 6)]
[AttEntityAvailable(typeof(PdVO))]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal totalglobalm { get; set; }
Property Value
totalivam
Total de IVA em moeda estrangeira.
[AttVirtualField]
[AttLenght(19, 6)]
[AttHidden]
public decimal totalivam { 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 your calculation the field is not available to be included in queries, but able 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.
totallineexpensesvalue
Total expenses lines value in Euros.
[AttLenght(19, 6)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange, AttFieldType.FieldFlags.NotEditLoop })]
public decimal totallineexpensesvalue { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
totmoeda
Total do Documento em Moeda Estrangeira
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList(Inactive = true)]
public decimal totmoeda { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
Campo de Pesquisa.
Field available in the basic search results list.
tpbrut
Total Peso Bruto
[AttLenght(18, 4)]
[AttGama(Gamas.Advanced)]
[AttVirtualField]
public decimal tpbrut { get; }
Property Value
Remarks
- Length: 18.4
- Virtual
tpdesc
Condição de Pagamento.
[AttLenght(55)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange, AttFieldType.FieldFlags.NotEditLoop })]
public string tpdesc { get; set; }
Property Value
Remarks
Length 55.
tpliq
Total Peso Líquido
[AttLenght(18, 4)]
[AttGama(Gamas.Advanced)]
[AttVirtualField]
public decimal tpliq { get; }
Property Value
Remarks
- Length: 18.4
- Virtual
tpstamp
Campo de ligação a Condições de Pagamento (TpVO).
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(TpVO), HiddenField = false)]
[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange, AttFieldType.FieldFlags.NotEditLoop })]
public string tpstamp { get; set; }
Property Value
Remarks
Length 25.
Foreign Key field to another table.
transactiondate
Document date
[AttProducts(new Products[] { Products.Accounting })]
public DateTime transactiondate { get; set; }
Property Value
tvol
Total Volume
[AttLenght(18, 4)]
[AttGama(Gamas.Advanced)]
[AttVirtualField]
public decimal tvol { get; }
Property Value
Remarks
- Length: 18.4
- Virtual
ueIva
Compras intracomunitárias para efeitos de IVA
[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public bool ueIva { get; set; }
Property Value
ueMember
[AttVirtualField]
[AttHidden]
public bool ueMember { get; set; }
Property Value
uniqueID
Unique identifier of the record.
[AttLenght(60)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string uniqueID { get; set; }
Property Value
Remarks
In a normal recording this field should not be filled. The application has the function of filling it with a valid value for the record in question. If in the recording this field is completed, the application will accept its value, but it is not valid if is a single value, being this responsibility of the algorithm that filled the value in the field before ordering to record the entity.
The function of this field is identical to the field ftstamp with the difference that the value it contains is in a human readable and understandable form. It is made up of the following values:
.
For example, a purchase recorded in 2013 of series 50 set to Type for SAF-T equal to GT that has been assigned the annual sequential number of 15, will have the following value in this field:
- GT 2013FO50/15
Purchases that have been saved prior to the existence of this field, the application will automatically populate with a similar value, at the time of installation and maintenance of the database, with the difference that it will not include the element "FO" nor the year of purchase, takes:
- GT 50/15
The value of this field is used for example to compose the digital signature of the purchase and for production of the SAF-T-PT file used in communications with AT.
Non Duplicable Field
usaIRS
Indica se o fornecedor tem Taxa de Retenção de IRS.
[AttVirtualField]
[AttHidden]
public bool usaIRS { get; set; }
Property Value
Remarks
This field does not physically exist in the database. Its value result of a calculation expression with the help of other fields of the entity. Is provided in order to hide the complexity of the calculation, providing value in a simple form.
Due to the nature of its calculation the field is not available to be included in searches, but to be included in listings or reports. Outra particularidade é que este campo por ser virtual nunca irá figurar dentro da colecção de Modified Fields of the entity itself.
usaRecargoIva
Indica se o documento usa Recargo de IVA.
[AttVirtualField]
[AttHidden]
public bool usaRecargoIva { 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.
Devido á natureza do seu calculo o campo nao se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Another feature is that this field by being virtual will never appear in the collection Modified Fields of the entity itself.
uselot
[AttVirtualField]
[AttHidden]
public bool uselot { get; set; }
Property Value
validlot
[AttVirtualField]
[AttHidden]
public bool validlot { get; set; }
Property Value
vatoperation
Fixed variable - Operações com IVA
[AttVirtualField]
[AttLenght(1)]
public int vatoperation { get; }
Property Value
versaochave
Key edition of the digital signature.
[AttLenght(40)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string versaochave { get; set; }
Property Value
Methods
GetCodigoEspacoFiscal(string)
protected string GetCodigoEspacoFiscal(string espacoFiscal)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
espacoFiscal |
string |
Returns
GetRegimesIvaFiscal(List<FoTxIvaVO>, List<string>)
protected void GetRegimesIvaFiscal(List<FoTxIvaVO> ri, List<string> itens)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
ri |
List<FoTxIvaVO> | |
itens |
List<string> |
GetSeriesName()
public override string GetSeriesName()
Returns
GetSeriesValue()
public override decimal GetSeriesValue()
Returns
GetTipoSaft()
public override string GetTipoSaft()
Returns
IsOwner(FoVO, string)
public static bool IsOwner(FoVO itemFo, string madein)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
itemFo |
FoVO | |
madein |
string |
Returns
SetStampValue(string)
public override void SetStampValue(string stampID)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
stampID |
string |
Explicit Interface Implementations
CanIntegrate()
Returns true if integration is available
bool CanIntegrate()
Returns
CleanIntegrationErrors()
Cleans the accounting integration errors
void CleanIntegrationErrors()
GetIntegrationConfig(int)
Get Accounting configuration if exists
PHCResult GetIntegrationConfig(int year)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
year |
int |
Returns
GetPendingIntegrationsCommands(int)
PHCCmdSql GetPendingIntegrationsCommands(int year = 0)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
year |
int |
Returns
HasAccountingIntegration()
Check for permission to integrate document
bool HasAccountingIntegration()
Returns
IsProducedRecord()
bool IsProducedRecord()
Returns
LogIntegrationErrors(List<MessageVO>)
Logs the accounting integration errors
void LogIntegrationErrors(List<MessageVO> errorMessages)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
errorMessages |
List<MessageVO> |
ReadyForArchival()
bool ReadyForArchival()
Returns
accounted
Mark document as accounted
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
bool accounted { get; set; }
Returns
adate
Accounting Date
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
DateTime adate { get; set; }
Returns
anulada
Identifies whether the Document is cancelled.
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
bool anulada { get; set; }
Returns
codmotiseimp
Code for VAT exemption Reason
[AttVirtualField]
[AttLenght(4)]
string codmotiseimp { get; set; }
Returns
data
Internal Date.
[AttMandatory]
[AttLogInfo(2)]
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList]
DateTime data { get; set; }
Returns
Remarks
- Appears in Quick List.
- Available in Quick Search.
- Required field
Non Duplicable Field
This field is used in conjunction with the Internal Time field for sorting the records in order to achieve a chronological identification that is independent of the actual time that the record was entered into the system.
docarchivalnumber
ID: Journal + Period + DocNumber
[AttLenght(30)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
string docarchivalnumber { get; set; }
Returns
documentdescription
Description of the document type (DC)
[AttFieldType(AttFieldType.InputTypes.memo, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
string documentdescription { get; set; }
Returns
documentid
Id of the accounting document (DC)
[AttLenght(6)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
decimal documentid { get; set; }
Returns
integrationErrors
Accounting integrations message errors
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
string integrationErrors { get; set; }
Returns
isApproved
Field to know if the document was approved
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttGama(Gamas.Advanced)]
[AttList(Inactive = true)]
bool isApproved { get; set; }
Returns
isArchived
[AttFieldType(AttFieldType.InputTypes.boolean)]
bool isArchived { get; set; }
Returns
isDocNeedsApproval
We use this field to know if the document needs approval
[AttGama(Gamas.Advanced)]
[AttList(Inactive = true)]
bool isDocNeedsApproval { get; set; }
Returns
isaccounting
Is true if the document is in integrating process
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
bool isaccounting { get; set; }
Returns
journaldescription
Description of the journal (DI)
[AttLenght(200)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
string journaldescription { get; set; }
Returns
journalid
Journal code (DI).
[AttLenght(6)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
decimal journalid { get; set; }
Returns
miseimpstamp
StampID for VAT exemption Reason
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(MiseimpVO), HiddenField = false)]
[AttLenght(25)]
string miseimpstamp { get; set; }
Returns
motiseimp
Reason for VAT exemption
[AttVirtualField]
[AttLenght(60)]
string motiseimp { get; set; }
Returns
nullifyDate
Date of nullify
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
DateTime nullifyDate { get; set; }
Returns
olcode
Código de tesouraria
[AttVirtualField]
[AttLenght(12)]
string olcode { get; set; }
Returns
year
Year of Document (PCY).
[AttLenght(4)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
int year { get; set; }