Class TsrdVO
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
Customer Advance Receipt Configuration
[AttTable("Tsrd", 20240702, AttTable.MaintenanceOrders.TsRd)]
[AttTableGama(Gamas.Advanced)]
[AttTableProducts(new Products[] { Products.VENDAS })]
[AttTableOrderBy("ndoc", OrderTypes.Ascending)]
[AttTableVOInfo(typeof(TsrdAttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.RequiresAdminAccess, TableFlags.TableForJorge })]
[AttTableMaintenance(typeof(TsrdMaintenance))]
public class TsrdVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
- Inheritance
-
TsrdVO
Properties
Atcuds
[AttVirtualField]
public List<AtcudVO> Atcuds { get; set; }
Property Value
BlVO
[AttExternalCollection(typeof(BlVO), new string[] { "bl.noconta", "contado" })]
public BlVO BlVO { get; }
Property Value
Cm1LabelField
From Cm1.LabelField
[AttVirtualField]
[AttHidden]
public string Cm1LabelField { get; set; }
Property Value
Cm1VO
[AttExternalCollection(typeof(Cm1VO))]
public Cm1VO Cm1VO { get; }
Property Value
OcVO
[AttExternalCollection(typeof(OcVO), new string[] { "oc.olcodigo", "olcodigo" })]
public OcVO OcVO { get; }
Property Value
TdVO
[AttExternalCollection(typeof(TdVO))]
public TdVO TdVO { get; }
Property Value
anexodocuments
Issues in Account P/R
[AttProducts(new Products[] { Products.Documents })]
public bool anexodocuments { get; set; }
Property Value
Remarks
Allows the movement of the document be issued in Account P/R.
autonc
Série de Faturação para emissão automática de Nota de Crédito
[AttLenght(3)]
public int autonc { get; set; }
Property Value
autonmnc
Série de Faturação para emissão automática de Nota de Crédito
[AttLenght(30)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string autonmnc { get; set; }
Property Value
blLabelField
From BlVO.labelField
[AttVirtualField]
[AttHidden]
public string blLabelField { get; set; }
Property Value
cfintCode
Accounting integration config code
[AttLenght(25)]
[AttProducts(new Products[] { Products.Accounting })]
public string cfintCode { get; set; }
Property Value
cfintLabel
[AttVirtualField]
public string cfintLabel { get; set; }
Property Value
cmcc
[AttLenght(5)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttMandatory]
public int cmcc { get; set; }
Property Value
cmccn
[AttLenght(20)]
[AttMandatory]
public string cmccn { get; set; }
Property Value
contado
Número interno da conta bancária
[AttLenght(4)]
public int contado { get; set; }
Property Value
Remarks
Length 4.
disableIntegration
[AttProducts(new Products[] { Products.Accounting })]
public bool disableIntegration { get; set; }
Property Value
docimport
Import series
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO })]
public bool docimport { get; set; }
Property Value
dupliSourceId
Obsolete after S#203607
[AttLenght(25)]
[AttHidden]
public string dupliSourceId { 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(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string gruaxstamp { get; set; }
Property Value
inactivo
Indica se a série de recibos está inactiva.
[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttList]
public bool inactivo { 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
ndoc
[AttPrimaryKey]
[AttLenght(3)]
[AttLogInfo(0)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttList]
public int ndoc { get; set; }
Property Value
nmdoc
[AttLenght(20)]
[AttMandatory]
[AttIndex(true)]
[AttLogInfo(1)]
[AttLabelField(new string[] { })]
[AttList]
public string nmdoc { get; set; }
Property Value
ocLabelField
From OcVO.LabelField
[AttVirtualField]
[AttHidden]
public string ocLabelField { get; set; }
Property Value
olcodigo
Código de tesouraria
[AttLenght(12)]
public string olcodigo { get; set; }
Property Value
Remarks
Length 12.
Mandatory field.
oldoc
[AttLenght(40)]
public string oldoc { get; set; }
Property Value
ollocal
Conta de tesouraria
[AttLenght(50)]
public string ollocal { get; set; }
Property Value
Remarks
Length 50.
Mandatory field.
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(TsrdAttInfo), new string[] { "[Tsrd].[signatureTypeDoc]" })]
public string signatureTypeDocName { get; set; }
Property Value
storageplace
Attachment type.
[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.integer, 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(TsrdAttInfo), new string[] { "[Tsrd].[storageplace]" })]
public string storageplacename { get; set; }
Property Value
tabaxVO
[AttExternalCollection(typeof(TabaxVO))]
public TabaxVO tabaxVO { get; }
Property Value
tiposaft
Tipo SAF-T
[AttLenght(2)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_AO, languages.pt_MZ })]
[AttMandatory]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string tiposaft { get; set; }
Property Value
Remarks
Length 2.
tsrdstamp
[AttLenght(25)]
public string tsrdstamp { get; set; }
Property Value
uniqueid
[AttVirtualField(typeof(TsrdAttInfo))]
[AttLenght(5)]
public string uniqueid { get; set; }
Property Value
Methods
GetTipoSaft()
public override string GetTipoSaft()