Table of Contents

Class ScVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Particular Component of a Composite Article in Articles / Services

[AttTable("SC", 20191104)]
[AttTableOrderBy("lordem")]
[AttTableGama(Gamas.Advanced)]
[AttTableProducts(new Products[] { Products.STOCKS })]
public class ScVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IGenericVO, IParent<StVO>, IParent
Inheritance
ScVO

Properties

StVO

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

Property Value

StVO

design

Designação.

[AttLenght(60)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttGama(Gamas.Advanced)]
public string design { get; set; }

Property Value

string

Remarks

Length 60.

fixo

Indica se o componente tem uma quantidade fixe.

[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttGama(Gamas.Advanced)]
public bool fixo { get; set; }

Property Value

bool

lordem

Indica a ordem da linha no documento.

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

Property Value

decimal

Remarks

Length 10.

Field not available to the user.

obs

Observações.

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

Property Value

string

qtd

Quantidade.

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

Property Value

decimal

Remarks

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

ref

Reference.

[AttLenght(18)]
[AttMandatory]
[AttIndex]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttGama(Gamas.Advanced)]
public string @ref { get; set; }

Property Value

string

Remarks

Primary key.

Length 18.

Required field.

scstamp

Campo único do registo.

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

Property Value

string

Remarks

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

Length 25.

ststamp

Campo de Ligação ao Artigos e Serviços.

[AttForeignKey(typeof(StVO))]
[AttLenght(25)]
[AttIndex]
public string ststamp { get; set; }

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

Explicit Interface Implementations

ParentVO

StVO ParentVO { get; set; }

Returns

StVO