Class SnVO
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
This is the mainform where the client will store the local of their equipments
[AttTable("sn", 20231007)]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.CanUpdFromSourceBD, TableFlags.TableForJorge })]
[AttTableGama(Gamas.Corporate)]
[AttTableProducts(new Products[] { Products.Equipamentos, Products.STOCKS })]
public class SnVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
- Inheritance
-
SnVO
Properties
ClVO
[AttExternalCollection(typeof(ClVO), new string[] { "cl.no", "clNo", "cl.estab", "estab" })]
public ClVO ClVO { get; }
Property Value
CountryVO
[AttExternalCollection(typeof(CountryVO), new string[] { "paisesstamp", "countryStamp" })]
public CountryVO CountryVO { get; }
Property Value
GetFieldStampName
Use only field name without table name
public override string GetFieldStampName { get; }
Property Value
GetStampValue
public override string GetStampValue { get; }
Property Value
address
Customer Address
[AttLenght(55)]
[AttRGPDrank(RGPDranks.Personal)]
public string address { get; set; }
Property Value
Remarks
Length 55.
address2
Address2
[AttLenght(55)]
[AttRGPDrank(RGPDranks.Personal)]
public string address2 { get; set; }
Property Value
Remarks
Length 55.
clName
Customer name.
[AttLenght(100)]
[AttRGPDrank(RGPDranks.Personal)]
[AttMandatory]
[AttLogInfo(1)]
[AttList]
public string clName { get; set; }
Property Value
Remarks
Length 55.
Field available in the basic search results list.
Searchable field.
Mandatory field.
clName2
[AttVirtualField]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string clName2 { get; set; }
Property Value
clNcont
[AttVirtualField]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string clNcont { get; set; }
Property Value
clNo
Customer Number.
[AttLenght(10)]
[AttMandatory]
[AttLogInfo(2)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttMinValue(0)]
[AttList]
public decimal clNo { get; set; }
Property Value
Remarks
Length 10.
Searchable field.
clstamp
[AttVirtualField]
[AttHidden]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string clstamp { get; set; }
Property Value
countryName
[AttVirtualField]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string countryName { get; set; }
Property Value
countryStamp
Country Stamp country
[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string countryStamp { get; set; }
Property Value
estab
Branch.
[AttLenght(6)]
[AttGama(Gamas.Advanced)]
[AttLogInfo(2)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public int estab { get; set; }
Property Value
Remarks
Searchable field.
local
Localidade
[AttLenght(43)]
[AttRGPDrank(RGPDranks.Personal)]
public string local { get; set; }
Property Value
Remarks
Length 43.
obs
Comments
[AttFieldType(AttFieldType.InputTypes.memo)]
public string obs { get; set; }
Property Value
Remarks
Relevant comments about the customer.
refInt
[AttVirtualField]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string refInt { get; set; }
Property Value
salesPersonName
salesPersonName
[AttLenght(40)]
public string salesPersonName { get; set; }
Property Value
snDate
Date of issue of identification.
[AttFieldType(AttFieldType.InputTypes.date)]
[AttList]
public DateTime snDate { get; set; }
Property Value
Remarks
Length 1.
snState
State of Equipment
[AttLenght(50)]
[AttList]
public string snState { get; set; }
Property Value
Remarks
Length 50.
snmas
This is the grid lines
[AttCollection(typeof(SnMaVO))]
public List<SnMaVO> snmas { get; set; }
Property Value
snno
The instalation number
[AttMandatory]
[AttLenght(10)]
[AttPrimaryKey]
[AttLogInfo(0)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttMinValue(0)]
[AttList]
public decimal snno { get; set; }
Property Value
snstamp
This field uniquely identifies the record (primary key by default)
[AttLenght(25)]
public string snstamp { get; set; }
Property Value
telephone
Telephone.
[AttLenght(60)]
[AttRGPDrank(RGPDranks.Personal)]
public string telephone { get; set; }
Property Value
Remarks
Length 60.
zipCode
Zip code
[AttLenght(45)]
[AttRGPDrank(RGPDranks.Personal)]
public string zipCode { get; set; }
Property Value
Remarks
Length 45.
Methods
SetStampValue(string)
public override void SetStampValue(string stampID)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
stampID |
string |