Table of Contents

Class SvVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Stock Value

[AttTable("SV", 20230507)]
[AttTableOrderBy("datalc,horalc", "D,D")]
[AttTableGama(Gamas.Advanced)]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.UseInternalRef, TableFlags.TableForJorge, TableFlags.AddOnNotDeployable })]
[AttTableVOInfo(typeof(SvAttInfo))]
public class SvVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
SvVO

Properties

Cm2LabelField

From Cm2.LabelField

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

Property Value

string

Cm2VO

Código de movimento de stock associado a este movimento.

[AttExternalCollection(typeof(Cm2VO), new string[] { "cm2.cm", "cm" })]
public Cm2VO Cm2VO { get; }

Property Value

Cm2VO

Remarks

Data type Cm2VO.

Field not sent to the frontend.

LotVO

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

Property Value

LotVO

StVO

Artigo ou serviço associado a este movimento.

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

Property Value

StVO

Remarks

Data type StVO.

Field not sent to the frontend.

adoc

Document number.

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

Property Value

string

Remarks

Length 50.

Search Field.

Field available in the basic search results list.

armazem

Armazém.

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

Property Value

int

Remarks

Length 5.

cm

Código do Documento.

[AttLenght(6)]
[AttMandatory]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public int cm { get; set; }

Property Value

int

Remarks

Length 6.

cmdesc

Description of the Movement Code.

[AttLenght(20)]
[AttMandatory]
[AttList]
public string cmdesc { get; set; }

Property Value

string

Remarks

Length 20.

Search Field.

Field available in the basic search results list.

codigo

Código de Barras.

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

Property Value

string

Remarks

Length 18.

datalc

Date of the Movement.

[AttMandatory]
[AttLogInfo(2)]
[AttFieldType(AttFieldType.InputTypes.date)]
[AttList]
public DateTime datalc { get; set; }

Property Value

DateTime

Remarks

  • Appears in Quick List.
  • Available in Quick Search.
  • Not Duplicable.
  • Required field.

This field is used in conjunction with the Hour of Movement field to sort the records so as to achieve a chronological identification that allows you to be independent of the actual time that the record was entered into the system.

design

Designation.

[AttLenght(60)]
[AttLogInfo(1)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList]
public string design { get; set; }

Property Value

string

Remarks

Length 60.

Search Field.

Field available in the basic search results list.

entrada

Movement of stock input.

public bool entrada { get; set; }

Property Value

bool

Remarks

Contains the indication if the stock movement code is input, this field is a denormalization of the corresponding field Input

ett

Total.

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

Property Value

decimal

Remarks

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

evaliva

Valor do IVA.

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

Property Value

decimal

Remarks

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

evu

Preço Unitário.

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

Property Value

decimal

Remarks

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

fnstamp

Campo de ligação à linha da compra FnVO.

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

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

frcl

Número da Empresa.

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

Property Value

decimal

Remarks

Length 10.

horalc

Moving Time

[AttLenght(12)]
[AttFieldType(AttFieldType.InputTypes.fullTime)]
[AttMandatory]
[AttLogInfo(3)]
[AttList]
public string horalc { get; set; }

Property Value

string

Remarks

  • Length 8
  • Appears on the Quick List
  • Available in Quick Find
  • Not Duplicable
  • Mandatory Fill

This field accepts the format HH:mm:ss.fff where HH is the hour using a 24 hour clock from 00 to 23, mm is the minutes from 00 to 59, ss is the seconds from 00 to 59 and finally fff are thousandths from 000 to 999

Note that are included in the value of the field the two codes : and . for example if the time is 15 hours 14 minutes 13 seconds and 30 milliseconds the value of this field will be 15:14:13.030

lote

Lot

[AttLenght(40)]
[AttForeignKey(true, typeof(LotVO), HiddenField = false)]
[AttEntityAvailable(typeof(LotVO))]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList(Inactive = true)]
public string lote { get; set; }

Property Value

string

Remarks

ForeignKey to lote

lotrefdate

Expiration date for FEFO

[AttEntityAvailable(typeof(LotVO))]
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(SvAttInfo), new string[] { "[SV].[lottype]" })]
public string lottypename { get; set; }

Property Value

string

movdescription

Moviment Sitation

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

Property Value

string

mudapcp

Movement configured for weighted cost price calculation.

public bool mudapcp { get; set; }

Property Value

bool

Remarks

Contains the indication if the stock movement code calculates the weighted cost price, this field is a denormalization of the corresponding field Calculates Weighted Cost Price .

mudapcult

public bool mudapcult { get; set; }

Property Value

bool

nome

Nome.

[AttLenght(55)]
public string nome { get; set; }

Property Value

string

Remarks

Length 55.

origem

Origem do movimento.

[AttLenght(20)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string origem { get; set; }

Property Value

string

Remarks

Length 2.

origemLabelField

Origem Label Field

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

Property Value

string

qtt

Quantidade.

[AttLenght(14, 4)]
[AttFieldType(AttFieldType.InputTypes.quantity, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttMinValue(0)]
[AttList]
public decimal qtt { 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.

qttEntrada

[AttVirtualField]
[AttLenght(14, 4)]
public decimal qttEntrada { get; set; }

Property Value

decimal

qttSaida

[AttVirtualField]
[AttLenght(14, 4)]
public decimal qttSaida { get; set; }

Property Value

decimal

ref

Article Reference.

[AttLenght(18)]
[AttMandatory]
[AttLogInfo(0)]
[AttIndex(new string[] { "ref", "armazem", "lote", "datalc", "horalc", "entrada" }, new OrderTypes[] { OrderTypes.Ascending, OrderTypes.Ascending, OrderTypes.Ascending, OrderTypes.Descending, OrderTypes.Descending, OrderTypes.Descending }, new string[] { "svstamp", "design", "stns" })]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList]
public string @ref { get; set; }

Property Value

string

Remarks

Length 18.

Search Field.

Field available in the basic search results list.

refInt

Referência interna

Contains the value of the user's internal reference that created the record.

[AttLenght(50)]
[AttEntityAvailable(typeof(RefInternaVO))]
[AttList(Inactive = true)]
public string refInt { get; set; }

Property Value

string

Remarks

Length 50 .

refuselot

Property to know if the ref use lot

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

Property Value

bool

Remarks

It is a Logical type property.

stns

Indica se a referência é um serviço.

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

Property Value

bool

svstamp

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

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

Property Value

string

Remarks

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

Length 25.

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.