Class PdVO
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
Receipts Advances to Suppliers
[AttTable("Pd", 20250115)]
[AttTableOrderBy("rdano,rno,rdata,nome", "D,D,D,A")]
[AttTableGama(Gamas.Advanced)]
[AttTableProducts(new Products[] { Products.COMPRAS })]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.UseInternalRef, TableFlags.TableForJorge, TableFlags.AddOnNotDeployable, TableFlags.UseDimensions })]
[AttRelationShip(typeof(FlVO), RelationShipTypes.OneToOne, new string[] { "[Pd].[no]", "[Fl].[no]", "[Pd].[estab]", "[Fl].[estab]" })]
public class PdVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
- Inheritance
-
PdVO
Remarks
Properties
BlVO
Conta associada a este recibo
[AttExternalCollection(typeof(BlVO), new string[] { "bl.noconta", "contado" })]
public BlVO BlVO { get; }
Property Value
Remarks
Data type BlVO.
Não é enviado para o Frontend.
CatIvaTaxRetentionVO
[AttExternalCollection(typeof(TaxRetentionVO), new string[] { "[TaxRetention].[codstamp]", "[Pd].[codcativastamp]" })]
public TaxRetentionVO CatIvaTaxRetentionVO { get; }
Property Value
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
[AttExternalCollection(typeof(FlVO))]
public FlVO FlVO { get; }
Property Value
MiseimpVO
[AttExternalCollection(typeof(MiseimpVO), new string[] { "[Miseimp].[miseimpstamp]", "[Pd].[miseimpstamp]" })]
public MiseimpVO MiseimpVO { get; }
Property Value
ModalidadVO
[AttExternalCollection(typeof(ModalidadVO), new string[] { "[Modalidad].[modalidadstamp]", "[Pd].[modalidadstamp]" })]
public ModalidadVO ModalidadVO { get; }
Property Value
OcVO
[AttExternalCollection(typeof(OcVO))]
public OcVO OcVO { get; }
Property Value
OlVO
The treasury movement created in OL
[AttExternalCollection(typeof(OlVO))]
public OlVO OlVO { get; }
Property Value
OwnerEmail
[AttHidden]
public string OwnerEmail { get; }
Property Value
TaxaIVAVO
[AttExternalCollection(typeof(TaxasIVAVO), new string[] { "[TaxasIva].[codigo]", "[Pd].[tabiva]" })]
public TaxasIVAVO TaxaIVAVO { get; }
Property Value
anulado
Indica se o documento está anulado.
public bool anulado { get; set; }
Property Value
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
basemoeda
Valor base em moeda estrangeira.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList(Inactive = true)]
public decimal basemoeda { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
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
bostamp
Connects to bostamp from which this line was copied.
[AttForeignKey(typeof(BoVO))]
[AttLenght(25)]
public string bostamp { get; set; }
Property Value
cativandoctax
{#P:ge_iva#} captivation rate series
[AttLenght(18)]
[AttHidden]
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public decimal cativandoctax { get; set; }
Property Value
cativataxa
{#P:ge_iva#} captivation fee
[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public decimal cativataxa { get; set; }
Property Value
cativataxname
Captivation fee of {#P:ge_iva#}
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public string cativataxname { get; set; }
Property Value
cativataxstamp
{#P:ge_iva#} captivation fee code
[AttLenght(25)]
[AttHidden]
[AttVirtualField]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public string cativataxstamp { get; set; }
Property Value
cm
Código do Documento.
[AttLenght(6)]
[AttMandatory]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public int cm { get; set; }
Property Value
Remarks
Length 6.
cmdesc
Nome do Documento
[AttLenght(20)]
[AttMandatory]
[AttList(Inactive = true)]
public string cmdesc { get; set; }
Property Value
Remarks
Length 20.
Field available in the basic search results list.
Searchable field.
codcativastamp
{#P:ge_iva#} captivation fee type code
[AttLenght(25)]
[AttEntityAvailable(typeof(TaxRetentionVO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public string codcativastamp { get; set; }
Property Value
contado
Número interno da conta bancária
[AttLenght(4)]
[AttEntityAvailable(typeof(BlVO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttMandatory]
public int contado { get; set; }
Property Value
Remarks
Length 4.
descricao
Descrição do adiantamento
[AttLenght(50)]
[AttMandatory]
public string descricao { get; set; }
Property Value
Remarks
Length 50.
diaplano
Dia da data de contabilização.
[AttLenght(2)]
[AttFieldType(AttFieldType.InputTypes.integer, 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(AttFieldType.InputTypes.integer, 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)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public string dinoplano { get; set; }
Property Value
Remarks
Data type String.
Length 50.
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.
ecativa
VAT captivation
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public decimal ecativa { get; set; }
Property Value
[AttVirtualField]
[AttHidden]
public string email { get; set; }
Property Value
epayable
Payment
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public decimal epayable { get; set; }
Property Value
estab
Número que identifica o Estabelecimento do Fornecedor.
[AttLenght(6)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttMinValue(0)]
[AttList(Inactive = true)]
[AttSmartField]
public int estab { get; set; }
Property Value
Remarks
Length 3.
From what range of software this field is available: Max.
Searchable field.
Field available in the basic search results list.
etotal
Total do recibo em Euros
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList]
public decimal etotal { 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
formapag
Forma de pagamento.
[AttLenght(55)]
public string formapag { get; set; }
Property Value
Remarks
Length 55.
formapagDesc
From PaymentTypeVO.name
[AttVirtualField]
public string formapagDesc { get; set; }
Property Value
integrado
Indica se o documento está integrado em algum documento de facturação.
[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool integrado { get; set; }
Property Value
isSEPAfileSentToBank
Indicate if the SEPA file was sent to bank
[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool isSEPAfileSentToBank { get; set; }
Property Value
labelField
VAT table label
[AttVirtualField]
public string labelField { get; set; }
Property Value
market
Market.
[AttVirtualField]
[AttLenght(1)]
public int market { get; }
Property Value
marketwithregion
Market with region
[AttVirtualField]
[AttLenght(1)]
public int marketwithregion { get; }
Property Value
mcativa
VAT captivation in foreign currency
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public decimal mcativa { get; set; }
Property Value
mivav
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly, AttFieldType.FieldFlags.syncOnChange })]
public decimal mivav { get; set; }
Property Value
modalidaddescription
[AttVirtualField]
[AttEntityAvailable(typeof(ModalidadVO))]
public string modalidaddescription { get; set; }
Property Value
modalidadstamp
[AttLenght(25)]
[AttEntityAvailable(typeof(ModalidadVO))]
[AttMandatory(new languages[] { languages.es_ES })]
public string modalidadstamp { get; set; }
Property Value
moeda
Moeda do adiantamento
[AttLenght(11)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
[AttList(Inactive = true)]
public string moeda { get; set; }
Property Value
Remarks
Length 50.
mpayable
Payment in foreign currency
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public decimal mpayable { get; set; }
Property Value
no
Número do Fornecedor.
[AttLenght(10)]
[AttMandatory]
[AttMinValue(0)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList(Inactive = true)]
[AttSmartField]
public decimal no { get; set; }
Property Value
Remarks
Length 10.
Searchable field.
Field available in the basic search results list.
Mandatory field.
nome
Nome do Fornecedor.
[AttLenght(100)]
[AttMandatory]
[AttLogInfo(2)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList]
[AttSmartField]
public string nome { get; set; }
Property Value
Remarks
Length 55.
Searchable field.
Field available in the basic search results list.
Mandatory field.
ocLabelField
From OcVO.LabelField
[AttVirtualField]
[AttHidden]
public string ocLabelField { get; set; }
Property Value
ollocal
Conta de tesouraria
[AttLenght(50)]
[AttEntityAvailable(typeof(BlVO))]
[AttMandatory]
public string ollocal { get; set; }
Property Value
Remarks
Length 50.
Mandatory field.
paymentTypeCategory
From PaymentTypeVO.name
[AttVirtualField]
public PaymentTypeCategory paymentTypeCategory { get; set; }
Property Value
pdstamp
Stamp of Payment Receipt to Supplier.
[AttLenght(25)]
public string pdstamp { get; set; }
Property Value
Remarks
Contains the unique identification key of the Advance to Supplier, that is used to link to other tables. .
Length 25 .
This field is primary key.
percentagem
Percentage of total internal documento a
[AttLenght(6, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttMaxValue(100)]
public decimal percentagem { get; set; }
Property Value
Remarks
Lenght of 6, where the units are 2 and decimals are 2.
plano
Indica se o documento está contabilizado.
[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public bool plano { get; set; }
Property Value
Remarks
Data type Boolean.
producttype
Fixed variable - Tipo de bem - IVA
[AttVirtualField]
[AttLenght(1)]
public int producttype { get; }
Property Value
rdano
Receipt Year
[AttPrimaryKey]
[AttLenght(4)]
public int rdano { get; set; }
Property Value
Remarks
Length 4.
Primary key.
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
Número do documento.
[AttPrimaryKey]
[AttLenght(10)]
[AttLogInfo(0)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList]
public decimal rno { get; set; }
Property Value
Remarks
This field is primary key.
Length 10.
Searchable field.
Field available in the basic search results list.
Non Duplicable Field.
supplieroperation
Fixed accounting variable for Supplier Advance
[AttVirtualField]
[AttLenght(1)]
public int supplieroperation { get; }
Property Value
texto_anulado
Texto a ser exibido caso o documento esteja anulado.
[AttVirtualField]
public string texto_anulado { get; }
Property Value
Remarks
This field does not physically exist in the database. Its value results from a calculation expression with the help of other fields of the entity. Is provided in order to hide the complexity of calculating the value thus providing in a simple way.
Devido á natureza do seu calculo o campo nao se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
texto_formapag
Texto usado para exibir a forma de pagamento
[AttVirtualField]
public string texto_formapag { get; }
Property Value
Remarks
This field does not physically exist in the database. Its value results from a calculation expression with the help of other fields of the entity. Is provided in order to hide the complexity of calculating the value thus providing in a simple way.
Devido á natureza do seu calculo o campo nao se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.
totalmoeda
Total do recibo em moeda estrangeira
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList(Inactive = true)]
public decimal totalmoeda { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
vatoperation
Fixed variable - Operações com IVA - Liquidado
[AttVirtualField]
[AttLenght(1)]
public int vatoperation { get; }
Property Value
vatpurchaseoperation
Fixed variable - Operações IVA - Compras
[AttVirtualField]
[AttLenght(1)]
public int vatpurchaseoperation { get; }
Property Value
vattype
Vat type.
[AttVirtualField]
[AttLenght(1)]
public int vattype { get; }
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.
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
IsProducedRecord()
bool IsProducedRecord()
Returns
LogIntegrationErrors(List<MessageVO>)
Logs the accounting integration errors
void LogIntegrationErrors(List<MessageVO> errorMessages)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
errorMessages |
List<MessageVO> |
ReadyForArchival()
bool ReadyForArchival()
Returns
accounted
Mark document as accounted
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
bool accounted { get; set; }
Returns
adate
Accounting Date
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
DateTime adate { get; set; }
Returns
codmotiseimp
Code for VAT exemption Reason
[AttVirtualField]
[AttLenght(4)]
string codmotiseimp { 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
ebase
Valor base em Euros.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList(Inactive = true)]
decimal ebase { get; set; }
Returns
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
eivav
Valor do IVA em Euros.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
decimal eivav { get; set; }
Returns
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
integrationErrors
Accounting integrations message errors
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
string integrationErrors { get; set; }
Returns
isApproved
Field to know if the document was approved
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttGama(Gamas.Advanced)]
[AttList(Inactive = true)]
bool isApproved { get; set; }
Returns
isArchived
[AttFieldType(AttFieldType.InputTypes.boolean)]
bool isArchived { get; set; }
Returns
isDocNeedsApproval
We use this field to know if the document needs approval
[AttGama(Gamas.Advanced)]
[AttList(Inactive = true)]
bool isDocNeedsApproval { get; set; }
Returns
isaccounting
Is true if the document is in integrating process
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
bool isaccounting { get; set; }
Returns
journaldescription
Description of the journal (DI)
[AttLenght(200)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
string journaldescription { get; set; }
Returns
journalid
Journal code (DI).
[AttLenght(6)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
decimal journalid { get; set; }
Returns
miseimpstamp
StampID for VAT exemption Reason
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(MiseimpVO), HiddenField = false)]
[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
string miseimpstamp { get; set; }
Returns
motiseimp
Reason for VAT exemption
[AttVirtualField]
[AttLenght(60)]
string motiseimp { get; set; }
Returns
olcodigo
Código de tesouraria
[AttLenght(12)]
[AttEntityAvailable(typeof(BlVO))]
[AttMandatory]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
string olcodigo { get; set; }
Returns
Remarks
Length 12.
Mandatory field.
rdata
Data do Documento.
[AttLenght(1)]
[AttMandatory]
[AttLogInfo(1)]
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList]
DateTime rdata { get; set; }
Returns
Remarks
Length 1.
Field available in the basic search results list.
Searchable field.
Mandatory field.
tabiva
VAT table code
[AttLenght(3)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttSmartField]
int tabiva { get; set; }
Returns
taxa
VAT table rate
[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
decimal taxa { get; set; }
Returns
year
Year of Document (PCY).
[AttLenght(4)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
int year { get; set; }