Table of Contents

Class FnVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Rows of Purchase

[AttTable("Fn", 20250116)]
[AttTableOrderBy("[Fn].[lordem]")]
[AttTableVOInfo(typeof(FnAttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.AddOnCustomizable, TableFlags.UseDimensions })]
public class FnVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent<FoVO>, IParent, IGenericVO
Inheritance
FnVO

Remarks

Esta entidade tem uma correspondência directa com a tabela "FN" existente na base de dados. .

Properties

AccountingStVO

Just for accounting usage

[AttHidden]
public StVO AccountingStVO { get; }

Property Value

StVO

AssetVO

[AttExternalCollection(typeof(AssetVO), new string[] { "st.asset", "assetcode" })]
public AssetVO AssetVO { get; }

Property Value

AssetVO

BiVO

[AttExternalCollection(typeof(BiVO), new string[] { "Fn.bistamp", "Bi.bistamp" })]
public BiVO BiVO { get; }

Property Value

BiVO

FiVO

[AttExternalCollection(typeof(FiVO), new string[] { "Fn.fistamp", "Fi.fistamp" })]
public FiVO FiVO { get; }

Property Value

FiVO

FnMas

[AttVirtualField]
public List<FnMaVO> FnMas { get; }

Property Value

List<FnMaVO>

FnVO

[AttExternalCollection(typeof(FnVO), new string[] { "Fn.ofnstamp", "Fn.fnstamp" })]
public FnVO FnVO { get; }

Property Value

FnVO

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

LotVO

[AttExternalCollection(typeof(LotVO), new string[] { "Fn.ref", "Lot.ref", "Fn.lote", "Lot.lote" })]
public LotVO LotVO { get; }

Property Value

LotVO

MiseimpVO

[AttExternalCollection(typeof(MiseimpVO), new string[] { "[Miseimp].[miseimpstamp]", "[Fn].[miseimpstamp]" })]
public MiseimpVO MiseimpVO { get; }

Property Value

MiseimpVO

ModalidadVO

[AttExternalCollection(typeof(ModalidadVO), new string[] { "[Modalidad].[modalidadstamp]", "[Fn].[modalidadstamp]" })]
public ModalidadVO ModalidadVO { get; }

Property Value

ModalidadVO

SaVO

[AttExternalCollection(typeof(SaVO), new string[] { "sa.ref", "ref", "sa.armazem", "armazem" })]
public SaVO SaVO { get; }

Property Value

SaVO

SlVO

[AttExternalCollection(typeof(SlVO), new string[] { "sl.fnstamp", "fnstamp" })]
public SlVO SlVO { get; }

Property Value

SlVO

StFlVO

[AttExternalCollection(typeof(StFlVO), new string[] { "[Stfl].[flstamp]", "[Fo].[flstamp]", "[Stfl].[supplierRef]", "[Fn].[supplierRef]", "[Stfl].[ref]", "[Fn].[ref]" })]
public StFlVO StFlVO { get; }

Property Value

StFlVO

StVO

[AttExternalCollection(typeof(StVO), new string[] { "st.ref", "ref" })]
public StVO StVO { get; }

Property Value

StVO

TaxRetentionVO

[AttExternalCollection(typeof(TaxRetentionVO), new string[] { "[TaxRetention].[codstamp]", "[Fi].[codstamp]" })]
public TaxRetentionVO TaxRetentionVO { get; }

Property Value

TaxRetentionVO

TaxaIVAVO

[AttExternalCollection(typeof(TaxasIVAVO), new string[] { "[TaxasIva].[codigo]", "[Fn].[tabiva]" })]
public TaxasIVAVO TaxaIVAVO { get; }

Property Value

TaxasIVAVO

accountingref

Accounting ref for integration

[AttLenght(18)]
[AttProducts(new Products[] { Products.Accounting })]
public string accountingref { get; set; }

Property Value

string

Remarks

Length 18.

Non Duplicable Field.

actqtt2

