Table of Contents

Class StVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Entity that represents a product or service.

[AttTable("ST", 20250201)]
[AttTableProducts(new Products[] { Products.STOCKS, Products.POS })]
[AttTableVOInfo(typeof(StAttInfo))]
[AttTableOrderBy("[ST].[ref]")]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.FullTextSearchable, TableFlags.EnableQuickIntro, TableFlags.CelebrateFirstInsert, TableFlags.UseImagePicker, TableFlags.UseDimensions })]
[AttTableMaintenance(typeof(StockMaintenance))]
public class StVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
StVO

Properties

CommissionConfigVO

[AttExternalCollection(typeof(CommissionConfig), new string[] { "[CommissionConfig].[commissionconfigstamp]", "[St].[commissionconfigstamp]" })]
public CommissionConfigVO CommissionConfigVO { get; }

Property Value

CommissionConfigVO

FlVO

[AttExternalCollection(typeof(FlVO), new string[] { "[Fl].[no]", "[Bo].[no]", "[Fl].[estab]", "[Bo].[estab]" })]
public FlVO FlVO { get; }

Property Value

FlVO

MiseimpVO

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

Property Value

MiseimpVO

ModalidadVO

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

Property Value

ModalidadVO

StfamiVO

[AttExternalCollection(typeof(StfamiVO), new string[] { "[STFAMI].[ref]", "[ST].[familia]" })]
public StfamiVO StfamiVO { get; }

Property Value

StfamiVO

TaxaIVAVO

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

Property Value

TaxasIVAVO

alternativeUnit

Alternative unit

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

Property Value

string

Remarks

Length 4.

amostra

Indicates whether the article is a sample.

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

Property Value

bool

autonomoustax

[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttProducts(new Products[] { Products.Accounting })]
public bool autonomoustax { get; set; }

Property Value

bool

biologicalassetstype

Stock sub category for accounting variables

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

Property Value

int

bloqueado

Product blocked for exit.

[AttEntityAvailable(typeof(SlVO))]
[AttEntityAvailable(typeof(FtVO))]
[AttGama(Gamas.Advanced)]
[AttHidden(HiddenParameter = new string[] { "AllowStocks" }, HiddenParameterValue = new object[] { false })]
public bool bloqueado { get; set; }

Property Value

bool

category

Define a categoria do produto para o inventário

[AttLenght(1)]
[AttFieldType(InputType = AttFieldType.InputTypes.integer)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_MZ })]
public STCategory category { get; set; }

Property Value

STCategory

categorydesc

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

Property Value

string

codigo

Bar code.

[AttLenght(25)]
[AttIndex]
[AttList(Inactive = true)]
public string codigo { get; set; }

Property Value

string

Remarks

Length 25.

indexed field.

commissionConfigDesc

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

Property Value

string

commissionconfigstamp

[AttForeignKey(typeof(CommissionConfigVO), HiddenField = false, CanDuplicate = true)]
[AttLenght(25)]
public string commissionconfigstamp { get; set; }

Property Value

string

composto

It is a compound product

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

Property Value

bool

Remarks

Boolean property.

comppcusto

Cost calculation for sales

[AttLenght(1)]
[AttGama(Gamas.Advanced)]
[AttEntityAvailable(typeof(ScVO))]
public int comppcusto { get; set; }

Property Value

int

Remarks

<p>

1 = The cost price is the item's 2 = The cost price is the sum of its components 3 = The cost price of the article is the record plus the sum of its components .

Length 6.

comppvenda

price calculation for sales

[AttLenght(1)]
[AttGama(Gamas.Advanced)]
[AttEntityAvailable(typeof(ScVO))]
public int comppvenda { get; set; }

Property Value

int

Remarks

<p>

.

Length 6.

contacev

C.E.V account.

[AttLenght(15)]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public string contacev { get; set; }

Property Value

string

Remarks

Length 15.

containv

NAS inventory account.

[AttLenght(15)]
[AttEntityAvailable(typeof(SlVO))]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public string containv { get; set; }

Property Value

string

Remarks

Length 15.

conversionFactor

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

Property Value

decimal

cpoc

NAS Code

[AttLenght(6)]
[AttMinValue(0)]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public int cpoc { get; set; }

Property Value

int

Remarks

Data type Numeric.

