Class PoVO
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
Payment
[AttTable("Po", 20230709)]
[AttTableOrderBy("poano,rno,rdata,nome", "D,D,D,A")]
[AttTableVOInfo(typeof(POAttInfo))]
[AttTableGama(Gamas.Corporate)]
[AttRelationShip(typeof(FlVO), RelationShipTypes.OneToOne, new string[] { "[Po].[no]", "[Fl].[no]", "[Po].[estab]", "[Fl].[estab]" })]
[AttTableProducts(new Products[] { Products.COMPRAS })]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.UseInternalRef, TableFlags.FullTextSearchable, TableFlags.TableForJorge, TableFlags.AddOnNotDeployable, TableFlags.UseDimensions })]
public class PoVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
- Inheritance
-
PoVO
Remarks
Esta entidade é composta por uma colecção principal de linhas de pagamentos PlVO. .
Properties
BlVO
Conta associada a este pagamento
[AttExternalCollection(typeof(BlVO), new string[] { "bl.noconta", "contado" })]
public BlVO BlVO { get; }
Property Value
Remarks
Data type BlVO.
Não é enviado para o Frontend.
Cm1LabelField
From Cm1.LabelField
[AttVirtualField]
[AttHidden]
public string Cm1LabelField { get; set; }
Property Value
Cm1VO
[AttExternalCollection(typeof(Cm1VO), new string[] { "cm1.cm", "cm" })]
public Cm1VO Cm1VO { get; }
Property Value
FLVO
Fornecedor associado a este pagamento.
[AttExternalCollection(typeof(FlVO), new string[] { "fl.no", "no", "fl.estab", "estab" })]
public FlVO FLVO { get; }
Property Value
Remarks
Data type FlVO.
Field not sent to the frontend.
GetFieldStampName
Use only field name without table name
public override string GetFieldStampName { get; }
Property Value
GetStampValue
public override string GetStampValue { get; }
Property Value
OcVO
Código de Tesouraria associado a este pagamento.
[AttExternalCollection(typeof(OcVO), new string[] { "oc.olcodigo", "olcodigo" })]
public OcVO OcVO { get; }
Property Value
Remarks
Data type OcVO.
Field not sent to the frontend.
OlVO
The treasury movement created in OL
[AttExternalCollection(typeof(OlVO))]
public OlVO OlVO { get; }
Property Value
OwnerEmail
[AttHidden]
public string OwnerEmail { get; }
Property Value
accruedtype
[AttVirtualField]
[AttLenght(1)]
public int accruedtype { get; }
Property Value
adoc
Número do documento original do pagamento.
[AttLenght(50)]
[AttList(Inactive = true)]
public string adoc { get; set; }
Property Value
Remarks
Length 50.
approvedByName
The name of person who approve the document
[AttLenght(100)]
[AttGama(Gamas.Advanced)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string approvedByName { get; set; }
Property Value
approvedByStamp
The stamp of person who approve the document
[AttLenght(25)]
[AttGama(Gamas.Advanced)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string approvedByStamp { get; set; }
Property Value
approvedDate
The date when was approved
[AttGama(Gamas.Advanced)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public DateTime approvedDate { get; set; }
Property Value
approvedHour
The hour when was approved
[AttLenght(8)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.time, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string approvedHour { get; set; }
Property Value
baseim
Valor da Base de Incidência em Moeda Estrangeira.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal baseim { get; set; }
Property Value
blLabelField
From BlVO.labelField
[AttVirtualField]
[AttHidden]
public string blLabelField { get; set; }
Property Value
blsupplytype
[AttVirtualField]
[AttLenght(1)]
[AttProducts(new Products[] { Products.Accounting })]
[AttDynamicIntegrationValue(typeof(SupplyTypeVO))]
public string blsupplytype { get; }
Property Value
cm
Código do Documento.
[AttLenght(6)]
[AttMandatory]
[AttDocType(typeof(Cm1VO))]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList(Hidden = true)]
public int cm { get; set; }
Property Value
Remarks
Length 6.
cmdesc
Payment methods.
[AttLenght(25)]
[AttMandatory]
[AttList(Inactive = true)]
[AttLogInfo(0)]
public string cmdesc { get; set; }
Property Value
Remarks
Length 20.
Required field.
contado
Número da Conta de Tesouraria.
[AttLenght(4)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttMandatory]
public int contado { get; set; }
Property Value
Remarks
Length 4.
diaplano
Dia da data de contabilização.
[AttLenght(2)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public int diaplano { get; set; }
Property Value
Remarks
Data type Numeric.
Length 2.
dilnoplano
Nº lançamento no Diário de contabilização.
[AttLenght(10)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public int dilnoplano { get; set; }
Property Value
Remarks
Data type Numeric.
Length 10.
dinoplano
Diário de contabilização.
[AttLenght(50)]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string dinoplano { get; set; }
Property Value
Remarks
Data type String.
Length 50.
downloadedInPortal
Check if document already downloaded by supplier
[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Documents })]
public bool downloadedInPortal { get; set; }
Property Value
dplano
Document accounting date.
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public DateTime dplano { get; set; }
Property Value
Remarks
Data type DateTime.
Non Duplicable Field.
ebasei
Valor da Base de Incidência.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ebasei { get; set; }
Property Value
efinv
Valor do Desconto Financeiro em Euros.
[AttLenght(19, 6)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal efinv { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
[AttVirtualField]
[AttHidden]
public string email { get; set; }
Property Value
estab
Estabelecimento do Fornecedor.
[AttLenght(6)]
[AttGama(Gamas.Advanced)]
[AttMinValue(0)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList]
[AttSmartField]
public int estab { get; set; }
Property Value
Remarks
Length 3.
etotal
Total value, not including the IRS amount. to retain.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList]
public decimal etotal { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
Research field.
Field available in the basic search results list.
ettivaliq
Total do valor do IVA Liquidado
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ettivaliq { get; set; }
Property Value
evirs
Valor do IRS.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public decimal evirs { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
fin
Percent of Financial Discount.
[AttLenght(6, 2)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.percentage, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal fin { get; set; }
Property Value
Remarks
Length 6 for units and 2 for decimals.
finvmoeda
Valor do Desconto Financeiro em Moeda Estrangeira.
[AttLenght(19, 6)]
[AttEntityAvailable(typeof(CbVO))]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal finvmoeda { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
flstamp
[AttVirtualField]
[AttHidden]
public string flstamp { get; set; }
Property Value
incometaxcode
Fixed income tax
[AttVirtualField]
[AttLenght(1)]
public int incometaxcode { get; }
Property Value
isSEPAfileSentToBank
Indicate if the SEPA file was sent to bank
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool isSEPAfileSentToBank { get; set; }
Property Value
ivaBase1
Valor de base de incidência da primeira linha de I.V.A.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase1 { get; set; }
Property Value
Remarks
This field does not physically exist in the database. Its value results from a calculation expression with the help of other fields of the entity. Is provided in order to hide the complexity of calculating the value thus providing in a simple way.
Due to the nature of their calculation the field is not available to be included in queries, but to be included in listings or reports. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
ivaBase1MoedaEstrangeira
Primeira linha IVA - Incidência em moeda estrangeira.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase1MoedaEstrangeira { get; }
Property Value
ivaBase2
Valor de base de incidência da segunda linha de I.V.A.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase2 { get; set; }
Property Value
Remarks
This field does not physically exist in the database. Its value results from a calculation expression with the help of other fields of the entity. Is provided in order to hide the complexity of calculating the value thus providing in a simple way.
Due to the nature of their calculation the field is not available to be included in queries, but to be included in listings or reports. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
ivaBase2MoedaEstrangeira
Segunda linha IVA - Incidência em moeda estrangeira.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase2MoedaEstrangeira { get; }
Property Value
ivaBase3
Valor de base de incidência da terceira linha de I.V.A.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase3 { get; }
Property Value
Remarks
Virtual field.
ivaBase3MoedaEstrangeira
Terceira linha IVA - Incidência em moeda estrangeira.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase3MoedaEstrangeira { get; }
Property Value
ivaBase4
4º line - VAT base
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase4 { get; }
Property Value
ivaBase4MoedaEstrangeira
4º line - VAT base in foreign currency.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase4MoedaEstrangeira { get; }
Property Value
ivaBase5
5º line - VAT base
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase5 { get; }
Property Value
ivaBase5MoedaEstrangeira
5º line - VAT base in foreign currency.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase5MoedaEstrangeira { get; }
Property Value
ivaBase6
6º line - VAT base
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase6 { get; }
Property Value
ivaBase6MoedaEstrangeira
6º line - VAT base in foreign currency.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaBase6MoedaEstrangeira { get; }
Property Value
ivaTaxa1
Taxa da primeira linha de I.V.A.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaTaxa1 { get; set; }
Property Value
Remarks
This field does not physically exist in the database. Its value results from a calculation expression with the help of other fields of the entity. Is provided in order to hide the complexity of calculating the value thus providing in a simple way.
Due to the nature of their calculation the field is not available to be included in queries, but to be included in listings or reports. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
ivaTaxa2
Taxa da segunda linha de I.V.A.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaTaxa2 { get; set; }
Property Value
Remarks
This field does not physically exist in the database. Its value results from a calculation expression with the help of other fields of the entity. Is provided in order to hide the complexity of calculating the value thus providing in a simple way.
Due to the nature of their calculation the field is not available to be included in queries, but to be included in listings or reports. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
ivaTaxa3
Taxa da terceira linha de I.V.A.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaTaxa3 { get; }
Property Value
Remarks
Virtual field.
ivaTaxa4
4º line - VAT rate
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaTaxa4 { get; }
Property Value
ivaTaxa5
5º line - VAT rate
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaTaxa5 { get; }
Property Value
ivaTaxa6
6º line - VAT rate
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaTaxa6 { get; }
Property Value
ivaTaxaRec1
Valor da taxa de I.V.A. da primeira linha de recargo.
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaTaxaRec1 { get; set; }
Property Value
Remarks
This field does not physically exist in the database. Its value results from a calculation expression with the help of other fields of the entity. Is provided in order to hide the complexity of calculating the value thus providing in a simple way.
Due to the nature of their calculation the field is not available to be included in queries, but to be included in listings or reports. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
ivaTaxaRec2
Valor da taxa de I.V.A. da segunda linha de recargo.
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaTaxaRec2 { get; set; }
Property Value
Remarks
This field does not physically exist in the database. Its value results from a calculation expression with the help of other fields of the entity. Is provided in order to hide the complexity of calculating the value thus providing in a simple way.
Due to the nature of their calculation the field is not available to be included in queries, but to be included in listings or reports. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
ivaTaxaRec3
Valor da taxa de I.V.A. da terceira linha de recargo.
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaTaxaRec3 { get; }
Property Value
Remarks
Virtual field.
ivaTaxaRec4
4º line - VAT surcharge rate
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaTaxaRec4 { get; }
Property Value
ivaTaxaRec5
5º line - VAT surcharge rate
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaTaxaRec5 { get; }
Property Value
ivaTaxaRec6
6º line - VAT surcharge rate
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaTaxaRec6 { get; }
Property Value
ivaValor1
Valor do I.V.A. da primeira linha de I.V.A.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor1 { get; set; }
Property Value
Remarks
This field does not physically exist in the database. Its value results from a calculation expression with the help of other fields of the entity. Is provided in order to hide the complexity of calculating the value thus providing in a simple way.
Due to the nature of their calculation the field is not available to be included in queries, but to be included in listings or reports. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
ivaValor1MoedaEstrangeira
Primeira linha IVA - Valor IVA em moeda estrangeira.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor1MoedaEstrangeira { get; }
Property Value
ivaValor2
Valor do I.V.A. da segunda linha de I.V.A.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor2 { get; set; }
Property Value
Remarks
This field does not physically exist in the database. Its value results from a calculation expression with the help of other fields of the entity. Is provided in order to hide the complexity of calculating the value thus providing in a simple way.
Due to the nature of their calculation the field is not available to be included in queries, but to be included in listings or reports. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
ivaValor2MoedaEstrangeira
Segunda linha IVA - Valor IVA em moeda estrangeira.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor2MoedaEstrangeira { get; }
Property Value
ivaValor3
Valor do I.V.A. da terceira linha de I.V.A.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor3 { get; }
Property Value
Remarks
Virtual field.
ivaValor3MoedaEstrangeira
Terceira linha IVA - Valor IVA em moeda estrangeira.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor3MoedaEstrangeira { get; }
Property Value
ivaValor4
4º line - VAT amount
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor4 { get; }
Property Value
ivaValor4MoedaEstrangeira
4º line - VAT amount in foreign currency.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor4MoedaEstrangeira { get; }
Property Value
ivaValor5
5º line - VAT amount
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor5 { get; }
Property Value
ivaValor5MoedaEstrangeira
5º line - VAT amount in foreign currency.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor5MoedaEstrangeira { get; }
Property Value
ivaValor6
6º line - VAT amount
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor6 { get; }
Property Value
ivaValor6MoedaEstrangeira
6º line - VAT amount in foreign currency.
[AttVirtualField]
[AttLenght(19, 6)]
public decimal ivaValor6MoedaEstrangeira { get; }
Property Value
ivaValorRec1
Valor de recargo da primeira linha de recargo.
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaValorRec1 { get; set; }
Property Value
Remarks
This field does not physically exist in the database. Its value results from a calculation expression with the help of other fields of the entity. Is provided in order to hide the complexity of calculating the value thus providing in a simple way.
Due to the nature of their calculation the field is not available to be included in queries, but to be included in listings or reports. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
ivaValorRec2
Valor de recargo da segunda linha de recargo.
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaValorRec2 { get; set; }
Property Value
Remarks
This field does not physically exist in the database. Its value results from a calculation expression with the help of other fields of the entity. Is provided in order to hide the complexity of calculating the value thus providing in a simple way.
Due to the nature of their calculation the field is not available to be included in queries, but to be included in listings or reports. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
ivaValorRec3
Valor de recargo da terceira linha de recargo.
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaValorRec3 { get; }
Property Value
Remarks
Virtual field.
ivaValorRec4
4º line - VAT surcharge amount.
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaValorRec4 { get; }
Property Value
ivaValorRec5
5º line - VAT surcharge amount.
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaValorRec5 { get; }
Property Value
ivaValorRec6
6º line - VAT surcharge amount.
[AttVirtualField]
[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivaValorRec6 { get; }
Property Value
ivacaixa
Movimento ao abrigo do regime de IVA de Caixa
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool ivacaixa { get; set; }
Property Value
madein
[AttLenght(30)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string madein { get; set; }
Property Value
market
Market.
[AttVirtualField]
[AttLenght(1)]
public int market { get; }
Property Value
masterTiposaft
[AttVirtualField]
public string masterTiposaft { get; }
Property Value
moeda
Moeda
Contém o nome abreviado da moeda usada neste documento .
[AttLenght(3)]
[AttEntityAvailable(typeof(CbVO))]
public string moeda { get; set; }
Property Value
Remarks
Length 3 .
mttivaliq
Total do valor do IVA Liquidado
[AttVirtualField]
[AttLenght(19, 6)]
public decimal mttivaliq { get; set; }
Property Value
no
Supplier Number.
[AttLenght(10)]
[AttMandatory]
[AttMinValue(0)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList]
[AttSmartField]
public decimal no { get; set; }
Property Value
Remarks
Length 10.
Required field.
nome
Supplier's name.
[AttLenght(100)]
[AttMandatory]
[AttLogInfo(3)]
[AttList]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttSmartField]
public string nome { get; set; }
Property Value
Remarks
Length 55.
Research field.
Field available in the basic search results list.
Required field.
ocLabelField
From OcVO.LabelField
[AttVirtualField]
[AttHidden]
public string ocLabelField { get; set; }
Property Value
ollocal
Treasury Account for this payment.
[AttLenght(50)]
[AttMandatory]
public string ollocal { get; set; }
Property Value
Remarks
Length 50.
Required field.
paymentoptions
Fixed value for payment options in account variables
[AttVirtualField]
[AttLenght(1)]
public int paymentoptions { get; }
Property Value
plano
Indica se o documento está contabilizado.
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public bool plano { get; set; }
Property Value
Remarks
Data type Boolean.
pls
Collection of the lines of this document.
[AttCollection(typeof(PlVO))]
public List<PlVO> pls { get; set; }
Property Value
Remarks
Collection of type elements. PlVO.
poPaymentTypes
Document Payment Types
[AttCollection(typeof(PoPaymentTypeVO))]
public List<PoPaymentTypeVO> poPaymentTypes { get; set; }
Property Value
poano
Year of Payment.
[AttPrimaryKey]
[AttLenght(4)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public int poano { get; set; }
Property Value
Remarks
Primary key.
Length 4.
postamp
Single registration field, used to link others to this entity.
[AttLenght(25)]
public string postamp { get; set; }
Property Value
Remarks
This field uniquely identifies the record (primary key by default).
Length 25.
procdata
Data de Processamento.
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public DateTime procdata { get; set; }
Property Value
process
Indica se o documento se encontra processado.
[AttList]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool process { get; set; }
Property Value
refInt
Referência interna
Contains the value of the user's internal reference that created the record.
[AttLenght(50)]
[AttEntityAvailable(typeof(RefInternaVO))]
[AttList(Inactive = true)]
public string refInt { get; set; }
Property Value
Remarks
Length 50 .
rno
Payment Number.
[AttPrimaryKey]
[AttLenght(10)]
[AttMandatory]
[AttLogInfo(1)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList]
public decimal rno { get; set; }
Property Value
Remarks
Primary key.
Length 10.
Required field.
Research field.
Field available in the basic search results list.
supplieroperation
[AttVirtualField]
[AttLenght(1)]
public int supplieroperation { get; }
Property Value
suppliertermoperation
[AttVirtualField]
[AttLenght(1)]
public int suppliertermoperation { get; }
Property Value
taxasIVA
Colecção das diversas taxas de I.V.A. presentes no documento.
[AttCollection(typeof(PoTxIvaVO))]
public List<PoTxIvaVO> taxasIVA { get; set; }
Property Value
Remarks
This field is a collection of type List (Of PoTxIvaVO).
PoTxIvaVOtextoCertificacao
Regime de IVA
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO })]
public string textoCertificacao { get; set; }
Property Value
textoCertificacaoParcialDemo
Certificação: Texto Parcial - Base de dados de demonstração
[AttVirtualField]
public string textoCertificacaoParcialDemo { get; set; }
Property Value
Remarks
This field does not physically exist in the database. Its value results from a calculation expression with the help of other fields of the entity. Is provided in order to hide the complexity of calculating the value thus providing in a simple way.
Due to the nature of their calculation the field is not available to be included in queries, but to be included in listings or reports. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
textoCertificacaoParcialNaoServeFactura
Certification: Partial Text - Not for invoice.
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO })]
public string textoCertificacaoParcialNaoServeFactura { get; set; }
Property Value
Remarks
This field doesn’t physically exist in the database. Its value results from an expression of calculation with the help of other fields of the entity. It is made available with the intention of hiding the complexity of this calculation, thus providing the value in a simple way.
Due to the nature of your calculation the field is not available to be included in searches, but able to be included in listings or reports. Another particularity is that this field because it is virtual will never appear within the collection of Modified Fields of the itself entity.
textoCertificacaoParcialNomeSoftware
Certificação: Texto Parcial - Nome do software
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO })]
public string textoCertificacaoParcialNomeSoftware { get; set; }
Property Value
Remarks
This field does not physically exist in the database. Its value results from a calculation expression with the help of other fields of the entity. Is provided in order to hide the complexity of calculating the value thus providing in a simple way.
Due to the nature of their calculation the field is not available to be included in queries, but to be included in listings or reports. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
textoCertificacaoParcialNumeroCertificacao
Certificação: Texto Parcial - Número da certificação
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO })]
public string textoCertificacaoParcialNumeroCertificacao { get; set; }
Property Value
Remarks
Este campo não existe fisicamente na base de dados. O seu valor resulta de uma expressão de calculo com o auxilio de outros campos da entidade. É disponibilizado com o intuito de esconder a complexidade desse calculo fornecendo assim o valor de uma forma simples.
Devido á natureza do seu calculo o campo não se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Outra particularidade é que este campo por ser virtual nunca irá figurar dentro da colecção de Campos Modificados da própria entidade.
textoCertificacaoParcialProcessadoPor
Certification: Partial Text - Processed for
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO })]
public string textoCertificacaoParcialProcessadoPor { get; set; }
Property Value
Remarks
This field doesn’t physically exist in the database. Its value results from an expression of calculation with the help of other fields of the entity. It is made available with the intention of hiding the complexity of this calculation, thus providing the value in a simple way.
Due to the nature of your calculation the field is not available to be included in searches, but able to be included in listings or reports. Another particularity is that this field because it is virtual will never appear within the collection of Modified Fields of the itself entity.
totalDifCambial
Exchange difference.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal totalDifCambial { get; set; }
Property Value
Remarks
Attention, starting from task 46080 the PO no longer post exchange difference through this field in FC now, the exchange difference instead of being launched in full in the FC movement of the payment is partially released by each PL in its corresponding FC.
totalmoeda
Valor total do documento em Moeda Estrangeira.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal totalmoeda { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
usaRecargoIva
Indica se o documento usa o recargo de I.V.A.
[AttVirtualField]
[AttHidden]
public bool usaRecargoIva { get; set; }
Property Value
viewedInPortal
Check if document already viewed by supplier
[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Documents })]
public bool viewedInPortal { get; set; }
Property Value
wsbankResults
Result of each attempt to communicate with the bank.
[AttFieldType(AttFieldType.InputTypes.memo, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string wsbankResults { get; set; }
Property Value
Remarks
Non Duplicable Field.
Methods
GetSeriesName()
public override string GetSeriesName()
Returns
GetSeriesValue()
public override decimal GetSeriesValue()
Returns
GetTipoSaft()
public override string GetTipoSaft()
Returns
IsSupplier()
public override bool IsSupplier()
Returns
SetStampValue(string)
public override void SetStampValue(string stampID)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
stampID |
string |
Explicit Interface Implementations
CanIntegrate()
Returns true if integration is available
bool CanIntegrate()
Returns
CleanIntegrationErrors()
Cleans the accounting integration errors
void CleanIntegrationErrors()
GetIntegrationConfig(int)
Get Accounting configuration if exists
PHCResult GetIntegrationConfig(int year)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
year |
int |
Returns
GetPendingIntegrationsCommands(int)
PHCCmdSql GetPendingIntegrationsCommands(int year = 0)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
year |
int |
Returns
GetSepaFields()
SepaFields GetSepaFields()
Returns
HasAccountingIntegration()
Check for permission to integrate document
bool HasAccountingIntegration()
Returns
LogIntegrationErrors(List<MessageVO>)
Logs the accounting integration errors
void LogIntegrationErrors(List<MessageVO> errorMessages)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
errorMessages |
List<MessageVO> |
accounted
Mark document as accounted
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
bool accounted { get; set; }
Returns
adate
Accounting Date
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
DateTime adate { get; set; }
Returns
docarchivalnumber
ID: Journal + Period + DocNumber
[AttLenght(30)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
string docarchivalnumber { get; set; }
Returns
documentdescription
Description of the document type (DC)
[AttFieldType(AttFieldType.InputTypes.memo, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
string documentdescription { get; set; }
Returns
documentid
Id of the accounting document (DC)
[AttLenght(6)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
decimal documentid { get; set; }
Returns
integrationErrors
Accounting integrations message errors
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
string integrationErrors { get; set; }
Returns
isApproved
Field to know if the document was approved
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttGama(Gamas.Advanced)]
[AttList(Inactive = true)]
bool isApproved { get; set; }
Returns
isDocNeedsApproval
We use this field to know if the document needs approval
[AttGama(Gamas.Advanced)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList(Inactive = true)]
bool isDocNeedsApproval { get; set; }
Returns
isaccounting
Is true if the document is in integrating process
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
bool isaccounting { get; set; }
Returns
journaldescription
Description of the journal (DI)
[AttLenght(200)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
string journaldescription { get; set; }
Returns
journalid
Journal code (DI).
[AttLenght(6)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
decimal journalid { get; set; }
Returns
olcodigo
Treasury Account Code.
[AttLenght(12)]
[AttMandatory]
string olcodigo { get; set; }
Returns
Remarks
Length 12.
Required field.
rdata
Date of document.
[AttLogInfo(2)]
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList]
DateTime rdata { get; set; }
Returns
Remarks
Research field.
Field available in the basic search results list.
year
Year of Document (PCY).
[AttLenght(4)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
int year { get; set; }