Indicates if you upgrade to Quantity 2 (delivered).

[AttHidden]
public bool actqtt2 { get; set; }

Property Value

bool

Remarks

Field not available to the user.

Non Duplicable Field.

Indicates whether in the copy of an Internal Dossier for a Purchase, it updates Quantity 2 (delivered), of the origin Dossier.

adoc

Document number.

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

Property Value

string

Remarks

This field is Primary Key.

Length 20.

Search field.

Field available in the basic search results list.

Non Duplicable Field

alternativeQtt

[AttLenght(14, 4)]
[AttGama(Gamas.Advanced)]
[AttMinValue(0)]
[AttFieldType(AttFieldType.InputTypes.measurements)]
public decimal alternativeQtt { get; set; }

Property Value

decimal

alternativeUnit

Alternative unit

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

Property Value

string

Remarks

Length 4.

armazem

Armazém.

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

Property Value

int

Remarks

Length 5.

articleAutoCreationCode

[AttVirtualField]
[AttHidden]
public AutoCreationCodes articleAutoCreationCode { get; }

Property Value

AutoCreationCodes

Remarks

This field does not physically exist in the database. Its value results from a calculation expression with the help of other fields of the entity. Is provided in order to hide the complexity of calculating the value thus providing in a simple way.

Due to the nature of your calculation the field is not available to be included in searches, but rather to be included in listings or reports. Another feature is that this field by being virtual will never appear in the collection Modified Fields of the entity itself.

asset

Referência do ativo.

[AttLenght(18)]
[AttProducts(new Products[] { Products.Assets })]
public string asset { get; set; }

Property Value

string

Remarks

Length 18.

assetcategorysubsuffix

[AttVirtualField]
[AttLenght(1)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_MZ })]
public int assetcategorysubsuffix { get; }

Property Value

int

assetcategorysuffix

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

Property Value

int

assetnaturesuffix

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

Property Value

int

baseAccountValue

[AttVirtualField]
[AttHidden]
[AttProducts(new Products[] { Products.Accounting })]
public int baseAccountValue { get; set; }

Property Value

int

bistamp

Connects to bistamp from which this line was copied.

[AttLenght(25)]
[AttForeignKey(typeof(BiVO))]
public string bistamp { get; set; }

Property Value

string

caneditlotrefdate

[AttVirtualField]
[AttHidden]
public bool caneditlotrefdate { get; set; }

Property Value

bool

codigo

Código de barras.

[AttLenght(18)]
public string codigo { get; set; }

Property Value

string

Remarks

Length 18.

codstamp

