Table of Contents

Class FlVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Supplier

[AttTable("Fl", 20250115)]
[AttTableGama(Gamas.Corporate)]
[AttTableProducts(new Products[] { Products.COMPRAS })]
[AttTableOrderBy("nome,no,estab")]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.UseInternalRef, TableFlags.FullTextSearchable, TableFlags.TableForJorge, TableFlags.EnableQuickIntro, TableFlags.CelebrateFirstInsert, TableFlags.UseImagePicker, TableFlags.UseDimensions })]
[AttTableVOInfo(typeof(FlAttInfo))]
[AttTableMaintenance(typeof(FlMaintenance))]
public class FlVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
FlVO

Properties

CountryVO

[AttExternalCollection(typeof(CountryVO), new string[] { "paisesstamp", "paisesstamp" })]
public CountryVO CountryVO { get; }

Property Value

CountryVO

ImageInfoVO

[AttExternalCollection(typeof(ImageInfoVO), new string[] { "iflstamp", "imagestamp" })]
public ImageInfoVO ImageInfoVO { get; }

Property Value

ImageInfoVO

MiseimpVO

[AttExternalCollection(typeof(MiseimpVO), new string[] { "[Miseimp].[miseimpstamp]", "[Fl].[miseimpstamp]" })]
public MiseimpVO MiseimpVO { get; }

Property Value

MiseimpVO

ModalidadVO

[AttExternalCollection(typeof(ModalidadVO), new string[] { "[Modalidad].[modalidadstamp]", "[Fl].[modalidadstamp]" })]
public ModalidadVO ModalidadVO { get; }

Property Value

ModalidadVO

TaxRetentionVO

[AttExternalCollection(typeof(TaxRetentionVO), new string[] { "[TaxRetention].[codstamp]", "[Fl].[codstamp]" })]
public TaxRetentionVO TaxRetentionVO { get; }

Property Value

TaxRetentionVO

TaxaIVAVO

[AttExternalCollection(typeof(TaxasIVAVO), new string[] { "[TaxasIva].[codigo]", "[Fl].[tabiva]" })]
public TaxasIVAVO TaxaIVAVO { get; }

Property Value

TaxasIVAVO

TpVO

[AttExternalCollection(typeof(TpVO), new string[] { "tp.tpstamp", "tpstamp" })]
public TpVO TpVO { get; }

Property Value

TpVO

agreementAutofact

“Com acordo de Autofacturação.

