Table of Contents

Class ClVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Customer

[AttTable("Cl", 20250115)]
[AttTableProducts(new Products[] { Products.VENDAS, Products.POS })]
[AttTableOrderBy("nome,no,estab")]
[AttTableVOInfo(typeof(ClAttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.UseInternalRef, TableFlags.FullTextSearchable, TableFlags.TableForJorge, TableFlags.EnableQuickIntro, TableFlags.CelebrateFirstInsert, TableFlags.UseImagePicker, TableFlags.UseDimensions })]
[AttRelationShip(typeof(FtVO), RelationShipTypes.OneToMany, new string[] { "[Cl].[no]", "[Ft].[no]", "[Cl].[estab]", "[Ft].[estab]" })]
[AttRelationShip(typeof(BoVO), RelationShipTypes.OneToMany, new string[] { "[Cl].[no]", "[Bo].[no]", "[Cl].[estab]", "[Bo].[estab]" })]
[AttRelationShip(typeof(RdVO), RelationShipTypes.OneToMany, new string[] { "[Cl].[no]", "[Rd].[no]", "[Cl].[estab]", "[Rd].[estab]" })]
[AttRelationShip(typeof(ReVO), RelationShipTypes.OneToMany, new string[] { "[Cl].[no]", "[Re].[no]", "[Cl].[estab]", "[Re].[estab]" })]
[AttRelationShip(typeof(CcVO), RelationShipTypes.OneToMany, new string[] { "[Cl].[no]", "[Cc].[no]", "[Cl].[estab]", "[Cc].[estab]" })]
[AttRelationShip(typeof(AvencaVO), RelationShipTypes.OneToMany, new string[] { "[Cl].[no]", "[Avenca].[no]", "[Cl].[estab]", "[Avenca].[estab]" })]
[AttTableMaintenance(typeof(ClMaintenance))]
public class ClVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
ClVO

Remarks

This entity is composed by a main collection of ImageInfoVO related with customer.

Properties

CatIvaTaxRetentionVO

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

Property Value

TaxRetentionVO

CbVO

[AttExternalCollection(typeof(CbVO), new string[] { "[Cb].[moeda]", "[Cl].[moeda]" })]
public CbVO CbVO { get; }

Property Value

CbVO

Cm3VO

[AttExternalCollection(typeof(Cm3VO), new string[] { "[Cm3].[cm]", "[Cl].[vendedor]" })]
public Cm3VO Cm3VO { get; }

Property Value

Cm3VO

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]", "[Cl].[miseimpstamp]" })]
public MiseimpVO MiseimpVO { get; }

Property Value

MiseimpVO

ModalidadVO

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

Property Value

ModalidadVO

OrganizationVO

[AttExternalCollection(typeof(OrganizationVO), new string[] { "organizationstamp", "organizationstamp" })]
public OrganizationVO OrganizationVO { get; }

Property Value

OrganizationVO

SddAutVO

[AttExternalCollection(typeof(SddAutVO), new string[] { "clstamp", "clstamp" })]
public SddAutVO SddAutVO { get; }

Property Value

SddAutVO

TaxaIVAVO

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

Property Value

TaxasIVAVO

TpVO

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

Property Value

TpVO

alimite

Number of the days of credit allowed.

[AttLenght(5)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttMinValue(0)]
[AttSmartField]
public int alimite { get; set; }

Property Value

int

Remarks

Maximum number of days allowed beyond the expiration date of the salary documents.

Length 5.

allowADC

É permitido o Debito em Conta a este cliente

[AttLenght(1)]
[AttEntityAvailable(typeof(SddAutVO))]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public bool allowADC { get; set; }

Property Value

bool

Remarks

Length 1.

Non Duplicable Field.

autofact

Autobilling Agreement

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

Property Value

bool

Remarks

It defines if customer has an auto-billing agreement or whether the customer is issuing invoices instead of their suppliers.

In the presence of a self-billing agreement, whenever the supplier is required to file the SAF-T (PT), it is the client company that issues the invoices that must generate the respective file.

autorizacaoactiva

Autorização activa

[AttLenght(1)]
[AttEntityAvailable(typeof(SddAutVO))]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public bool autorizacaoactiva { get; set; }

Property Value

bool

Remarks

Non Duplicable Field.

autorizacaosepaactiva

Indica se tem autorização SEPA ativa

[AttVirtualField]
[AttEntityAvailable(typeof(CodSepaVO))]
public bool autorizacaosepaactiva { get; }

Property Value

bool

Remarks

Non Duplicable Field.

bidata

Date of issue of identification.

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