[AttLenght(25)]
[AttEntityAvailable(typeof(TaxRetentionVO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string codstamp { get; set; }

Property Value

string

cpoc

Código SNC

[AttLenght(15)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES, languages.pt_PT })]
[AttMinValue(0)]
[AttMaxValue(999999)]
public int cpoc { get; set; }

Property Value

int

Remarks

Data type Numeric.

Length 15.

data

Internal Date of the Document.

[AttLenght(1)]
public DateTime data { get; set; }

Property Value

DateTime

Remarks

Search field.

Field available in the basic search results list.

deductibleType

[AttVirtualField]
[AttHidden]
[AttProducts(new Products[] { Products.Accounting })]
public int deductibleType { get; set; }

Property Value

int

desc2

Desconto 2.

[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
public decimal desc2 { get; set; }

Property Value

decimal

Remarks

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

desc3

Desconto 3.

[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
public decimal desc3 { get; set; }

Property Value

decimal

Remarks

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

desc4

Desconto 4.

[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
public decimal desc4 { get; set; }

Property Value

decimal

Remarks

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

desc5

Desconto 5.

[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
public decimal desc5 { get; set; }

Property Value

decimal

Remarks

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

desc6

Desconto 6.

[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
public decimal desc6 { get; set; }

Property Value

decimal

Remarks

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

desconto

Desconto 1.

[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
public decimal desconto { get; set; }

Property Value

decimal

Remarks

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

design

Designação.

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

Property Value

string

dim1

This field will store the first dimension

[AttLenght(14, 4)]
[AttGama(Gamas.Advanced)]
[AttMinValue(0)]
[AttFieldType(AttFieldType.InputTypes.measurements)]
public decimal dim1 { get; set; }

Property Value

decimal

dim2

This field will store the second dimension

[AttLenght(14, 4)]
[AttGama(Gamas.Advanced)]
[AttMinValue(0)]
[AttFieldType(AttFieldType.InputTypes.measurements)]
public decimal dim2 { get; set; }

Property Value

decimal

dim3

This field will store the third dimension

[AttLenght(14, 4)]
[AttGama(Gamas.Advanced)]
[AttMinValue(0)]
[AttFieldType(AttFieldType.InputTypes.measurements)]
public decimal dim3 { get; set; }

Property Value

decimal

epv

Preço Unitário.

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

Property Value

decimal

Remarks

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

esltt

Movimento de Stock - Total.

[AttLenght(19, 6)]
public decimal esltt { get; set; }

Property Value

decimal

Remarks

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

eslvu

Movimento de Stock - Valor Unitário.

[AttLenght(19, 6)]
public decimal eslvu { get; set; }

Property Value

decimal

Remarks

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

etiliquido

Total Ilíquido.

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

Property Value

decimal

Remarks

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

ettiva

Valor em Euros do total de I.V.A.

[AttVirtualField]
[AttLenght(19, 6)]
public decimal ettiva { get; set; }

Property Value

decimal

Remarks

This field does not physically exist in the database. Its value results from a calculation expression with the help of other fields of the entity. Is provided in order to hide the complexity of calculating the value thus providing in a simple way.

Due to the nature of their calculation the field is not available to be included in queries, but to be included in listings or reports. Another feature is that this field by being virtual will never appear in the collection Modified Fields of the entity itself.

expensepercent

Expenses Percentage.

[AttLenght(6, 2)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.percentage, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttHidden(HiddenParameter = new string[] { "fo_usadespesas" }, HiddenParameterValue = new object[] { false })]
public decimal expensepercent { get; set; }

Property Value

decimal

Remarks

Total length: 6 - where 3 are for units and 2 for decimals.

expensevalue

Expense amount in Euros.

[AttLenght(19, 6)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttHidden(HiddenParameter = new string[] { "fo_usadespesas" }, HiddenParameterValue = new object[] { false })]
public decimal expensevalue { get; set; }

Property Value

decimal

Remarks

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

fistamp

Connects to fistamp from which this line was copied.

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

Property Value

string

fostamp

Connects to fostamp that contains this line.

[AttForeignKey(typeof(FoVO))]
[AttLenght(25)]
public string fostamp { get; set; }

Property Value

string

fullmotiseimp

Code and Reason for VAT exemption

[AttVirtualField]
[AttLenght(64)]
public string fullmotiseimp { get; set; }

Property Value

string

introexpenses

Calculation origin of financial discount

[AttHidden]
public ExpensesTypes introexpenses { get; set; }

Property Value

ExpensesTypes

isToUptParts2

[AttHidden]
public bool isToUptParts2 { get; set; }

Property Value

bool

iseregrecargo

[AttHidden]
public bool iseregrecargo { get; set; }

Property Value

bool

isexpense

[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttHidden(HiddenParameter = new string[] { "fo_usadespesas" }, HiddenParameterValue = new object[] { false })]
public bool isexpense { get; set; }

Property Value

bool

ivadata

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

Property Value

DateTime

ivaincl

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

Property Value

bool

ivarec

Recargo VAT

[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal ivarec { get; set; }

Property Value

decimal

labelField

VAT table label

[AttVirtualField]
public string labelField { get; set; }

Property Value

string

listFnma

[AttVirtualField]
public string listFnma { get; }

Property Value

string

litem

Título para a primeira coluna do item.

[AttLenght(40)]
public string litem { get; set; }

Property Value

string

Remarks

Length 40.

litem2

Título para a segunda coluna do item.

[AttLenght(40)]
public string litem2 { get; set; }

Property Value

string

Remarks

Length 40.

lote

Lot

[AttLenght(40)]
[AttForeignKey(true, typeof(LotVO), HiddenField = false)]
[AttEntityAvailable(typeof(LotVO))]
[AttHidden(HiddenParameter = new string[] { "allowlot" }, HiddenParameterValue = new object[] { false })]
public string lote { get; set; }

Property Value

string

Remarks

ForeignKey to lote

lotrefdate

Expiration date for FEFO

[AttEntityAvailable(typeof(LotVO))]
[AttFieldType(AttFieldType.InputTypes.date)]
[AttHidden(HiddenParameter = new string[] { "allowlot" }, HiddenParameterValue = new object[] { false })]
public DateTime lotrefdate { get; set; }

Property Value

DateTime

lottype

[AttEntityAvailable(typeof(LotVO))]
public LotTypes lottype { get; set; }

Property Value

LotTypes

lottypename

Name of lot type.

[AttLenght(50)]
[AttLocale(typeof(FnAttInfo), new string[] { "[Fn].[lottype]" })]
public string lottypename { get; set; }

Property Value

string

marketwithregion

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

Property Value

int

measurementType

[AttLenght(2)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttGama(Gamas.Advanced)]
public MeasurementTypes measurementType { get; set; }

Property Value

MeasurementTypes

measurementTypeName

Name of lot type.

[AttLenght(50)]
[AttLocale(typeof(FnAttInfo), new string[] { "[Fn].[measurementType]" })]
public string measurementTypeName { get; set; }

Property Value

string

merchandisetype

[AttVirtualField]
[AttLenght(1)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_MZ })]
public int merchandisetype { get; }

Property Value

int

mexpensevalue

Expense amount in Euros.

[AttLenght(19, 6)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttHidden(HiddenParameter = new string[] { "fo_usadespesas" }, HiddenParameterValue = new object[] { false })]
public decimal mexpensevalue { get; set; }

Property Value

decimal

Remarks

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

modalidaddescription

[AttVirtualField]
[AttEntityAvailable(typeof(ModalidadVO))]
public string modalidaddescription { get; set; }

Property Value

string

modalidadstamp

[AttLenght(25)]
[AttEntityAvailable(typeof(ModalidadVO))]
public string modalidadstamp { get; set; }

Property Value

string

nvol

Número de Volumes

[AttLenght(14, 4)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.decimal)]
public decimal nvol { get; set; }

Property Value

decimal

Remarks

Length: 14.4

obostamp

Connects to bostamp from which this line was copied.

[AttForeignKey(typeof(BoVO))]
[AttLenght(25)]
public string obostamp { get; set; }

Property Value

string

ofnstamp

Connects to fnstamp from which this line was copied.

[AttForeignKey(typeof(FnVO))]
[AttLenght(25)]
public string ofnstamp { get; set; }

Property Value

string

ofostamp

Connects to fostamp from which this line was copied.

[AttForeignKey(typeof(FoVO))]
[AttLenght(25)]
public string ofostamp { get; set; }

Property Value

string

oftstamp

Connects to ftstamp from which this line was copied.

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

Property Value

string

operationtype

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

Property Value

int

oref

Reference the article or service by copying another document.

[AttLenght(18)]
public string oref { get; set; }

Property Value

string

Remarks

Length 18.

Non Duplicable Field

If this field is completed, it indicates that this line (Fn) was created through 1 copy of another document,

and so that the stock is not moved again, the field that is filled is not "ref", but "oref".

parts

[AttLenght(14, 4)]
[AttGama(Gamas.Advanced)]
[AttMinValue(0)]
[AttFieldType(AttFieldType.InputTypes.measurements)]
public decimal parts { get; set; }

Property Value

decimal

pbuni

Peso Bruto Unitário

[AttLenght(14, 4)]
[AttGama(Gamas.Advanced)]
public decimal pbuni { get; set; }

Property Value

decimal

Remarks

Length: 14.4

pluni

Peso Líquido Unitário

[AttLenght(14, 4)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.decimal)]
public decimal pluni { get; set; }

Property Value

decimal

Remarks

Length: 14.4

producttype

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

Property Value

int

proposelot

[AttVirtualField]
[AttHidden]
public bool proposelot { get; set; }

Property Value

bool

purchaseopervatfree

Tipo de operações isentas

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

Property Value

int

pvmoeda

Preço Unitário do Artigo ou Serviço em Moeda Estrangeira.

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

Property Value

decimal

Remarks

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

qtt

Quantidade.

[AttLenght(14, 4)]
[AttFieldType(AttFieldType.InputTypes.quantity)]
public decimal qtt { get; set; }

Property Value

decimal

Remarks

Lenght of 14, where the units are 9 and decimals are 4.

ref

Referência do artigo ou serviço.

[AttLenght(18)]
public string @ref { get; set; }

Property Value

string

Remarks

Length 18.

referencia

[AttVirtualField]
[AttLenght(18)]
public string referencia { get; set; }

Property Value

string

Remarks

This field does not physically exist in the database. Its value results from a calculation expression with the help of other fields of the entity. Is provided in order to hide the complexity of calculating the value thus providing in a simple way.

Devido á natureza do seu calculo o campo nao se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.

retentionTax

[AttLenght(6, 2)]
public decimal retentionTax { get; set; }

Property Value

decimal

showqtt

[AttVirtualField]
public bool showqtt { get; }

Property Value

bool

slttmoeda

Movimento de Stock - Total em Moeda Estrangeira.

[AttLenght(19, 6)]
public decimal slttmoeda { get; set; }

Property Value

decimal

Remarks

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

slvumoeda

Movimento de Stock - Valor Unitário em Moeda Estrangeira.

[AttLenght(19, 6)]
public decimal slvumoeda { get; set; }

Property Value

decimal

Remarks

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

sourceid

[AttHidden]
public bool sourceid { get; set; }

Property Value

bool

stns

Se a referência é um serviço.

[AttLenght(1)]
public bool stns { get; set; }

Property Value

bool

subcategoryaccounting

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

Property Value

int

sujirs

Indica se esta linha está sujeita a retenção de IRS.

[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool sujirs { get; set; }

Property Value

bool

supplierRef

[AttLenght(18)]
public string supplierRef { get; set; }

Property Value

string

supplierRefAutoCreationCode

[AttVirtualField]
[AttHidden]
public AutoCreationCodes supplierRefAutoCreationCode { get; }

Property Value

AutoCreationCodes

Remarks

This field does not physically exist in the database. Its value results from a calculation expression with the help of other fields of the entity. Is provided in order to hide the complexity of calculating the value thus providing in a simple way.

Due to the nature of your calculation the field is not available to be included in searches, but rather to be included in listings or reports. Another feature is that this field by being virtual will never appear in the collection Modified Fields of the entity itself.

supplytype

[AttVirtualField]
[AttLenght(1)]
[AttProducts(new Products[] { Products.Accounting })]
[AttDynamicIntegrationValue(typeof(SupplyTypeVO))]
public string supplytype { get; }

Property Value

string

taxLabelField

[AttVirtualField]
public string taxLabelField { get; set; }

Property Value

string

tmoeda

Valor em Moeda estrangeira do total Ilíquido.

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

Property Value

decimal

Remarks

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

tnvol

Total Número de Volumes

[AttLenght(18, 4)]
[AttGama(Gamas.Advanced)]
[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.decimal)]
public decimal tnvol { get; set; }

Property Value

decimal

Remarks

  • Length: 18.4
  • Virtual

totalexpense

Expense amount in Euros.

[AttLenght(19, 6)]
[AttHidden]
[AttGama(Gamas.Advanced)]
public decimal totalexpense { get; set; }

Property Value

decimal

Remarks

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

tpbrut

Total Peso Bruto

[AttLenght(18, 4)]
[AttGama(Gamas.Advanced)]
[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.decimal)]
public decimal tpbrut { get; set; }

Property Value

decimal

Remarks

  • Length: 18.4
  • Virtual

tpliq

Total Peso Líquido

[AttLenght(18, 4)]
[AttGama(Gamas.Advanced)]
[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.decimal)]
public decimal tpliq { get; set; }

Property Value

decimal

Remarks

  • Length: 18.4
  • Virtual

tvol

Total Volume

[AttLenght(18, 6)]
[AttGama(Gamas.Advanced)]
[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.volumes)]
public decimal tvol { get; set; }

Property Value

decimal

Remarks

  • Length: 18.4
  • Virtual

unidade

Tipo de Unidade a ser usada no Artigo ou Serviço.

[AttLenght(4)]
public string unidade { get; set; }

Property Value

string

Remarks

Length 4.

usaRecargoIva

Indicates whether the document uses the surcharge of VAT.

[AttVirtualField]
[AttHidden]
public bool usaRecargoIva { get; set; }

Property Value

bool

Remarks

Virtual field.

Field not available for the user.

uselot

[AttEntityAvailable(typeof(LotVO))]
public bool uselot { get; set; }

Property Value

bool

usr1

Marca.

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

Property Value

string

Remarks

Length 20.

usr2

Modelo.

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

Property Value

string

Remarks

Length 20.

validlot

[AttVirtualField]
[AttHidden]
public bool validlot { get; set; }

Property Value

bool

vatpurchaseoperation

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

Property Value

int

vattype

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

Property Value

int

vuni

Volume Unitário

[AttLenght(14, 6)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.volumes)]
public decimal vuni { get; set; }