Length 6.

deductibility

[AttLenght(2)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_MZ })]
public Deductibility deductibility { get; set; }

Property Value

Deductibility

deductibilitylabel

[AttLocale(typeof(StAttInfo), new string[] { "[St].[deductibility]" })]
[AttProducts(new Products[] { Products.Accounting })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_MZ })]
public string deductibilitylabel { get; set; }

Property Value

string

defaultflestab

Number that identifies the default supplier Branch.

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

Property Value

int

Remarks

Length 6.

From what range of software this field is available: Max.

defaultflname

Default supplier name.

[AttLenght(100)]
[AttFieldType(AttFieldType.InputTypes.string)]
public string defaultflname { get; set; }

Property Value

string

Remarks

Length 100.

defaultflno

Default Supplier number.

[AttLenght(10)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttMinValue(0)]
public decimal defaultflno { get; set; }

Property Value

decimal

Remarks

Length 10.

defaultflstamp

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

Property Value

string

desctec

Technical Information.

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

Property Value

string

design

DDescription.

[AttLenght(60)]
[AttIndex]
[AttMandatory]
[AttLogInfo(1)]
[AttList]
public string design { get; set; }

Property Value

string

Remarks

Length 60.

Field available in the Full text Search results list.

Field available in the basic search results list.

indexed field.

dim1

This field will store the first dimension

[AttLenght(14, 6)]
[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, 6)]
[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, 6)]
[AttGama(Gamas.Advanced)]
[AttMinValue(0)]
[AttFieldType(AttFieldType.InputTypes.measurements)]
public decimal dim3 { get; set; }

Property Value

decimal

entityAutoCreationCode

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

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.

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 "Modified Fields" of the entity itself.

epcpond

Weighted Cost Price.

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttHidden(HiddenParameter = new string[] { "AllowStocks" }, HiddenParameterValue = new object[] { false })]
public decimal epcpond { get; set; }

Property Value

decimal

Remarks

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

Non Duplicable Field.

epcult

Last Cost Price.

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttHidden(HiddenParameter = new string[] { "AllowStocks" }, HiddenParameterValue = new object[] { false })]
public decimal epcult { get; set; }

Property Value

decimal

Remarks

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

Non Duplicable Field.

epcusto

Agreed Price.

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

Property Value

decimal

Remarks

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

epv1

Sales Price 1.

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
[AttMinValue(0)]
[AttList]
public decimal epv1 { get; set; }

Property Value

decimal

Remarks

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

epv1base

Base of sales price 1

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

Property Value

decimal

epv1comiva

Total of sales price 1

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

Property Value

decimal

epv1iva

VAT of sales price 1

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

Property Value

decimal

epv1ivain

Incidence of sales price 1

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

Property Value

decimal

epv1tax

Tax of sales price 1

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

Property Value

decimal

epv2

Sales Price 2.

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

Property Value

decimal

Remarks

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

epv2base

Base of sales price 2

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

Property Value

decimal

epv2comiva

Total of sales price 2

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

Property Value

decimal

epv2iva

VAT of sales price 2

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

Property Value

decimal

epv2ivain

Incidence of sales price 2

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

Property Value

decimal

epv2tax

Tax of sales price 2

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

Property Value

decimal

epv3

Sales Price 3.

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

Property Value

decimal

epv3base

Base of sales price 3

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

Property Value

decimal

epv3comiva

Total of sales price 3

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

Property Value

decimal

epv3iva

VAT of sales price 3

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

Property Value

decimal

epv3ivain

Incidence of sales price 3

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

Property Value

decimal

epv3tax

Tax of sales price 3

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

Property Value

decimal

epv4

Sales Price 4.

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

Property Value

decimal

epv4base

Base of sales price 4

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

Property Value

decimal

epv4comiva

Total of sales price 4

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

Property Value

decimal

epv4iva

VAT of sales price 4

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

Property Value

decimal

epv4ivain

Incidence of sales price 4

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

Property Value

decimal

epv4tax

Tax of sales price 4

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

Property Value

decimal

epv5

Sales Price 5.

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

Property Value

decimal

epv5base

Base of sales price 5

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

Property Value

decimal

epv5comiva

Total of sales price 5

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

Property Value

decimal

epv5iva

VAT of sales price 5

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

Property Value

