Table of Contents

Class BoVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Internal Documents

[AttTable("Bo", 20250117)]
[AttTableOrderBy(OrderFields = "case when bo.obrano<0 then bo.boano else 9999 end,\r\n                              case when bo.obrano<0 then bo.obrano else -9999999999 end,\r\n\t\t                      case when bo.obrano<0 then 0 else bo.boano end,\r\n                              case when bo.obrano<0 then 0 else bo.obrano end", COrderType = "A,D,D,D")]
[AttTableVOInfo(typeof(BOAttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.MandatorySaveLog, TableFlags.MasterEntity, TableFlags.UseInternalRef, TableFlags.FullTextSearchable, TableFlags.TableForJorge, TableFlags.AddOnNotDeployable, TableFlags.CelebrateFirstInsert, TableFlags.UseDimensions })]
[AttRelationShip(typeof(ClVO), RelationShipTypes.OneToOne, new string[] { "[Bo].[no]", "[Cl].[no]", "[Bo].[estab]", "[Cl].[estab]" })]
[AttTableGama(Gamas.Corporate)]
[AttTableProducts(new Products[] { Products.VENDAS, Products.COMPRAS })]
[AttTableMaintenance(typeof(BoMaintenance))]
public class BoVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
BoVO

Remarks

<p>

O conceito de Dossier Interno surge, como uma ferramenta que permite ao utilizador adaptar o programa, de uma forma simples, às suas necessidades mais específicas. .

O utilizador poderá definir e caracterizar Dossiers Internos que vão ser constituídos por documentos internos adaptados ao modo de funcionamento da Empresa em questão, podendo desta forma informatizar áreas que normalmente não fazem parte da gestão. .

Exemplificando, poder-se-ia definir um Dossier de folhas de obra; para cada trabalho da Empresa pode então ser aberta uma folha de obra onde seriam feitos os lançamentos dos artigos e valores afectos a esse trabalho; ou um Dossier com as encomendas, onde seriam registados os artigos encomendados e de quem. .

Deste modo, os Dossiers Internos trabalham em estreita relação com o ficheiro de Stocks e Serviços podendo inclusivamente (se o utilizador assim o desejar) abater em Stock os artigos lançados num determinado documento interno. Para isto existem as configurações dos dossiers. .

Assim, visto que um Dossier Interno não é mais do que um local onde pode colocar lançamentos de artigos ou serviços por Empresa, com a opção destes abaterem o Stock ou movimentarem os campos de reservas nas fichas dos artigos, dependendo das necessidades, pode criar uma série infinita de Dossiers como por exemplo : .

Encomendas a clientes ou a fornecedores .

Orçamentos para clientes .

Fichas técnicas de produtos, etc. .

Esta entidade é composta por duas coluções principais, linhas de Dossiers Internos BiVO e linhas de valores de iva por taxa BoTxIvaVO. .

Os campos para ordenação dos dossiers nas consultas são "boano,obrano,dataobra,nome".

Ano do dossier interno Número do dossier interno Data do dossier Nome

Properties

BO_TOTP1

Total antes dos descontos

[AttVirtualField]
[AttLenght(19, 6)]
public decimal BO_TOTP1 { get; set; }

Property Value

decimal

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.

CbVO

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

Property Value

CbVO

CertificacaoHashCode

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

Property Value

string

ClVO

[AttExternalCollection(typeof(ClVO), new string[] { "[Cl].[no]", "[Bo].[no]", "[Cl].[estab]", "[Bo].[estab]" })]
public ClVO ClVO { get; }

Property Value

ClVO

Cm3VO

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

Property Value

Cm3VO

CountryFromVO

[AttExternalCollection(typeof(CountryVO), new string[] { "[countries].[paisesstamp]", "[Bo].[paisesstampfrom]" })]
public CountryVO CountryFromVO { get; }

Property Value

CountryVO

CountryToVO

[AttExternalCollection(typeof(CountryVO), new string[] { "[countries].[paisesstamp]", "[Bo].[paisesstampto]" })]
public CountryVO CountryToVO { get; }

Property Value

CountryVO

CountryVO

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

Property Value

