Table of Contents

Class FtPaymentTypeVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Payment Types of Invoice Document

[AttTable("FtPaymentType", 20200110)]
[AttTableGama(Gamas.Grow)]
[AttTableOrderBy("name")]
public class FtPaymentTypeVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
FtPaymentTypeVO

Remarks

When the payment is made, it can be done with multiple forms of payment. Payment modes come from the entity PaymentTypeVO

Properties

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

PaymentTypeVO

Payment type PaymentTypeVO

[AttExternalCollection(typeof(PaymentTypeVO), new string[] { "PaymentType.paymentTypeStamp", "paymentTypeStamp" })]
public PaymentTypeVO PaymentTypeVO { get; }

Property Value

PaymentTypeVO

chAutoCreationCode

[AttVirtualField]
[AttHidden]
public AutoCreationCodes chAutoCreationCode { get; set; }

Property Value

AutoCreationCodes

Remarks

Virtual field.

Field not available for the user.

chdata

Data.

[AttEntityAvailable(typeof(ChVO))]
[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime chdata { get; set; }

Property Value

DateTime

chstamp

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

Property Value

string

Remarks

Virtual field.

Field not available for the user.

We use this field to know if is a new ch or a ch choosed in autocomplete

chvalorm

Valor em moeda estrangeira.

[AttLenght(19, 6)]
[AttEntityAvailable(typeof(ChVO))]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal chvalorm { get; set; }

Property Value

decimal

Remarks

Length total de 19, em que 12 são para as unidades e 6 para as decimais.

clbanco

Nome do Banco.

[AttLenght(20)]
[AttEntityAvailable(typeof(ChVO))]
public string clbanco { get; set; }

Property Value

string

Remarks

Length 20.

clcheque

Número do Documento.

[AttLenght(20)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttEntityAvailable(typeof(ChVO))]
public string clcheque { get; set; }

Property Value

string

Remarks

Length 20.

ftPaymentTypeStamp

Unique Identifier

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

Property Value

string

ftStamp

Connection to the entity FtVO

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

Property Value

string

ftpaymenttypecategory

[AttVirtualField]
[AttHidden]
public PaymentTypeCategory ftpaymenttypecategory { get; set; }

Property Value

PaymentTypeCategory

Remarks

Virtual field.

Field not available for the user.

We use this field to know the category

name

Payment mode name name

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

Property Value

string

parentVO

public FtVO parentVO { get; set; }

Property Value

FtVO

paymentTypeStamp

Payment mode

[AttLenght(25)]
[AttForeignKey(typeof(PaymentTypeVO), HiddenField = false)]
public string paymentTypeStamp { get; set; }

Property Value

string

value

Payment mode value

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

Property Value

decimal

Methods

SetStampValue(string)

public override void SetStampValue(string stampID)

Parameters

Nome Tipo Descrição
stampID string