Table of Contents

Class RePaymentTypeVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Payment Types of Receipts

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

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

Name

Payment mode name name

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

Property Value

string

ParentVO

public ReVO ParentVO { get; set; }

Property Value

ReVO

PaymentTypeStamp

Payment mode

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

Property Value

string

PaymentTypeVO

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

Property Value

PaymentTypeVO

RePaymentTypeStamp

Unique Identifier

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

Property Value

string

ReStamp

Connection to the entity ReVO

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

Property Value

string

Value

Payment mode value

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

Property Value

decimal

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

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.

repaymenttypecategory

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

Property Value

PaymentTypeCategory

Remarks

Virtual field.

Field not available for the user.

We use this field to know the category

Methods

SetStampValue(string)

public override void SetStampValue(string stampID)

Parameters

Nome Tipo Descrição
stampID string