[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public bool agreementAutofact { get; set; }

Property Value

bool

autofact

“Fornecedor de Autofacturação.

[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public bool autofact { get; set; }

Property Value

bool

bidata

Data do BI.

[AttLenght(1)]
[AttRGPDrank(RGPDranks.Personal)]
[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime bidata { get; set; }

Property Value

DateTime

bilocal

Local de Emissão do BI.

[AttLenght(25)]
[AttRGPDrank(RGPDranks.Personal)]
public string bilocal { get; set; }

Property Value

string

Remarks

Length 25.

bino

Número do BI.

[AttLenght(15)]
[AttRGPDrank(RGPDranks.Personal)]
public string bino { get; set; }

Property Value

string

Remarks

Length 8.

cae

CAE

Contém o CAE (Código da atividade económica) da empresa .

[AttLenght(5)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public string cae { get; set; }

Property Value

string

Remarks

Length 5.

Non Duplicable Field

codpais

From CountryVO.codpais

[AttVirtualField]
[AttHidden]
public string codpais { get; set; }

Property Value

string

codstamp

[AttLenght(25)]
[AttEntityAvailable(typeof(TaxRetentionVO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string codstamp { get; set; }

Property Value

string

conta

Conta na Contabilidade.

[AttLenght(15)]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public string conta { get; set; }

Property Value

string

Remarks

Length 15.

Non Duplicable Field

deductionsValueCurrentYearTotal

[AttVirtualField]
public decimal deductionsValueCurrentYearTotal { get; set; }

Property Value

decimal

deductionsValuePreviousYearTotal

[AttVirtualField]
public decimal deductionsValuePreviousYearTotal { get; set; }

Property Value

decimal

desconto

Desconto Habitual.

[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
[AttSmartField]
public decimal desconto { get; set; }

Property Value

decimal

Remarks

Lenght of 5, where the units are 2 and decimals are 2.

diames

Dia do mês para pagamento.

[AttLenght(50)]
[AttSmartField]
public string diames { get; set; }

Property Value

string

Remarks

Length 50.

discountType

Field to know what kind of discount type the provider(fl) has

[AttLenght(20)]
[AttEntityAvailable(typeof(DfflVO))]
[AttSmartField]
public string discountType { get; set; }

Property Value

string

email

E-Mail.

[AttLenght(45)]
[AttRGPDrank(RGPDranks.Personal)]
[AttFieldType(AttFieldType.InputTypes.email)]
public string email { get; set; }

Property Value

string

Remarks

Length 45.

eplafond

Plafond.

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
[AttSmartField]
public decimal eplafond { get; set; }

Property Value

decimal

Remarks

Lenght of 19, where the units are 12 and decimals are 6.

esaldo

Saldo.

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList]
public decimal esaldo { get; set; }

Property Value

decimal

Remarks

Lenght of 19, where the units are 12 and decimals are 6.

Non Duplicable Field

exemptedValueCurrentYearTotal

[AttVirtualField]
public decimal exemptedValueCurrentYearTotal { get; set; }

Property Value

decimal

exemptedValuePreviousYearTotal

[AttVirtualField]
public decimal exemptedValuePreviousYearTotal { get; set; }

Property Value

decimal

fax

Fax.

[AttLenght(60)]
[AttRGPDrank(RGPDranks.Personal)]
public string fax { get; set; }

Property Value

string

Remarks

Length 60.

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

FiscalLocationEnum

flContacts

[AttCollection(typeof(FlContactVO))]
public List<FlContactVO> flContacts { get; set; }

Property Value

List<FlContactVO>

flLabelField

[AttVirtualField(typeof(FlAttInfo))]
public string flLabelField { get; set; }

Property Value

string

flPurchaseSeries

Specific purchase series usage by tiposaft for e-Fatura

[AttCollection(typeof(FlPurchaseSerieVO))]
public List<FlPurchaseSerieVO> flPurchaseSeries { get; set; }

Property Value

List<FlPurchaseSerieVO>

flTaxProducts

Products by tax

[AttCollection(typeof(FlTaxProductVO))]
public List<FlTaxProductVO> flTaxProducts { get; set; }

Property Value

List<FlTaxProductVO>

flstamp

Single registration field, used to link others to this entity.

[AttLenght(25)]
public string flstamp { get; set; }

Property Value

string

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

string

haveRetentionCurrentYear

[AttVirtualField(typeof(FlAttInfo))]
public bool haveRetentionCurrentYear { get; set; }

Property Value

bool

haveRetentionPreviousYear

[AttVirtualField(typeof(FlAttInfo))]
public bool haveRetentionPreviousYear { get; set; }

Property Value

bool

iban

IBAN Número Internacional de Conta Bancária

[AttLenght(40)]
[AttRGPDrank(RGPDranks.Personal)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string iban { get; set; }

Property Value

string

Remarks

Length 40.

idiom

Idiom Field

[AttLenght(25)]
[AttGama(Gamas.Advanced)]
public string idiom { get; set; }

Property Value

string

imagestamp

[AttLenght(25)]
[AttForeignKey(typeof(ImageInfoVO), HiddenField = false)]
[AttRGPDrank(RGPDranks.Personal)]
[AttFieldType(AttFieldType.InputTypes.image)]
public string imagestamp { get; set; }

Property Value

string

inactivo

Inactivo

[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool inactivo { get; set; }

Property Value

bool

isento

public bool isento { get; set; }

Property Value

bool

labelField

VAT table label

[AttVirtualField]
public string labelField { get; set; }

Property Value

string

market

Market.

[AttVirtualField]
[AttLenght(1)]
public int market { get; }

Property Value

int

mesesnaopag

Meses de não pagamento.

[AttLenght(50)]
[AttSmartField]
public string mesesnaopag { get; set; }

Property Value

string

Remarks

Length 50.

modalidaddescription

[AttVirtualField]
[AttEntityAvailable(typeof(ModalidadVO))]
public string modalidaddescription { get; set; }

Property Value

string

modalidadstamp

[AttLenght(25)]
[AttEntityAvailable(typeof(ModalidadVO))]
public string modalidadstamp { get; set; }

Property Value

string

moeda

Moeda

Contém o nome abreviado da moeda usada neste movimento .

[AttLenght(3)]
[AttIndex]
[AttEntityAvailable(typeof(CbVO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange, AttFieldType.FieldFlags.NotEditLoop })]
public string moeda { get; set; }

Property Value

string

Remarks

Length 3 .

EUR, USD, GBP

ncont

Número de Contribuinte.

[AttLenght(20)]
[AttRGPDrank(RGPDranks.Legal)]
[AttLogInfo(4)]
[AttMandatory(MandatoryParameter = "fl_ncvazio", MandatoryParameterValue = false)]
[AttList]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string ncont { get; set; }

Property Value

string

Remarks

Length 20.

Non Duplicable Field.

ndoctaxes

[AttLenght(18)]
[AttHidden]
[AttVirtualField]
public decimal ndoctaxes { get; set; }

Property Value

decimal

nib

NIB.

[AttLenght(30)]
[AttRGPDrank(RGPDranks.Personal)]
public string nib { get; set; }

Property Value

string

Remarks

Length 28.

Non Duplicable Field

nome2

Abbreviation for Name.

[AttLenght(55)]
[AttRGPDrank(RGPDranks.Personal)]
[AttList(Inactive = true)]
public string nome2 { get; set; }

Property Value

string

Remarks

Length 55.

Search Field.

Field available in the basic search results list.

notapplycativa

[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public bool notapplycativa { get; set; }

Property Value

bool

obs

Observações.

[AttFieldType(AttFieldType.InputTypes.memo)]
public string obs { get; set; }

Property Value

string

pncont

Iniciais do País de origem.

[AttLenght(2)]
[AttRGPDrank(RGPDranks.Legal)]
public string pncont { get; set; }

Property Value

string

Remarks

Length 2.

portalAccessDenied

Deny the access for this customer of portal usage

[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttGama(Gamas.Corporate)]
[AttHidden(HiddenParameter = new string[] { "ge_portal_available" }, HiddenParameterValue = new object[] { false })]
[AttProducts(new Products[] { Products.Documents })]
public bool portalAccessDenied { get; set; }

Property Value

bool

radicaltipoemp

Radical Tipo de Empresa.

[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public RadicalSNC radicaltipoemp { get; set; }

Property Value

RadicalSNC

Remarks

Length 1.

radicaltipoempname

Name of Radical tipo de empresa

[AttLenght(50)]
[AttLocale(typeof(FlAttInfo), new string[] { "[Fl].[radicaltipoemp]" })]
public string radicaltipoempname { get; set; }

Property Value

string

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

string

Remarks

Length 50 .

regrecargo

System of equivalence surcharge.

[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public bool regrecargo { get; set; }

Property Value

bool

Remarks

By activating this option it defines that the purchases made by this client, besides the normal Tax Rate, have an equivalence charge Tax Rate (only applicable in Spain).

stFls

[AttCollection(typeof(StFlVO))]
public List<StFlVO> stFls { get; set; }

Property Value

List<StFlVO>

supplierid

[AttVirtualField]
[AttHidden]
public string supplierid { get; set; }

Property Value

string

swift

BIC/Swift Code.

[AttLenght(11)]
[AttRGPDrank(RGPDranks.Personal)]
public string swift { get; set; }

Property Value

string

Remarks

Length 15.

taxLabelField

[AttVirtualField]
public string taxLabelField { get; set; }

Property Value

string

taxableValueCurrentYearTotal

[AttVirtualField]
public decimal taxableValueCurrentYearTotal { get; set; }

Property Value

decimal

taxableValuePreviousYearTotal

[AttVirtualField]
public decimal taxableValuePreviousYearTotal { get; set; }

Property Value

decimal

taxcategorycode

Tax category for mapping accounts variables

[AttVirtualField]
[AttLenght(1)]
public int taxcategorycode { get; }

Property Value

int

taxretentionstamp

[AttLenght(25)]
[AttHidden]
[AttVirtualField]
public string taxretentionstamp { get; set; }

Property Value

string

taxtypecode

Tax type for mapping accounts variables

[AttVirtualField]
[AttLenght(1)]
public int taxtypecode { get; }

Property Value

int

telefone

Telefone.

[AttLenght(60)]
[AttRGPDrank(RGPDranks.Personal)]
public string telefone { get; set; }

Property Value

string

Remarks

Length 60.

tipo

Tipo de Fornecedor.

[AttLenght(20)]
[AttSmartField]
public string tipo { get; set; }

Property Value

string

Remarks

Length 20.

tlmvl

E-Mail.

[AttLenght(45)]
[AttRGPDrank(RGPDranks.Personal)]
public string tlmvl { get; set; }

Property Value

string

Remarks

Length 45.

tpdesc

Condições de Pagamento.

[AttLenght(55)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange, AttFieldType.FieldFlags.NotEditLoop })]
public string tpdesc { get; set; }

Property Value

string

Remarks

Length 55.

tpstamp

Campo de ligação a Condições de Pagamento (TpVO).

[AttForeignKey(typeof(TpVO), HiddenField = false)]
[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange, AttFieldType.FieldFlags.NotEditLoop })]
public string tpstamp { get; set; }

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

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

bool

ueMember

[AttVirtualField]
[AttHidden]
public bool ueMember { get; set; }

Property Value

bool

url

Endereço de Internet.

[AttLenght(100)]
[AttRGPDrank(RGPDranks.Personal)]
[AttFieldType(AttFieldType.InputTypes.url)]
public string url { get; set; }

Property Value

string

Remarks

Length 100.

usadadosclienteoufornecedor

[AttVirtualField]
[AttHidden]
public bool usadadosclienteoufornecedor { get; set; }

Property Value

bool

useVATonPayment

[AttVirtualField]
[AttHidden]
public bool useVATonPayment { get; set; }

Property Value

bool

vencimento

Dias de Vencimento.

[AttLenght(3)]
[AttSmartField]
public int vencimento { get; set; }

Property Value

int

Remarks

Length 3.

Explicit Interface Implementations

codmotiseimp

Code for VAT exemption Reason

[AttVirtualField]
[AttLenght(4)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
string codmotiseimp { get; set; }

Returns

string

codpost

Código Postal.

[AttLenght(45)]
[AttRGPDrank(RGPDranks.Personal)]
string codpost { get; set; }

Returns

string

Remarks

Length 45.

estab

Establishment.

[AttPrimaryKey]
[AttLenght(6)]
[AttGama(Gamas.Advanced)]
[AttLogInfo(2)]
[AttMinValue(0)]
[AttList]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
int estab { get; set; }

Returns

int

Remarks

This field is Primary Key.

Length 3.

Search Field.

Field available in the basic search results list.

local

Localidade.

[AttLenght(43)]
[AttRGPDrank(RGPDranks.Personal)]
[AttList]
string local { get; set; }

Returns

string

Remarks

Length 43.

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

string

morada

Morada.

[AttLenght(55)]
[AttRGPDrank(RGPDranks.Personal)]
[AttList]
string morada { get; set; }

Returns

string

Remarks

Length 55.

morada2

Morada.

[AttLenght(55)]
[AttRGPDrank(RGPDranks.Personal)]
string morada2 { get; set; }

Returns

string

Remarks

Length 55.

motiseimp

Reason for VAT exemption

[AttVirtualField]
[AttLenght(60)]
string motiseimp { get; set; }

Returns

string

municipio

Morada do municipio de Carga.

[AttLenght(55)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
[AttRGPDrank(RGPDranks.Personal)]
string municipio { get; set; }

Returns

string

no

Number.

[AttPrimaryKey]
[AttLenght(10)]
[AttLogInfo(1)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttMinValue(0)]
[AttList]
decimal no { get; set; }

Returns

decimal

Remarks

This field is Primary Key.

Length 55.

Research field.

Field available in the basic search results list.

nome

Name.

[AttLenght(100)]
[AttRGPDrank(RGPDranks.Personal)]
[AttMandatory]
[AttLogInfo(0)]
[AttList]
string nome { get; set; }

Returns

string

Remarks

Length 55.

Search Field.

Field available in the basic search results list.

Mandatory field.

pais

País de Origem.

[AttLenght(70)]
[AttMandatory]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
string pais { get; set; }

Returns

string

Remarks

Length 70.

paisesstamp

Campo de ligação à entidade de países ().

[AttForeignKey(CanDuplicate = true, ForeignType = typeof(CountryVO), HiddenField = false)]
[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttMandatory]
string paisesstamp { get; set; }

Returns

string

Remarks

Length 25.

Foreign Key field to another table.

provincia

Morada do provincia de Carga.

[AttLenght(55)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
[AttRGPDrank(RGPDranks.Personal)]
string provincia { get; set; }

Returns

string

tabiva

VAT table code

[AttLenght(3)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttSmartField]
int tabiva { get; set; }

Returns

int

taxa

VAT table rate

[AttVirtualField]
[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
decimal taxa { get; set; }

Returns

decimal