CountryVO

FlVO

[AttExternalCollection(typeof(FlVO), new string[] { "[Fl].[no]", "[Bo].[no]", "[Fl].[estab]", "[Bo].[estab]" })]
public FlVO FlVO { get; }

Property Value

FlVO

GetFieldStampName

Use only field name without table name

public override string GetFieldStampName { get; }

Property Value

string

GetStampValue

public override string GetStampValue { get; }

Property Value

string

IvaFieldsRelation

hide iva fields when zero

[AttVirtualField]
public Dictionary<string, List<string>> IvaFieldsRelation { get; }

Property Value

Dictionary<string, List<string>>

MiseimpVO

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

Property Value

MiseimpVO

OrganizationVO

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

Property Value

OrganizationVO

OwnerEmail

[AttHidden]
public string OwnerEmail { get; }

Property Value

string

SzChargeVO

[AttExternalCollection(typeof(SzVO), new string[] { "[Sz].[szstamp]", "[Bo].[szstoragechargestamp]" })]
public SzVO SzChargeVO { get; }

Property Value

SzVO

SzDishargeVO

[AttExternalCollection(typeof(SzVO), new string[] { "[Sz].[szstamp]", "[Bo].[szstoragedischargestamp]" })]
public SzVO SzDishargeVO { get; }

Property Value

SzVO

TsVO

[AttExternalCollection(typeof(TsVO), new string[] { "[Ts].[ndos]", "[Bo].[ndos]" })]
public TsVO TsVO { get; }

Property Value

TsVO

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

string

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

string

approvedDate

The date when was approved

[AttGama(Gamas.Advanced)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public DateTime approvedDate { get; set; }

Property Value

DateTime

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

string

assinatura

Signature

[AttLenght(200)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO })]
public string assinatura { get; set; }

Property Value

string

atWsDocSent

Identifies if the doc was sent to AT with success

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

Property Value

bool

Remarks

Lenght 1.

atWsDocStatus

Document status in AT.

[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttHidden(HiddenParameter = new string[] { "ge_atinvwebcommunication" }, HiddenParameterValue = new object[] { false })]
public Saft.AtWsDocStatus atWsDocStatus { get; set; }

Property Value

Saft.AtWsDocStatus

Remarks

Non Duplicable Field.

atcodeid

Identification code attributed by AT as a result of the communication of the transport document.

