Table of Contents

Class FopdVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Entidade que representa os adiantamentos de cliente do documento de facturação.

[AttTable("Fopd", 20230705)]
[AttTableOrderBy("lordem")]
public class FopdVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IGenericVO, IParent<FoVO>, IParent
Inheritance
FopdVO

Properties

FcVO

[AttExternalCollection(typeof(PdVO), new string[] { "fc.fcstamp", "fcstamp" })]
public FcVO FcVO { get; }

Property Value

FcVO

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

PdVO

[AttExternalCollection(typeof(PdVO), new string[] { "pd.pdstamp", "pdstamp" })]
public PdVO PdVO { get; }

Property Value

PdVO

adoc

Número do Documento.

[AttLenght(50)]
[AttFieldType(AttFieldType.InputTypes.string)]
public string adoc { get; set; }

Property Value

string

cdesc

Nome do Documento.

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

Property Value

string

Remarks

Length 20.

Searchable field.

codigo4041reg

Regularizações - favor do Estado

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

Property Value

int

datalc

Data do Documento.

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

Property Value

DateTime

Remarks

Length 1.

Field available in the basic search results list.

Searchable field.

descricao

Descrição do adiantamento

[AttLenght(50)]
[AttFieldType(AttFieldType.InputTypes.string)]
public string descricao { get; set; }

Property Value

string

Remarks

Length 50.

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

decimal

ecativareg

VAT captivation regularized

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public decimal ecativareg { get; set; }

Property Value

decimal

epayable

Payment

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public decimal epayable { get; set; }

Property Value

decimal

evemissao

Valor do recibo emitido em Euros

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

Property Value

decimal

Remarks

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

evreg

Valor regularizado em Euros

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

Property Value

decimal

fcstamp

Campo que estabelece ligação com a entidade Conta corrente de fornecedores (FC).

[AttForeignKey(typeof(FcVO))]
[AttLenght(25)]
public string fcstamp { get; set; }

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

fostamp

Campo que estabelece ligação com a entidade Compra (FO).

[AttForeignKey(typeof(FoVO))]
[AttLenght(25)]
public string fostamp { get; set; }

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

market

Market.

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

Property Value

int

marketwithregion

Market with region

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

Property Value

int

mcativa

VAT captivation 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 mcativa { get; set; }

Property Value

decimal

mcativareg

VAT captivation regularized 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 mcativareg { get; set; }

Property Value

decimal

moeda

Moeda do adiantamento

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

Property Value

string

Remarks

Length 50.

mpayable

Payment 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 mpayable { get; set; }

Property Value

decimal

pdstamp

Campo que estabelece ligação com a entidade Recibos de Adiantamento a Fornecedores (PD).

[AttForeignKey(typeof(PdVO))]
[AttLenght(25)]
public string pdstamp { get; set; }

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

producttype

Fixed variable - Tipo de bem - IVA

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

Property Value

int

taxregularizations

Fixed variable - A favor do estado

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

Property Value

int

vatoperationfopd

Fixed variable - Operações com IVA

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

Property Value

int

vatpurchaseoperation

Fixed variable - Operações IVA - Compras

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

Property Value

int

vattype

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

Property Value

int

vemissao

Valor do recibo emitido em moeda estrangeira

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

Property Value

decimal

Remarks

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

vreg

Valor regularizado em moeda estrangeira

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

Property Value

decimal

Methods

SetStampValue(string)

public override void SetStampValue(string stampID)

Parameters

Nome Tipo Descrição
stampID string

Explicit Interface Implementations

ParentVO

FoVO ParentVO { get; set; }

Returns

FoVO

fopdstamp

Chave primária por defeito do registo.

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

Returns

string

Remarks

Length 25.

This field uniquely identifies the record (primary key by default).

lordem

Indica a ordem da linha no documento.

[AttLenght(10)]
[AttHidden]
decimal lordem { get; set; }

Returns

decimal

Remarks

Length 10.

Field not available to the user.

previousLineID

[AttVirtualField]
[AttHidden]
string previousLineID { get; set; }

Returns

string