Property Value

DateTime

Remarks

Length 1.

bilocal

Place of Issue.

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

Property Value

string

Remarks

Length 25.

bino

Identification Document Number.

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

Property Value

string

Remarks

Length 15.

canConnectElectroComm

Field to know if the client can send the espap or saphety file to the AT

[AttFieldType(AttFieldType.InputTypes.integer)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttProducts(new Products[] { Products.UBLESPAP2_1 })]
public ElectroCommunication.ElectroCommTypes canConnectElectroComm { get; set; }

Property Value

ElectroCommunication.ElectroCommTypes

cativandoctax

[AttLenght(18)]
[AttHidden]
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public decimal cativandoctax { get; set; }

Property Value

decimal

cativataxname

[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public string cativataxname { get; set; }

Property Value

string

cativataxstamp

[AttLenght(25)]
[AttHidden]
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public string cativataxstamp { get; set; }

Property Value

string

ccusto

Cost Centre

[AttLenght(20)]
[AttGama(Gamas.Advanced)]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public string ccusto { get; set; }

Property Value

string

Remarks

Length 20.

cemail1

E-mail Administrativo

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

Property Value

string

Remarks

Length 45.

cemail2

E-mail Comercial

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

Property Value

string

Remarks

Length 45.

cfuncao1

funcao Administrativo

[AttLenght(55)]
public string cfuncao1 { get; set; }

Property Value

string

Remarks

Length 55.

Field available in the basic search results list.

Searchable field.

Mandatory field.

cfuncao2

funcao Comercial

[AttLenght(55)]
public string cfuncao2 { get; set; }

Property Value

string

Remarks

Length 55.

Field available in the basic search results list.

Searchable field.

Mandatory field.

clContacts

[AttCollection(typeof(ClContactVO))]
public List<ClContactVO> clContacts { get; set; }

Property Value

List<ClContactVO>

clLabelField

[AttVirtualField(typeof(ClAttInfo))]
public string clLabelField { get; set; }

Property Value

string

cliref

Customer Reference Code for bank transfers in Spain

[AttLenght(12)]
[AttEntityAvailable(typeof(BlVO))]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public string cliref { get; set; }

Property Value

string

Remarks

This field is only used when the company's country is Spain.

Length 12.

Non Duplicable Field.

clivd

Generic Customer

[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool clivd { get; set; }

Property Value

bool

Remarks

Length 1.

clstamp

Stamp of customer.

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

Property Value

string

Remarks

Contains the unique key identifying the customer and is used for connection to other tables. .

Length 25 .

This field is primary key.

cnome1

Nome Administrativo

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

Property Value

string

Remarks

Length 55.

Field available in the basic search results list.

Searchable field.

Mandatory field.

cnome2

Nome Comercial

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

Property Value

string

Remarks

Length 55.

Field available in the basic search results list.

Searchable field.

Mandatory field.

codcativastamp

[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

string

codpais

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

Property Value

string

conta

SNC Account

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

Property Value

string

Remarks

SNC account for customer current account movements.

Length 15.

Non Duplicable Field.

contach

SNC Account for Cheques

[AttLenght(15)]
[AttGama(Gamas.Advanced)]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public string contach { get; set; }

Property Value

string

Remarks

SNC account for customer Cheques.

Length 15.

Non Duplicable Field.

ctelefone1

Telefone Administrativo

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

Property Value

string

Remarks

Length 60.

ctelefone2

Telefone Comercial

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

Property Value

string

Remarks

Length 60.

customerid

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

Property Value

string

desconto

Usual discount

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

Property Value

decimal

Remarks

Percentage of the trade discount of the customer.

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

descpp

Financial discount

[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
[AttMinValue(0)]
[AttMaxValue(100)]
[AttSmartField]
public decimal descpp { get; set; }

Property Value

decimal

Remarks

Percentage of Financial discount, i.e., cash payment to apply to the customer.

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

diames

Dia do mês p/pagamento

[AttLenght(50)]
[AttGama(Gamas.Grow)]
[AttSmartField]
public string diames { get; set; }

Property Value

string

Remarks

Length 50.

email

E-mail

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

Property Value

string

Remarks

Length 45.

eplafond

Credit Limit

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

Property Value

decimal

Remarks

Maximum amount of credit allowed of the customer.

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

esaldo

Current Balance

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

Property Value

decimal

Remarks

This field shows the open balance amount of the customer.

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

Non Duplicable Field.

fax

Fax

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

Property Value

string

Remarks

Length 60.

fullmotiseimp

Code and Reason for VAT exemption

[AttVirtualField]
[AttLenght(64)]
public string fullmotiseimp { get; set; }

Property Value

string

gln

gln

[AttLenght(35)]
public string gln { get; set; }

Property Value

string

Remarks

Length 35.

hasUncblMovs

Indicates if the customer has uncollectible transactions.

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

Property Value

bool

hasValidBIC

Indica se tem um BIC válido

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

Property Value

bool

hasValidIBAN

Indica se tem um IBAN no formato correto

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

Property Value

bool

iban

IBAN Número Internacional de Conta Bancária

[AttLenght(40)]
[AttRGPDrank(RGPDranks.Personal)]
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

isperson

Final consumer

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

Property Value

bool

Remarks

If you select this field, you are classifying the consumer as an end user, and purchases will not to be sold for other purposes. This field is denormalized for entities FtVO and BoVO then used in the production of File SAF-T-PT related to transport documents, in that file the records issued to final consumers do not fall mandatory to be included in their production.

labelField

VAT table label

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

Property Value

string

madein

[AttLenght(30)]
public string madein { 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)]
[AttGama(Gamas.Grow)]
[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.NotEditLoop })]
public string moeda { get; set; }

Property Value

string

Remarks

Length 3 .

EUR, USD, GBP

naoencomenda

Não é permitido emitir dossiers internos para este cliente

[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool naoencomenda { get; set; }

Property Value

bool

nascimento

Date of Birth

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

Property Value

DateTime

Remarks

Length 1.

naturalid

Place of Birth

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

Property Value

string

Remarks

Length 17.

ncont

VAT Number

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

Property Value

string

Remarks

Length 20.

Field available in the basic search results list.

Searchable field.

Non Duplicable Field.

nib

Número de identificação bancária

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

Property Value

string

Remarks

Length 40.

nocredit

Não é permitido emitir documentos de facturação para este cliente

[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool nocredit { get; set; }

Property Value

bool

nome2

Abbreviated Name.

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

Property Value

string

Remarks

Length 55.

Field available in the basic search results list.

Searchable field.

numAutorizacaoSDD

Número de autorização Debito Directo (ADC)

[AttLenght(11)]
[AttEntityAvailable(typeof(SddAutVO))]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public string numAutorizacaoSDD { get; set; }

Property Value

string

Remarks

Length 11.

Non Duplicable Field.

numSeqAut

Sequência da ADC

[AttLenght(3)]
[AttEntityAvailable(typeof(SddAutVO))]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public int numSeqAut { get; set; }

Property Value

int

Remarks

Length 3.

Non Duplicable Field.

obs

Comments

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

Property Value

string

Remarks

Relevant comments about the customer.

obsdoc

Invoicing Document Comments

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

Property Value

string

Remarks

Information that will be printed on invoices.

The content of this field is automatically passed to the field obs of new FtVO to this customer.

oldiban

Antigo IBAN Número Internacional de Conta Bancária

[AttLenght(40)]
[AttHidden]
[AttRGPDrank(RGPDranks.Personal)]
public string oldiban { get; set; }

Property Value

string

Remarks

Length 40.

Field not available to the user.

Serve para preencher o elemento "AmdmntInfDtls" do ficheiro SEPA .

Este campo só está preenchido quando o iban é alterado e já existem cobranças processadas para este cliente.

oldswift

BIC old code.

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

Property Value

string

Remarks

Length 15.

Field not available to the user.

Serves to fill the "AmdmntInfDtls" element of the SEPA file.

This field is populated only when the swift changes and there are already charges processed for this term.

organizationstamp

Campo de ligação a entidade Países

[AttForeignKey(CanDuplicate = false, ForeignType = typeof(OrganizationVO), HiddenField = false)]
[AttEntityAvailable(typeof(OrganizationVO))]
[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string)]
public string organizationstamp { get; set; }

Property Value

string

pncont

Iniciais do País de origem.

[AttLenght(2)]
[AttRGPDrank(RGPDranks.Legal)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
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.Grow)]
[AttHidden(HiddenParameter = new string[] { "ge_portal_available" }, HiddenParameterValue = new object[] { false })]
[AttProducts(new Products[] { Products.PortalGO })]
public bool portalAccessDenied { get; set; }

Property Value

bool

preco

Price to use in Documents

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

Property Value

SalePriceEnum

Remarks

Length 1.

preconame

[AttLenght(50)]
[AttLocale(typeof(ClAttInfo), new string[] { "[Cl].[preco]" })]
public string preconame { get; set; }

Property Value

string

publicEntity

Inactivo

[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool publicEntity { 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(ClAttInfo), new string[] { "[Cl].[radicaltipoemp]" })]
public string radicaltipoempname { get; set; }

Property Value

string

refInt

[AttLenght(50)]
[AttEntityAvailable(typeof(RefInternaVO))]
[AttList(Inactive = true)]
public string refInt { get; set; }

Property Value

string

regrecargo

Equivalence recharge regime.

[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
[AttFieldType(AttFieldType.InputTypes.boolean)]
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 tax rate surcharge (applicable only in Spain).

runSddAutTriggers

Serve para controlar se corre triggers de sddaut ou não. só deve ser utilizado pela entidade SDDAUT e só deve estar disponivel no backend

public bool runSddAutTriggers { get; set; }

Property Value

bool

segmento

Market Segment

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

Property Value

string

Remarks

Defines the market segment of the customer.

Length 25.

situacaoNumADC

[AttLocale(typeof(ClAttInfo))]
[AttLenght(55)]
[AttEntityAvailable(typeof(SddAutVO))]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.es_ES })]
public string situacaoNumADC { get; set; }