[AttLenght(200)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string atcodeid { get; set; }

Property Value

string

Remarks

Length 200.

The documents provided for in Decree-Law no.147/2003, of July 11, and other susceptible documents that may be presented to the customer for a conference of delivery of goods or services, when communicated to the TA, receive an identifier that is stored in this field, this server identifier to print together with the document to be presented to the competent authorities, when that's necessary.

atcudUniqueID

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

Property Value

string

atcudUniqueIDForReports

atcudUniqueID to be used in reports (ATCUD:AAJFF7FJXK-140).

[AttVirtualField]
[AttLenght(90)]
public string atcudUniqueIDForReports { get; }

Property Value

string

Remarks

Virtual field.

atwebatcudready

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

Property Value

bool

atwebdocready

Indicates if the record is ready to be reported as working doc via webservice with AT.

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

Property Value

bool

Remarks

Virtual field.

Field not available for the user.

baseim

Incidência em moeda

[AttVirtualField]
[AttLenght(19, 6)]
public decimal baseim { get; set; }

Property Value

decimal

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.

bidata

Date of emission.

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

Property Value

DateTime

bilocal

Place of Issue

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

Property Value

string

bimas

Colecção dos numeros de série da linha.

[AttCollection(typeof(BiMaVO))]
public List<BiMaVO> bimas { get; set; }

Property Value

List<BiMaVO>

Remarks

This field is a collection of type List (Of BiMaVO).

BiMaVO

bino

ID number.

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

Property Value

string

bis

BI Collection (dossier lines).

[AttCollection(typeof(BiVO))]
public List<BiVO> bis { get; set; }

Property Value

List<BiVO>

Remarks

Contains the collection with information from internal dossier rows.

Lines of Internal Dossier.

boano

Ano do dossier interno

[AttLenght(4)]
[AttPrimaryKey]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public int boano { get; set; }

Property Value

int

bostamp

Unique ID

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

Property Value

string

canUseDiscountWithVAT

[AttVirtualField]
public bool canUseDiscountWithVAT { get; set; }

Property Value

bool

cancreatelot

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

Property Value

bool

carga

[AttLenght(70)]
public string carga { get; set; }

Property Value

string

clivd

Generic Customer.

[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool clivd { get; set; }

Property Value

bool

clstamp

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

Property Value

string

codpost

Postal code of the customer or supplier.

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

Property Value

string

codpostfrom

Código Postal do local de Carga.

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

Property Value

string

codpostto

Código Postal do local de Descarga.

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

Property Value

string

crmDealName

[AttLenght(100)]
[AttProducts(new Products[] { Products.CRM })]
public string crmDealName { get; set; }

Property Value

string

crmdealstamp

[AttLenght(25)]
[AttProducts(new Products[] { Products.CRM })]
public string crmdealstamp { get; set; }

Property Value

string

datafecho

Close Date

[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime datafecho { get; set; }

Property Value

DateTime

datafinal

Final Date

[AttLenght(1)]
public DateTime datafinal { get; set; }

Property Value

DateTime

dataopen

Initial Date

[AttLenght(1)]
public DateTime dataopen { get; set; }

Property Value

DateTime

descar

[AttLenght(70)]
public string descar { get; set; }

Property Value

string

descm

Foreign currency Comercial Discounts.

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

Property Value

decimal

downloadedInPortal

Check if document already downloaded by customer

[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.PortalGO })]
public bool downloadedInPortal { get; set; }

Property Value

bool

ebasei

Incidência

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ebasei { get; set; }

Property Value

decimal

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.

ecusto

Cost

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

Property Value

decimal

ecustom

Vaor do custo do documento na moeda de emissão do documento

[AttVirtualField]
[AttGama(Gamas.Advanced)]
[AttLenght(19, 6)]
public decimal ecustom { get; set; }

Property Value

decimal

edescc

Comercial Discounts

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

Property Value

decimal

efinv

Financial discount amount in Euros.

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

Property Value

decimal

Remarks

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

efinvat

Financial discount amount in Euros with VAT.

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

Property Value

decimal

elucro

Lucro

[AttVirtualField]
[AttLenght(19, 6)]
public decimal elucro { get; set; }

Property Value

decimal

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.

elucrom

Diferença entre o documento sem IVA e o custo do documento na moeda de emissão do documento

[AttVirtualField]
[AttGama(Gamas.Advanced)]
[AttLenght(19, 6)]
public decimal elucrom { get; set; }

Property Value

decimal

email

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

Property Value

string

emargem

Margem

[AttVirtualField]
[AttLenght(19, 6)]
public decimal emargem { get; set; }

Property Value

decimal

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.

entityAutoCreationCode

[AttVirtualField]
[AttHidden]
public AutoCreationCodes entityAutoCreationCode { get; }

Property Value

AutoCreationCodes

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.

estab

Establishment of the customer or supplier.

[AttLenght(6)]
[AttGama(Gamas.Advanced)]
[AttMinValue(0)]
[AttList(Inactive = true)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttSmartField]
public int estab { get; set; }

Property Value

int

etotaldeb

Total

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

Property Value

decimal

etotalivarec

IVA de Recargo

[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal etotalivarec { get; set; }

Property Value

decimal

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.

etotiva

Tax Rate Total

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

Property Value

decimal

etotivanorecargo

Total de IVA da linha sem recargo

[AttVirtualField]
[AttLenght(19, 6)]
public decimal etotivanorecargo { get; set; }

Property Value

decimal

fechada

Close

public bool fechada { get; set; }

Property Value

bool

fin

Percentage of Financial Discount.

[AttLenght(6, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttMaxValue(100)]
public decimal fin { get; set; }

Property Value

decimal

Remarks

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

finvm

Financial discount amount in foreign currency.

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.foreignCurrency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal finvm { get; set; }

Property Value

decimal

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

DateTime

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

string

Remarks

Non Duplicable Field.

flstamp

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

Property Value

string

fullmotiseimp

Code and Reason for VAT exemption

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

Property Value

string

hasPromotionsToApply

Has promotions to Apply

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

Property Value

bool

horaobra

Hora do Dossier.

[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time)]
[AttMandatory]
public string horaobra { get; set; }

Property Value

string

idiom

Idiom Field

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

Property Value

string

impUniqueID

Unique identifier for imports.

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

Property Value

string

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

string

impousrdata

Imported ousrdata

[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public virtual DateTime impousrdata { get; set; }

Property Value

DateTime

impousrhora

Imported ousrhora

[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public virtual string impousrhora { get; set; }

Property Value

string

impousrinis

Imported ousrinis

[AttLenght(30)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string impousrinis { get; set; }

Property Value

string

impusrdata

Imported usrdata

[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public virtual DateTime impusrdata { get; set; }

Property Value

DateTime

impusrhora

Imported usrhora

[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public virtual string impusrhora { get; set; }

Property Value

string

impusrinis

Imported usrinis

[AttLenght(30)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string impusrinis { get; set; }

Property Value

string

introfin

Calculation origin of financial discount

[AttHidden]
public FinancialDiscountTypes introfin { get; set; }

Property Value

FinancialDiscountTypes

isSigned

Indica se a série de documentos de facturação a que este documento de facturação pertence, está configurada para assinar digitalmente e se o documento está assinado.

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

Property Value

bool

isconfiguredtosign

Indica se a série de dossiers internos a que este dossier pertence, está configurada para assinar digitalmente.

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

Property Value

bool

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.

isperson

It identifies whether it's an end consumer.

public bool isperson { get; set; }

Property Value

bool

ivaBase1

1ª Linha IVA - Incidência

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase1 { get; set; }

Property Value

decimal

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

decimal

ivaBase2

2ª Linha IVA - Incidência

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase2 { get; set; }

Property Value

decimal

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

decimal

ivaBase3

3ª Linha IVA - Incidência

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase3 { get; set; }

Property Value

decimal

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

decimal

ivaBase4

4º line - VAT base

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase4 { get; }

Property Value

decimal

ivaBase4MoedaEstrangeira

4º line - VAT base in foreign currency.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase4MoedaEstrangeira { get; }

Property Value

decimal

ivaBase5

5º line - VAT base

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase5 { get; }

Property Value

decimal

ivaBase5MoedaEstrangeira

5º line - VAT base in foreign currency.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase5MoedaEstrangeira { get; }

Property Value

decimal

ivaBase6

6º line - VAT base

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase6 { get; }

Property Value

decimal

ivaBase6MoedaEstrangeira

6º line - VAT base in foreign currency.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase6MoedaEstrangeira { get; }

Property Value

decimal

ivaTaxa1

1ª Linha IVA - Taxa

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaTaxa1 { get; set; }

Property Value

decimal

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

2ª Linha IVA - Taxa

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaTaxa2 { get; set; }

Property Value

decimal

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

3ª Linha IVA - Taxa

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaTaxa3 { get; set; }

Property Value

decimal

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

decimal

ivaTaxa5

5º line - VAT rate

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaTaxa5 { get; }

Property Value

decimal

ivaTaxa6

6º line - VAT rate

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaTaxa6 { get; }

Property Value

decimal

ivaTaxaRec1

1ª Linha Recargo - Taxa

[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaTaxaRec1 { get; set; }

Property Value

decimal

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

2ª Linha Recargo - Taxa

[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaTaxaRec2 { get; set; }

Property Value

decimal

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

3ª Linha Recargo - Taxa

[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaTaxaRec3 { get; set; }

Property Value

decimal

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

decimal

ivaTaxaRec5

5º line - VAT surcharge rate

[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaTaxaRec5 { get; }

Property Value

decimal

ivaTaxaRec6

6º line - VAT surcharge rate

[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaTaxaRec6 { get; }

Property Value

decimal

ivaValor1

1ª Linha IVA - Valor IVA

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor1 { get; set; }

Property Value

decimal

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

decimal

ivaValor2

2ª Linha IVA - Valor IVA

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor2 { get; set; }

Property Value

decimal

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

decimal

ivaValor3

3ª Linha IVA - Valor IVA

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor3 { get; set; }

Property Value

decimal

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

decimal

ivaValor4

4º line - VAT amount

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor4 { get; }

Property Value

decimal

ivaValor4MoedaEstrangeira

4º line - VAT amount in foreign currency.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor4MoedaEstrangeira { get; }

Property Value

decimal

ivaValor5

5º line - VAT amount

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor5 { get; }

Property Value

decimal

ivaValor5MoedaEstrangeira

5º line - VAT amount in foreign currency.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor5MoedaEstrangeira { get; }

Property Value

decimal

ivaValor6

6º line - VAT amount

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor6 { get; }

Property Value

decimal

ivaValor6MoedaEstrangeira

6º line - VAT amount in foreign currency.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor6MoedaEstrangeira { get; }

Property Value

decimal

ivaValorRec1

1ª Linha Recargo - Valor

[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaValorRec1 { get; set; }

Property Value

decimal

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

2ª Linha Recargo - Valor

[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaValorRec2 { get; set; }

Property Value

decimal

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

3ª Linha Recargo - Valor

[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaValorRec3 { get; set; }

Property Value

decimal

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

decimal

ivaValorRec5

5º line - VAT surcharge amount.

[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaValorRec5 { get; }

Property Value

decimal

ivaValorRec6

6º line - VAT surcharge amount.

[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaValorRec6 { get; }

Property Value

decimal

local

Customer or supplier location.

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

Property Value

string

localfrom

Localidade do local de Carga.

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

Property Value

string

localto

Localidade do local de Descarga.

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

Property Value

string

logi1

Logic 1 field

[AttSmartField]
public bool logi1 { get; set; }

Property Value

bool

logi2

Logic 2

[AttSmartField]
public bool logi2 { get; set; }

Property Value

bool

logi3

Logic 3

[AttSmartField]
public bool logi3 { get; set; }

Property Value

bool

madein

[AttLenght(30)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string madein { get; set; }

Property Value

string

madeintitle

[AttVirtualField]
[AttLenght(30)]
public string madeintitle { get; set; }

Property Value

string

maquina

Alphanumeric 1

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

Property Value

string

marca

Campo alfanumérico 2

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

Property Value

string

masterTiposaft

[AttVirtualField]
public string masterTiposaft { get; }

Property Value

string

metotivanorecargo

Total de IVA da linha em moeda sem recargo

[AttVirtualField]
[AttLenght(19, 6)]
public decimal metotivanorecargo { get; set; }

Property Value

decimal

mfinvat

Financial discount amount in foreign currency with VAT.

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.foreignCurrency)]
public decimal mfinvat { get; set; }

Property Value

decimal

moeda

Currency, contains the currency iso of currency used in invoice document

[AttLenght(3)]
[AttEntityAvailable(typeof(CbVO))]
[AttMandatory]
[AttList(Inactive = true)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string moeda { get; set; }

Property Value

string

moetotal

Total value in foreign currency

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

Property Value

decimal

morada

Address of the customer or supplier

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

Property Value

string

morada2

Morada2

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

Property Value

string

morada2from

Morada do local de Carga.

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

Property Value

string

morada2to

Morada do local de Descarga.

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

Property Value

string

moradafrom

Morada do local de Carga.

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

Property Value

string

moradato

Morada do local de Descarga.

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

Property Value

string

mtotalivarec

IVA de Recargo em moeda

[AttVirtualField]
[AttLenght(19, 6)]
public decimal mtotalivarec { get; set; }

Property Value

decimal

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.

mtotiva

Foreign currency of Tax Rate Total

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

Property Value

decimal

municipio

Morada do municipio de Carga.

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

Property Value

string

municipioCarga

[AttLenght(60)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public string municipioCarga { get; set; }

Property Value

string

municipioDescarga

[AttLenght(60)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public string municipioDescarga { get; set; }

Property Value

string

ncont

Customer or supplier taxpayer number.

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

Property Value

string

ncontParaReports

Customer tax number to be used in reports.

[AttVirtualField]
public string ncontParaReports { get; }

Property Value

string

Remarks

Virtual field.

ndos

Número do tipo de Configuração de Dossier Interno

[AttLenght(3)]
[AttDocType(typeof(TsVO))]
[AttPrimaryKey]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList(Hidden = true)]
public int ndos { get; set; }

Property Value

int

nmdos

Nome do dossier interno

[AttLenght(40)]
[AttLogInfo(0)]
[AttList(Inactive = true)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string nmdos { get; set; }

Property Value

string

no

Customer or supplier number.

[AttLenght(10)]
[AttMinValue(0)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList(Inactive = true)]
[AttSmartField]
public decimal no { get; set; }

Property Value

decimal

nome

Name

[AttLenght(100)]
[AttMandatory]
[AttLogInfo(3)]
[AttRGPDrank(RGPDranks.Legal)]
[AttList]
[AttSmartField]
public string nome { get; set; }

Property Value

string

nome2

Abbreviation for Name.

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

Property Value

string

nullifyHour

Time of nullify.

[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string nullifyHour { get; set; }

Property Value

string

nullifyReason

Time of nullify.

[AttLenght(50)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string nullifyReason { get; set; }

Property Value

string

obrano

Número do dossier interno

[AttLenght(10)]
[AttPrimaryKey]
[AttLogInfo(1)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
[AttList]
public decimal obrano { get; set; }

Property Value

decimal

obranome

Descrição do dossier

[AttLenght(20)]
[AttList(Inactive = true)]
public string obranome { get; set; }

Property Value

string

obs

Observations

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

Property Value

string

organizationStamp

[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string organizationStamp { get; set; }

Property Value

string

oristamp

key to document of origin - only by integration

[AttLenght(25)]
[AttIndex(new string[] { "oritable", "oristamp" }, new OrderTypes[] { OrderTypes.Ascending, OrderTypes.Descending })]
public string oristamp { get; set; }

Property Value

string

oritable

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

Property Value

string

pais

Representa o País.

[AttLenght(70)]
public string pais { get; set; }

Property Value

string

paisesstamp

Campo de ligação a entidade Países.

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

Property Value

string

paisesstampfrom

Campo de ligação a entidade Países referente ao local de Carga.

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

Property Value

string

paisesstampto

Campo de ligação a entidade Países referente ao local de Descarga.

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

Property Value

string

paisfrom

Representa o País do local de Carga.

[AttLenght(70)]
public string paisfrom { get; set; }

Property Value

string

paisto

Representa o País do local de Descarga.

[AttLenght(70)]
public string paisto { get; set; }

Property Value

string

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

int

Remarks

Non Duplicable Field.

Length 2.

provincia

Morada do local de Carga.

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

Property Value

string

provinciaCarga

[AttLenght(60)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public string provinciaCarga { get; set; }

Property Value

string

provinciaDescarga

[AttLenght(60)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public string provinciaDescarga { get; set; }

Property Value

string

qrcode

QRCODE

[AttVirtualField]
public string qrcode { get; }

Property Value

string

qrcodeDocNotValued

QRCODE

[AttVirtualField]
public string qrcodeDocNotValued { get; }

Property Value

string

reasonToDeleteInAT

[AttLenght(50)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly, AttFieldType.FieldFlags.NotEditLoop })]
public string reasonToDeleteInAT { get; set; }

Property Value

string

refInt

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

Property Value

string

regrecargo

[AttHidden]
public bool regrecargo { get; set; }

Property Value

bool

rescli

mov stocks cliente

[AttVirtualField]
public bool rescli { get; set; }

Property Value

bool

resfor

mov stocks fornecedor

[AttVirtualField]
public bool resfor { get; set; }

Property Value

bool

resumo

Business resume

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

Property Value

string

segmento

Segment

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

Property Value

string

serie

Alphanumeric 3

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

Property Value

string

serieuniqueid

[AttVirtualField]
[AttLenght(5)]
public string serieuniqueid { get; set; }

Property Value

string

showRecargoIva

Indicates whether the document shows the surcharge of VAT.

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

Property Value

bool

Remarks

Virtual field.

Field not available for the user.

signatureDate

Date of signature.

[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public DateTime signatureDate { get; set; }

Property Value

DateTime

Remarks

It's the data when the field Signature is inserted.

signatureHour

Signature Hour.

[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string signatureHour { get; set; }

Property Value

string

Remarks

This is the time when the field Signature was inserted.

szstoragechargestamp

Representa o stamp do armazem de carga

[AttForeignKey(CanDuplicate = true, ForeignType = typeof(SzVO), HiddenField = false)]
[AttLenght(70)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string szstoragechargestamp { get; set; }

Property Value

string

szstoragedischargestamp

Representa o stamp do armazem de descarga

[AttForeignKey(CanDuplicate = true, ForeignType = typeof(SzVO), HiddenField = false)]
[AttLenght(70)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string szstoragedischargestamp { get; set; }

Property Value

string

tabela1

Table 1

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

Property Value

string

taxasIVA

Collection IVA Rates (Lines of the dossier).

[AttCollection(typeof(BoTxIvaVO))]
public List<BoTxIvaVO> taxasIVA { get; set; }

Property Value

List<BoTxIvaVO>

Remarks

It contains the collection with information of lines of the internal dossier.

Internal Dossier Tax Rates.

telefone

Telephone

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

Property Value

string

textoCertificacao

Texto Certificação

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

Property Value

string

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.

textoCertificacaoParcialDemo

Certificação: Texto Parcial - Base de dados de demonstração

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

Property Value

string

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

string

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.

textoCertificacaoParcialNaoServeFacturaAgregado

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

Property Value

string

textoCertificacaoParcialNomeSoftware

Certificação: Texto Parcial - Nome do software

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

Property Value

string

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.

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

string

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.

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

string

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.

texto_anulado

Texto a ser exibido caso o dossier esteja anulado.

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

Property Value

string

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.

tipo

Client Type

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

Property Value

string

tiposaft

SAF-T Type

[AttLenght(2)]
[AttHidden]
public string tiposaft { get; set; }

Property Value

string

tnvol

Total Número de Volumes

[AttLenght(18, 4)]
[AttGama(Gamas.Advanced)]
[AttVirtualField]
public decimal tnvol { get; }

Property Value

decimal

Remarks

  • Length: 18.4
  • Virtual

tpbrut

Total Peso Bruto

[AttLenght(18, 4)]
[AttGama(Gamas.Advanced)]
[AttVirtualField]
public decimal tpbrut { get; }

Property Value

decimal

Remarks

  • Length: 18.4
  • Virtual

tpdesc

Condição de Pagamento.

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

Property Value

string

tpliq

Total Peso Líquido

[AttLenght(18, 4)]
[AttGama(Gamas.Advanced)]
[AttVirtualField]
public decimal tpliq { get; }

Property Value

decimal

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)]
[AttGama(Gamas.Advanced)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange, AttFieldType.FieldFlags.NotEditLoop })]
public string tpstamp { get; set; }

Property Value

string

trab1

Final Text 1

[AttLenght(67)]
[AttSmartField]
public string trab1 { get; set; }

Property Value

string

trab2

Final Text 2

[AttLenght(67)]
[AttSmartField]
public string trab2 { get; set; }

Property Value

string

trab3

Final Text 3

[AttLenght(67)]
[AttSmartField]
public string trab3 { get; set; }

Property Value

string

tsEntidade

Entidade

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

Property Value

string

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.

tvol

Total Volume

[AttLenght(18, 4)]
[AttGama(Gamas.Advanced)]
[AttVirtualField]
public decimal tvol { get; }

Property Value

decimal

Remarks

  • Length: 18.4
  • Virtual

uniqueID

Identifying single register

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

Property Value

string

Remarks

In a normal recording this field should not be filled , the application has to fill the function with a valid value for the record in question. If recording this field comes completed the application will accept its value but does not validate if it is a single value, getting this algorithm responsibility that filled the value in the field before sending the recording entity.

This function is identical to the field bostamp with the difference that the value it contains is a readable and humanly understandable form. It comprises the following:

For example a recorded file in 2013 the series 50 set to type for SAF-T equal to GT has been awarded the annual sequence number 15 will have the following value in this field:

  • GT 2013BO50/15

The files that have been recorded previously to the existence of this field , the application will automatically fill with a similar value at the time of installation and maintenance of BD, with the difference that will not include the BO element or the year of the dossier, taking the example above, would be:

  • GT 50/15

The value of this field is used for example to compose the digital signature of the file and for production of SAF-T-PT file used in communications with AT.

usaRecargoIva

Usa recargo de IVA

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

Property Value

bool

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.

uselot

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

Property Value

bool

validlot

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

Property Value

bool

vendedor

Name of Seller.

[AttLenght(4)]
[AttEntityAvailable(typeof(Cm3VO))]
public int vendedor { get; set; }

Property Value

int

vendnm

Name of Seller

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

Property Value

string

versaochave

Key edition of the digital signature.

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

Property Value

string

viewedInPortal

Check if document already viewed by customer

[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.PortalGO })]
public bool viewedInPortal { get; set; }

Property Value

bool

wsGuiaResults

Guarda o resultado de cada tentativa de comunicação do documento de transporte à AT.

[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttFieldType(AttFieldType.InputTypes.memo, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string wsGuiaResults { get; set; }

Property Value

string

xpddata

Expedition Date

public DateTime xpddata { get; set; }

Property Value

DateTime

xpdhora

Expedition Hour.

[AttLenght(5)]
[AttFieldType(AttFieldType.InputTypes.shortTime)]
public string xpdhora { get; set; }

Property Value

string

zona

Zona

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

Property Value

string

Methods

GetCodigoEspacoFiscal(string)

protected string GetCodigoEspacoFiscal(string espacoFiscal)

Parameters

Nome Tipo Descrição
espacoFiscal string

Returns

string

GetRegimesIvaFiscal(List<BoTxIvaVO>, List<string>)

protected void GetRegimesIvaFiscal(List<BoTxIvaVO> ri, List<string> itens)

Parameters

Nome Tipo Descrição
ri List<BoTxIvaVO>
itens List<string>

GetSeriesName()

public override string GetSeriesName()

Returns

string

GetSeriesValue()

public override decimal GetSeriesValue()

Returns

decimal

GetTipoSaft()

public override string GetTipoSaft()

Returns

string

IsOwner(BoVO, string)

public static bool IsOwner(BoVO itemBo, string madein)

Parameters

Nome Tipo Descrição
itemBo BoVO
madein string

Returns

bool

IsSupplier()

public override bool IsSupplier()

Returns

bool

SetStampValue(string)

public override void SetStampValue(string stampID)

Parameters

Nome Tipo Descrição
stampID string

Explicit Interface Implementations

IsProducedRecord()

bool IsProducedRecord()

Returns

bool

NeedAccessToSign

We use this field to know if the document needs Finalize

[AttGama(Gamas.Advanced)]
[AttList(Inactive = true)]
bool NeedAccessToSign { get; set; }

Returns

bool

ReadyForArchival()

bool ReadyForArchival()

Returns

bool

anulada

Identifies if internal document is cancelled.

[AttList(Inactive = true)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
bool anulada { get; set; }

Returns

bool

codmotiseimp

Code for VAT exemption Reason

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

Returns

string

dataobra

Date of Internal document

[AttMandatory]
[AttLogInfo(2)]
[AttList]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
DateTime dataobra { get; set; }

Returns

DateTime

draftRecord

Indicates if the record is in draft mode (TRUE) or final version (FALSE).

[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
bool draftRecord { get; set; }

Returns

bool

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

bool

isArchived

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

Returns

bool

isDocNeedsApproval

We use this field to know if the document needs approval

[AttGama(Gamas.Advanced)]
[AttList(Inactive = true)]
bool isDocNeedsApproval { get; set; }

Returns

bool

miseimpstamp

StampID for VAT exemption Reason

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

Returns

string

motiseimp

Reason for VAT exemption

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

Returns

string

nullifyDate

Date of nullify

[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
DateTime nullifyDate { get; set; }

Returns

DateTime