Table of Contents

Class TpVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Condition Payment

[AttTable("Tp", 20160115)]
[AttTableProducts(new Products[] { Products.VENDAS })]
[AttTableOrderBy("descricao")]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge })]
[AttTableVOInfo(typeof(TpAttInfo))]
public class TpVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
TpVO

Remarks

esta entidade é composta por outra colecção principal que é a linha das condições de pagamento TplVO.

Properties

PaymentTypeVO

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

Property Value

PaymentTypeVO

descricao

Descrição

[AttLenght(55)]
[AttMandatory]
[AttLogInfo(0)]
[AttList]
public string descricao { get; set; }

Property Value

string

Remarks

Length 55.

Field available in the basic search results list.

Mandatory field.

diames

Dia do mês p/pagamento

[AttLenght(50)]
[AttGama(Gamas.Advanced)]
public string diames { get; set; }

Property Value

string

Remarks

Length 50.

dias

Dias de vencimento

[AttLenght(3)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttMinValue(0)]
public int dias { get; set; }

Property Value

int

Remarks

Length 3.

formapag

Form of payment

[AttLenght(55)]
[AttGama(Gamas.Advanced)]
public string formapag { get; set; }

Property Value

string

Remarks

Define here the payment method through which you want to pay.

Check, Cash, Bank Transfer.

formapagname

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

Property Value

string

mesesnaopag

Non-Payment Months

[AttLenght(50)]
[AttGama(Gamas.Advanced)]
public string mesesnaopag { get; set; }

Property Value

string

Remarks

Months in which no payments are made. Months separated by commas.

Length 50.

1, 4, 11

tipo

Tipo de Condição (1. recebimentos 2. pagamentos)

[AttLenght(1)]
[AttGama(Gamas.Corporate)]
[AttList]
[AttMandatory]
public TpTipo tipo { get; set; }

Property Value

TpTipo

tiponame

Name of Tipo de Condição

[AttLenght(50)]
[AttLocale(typeof(TpAttInfo), new string[] { "[Tp].[tipo]" })]
public string tiponame { get; set; }

Property Value

string

tpl

[AttCollection(typeof(TplVO))]
public List<TplVO> tpl { get; set; }

Property Value

List<TplVO>

tpstamp

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

Property Value

string

usadadosclienteoufornecedor

Uses data from the customer \ supplier datasheet

[AttGama(Gamas.Advanced)]
public bool usadadosclienteoufornecedor { get; set; }

Property Value

bool

Remarks

Define here if you use the Payment days and Non-payment months fields of the customer \ supplier card.

vencimento

Tipo de Vencimento

[AttLenght(1)]
[AttGama(Gamas.Advanced)]
public int vencimento { get; set; }

Property Value

int

Remarks

Length 1.