Property Value

string

sujirs

public bool sujirs { get; set; }

Property Value

bool

swift

BIC/Swift Code.

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

Property Value

string

Remarks

Length 15.

telefone

Telephone.

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

Property Value

string

Remarks

Length 60.

tipo

Type

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

Property Value

string

Remarks

Defines the type of customer, for example: Final Customer, Reseller.

Length 20.

tipodesc

Discount Type

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

Property Value

string

Remarks

Selection of customer type for product/customer discount to be used in documents.

Length 20.

tipoidentificacao

Type of Identification

[AttLenght(40)]
[AttSmartField]
public string tipoidentificacao { get; set; }

Property Value

string

Remarks

Length 40.

tlmvl

Mobile

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

Property Value

string

Remarks

Length 45.

tpdesc

Payment Terms

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

Property Value

string

Remarks

Length 55.

tpstamp

Stamp of Payment Terms.

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

Property Value

string

Remarks

Contains the stamp for a record to Entity TpVO to perform the connection. .

Length 25 .

TpVO

url

Internet Address.

[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

vencimento

Days of Payment

[AttLenght(3)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttMinValue(0)]
[AttSmartField]
public int vencimento { get; set; }

Property Value

int

Remarks

Number of days between the invoice date and the date when it can be paid.

Length 3.

vendedor

Salesperson number.

[AttLenght(4)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public int vendedor { get; set; }

Property Value

int

Remarks

Length 4.

vendnm

Salesperson Name

[AttLenght(40)]
[AttList(Inactive = true)]
[AttFieldType(AttFieldType.InputTypes.string)]
public string vendnm { get; set; }

Property Value

string

Remarks

Length 40.

Field available in the basic search results list.

Searchable field.

zona

Area

[AttLenght(13)]
[AttSmartField]
public string zona { get; set; }

Property Value

string

Remarks

Defines the geographic area of customers.

Length 13.

Explicit Interface Implementations

codmotiseimp

Code for VAT exemption Reason

[AttVirtualField]
[AttLenght(4)]
string codmotiseimp { get; set; }

Returns

string

codpost

Código Postal

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

Returns

string

Remarks

Length 45.

estab

Branch.

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

Returns

int

Remarks

Length 3.

Field available in the basic search results list.

Searchable field.

This field is primary key.

local

Localidade

[AttLenght(43)]
[AttRGPDrank(RGPDranks.Personal)]
[AttMandatory(new languages[] { languages.es_ES })]
[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 })]
[AttSmartField]
string miseimpstamp { get; set; }

Returns

string

morada

Morada

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

Returns

string

Remarks

Length 55.

morada2

Morada2

[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

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

Returns

string

no

Customer Number.

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

Returns

decimal

Remarks

Length 10.

Field available in the basic search results list.

Searchable field.

This field is primary key.

Auto incremented Field in the backend.

nome

Customer name.

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

Returns

string

Remarks

Length 55.

Field available in the basic search results list.

Searchable field.

Mandatory field.

pais

Representa um País

[AttLenght(70)]
[AttMandatory(new languages[] { languages.pt_PT, languages.es_ES })]
string pais { get; set; }

Returns

string

paisesstamp

Campo de ligação a entidade Países

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

Returns

string

provincia

Province (Field only used in Spain)

[AttLenght(60)]
[AttRGPDrank(RGPDranks.Legal)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES, languages.pt_AO })]
[AttMandatory(new languages[] { languages.es_ES })]
string provincia { get; set; }

Returns

string

Remarks

Length 60.

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