decimal

epv5ivain

Incidence of sales price 5

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

Property Value

decimal

epv5tax

Tax of sales price 5

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

Property Value

decimal

evalcomissao

Commission Rate.

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

Property Value

decimal

Remarks

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

familia

Product Family.

[AttLenght(50)]
[AttIndex]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string familia { get; set; }

Property Value

string

Remarks

Length 50.

indexed field.

familyAutoCreationCode

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

Property Value

AutoCreationCodes

Remarks

Virtual field.

Field not available for the user.

faminome

Family Description.

[AttLenght(60)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string faminome { get; set; }

Property Value

string

Remarks

Length 60.

fobloq

Product blocked on entry.

[AttEntityAvailable(typeof(SlVO))]
[AttEntityAvailable(typeof(FoVO))]
[AttGama(Gamas.Advanced)]
[AttHidden(HiddenParameter = new string[] { "AllowStocks" }, HiddenParameterValue = new object[] { false })]
public bool fobloq { get; set; }

Property Value

bool

forref

Supplier Reference.

[AttLenght(20)]
[AttIndex]
[AttEntityAvailable(typeof(FoVO))]
[AttList]
public string forref { get; set; }

Property Value

string

Remarks

Length 20.

Field available in the basic search results list.

fullmotiseimp

Code and Reason for VAT exemption

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

Property Value

string

haveIStax

Have IS tax

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

Property Value

bool

imagem

[AttExternalCollection(typeof(ImageInfoVO))]
public ImageInfoVO imagem { get; }

Property Value

ImageInfoVO

imagestamp

[AttLenght(25)]
[AttForeignKey(typeof(ImageInfoVO), HiddenField = false)]
[AttRGPDrank(RGPDranks.Personal)]
[AttFieldType(AttFieldType.InputTypes.image)]
public string imagestamp { get; set; }

Property Value

string

inactivo

Controls if the entity is active.

[AttList(Inactive = true)]
public bool inactivo { get; set; }

Property Value

bool

Remarks

Boolean property.

iseregrecargo

Regime de recargo

Indica se o produto está isento ao regime de recargo.

[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public bool iseregrecargo { get; set; }

Property Value

bool

Remarks

Length 1 .

isexpense

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

Property Value

bool

iva1incl

VAT Included in Sales Price 1.

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

Property Value

bool

iva2incl

VAT Included in Sales Price 2.

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

Property Value

bool

iva3incl

VAT Included in Sales Price 3.

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

Property Value

bool

iva4incl

VAT Included in Sales Price 4.

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

Property Value

bool

iva5incl

VAT Included in Sales Price 5.

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

Property Value

bool

ivapcincl

VAT Included in the Price Table.

public bool ivapcincl { get; set; }

Property Value

bool

labelField

VAT table label

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

Property Value

string

local

Location.

[AttLenght(20)]
[AttGama(Gamas.Corporate)]
public string local { get; set; }

Property Value

string

Remarks

Length 20.

lottype

[AttLenght(1)]
[AttEntityAvailable(typeof(LotVO))]
[AttHidden(HiddenParameter = new string[] { "allowlot" }, HiddenParameterValue = new object[] { false })]
public LotTypes lottype { get; set; }

Property Value

LotTypes

lottypename

Name of lot type.

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

Property Value

string

madein

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

Property Value

string

measurementType

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

Property Value

MeasurementTypes

merchandisetype

merchandise sub category for accounting variables

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

Property Value

int

minstock

Stock mínimo do artigo

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

Property Value

decimal

Remarks

  • Length 14.4
  • Not Duplicable

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

nexist

Does not affect perpetual inventory.

[AttLenght(1)]
[AttEntityAvailable(typeof(SlVO))]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public bool nexist { get; set; }

Property Value

bool

nvol

Número de Volumes

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

Property Value

decimal

Remarks

Length: 14.4

obs

Comments.

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

Property Value

string

pbuni

Peso Bruto Unitário

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

Property Value

decimal

Remarks

Length: 14.4

pluni

Peso Líquido Unitário

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

Property Value

decimal

Remarks

Length: 14.4

productLabelField

[AttVirtualField(typeof(StAttInfo))]
public string productLabelField { get; set; }

Property Value

string

qttcli

Ordered from Customers.

[AttLenght(14, 4)]
[AttGama(Gamas.Corporate)]
[AttEntityAvailable(typeof(BoVO))]
[AttEntityAvailable(typeof(ClVO))]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal qttcli { get; set; }

Property Value

decimal

Remarks

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

Non Duplicable Field.

qttfor

Ordered from suppliers.

[AttLenght(14, 4)]
[AttGama(Gamas.Corporate)]
[AttEntityAvailable(typeof(BoVO))]
[AttEntityAvailable(typeof(FlVO))]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal qttfor { get; set; }

Property Value

decimal

Remarks

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

Non Duplicable Field.

ref

Reference.

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

Property Value

string

Remarks

Primary key.

Length 18.

Field available in the Full text Search results list.

Field available in the basic search results list.

Mandatory field.

refType

The field indicates the type of product.

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

Property Value

string

reorderpoint

Ponto habitual de encomenda

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

Property Value

decimal

Remarks

  • Length 14.4
  • Not Duplicable

reorderqtt

Quantidade habitual de encomenda

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

Property Value

decimal

Remarks

  • Length 14.4
  • Not Duplicable

scs

Colecção das linhas do Produto Composto.

[AttCollection(typeof(ScVO))]
[AttGama(Gamas.Advanced)]
public List<ScVO> scs { get; set; }

Property Value

List<ScVO>

Remarks

This field is a collection of type List (Of ScVO).

ScVO

serviceType

[AttLenght(2)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttProducts(new Products[] { Products.Accounting })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public ProductServiceTypes serviceType { get; set; }

Property Value

ProductServiceTypes

serviceTypename

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

Property Value

string

serviceTypestamp

Connects to SupplyTypeStamp that contains this line.

[AttLenght(25)]
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(SupplyTypeVO), HiddenField = false)]
public string serviceTypestamp { get; set; }

Property Value

string

sis

Colecção das linhas de artigos com idiomas.

[AttCollection(typeof(SiVO))]
public List<SiVO> sis { get; set; }

Property Value

List<SiVO>

Remarks

This field is a collection of type List (Of SiVO).

SiVO

stcbs

Colecção de Codigos de barras.

[AttCollection(typeof(StcbVO))]
[AttGama(Gamas.Advanced)]
public List<StcbVO> stcbs { get; set; }

Property Value

List<StcbVO>

Remarks

This field is a collection of type List (Of StcbVO).

StcbVO

stfamistamp

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

Property Value

string

Remarks

Virtual field.

Field not available for the user.

stns

Indicates whether this is a Item out of stock movement.

[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList(Inactive = true)]
public bool stns { get; set; }

Property Value

bool

stock

Current Stock.

[AttLenght(14, 4)]
[AttEntityAvailable(typeof(SlVO))]
[AttFieldType(AttFieldType.InputTypes.decimal, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList]
[AttHidden(HiddenParameter = new string[] { "AllowStocks" }, HiddenParameterValue = new object[] { false })]
public decimal stock { get; set; }

Property Value

decimal

Remarks

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

Field available in the basic search results list.

stockprev

Stock Previsto.

[AttLenght(14, 4)]
[AttVirtualField(typeof(StAttInfo))]
[AttEntityAvailable(typeof(SlVO))]
public decimal stockprev { get; set; }

Property Value

decimal

Remarks

This field does not physically exist in the database.

ststamp

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

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

Property Value

string

Remarks

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

Length 25.

subcategory

Define a categoria do produto para o inventário

[AttLenght(2)]
[AttFieldType(InputType = AttFieldType.InputTypes.integer)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_MZ })]
[AttProducts(new Products[] { Products.Accounting })]
public STSubCategory subcategory { get; set; }

