Table of Contents

Class DfclVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Discounts per family/customer.

[AttTable("Dfcl", 20200621)]
[AttTableGama(Gamas.Corporate)]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.RequiresAdminAccess })]
public class DfclVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
DfclVO

Properties

acumula

accumulate.

[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttList]
public bool acumula { get; set; }

Property Value

bool

dataf

Final Date of the discount.

[AttFieldType(AttFieldType.InputTypes.date)]
[AttList]
public DateTime dataf { get; set; }

Property Value

DateTime

datai

Initial Date of the discount.

[AttFieldType(AttFieldType.InputTypes.date)]
[AttList]
public DateTime datai { get; set; }

Property Value

DateTime

desc1

1th Discount %.

[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
[AttMinValue(0)]
[AttMaxValue(100)]
[AttList]
public decimal desc1 { get; set; }

Property Value

decimal

Remarks

Lenght of 5, where the units are 2 and decimals are 2.

desc2

2th Discount %.

[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.decimal)]
[AttMinValue(0)]
[AttMaxValue(100)]
[AttList(Inactive = true)]
public decimal desc2 { get; set; }

Property Value

decimal

Remarks

Lenght of 5, where the units are 2 and decimals are 2.

desc3

3th Discount %.

[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.decimal)]
[AttMinValue(0)]
[AttMaxValue(100)]
[AttList(Inactive = true)]
public decimal desc3 { get; set; }

Property Value

decimal

Remarks

Lenght of 5, where the units are 2 and decimals are 2.

desc4

4ยบ Desconto %.

[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.decimal)]
[AttMinValue(0)]
[AttMaxValue(100)]
[AttList(Inactive = true)]
public decimal desc4 { get; set; }

Property Value

decimal

Remarks

Lenght of 5, where the units are 2 and decimals are 2.

desc5

5th Discount %.

[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.decimal)]
[AttMinValue(0)]
[AttMaxValue(100)]
[AttList(Inactive = true)]
public decimal desc5 { get; set; }

Property Value

decimal

Remarks

Lenght of 5, where the units are 2 and decimals are 2.

desc6

6th Discount %.

[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.decimal)]
[AttMinValue(0)]
[AttMaxValue(100)]
[AttList(Inactive = true)]
public decimal desc6 { get; set; }

Property Value

decimal

Remarks

Lenght of 5, where the units are 2 and decimals are 2.

dfclstamp

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

Property Value

string

inativo

inactive.

[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttList]
public bool inativo { get; set; }

Property Value

bool

obs

Comments.

[AttFieldType(AttFieldType.InputTypes.memo)]
public string obs { get; set; }

Property Value

string

preco

Price to apply the filter

[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public SalePriceEnum preco { get; set; }

Property Value

SalePriceEnum

Remarks

Length 1.

preconame

[AttLenght(50)]
[AttLocale(typeof(DfclAttInfo), new string[] { "[Dfcl].[preco]" })]
public string preconame { get; set; }

Property Value

string

ref

Type of Product for Discounts.

[AttPrimaryKey]
[AttLenght(20)]
[AttMandatory]
[AttIndex]
[AttLogInfo(0)]
[AttList]
public string @ref { get; set; }

Property Value

string

Remarks

Length 20.

This field is primary key.

tipodesc

Type of Customer for Discounts.

[AttPrimaryKey]
[AttLenght(20)]
[AttMandatory]
[AttIndex]
[AttList]
public string tipodesc { get; set; }

Property Value

string

Remarks

Length 20.

This field is primary key.