Class TsVO
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
Internal Document Series Configuration
[AttTable("Ts", 20240505)]
[AttTableVOInfo(typeof(TsAttInfo))]
[AttTableGama(Gamas.Corporate)]
[AttTableProducts(new Products[] { Products.VENDAS, Products.COMPRAS })]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.RequiresAdminAccess, TableFlags.TableForJorge, TableFlags.UseImagePicker })]
[AttTableOrderBy(OrderFields = "[Ts].[inactivo],[Ts].[nmdos],[Ts].[ndos]", COrderType = "A,A,D")]
[AttTableMaintenance(typeof(TsMaintenance))]
public class TsVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
- Inheritance
-
TsVO
Properties
Atcuds
[AttVirtualField]
public List<AtcudVO> Atcuds { get; set; }
Property Value
Cm2TrfaVO
[AttExternalCollection(typeof(Cm2VO), new string[] { "[CM2].[cm]", "[Ts].[cm2stocks]" })]
public Cm2VO Cm2TrfaVO { get; }
Property Value
Cm2VO
[AttExternalCollection(typeof(Cm2VO), new string[] { "[CM2].[cm]", "[Ts].[cmstocks]" })]
public Cm2VO Cm2VO { get; }
Property Value
GruaxVO
[AttExternalCollection(typeof(GruaxVO), new string[] { "[Gruax].[gruaxstamp]", "[Ts].[gruaxstamp]" })]
public GruaxVO GruaxVO { get; }
Property Value
SzVO
[AttExternalCollection(typeof(SzVO), new string[] { "[Sz].[szstamp]", "[Ts].[szstamp]" })]
public SzVO SzVO { get; }
Property Value
anexodocuments
Issues in Account P/R
[AttProducts(new Products[] { Products.Documents })]
public bool anexodocuments { get; set; }
Property Value
armazem
Default Warehouse
[AttLenght(5)]
[AttEntityAvailable(typeof(SaVO))]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttMinValue(0)]
[AttMaxValue(99999)]
[AttHidden(HiddenParameter = new string[] { "AllowStocks" }, HiddenParameterValue = new object[] { false })]
public int armazem { get; set; }
Property Value
assinaboano
Dossier signature year
[AttLenght(4)]
[AttHidden]
public int assinaboano { get; set; }
Property Value
assinaimp
Sign when printing
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO, languages.pt_MZ })]
public bool assinaimp { get; set; }
Property Value
assinaobrano
Number of the last Dossier of this series.
[AttLenght(10)]
[AttHidden]
public decimal assinaobrano { get; set; }
Property Value
bdempresas
Identifies the type of Internal Dossier Entity.
[AttLenght(20)]
[AttMandatory]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string bdempresas { get; set; }
Property Value
boavst
Negative stock warning.
[AttEntityAvailable(typeof(SlVO))]
[AttHidden(HiddenParameter = new string[] { "AllowStocks" }, HiddenParameterValue = new object[] { false })]
public bool boavst { get; set; }
Property Value
cae
CAE (Economic activity code) of the company
[AttLenght(5)]
[AttFieldType(AttFieldType.InputTypes.string)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public string cae { get; set; }
Property Value
changepcp
Changes the Weighted Cost Price.
public bool changepcp { get; set; }
Property Value
closeOnCopy
Closes the dossier automatically when fully supplied.
[AttGama(Gamas.Corporate)]
public bool closeOnCopy { get; set; }
Property Value
Remarks
When the dossier is used in copies for other dossiers or other documents and in this copy action, the option to update quantity 2 of the dossier is used, if this update causes quantity 2 to be equal to the quantity (qtt2 = qtt) The dossier is automatically closed by the application because it is fully supplied.
cm2desc
Stock transaction code 2 description
[AttLenght(20)]
[AttEntityAvailable(typeof(SaVO))]
public string cm2desc { get; set; }
Property Value
cm2stocks
Stock transaction code 2
[AttLenght(6)]
[AttEntityAvailable(typeof(SaVO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttHidden(HiddenParameter = new string[] { "AllowStocks" }, HiddenParameterValue = new object[] { false })]
public int cm2stocks { get; set; }
Property Value
cmdesc
Stock transaction code 1 description
[AttLenght(20)]
[AttEntityAvailable(typeof(SlVO))]
public string cmdesc { get; set; }
Property Value
cmstocks
Stock transaction code 1
[AttLenght(6)]
[AttEntityAvailable(typeof(SlVO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttHidden(HiddenParameter = new string[] { "AllowStocks" }, HiddenParameterValue = new object[] { false })]
public int cmstocks { get; set; }
Property Value
cod1StLabel
Stock transaction code 1 title
[AttVirtualField]
public string cod1StLabel { get; set; }
Property Value
cod2StLabel
Stock transaction code 2 title
[AttVirtualField]
public string cod2StLabel { get; set; }
Property Value
composto
Uses Compounds
[AttEntityAvailable(typeof(ScVO))]
[AttHidden(HiddenParameter = new string[] { "c_composto" }, HiddenParameterValue = new object[] { false })]
public bool composto { get; set; }
Property Value
cost
If dossier enters the company costs
[AttGama(Gamas.Advanced)]
public bool cost { get; set; }
Property Value
costPriceType
Type of cost price
[AttLenght(1)]
public CostPriceTypes costPriceType { get; set; }
Property Value
costPriceTypename
Name of Type of cost price
[AttLenght(50)]
[AttLocale(typeof(TsAttInfo), new string[] { "[Ts].[costPriceType]" })]
public string costPriceTypename { get; set; }
Property Value
docimport
Import series
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO, languages.pt_MZ })]
public bool docimport { get; set; }
Property Value
draftSerie
Allows drafts
public bool draftSerie { get; set; }
Property Value
dupliSourceId
Obsolete after S#203607
[AttLenght(25)]
[AttHidden]
public string dupliSourceId { get; set; }
Property Value
dyntransportdir
[AttVirtualField]
public TransportDirectionEnum dyntransportdir { get; set; }
Property Value
editaobrano
Allows to change the Document Number
public bool editaobrano { get; set; }
Property Value
evend
Use seller
[AttEntityAvailable(typeof(Cm3VO))]
public bool evend { get; set; }
Property Value
gruaxname
[AttEntityAvailable(typeof(GruaxVO))]
[AttLenght(25)]
public string gruaxname { get; set; }
Property Value
gruaxstamp
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(GruaxVO), HiddenField = false)]
[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string gruaxstamp { get; set; }
Property Value
imagem
Imagem associada a este fornecedor.
[AttExternalCollection(typeof(ImageInfoVO))]
public ImageInfoVO imagem { get; }
Property Value
Remarks
Data type ImageInfoVO.
imagestamp
[AttLenght(25)]
[AttForeignKey(typeof(ImageInfoVO), HiddenField = false)]
[AttRGPDrank(RGPDranks.Personal)]
[AttFieldType(AttFieldType.InputTypes.image)]
public string imagestamp { get; set; }
Property Value
inactivo
Inactive ?
[AttList]
public bool inactivo { get; set; }
Property Value
isSaftDoc
[AttVirtualField]
[AttHidden]
public bool isSaftDoc { get; set; }
Property Value
isToDigitallySign
Is to Digitally sign
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttProducts(new Products[] { Products.UBLESPAP2_1 })]
public bool isToDigitallySign { get; set; }
Property Value
isToUseMeasurements
Field to know if the TS is to use Measurements whem we will create BO
[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttGama(Gamas.Advanced)]
public bool isToUseMeasurements { get; set; }
Property Value
isToUsePromotions
Field to know if the TS is to use promotions whem we will create BO, this field is only available if bdempresas is CL
[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttGama(Gamas.Advanced)]
public bool isToUsePromotions { get; set; }
Property Value
isToUseQttrec
Field to know if this document will create SaVO for quantity received, but not enter in stock yet
[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttGama(Gamas.Advanced)]
public bool isToUseQttrec { get; set; }
Property Value
issuerdpd
If dossier allows to create RD or PD
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool issuerdpd { get; set; }
Property Value
keepComponentOnPrint
Prints components
[AttEntityAvailable(typeof(ScVO))]
[AttHidden(HiddenParameter = new string[] { "c_composto" }, HiddenParameterValue = new object[] { false })]
public bool keepComponentOnPrint { get; set; }
Property Value
keepCompoundOnCopy
Respects original compound in the copy
[AttEntityAvailable(typeof(ScVO))]
[AttHidden(HiddenParameter = new string[] { "c_composto" }, HiddenParameterValue = new object[] { false })]
public bool keepCompoundOnCopy { get; set; }
Property Value
ldata
Date title
[AttLenght(10)]
public string ldata { get; set; }
Property Value
litem
Item first column title
[AttLenght(10)]
public string litem { get; set; }
Property Value
litem2
Item second column title
[AttLenght(10)]
public string litem2 { get; set; }
Property Value
logi1
Logical field 1 title
[AttLenght(15)]
public string logi1 { get; set; }
Property Value
logi2
Logical field 2 title
[AttLenght(15)]
public string logi2 { get; set; }
Property Value
logi3
Logical field 3 title
[AttLenght(15)]
public string logi3 { get; set; }
Property Value
manternumero
Keep the sequence of the document number after year change
public bool manternumero { get; set; }
Property Value
naoencomenda
Controls whether the customer has on his form the option of not issuing internal files, active
[AttGama(Gamas.Advanced)]
public bool naoencomenda { get; set; }
Property Value
ndescs
Discounts number
[AttLenght(1)]
[AttMinValue(0)]
[AttMaxValue(3)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public int ndescs { get; set; }
Property Value
ndos
Document number
[AttLenght(3)]
[AttPrimaryKey]
[AttLogInfo(0)]
[AttList]
[AttMinValue(0)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public int ndos { get; set; }
Property Value
nmdatafim
End date title
[AttLenght(16)]
public string nmdatafim { get; set; }
Property Value
nmdesc
Main description
[AttLenght(12)]
public string nmdesc { get; set; }
Property Value
nmdos
Document name
[AttLenght(40)]
[AttMandatory]
[AttLogInfo(1)]
[AttLabelField(new string[] { })]
[AttList]
public string nmdos { get; set; }
Property Value
nmdtopen
Start date title
[AttLenght(16)]
public string nmdtopen { get; set; }
Property Value
originaldoc
Original external Serie
[AttLenght(20)]
public string originaldoc { get; set; }
Property Value
preco
Price to use in documents
[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public SalePriceEnum preco { get; set; }
Property Value
preco2
Real price title
[AttLenght(12)]
public string preco2 { get; set; }
Property Value
preconame
Name of price to use in documents
[AttLenght(50)]
[AttLocale(typeof(TsAttInfo), new string[] { "[Ts].[preco]" })]
public string preconame { get; set; }
Property Value
qtt1
Real quantity title
[AttLenght(14)]
public string qtt1 { get; set; }
Property Value
qtt2
Estimated quantity title
[AttLenght(14)]
public string qtt2 { get; set; }
Property Value
reabrebo
It reopens the internal dossier
public bool reabrebo { get; set; }
Property Value
rentabilidade
Show profitability
public bool rentabilidade { get; set; }
Property Value
rescli
Moves customer reserves in stocks
[AttGama(Gamas.Corporate)]
[AttEntityAvailable(typeof(StVO))]
[AttEntityAvailable(typeof(ClVO))]
[AttHidden(HiddenParameter = new string[] { "AllowStocks" }, HiddenParameterValue = new object[] { false })]
public bool rescli { get; set; }
Property Value
resfor
Moves stockholders' stocks into stocks
[AttGama(Gamas.Corporate)]
[AttEntityAvailable(typeof(StVO))]
[AttEntityAvailable(typeof(FlVO))]
[AttHidden(HiddenParameter = new string[] { "AllowStocks" }, HiddenParameterValue = new object[] { false })]
public bool resfor { get; set; }
Property Value
revenue
If dossier enters the company revenue
[AttGama(Gamas.Advanced)]
public bool revenue { get; set; }
Property Value
shouldCalculateVAT
[AttVirtualField]
[AttHidden]
public bool shouldCalculateVAT { get; set; }
Property Value
showPackageInfo
Mostra os campos referentes a pesos e volumes
[AttGama(Gamas.Advanced)]
public bool showPackageInfo { get; set; }
Property Value
signatureTypeDoc
Field to store what kind of signatura want to sign the document (PHC Certificate or AMA GOV APP)
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttProducts(new Products[] { Products.UBLESPAP2_1 })]
public SignatureTypeDoc signatureTypeDoc { get; set; }
Property Value
signatureTypeDocName
Name of signature type.
[AttLenght(50)]
[AttLocale(typeof(TsAttInfo), new string[] { "[Ts].[signatureTypeDoc]" })]
public string signatureTypeDocName { get; set; }
Property Value
stnsWithTablePrice
Fill the cost price of the services with the table price.
public bool stnsWithTablePrice { get; set; }
Property Value
stocks
Use stocks transactions
[AttEntityAvailable(typeof(SlVO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttHidden(HiddenParameter = new string[] { "AllowStocks" }, HiddenParameterValue = new object[] { false })]
public bool stocks { get; set; }
Property Value
storageplace
Attachment type.
[AttLenght(1)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttProducts(new Products[] { Products.Documents })]
public StoragePlace storageplace { get; set; }
Property Value
storageplacename
Name of attachment type.
[AttLenght(50)]
[AttLocale(typeof(TsAttInfo), new string[] { "[Ts].[storageplace]" })]
public string storageplacename { get; set; }
Property Value
szLabelField
Nome Armazem
[AttVirtualField]
[AttEntityAvailable(typeof(SaVO))]
public string szLabelField { get; set; }
Property Value
szname
Default loading location
[AttVirtualField]
[AttEntityAvailable(typeof(SzVO))]
public string szname { get; set; }
Property Value
szstamp
Link to the warehouse name table
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(SzVO), HiddenField = false)]
[AttLenght(25)]
[AttEntityAvailable(typeof(SzVO))]
public string szstamp { get; set; }
Property Value
tabaxVO
[AttExternalCollection(typeof(TabaxVO))]
public TabaxVO tabaxVO { get; }
Property Value
tabela1
Table field 1 title
[AttLenght(20)]
public string tabela1 { get; set; }
Property Value
texto1
Final text field title
[AttLenght(25)]
public string texto1 { get; set; }
Property Value
texto2
Final text field 2 title
[AttLenght(25)]
public string texto2 { get; set; }
Property Value
texto3
Final text field 3 title
[AttLenght(25)]
public string texto3 { get; set; }
Property Value
tipoEntidade
[AttVirtualField]
[AttHidden]
public string tipoEntidade { get; }
Property Value
tiposaft
Type SAF-T
[AttLenght(2)]
[AttMandatory]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string tiposaft { get; set; }
Property Value
tmarca
Alphanumeric field 2 title
[AttLenght(15)]
public string tmarca { get; set; }
Property Value
tmodelo
Alphanumeric field 1 title
[AttLenght(15)]
public string tmodelo { get; set; }
Property Value
transportDirection
public TransportDirectionEnum transportDirection { get; set; }
Property Value
trfa
Transfer between warehouses
[AttEntityAvailable(typeof(SaVO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttHidden(HiddenParameter = new string[] { "AllowStocks" }, HiddenParameterValue = new object[] { false })]
public bool trfa { get; set; }
Property Value
tserie
Alphanumeric field 3 title
[AttLenght(15)]
public string tserie { get; set; }
Property Value
tsstamp
Unique ID
[AttLenght(25)]
public string tsstamp { get; set; }
Property Value
unidade
Uses the unity column
public bool unidade { get; set; }
Property Value
uniqueid
[AttVirtualField(typeof(TsAttInfo))]
[AttLenght(5)]
public string uniqueid { get; set; }
Property Value
usadesctec
Uses technical description
public bool usadesctec { get; set; }
Property Value
usaiva
Calculate VAT
public bool usaiva { get; set; }
Property Value
useserialnumber
Use stocks transactions
[AttEntityAvailable(typeof(MaVO))]
[AttHidden(HiddenParameter = new string[] { "useSerialNumber" }, HiddenParameterValue = new object[] { false })]
public bool useserialnumber { get; set; }
Property Value
usoexclint
Internal use
[AttHidden]
public bool usoexclint { get; set; }
Property Value
Methods
GetSeriesName()
public override string GetSeriesName()
Returns
GetSeriesValue()
public override decimal GetSeriesValue()
Returns
GetTipoSaft()
public override string GetTipoSaft()