Table of Contents

Class FtRdVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Client Advances of Invoice Document

[AttTable("Ftrd", 20230602)]
[AttTableOrderBy("lordem")]
[AttTableGama(Gamas.Advanced)]
public class FtRdVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IGenericVO, IParent<FtVO>, IParent
Inheritance
FtRdVO

Properties

CcVO

É uma refência a entidade Conta Corrente de Cliente

[AttExternalCollection(typeof(CcVO), new string[] { "cc.ccstamp", "ccstamp" })]
public CcVO CcVO { get; }

Property Value

CcVO

Remarks

Este campo é uma colecção externa

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

RdVO

[AttExternalCollection(typeof(RdVO), new string[] { "rd.rdstamp", "rdstamp" })]
public RdVO RdVO { get; }

Property Value

RdVO

ccstamp

Field that connects with the entity Current customer account (CC).

[AttForeignKey(typeof(CcVO))]
[AttLenght(25)]
public string ccstamp { get; set; }

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

cdesc

Nome do Documento.

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

Property Value

string

Remarks

Length 20.

Searchable field.

datalc

Data do Documento.

[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.date)]
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)]
public string descricao { get; set; }

Property Value

string

Remarks

Length 50.

dfistamp

Field that connects to the entity Billing Document Lines.

[AttForeignKey(typeof(FiVO))]
[AttLenght(25)]
public string dfistamp { get; set; }

Property Value

string

Remarks

  • Length 25

This field connects this record to the Credit Note line issued by this billing document, the link is established from this field for the field. fistamp

dftstamp

Field that connects to the entity Billing Document.

[AttForeignKey(typeof(FtVO))]
[AttLenght(25)]
public string dftstamp { get; set; }

Property Value

string

Remarks

  • Length 25

This field connects this record to the Credit Note issued by this billing document, the link is established from this field for the field. ftstamp

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

Remarks

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

ftstamp

Field that connects to the entity Billing Document.

[AttForeignKey(typeof(FtVO))]
[AttLenght(25)]
public string ftstamp { get; set; }

Property Value

string

Remarks

  • Length 25

This field connects to the billing document where this down payment adjustment is included.

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(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

nrdoc

Document number.

[AttLenght(10)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public int nrdoc { get; set; }

Property Value

int

Remarks

This field is primary key.

Identifies the type of Document defined in the field ndoc by Billing Document Setup.

Length 3.

producttype

Fixed variable - Tipo de bem - IVA

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

Property Value

int

rdstamp

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

[AttForeignKey(typeof(RdVO))]
[AttLenght(25)]
public string rdstamp { get; set; }

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

rno

Número do documento.

[AttLenght(10)]
public decimal rno { get; set; }

Property Value

decimal

Remarks

Length 10.

Searchable field.

Field available in the basic search results list.

Non Duplicable Field.

vatsalesoperation

Fixed variable - Operações IVA - Vendas e prestações de serviços

[AttVirtualField]
[AttLenght(1)]
public int vatsalesoperation { 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

Remarks

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

Methods

SetStampValue(string)

public override void SetStampValue(string stampID)

Parameters

Nome Tipo Descrição
stampID string

Explicit Interface Implementations

ParentVO

FtVO ParentVO { get; set; }

Returns

FtVO

ftrdstamp

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

[AttLenght(25)]
string ftrdstamp { 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