Table of Contents

Class FnMaVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Fn Serial Number

[AttTable("FnMa", 20210820)]
[AttTableGama(Gamas.Corporate)]
[AttTableOrderBy("lordem")]
[AttTableProducts(new Products[] { Products.Equipamentos })]
public class FnMaVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IGenericVO, IParent<FoVO>, IParent
Inheritance
FnMaVO

Properties

FnVO

[AttExternalCollection(typeof(FnVO), new string[] { "[Fn].[fnstamp]", "[fnma].[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

MaVO

[AttExternalCollection(typeof(MaVO), new string[] { "[ma].[ref]", "[fnma].[ref]", "[ma].[serialnumber]", "[fnma].[serialnumber]" })]
public MaVO MaVO { get; }

Property Value

MaVO

StVO

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

Property Value

StVO

fnmastamp

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

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

Property Value

string

Remarks

Length 25.

fnstamp

FN reference.

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

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

fostamp

FO reference.

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

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

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.

ref

Referencia do Artigo ou Serviço.

[AttMandatory]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string @ref { get; set; }

Property Value

string

Remarks

Length 18.

serialnumber

serialnumber

[AttLenght(50)]
[AttMandatory]
public string serialnumber { get; set; }

Property Value

string

serialnumber2

serialnumber2

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

Property Value

string

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