Property Value

STSubCategory

subcategoryLabel

SubcategoryLabel

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

Property Value

string

subcategoryaccounting

Stock sub category for accounting variables

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

Property Value

int

sujirs

Indicates that this article is subject to IRS retention.

public bool sujirs { get; set; }

Property Value

bool

supplyType

[AttLenght(10)]
[AttProducts(new Products[] { Products.Accounting })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_MZ })]
public int supplyType { get; set; }

Property Value

int

supplytypename

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

Property Value

string

supplytypestamp

Connects to SupplyTypeStamp that contains this line.

[AttLenght(25)]
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(SupplyTypeVO), HiddenField = false)]
public string supplytypestamp { get; set; }

Property Value

string

taxaccepted

[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttProducts(new Products[] { Products.Accounting })]
public bool taxaccepted { get; set; }

Property Value

bool

taxaiva

Taxa de IVA.

[AttVirtualField]
[AttLenght(5, 2)]
public decimal taxaiva { get; set; }

Property Value

decimal

Remarks

This field does not physically exist in the database.

taxes

Taxes collection

[AttCollection(typeof(StTaxesVO))]
public List<StTaxesVO> taxes { get; set; }

Property Value

List<StTaxesVO>

Remarks

This field is a collection of type List(Of StTaxesVO).