Property Value

decimal

Remarks

Length: 14.4

wasAppliedIdiom

Field to know if was applied a idiom

[AttVirtualField]
public bool wasAppliedIdiom { get; set; }

Property Value

bool

Methods

SetStampValue(string)

public override void SetStampValue(string stampID)

Parameters

Nome Tipo Descrição
stampID string

Explicit Interface Implementations

ParentVO

FoVO ParentVO { get; set; }

Returns

FoVO

codmotiseimp

Code for VAT exemption Reason

[AttVirtualField]
[AttLenght(4)]
string codmotiseimp { get; set; }

Returns

string

componente

Define se o artigo é um componente

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

Returns

bool

compound

Define se o artigo é composto por outros artigos

[AttEntityAvailable(typeof(ScVO))]
bool compound { get; set; }

Returns

bool

fnstamp

Single registration field, used to link others to this entity.

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

Returns

string

Remarks

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

Length 25.

iva

VAT table rate

[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
decimal iva { get; set; }

Returns

decimal

lordem

Ordem na compra.

[AttLenght(10)]
[AttHidden]
decimal lordem { get; set; }

Returns

decimal

Remarks

Length 10.

Field not available to the user.

lrecno

Guarda o stamp da linha FI do produto composto

[AttLenght(25)]
[AttEntityAvailable(typeof(ScVO))]
string lrecno { get; set; }

Returns

string

Remarks

Length 25.

Foreign Key field to another table.

miseimpstamp

StampID for VAT exemption Reason

[AttForeignKey(CanDuplicate = true, ForeignType = typeof(MiseimpVO), HiddenField = false)]
[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
string miseimpstamp { get; set; }

Returns

string

motiseimp

Reason for VAT exemption

[AttVirtualField]
[AttLenght(60)]
string motiseimp { get; set; }

Returns

string

previousLineID

[AttVirtualField]
[AttHidden]
string previousLineID { get; set; }

Returns

string

tabiva

VAT table code

[AttLenght(3)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
int tabiva { get; set; }

Returns

int

treestamp

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

Returns

string