tipodesc

Discount Type.

[AttLenght(20)]
[AttEntityAvailable(typeof(DfclVO))]
public string tipodesc { get; set; }

Property Value

string

Remarks

Length 20.

uintr

Last entry date.

[AttLenght(1)]
[AttEntityAvailable(typeof(SlVO))]
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttHidden(HiddenParameter = new string[] { "AllowStocks" }, HiddenParameterValue = new object[] { false })]
public DateTime uintr { get; set; }

Property Value

DateTime

Remarks

Non Duplicable Field.

unidade

Unit.

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

Property Value

string

Remarks

Length 4.

usaid

Last exit date.

[AttLenght(1)]
[AttEntityAvailable(typeof(SlVO))]
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttHidden(HiddenParameter = new string[] { "AllowStocks" }, HiddenParameterValue = new object[] { false })]
public DateTime usaid { get; set; }

Property Value

DateTime

Remarks

Non Duplicable Field.

uselot

[AttEntityAvailable(typeof(LotVO))]
[AttHidden(HiddenParameter = new string[] { "allowlot" }, HiddenParameterValue = new object[] { false })]
public bool uselot { get; set; }

Property Value

bool

useserialnumber

[AttEntityAvailable(typeof(MaVO))]
[AttHidden(HiddenParameter = new string[] { "useSerialNumber" }, HiddenParameterValue = new object[] { false })]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public bool useserialnumber { get; set; }

Property Value

bool

useserialnumber2

[AttEntityAvailable(typeof(MaVO))]
[AttHidden(HiddenParameter = new string[] { "useSerialNumber" }, HiddenParameterValue = new object[] { false })]
public bool useserialnumber2 { get; set; }

Property Value

bool

usr1

Brand

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

Property Value

string

Remarks

Length 20.

usr1stamp

Brand

[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string usr1stamp { get; set; }

Property Value

string

Remarks

Length 25.

usr2

Model

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

Property Value

string

Remarks

Length 20.

usr2stamp

Model

[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string usr2stamp { get; set; }

Property Value

string

Remarks

Length 25.

vuni

Volume Unitário

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

Property Value

decimal

Remarks

Length: 14.4

Methods

Getpvbase(decimal, bool)

public decimal Getpvbase(decimal value, bool ivaincl)

Parameters

Nome Tipo Descrição
value decimal
ivaincl bool

Returns

decimal

Getpviva(decimal, bool)

public decimal Getpviva(decimal value, bool ivaincl)

Parameters

Nome Tipo Descrição
value decimal
ivaincl bool

Returns

decimal

Getpvivain(decimal, bool)

public decimal Getpvivain(decimal value, bool ivaincl)

Parameters

Nome Tipo Descrição
value decimal
ivaincl bool

Returns

decimal

Getpvtax(decimal, bool)

public decimal Getpvtax(decimal value, bool ivaincl)

Parameters

Nome Tipo Descrição
value decimal
ivaincl bool

Returns

decimal

Getpvtotal(decimal, bool)

public decimal Getpvtotal(decimal value, bool ivaincl)

Parameters

Nome Tipo Descrição
value decimal
ivaincl bool

Returns

decimal

Explicit Interface Implementations

codmotiseimp

Code for VAT exemption Reason

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

Returns

string

miseimpstamp

StampID for VAT exemption Reason

[AttForeignKey(CanDuplicate = true, ForeignType = typeof(MiseimpVO), HiddenField = false)]
[AttLenght(25)]
[AttFieldType(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

tabiva

VAT table code

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

Returns

int

taxa

VAT table rate

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

Returns

decimal