Cargando...
Buscando...
Nada coincide
Referencia de la clase sage.addons.factucert.Negocio.Clases.CertificationAdapterTbai

Adapter para el componente TBAI. Más...

Diagrama de herencia de sage.addons.factucert.Negocio.Clases.CertificationAdapterTbai
sage.addons.factucert.Negocio.Clases.CertificationAdapter sage.addons.factucert.Negocio.Interficies.ICertificationManager

Estructuras de datos

class  MensajeErrorRespuesta
 Clase auxiliar para manipular el mensaje de respuesta del componente de TBAI.
 

Métodos públicos

 CertificationAdapterTbai ()
 Constructor.
 
bool GenerarXmlFirmado (List< ewDocVentaTPV > listaDatosAlbaranes, AsientosFacturasVentaGenerador datosFactura, ref Certification_XML_Parameters XML_generator_parameters)
 Adapted call for interfacing with Sage50 for generating XML Ticket Bai files.
 
bool GenerarXmlFirmadoEvento (ParamGenerarXmlFirmarEvento toParametros)
 Genera un XML firmado evento parámetros recibidos(Por ahora sin funcionalidad )
 
bool GenerarXmlAnulacionFirmado (ref Certification_Annulment_XML_Parameters annulmentParameters)
 Genera un XML firmado para la operación de anulación.
 
bool LaunchCertifyUnitTest ()
 For Unit Testing.
 
string GetXMLFileNameForInvoiceOrTicket (string numDoc, DateTime fechaDoc)
 Devuelve el nombre del fichero de la factura o ticket certificada.
 
string GetXMLFileNameForAnnullment (string numDoc, DateTime fechaDoc)
 Devuelve el nombre de la de fichero para operación de anulación.
 
void Dispose ()
 Part of the IDisposable pattern.
 
bool ExecuteMassiveSend (bool useAsyncWorker=true)
 Public entry point for starting the send process of all pending TBai invoices/tickets

Parámetros
useAsyncWorkerPerform the upload process as a background task. On Release this should always be true, false only for debugging purposes
Devuelve
A boolean indicating that the process was started successfully. A false means that other async process is already running in the background, and the current call will be ignored.

 
bool ExecuteCustomSend (IEnumerable< EnvioPendiente > documentosRequeridos, Envios oEnvios, bool useAsyncWorker=true)
 Ejecuta un envio personalizado.
 
bool RequestMassiveSendAbortAndWait ()
 Sync method for stopping the Async TBai document sending thread.
 
bool IsMassiveSendAsyncProcessRunning ()
 For checking if the Process is Running.
 
bool IsMassiveSendAsyncProcessRunning (out int queueLenght, out int itemsCompleted)
 For checking if the Process is Running, plus returning queue lenght and items completed values.
 
bool IsMassiveSendAsyncProcessRunning (out int queueLenght, out int itemsCompleted, out List< string > listaFacturasSesionPendientes)
 For checking if the Process is Running, plus returning queue lenght and items completed values, plus a list of Invoices generated this session and pending.
 
bool LaunchSendUnitTest_Alava ()
 For Unit Testing.
 
bool LaunchSendUnitTest_Vizcaya ()
 For Unit Testing.
 
bool LaunchSendUnitTest_Gipuzkoa ()
 For Unit Testing.
 

Atributos públicos estáticos

const string _mascaraParaTicketBAI = "0.00"
 Mask for formatting strings to TBAI xml document. It is fixed in the TBAI definition document and XML schema, so we ignore Sage50 internal masks.
 
const string _mascara8decimales = "0.00000000"
 Mask for 8 digits in decimal place formating.
 

Métodos protegidos

override bool ValidarTerritorio (string territorio)
 Metodo de validación de código de Sage50 para territorio.
 
override bool ValidarTerritorio (int territorio50)
 Metodo de validación de código de Sage50 para territorio.
 
override void DisposeAsyncProcess ()
 Libera el proceso asíncrono.
 
virtual void Dispose (bool disposing)
 Part of the IDisposable pattern.
 
- Métodos protegidos heredados de sage.addons.factucert.Negocio.Clases.CertificationAdapter
 CertificationAdapter (string mascaraCertificacion)
 
void LanzarEvento_Finalizacion (List< string > completados, List< string > correctos, List< string > fallidos, List< string > pendientes, List< string > rechazados, bool canceled=false)
 Lanza un evento con el resultado de la ejecución.
 
void LanzarEvento_ServicioNoDisponible (string mensaje, TipoMensaje severidad)
 Lanza un evento de notificación de servicio no disponible.
 
void LanzarEvento_Progreso (int totalElementos, int elementoActual)
 Calcula y lanza un evento de progreso.
 
void LanzarEvento_BeforeEnvioElemento (ref bool llOk)
 Lanza un evento de inicio de proceso de un nuevo elemento.
 
void WorkerEnvios_RunWorkerCompleted (object sender, RunWorkerCompletedEventArgs e)
 
bool ValidarTerritorio (string territorio50)
 Metodo de validación de código de Sage50 para territorio.
 
bool ValidarTerritorio (int territorio50)
 Metodo de validación de código de Sage50 para territorio.
 
void DisposeAsyncProcess ()
 Libera el proceso asíncrono.
 
string GetTerritorioEnvio (bool usarValorComponente200, string tcEmpresa="")
 Get province code.
 
SoftwareFacturacionDTO ObtenerDatosSoftwareFacturacion (string tcEmpresa="")
 Método auxiliar para obtener los datos del software de facturación. Recupera eventuales sobreescrituras desde COMUNES.VARIABLES.
 
string ConvertirTerritorioDe50AComponente (int territorio50)
 Get the different codes for the Province mapped from Sage50 Values to TBai Component values.
 
string GetSigPolicyId_Description (string territorio)
 
string GetSigPolicyId_Identifier (string territorio)
 
string GetSigPolicyHash_DigestValue (string territorio)
 
string GetEntorno (string tcEmpresa="")
 Obtiene el entorno en el que se esta ejecutando (PRE o PRO)
 
bool TerritorioSoportaEnvioOnline ()
 Check if the current Territory Suppors Online sending

Devuelve
True if online sending is allowed

 
string TratarImporte (AsientosFacturasVentaGenerador datosFactura, decimal importe, string mascara)
 
decimal ToMonedaEmpresa (AsientosFacturasVentaGenerador datosFactura, decimal importe)
 
decimal GetImporteRetencionFiscal (AsientosFacturasVentaGenerador datosFactura)
 Obtiene el importe de la retención fical a partir de los datos de factuara.
 
decimal GetImporteTotalFacturaTickets (ewDocVentaTPV datosTicket)
 
decimal GetCuotaTotalFacturaTickets (ewDocVentaTPV datosTicket)
 
string NormalizarCaracteresNif (string nifCandidato)
 Suprime espacion y caráctetes especiales de un nif candidato.
 
string GetSendURL (string territorio, bool anulacion, DateTime documentDate, int sistemaFacturacionForzado=-1)
 For generating the URL for sending files depending on the Province.
 
string GetQrURL (string territorio, int sistemaFacturacionForzado=-1)
 For generating the URL for the QR Code.
 
void CheckURLList ()
 For Setting up the URL List.
 
void GenerateTrace (string basicInfo, string extendedInfo="")
 Traces for debugging.
 
Enums.TipoRegistroCertif AjustarTipoRegistroParaAnulaciones (bool esAnulacion, Enums.TipoRegistroCertif tipo)
 
string IncorporarPaisAlNif (string codigoPais, string nifCliente)
 Método auxiliar para encapsular los casos especiales a la hora de incorporar el país al nif.
 
virtual void GenerarClaveRegimenEspecialTrascendencia (DataRow toFactura, Certification_XML_Parameters XML_generator_parameters, int _nTerritorio, int lnComuni_c, string lcNif, bool llCritCaja, bool llIvaNoCero, out string ClaveRegimenEspecialOTrascendencia, out string ClaveRegimenEspecialOTrascendenciaAdicional1)
 Method for calculating the IVA/VAT regime of a given Invoice.
 
bool OperacionIVAEuropeo (int tnOperacion)
 Devuelve si es una operación del IVA Europeo.
 
bool ObtenerSiiIva303 (string numFactura, string claveComprobar, string codigoTipoIva="")
 Checker for particular IVA/VAT types within a given invoice.
 
eTipoOperacionEmitidasSII ObtenerTipoOperacionFactura (string numFactura, string tipoIVA)
 Aux method for calculating the IVA/VAT regime of a given Invoice.
 
IEnumerable< DetalleTicketRectificativoDTOObtenerDatosRectificadasMultiplesTickets (string ticket, string letra)
 
IEnumerable< DetalleFacturaRectificativaDTOObtenerDatosRectificadasMultiplesFacturas (string factura)
 
eTipoOperacionEmitidasSII ObtenerTipoOperacionTicket (ewDocVentaTPV datosTicket, string VATCode)
 Aux method for calculating the IVA/VAT regime of a given Ticket.
 
bool ObtenerSiiIva303Ticket (ewDocVentaTPV datosTicket, string claveComprobar)
 Checker for particular IVA/VAT types within a given ticket.
 
string CalcularBaseIvaAplicandoEntregas (AsientosFacturasVentaGenerador.TipoIvaLinea iva, AsientosFacturasVentaGenerador datosFactura, EntregasEnFactura datosEntregas)
 
List< string > CalcularBasesExentasAplicandoEntregas (List< string > basesExentas, AsientosFacturasVentaGenerador datosFactura, EntregasEnFactura datosEntregas)
 Los datos de bases exentas son a libre asignación del usuario pero hay que aplicar de alguna forma una minoración en base a las entregas.
 
bool NifClienteEsEspecialOperaciones (string nifCliente)
 Nif especiales (empiezan por N o por W)
 
decimal _DeTextoADecimal (string tcValorEnTexto)
 Función auxiliar para convertir strings en formato libre a decimal. Si no puede devuelve 0.0.
 
DataRow GetRowCompletoTabla (string tableDatabase, string tableName, string whereClause)
 Helper for retrieving a whole Row of a database table.
 
List< string > GetAllSimpleValuesFromXML (string xmlContent, string tagName)
 Helper method for reading all tags from a XML string for a given field.
 
List< string > GetAllSimpleValuesFromJSON (string jsonContent, string tagName, string mascara)
 Helper method for reading all given tags from a JSON string.
 
bool EsSujeta (eTipoOperacionEmitidasSII tipoOpIva)
 
bool EsNoSujeta (eTipoOperacionEmitidasSII tipoOpIva)
 

Propiedades

override string NombreComponente [get]
 Nombre del componente que encapsula este adapter.
 
bool EnviosForzados = false [get, set]
 Indica si se deben forzar los envios. Especifico de Verifactu para indicar si hay que lidiar con los timers de envio.
 
- Propiedades heredados de sage.addons.factucert.Negocio.Clases.CertificationAdapter
string NombreComponente [get]
 Nombre del componente que encapsulará el adapter derivado.
 
string ErrorMessage = "" [get, protected set]
 Public property for retrieving errors.
 
string GeneratedSignature = "" [get, protected set]
 Public property for retrieving the generated digital signature data.
 
string GeneratedXMLFile = "" [get, protected set]
 Public property for retrieving a generated XML signed file.
 
string GeneratedCode = "" [get, protected set]
 Public property for retrieving a generated Code.
 
string GeneratedQR = "" [get, protected set]
 Public property for retrieving a generated QR Code.
 
static bool UseCertificateFile = false [get, set]
 Use a physical file with certificate data.
 
static string CertificateName = "" [get, set]
 Either the filenme of a physical file with certificate data, or the Certificate name in the Windows Cert Storage.
 
static SecureString CertificatePassword = null [get, set]
 For physical files with certificate data, the password, for Stored Certificates, the thumbprint.
 
static string TerminalCertificateName = null [get, set]
 Selected certificate name from Sage50 Terminal.
 
static string TerminalSerialNumber = null [get, set]
 Sage50 Terminal Serial Number.
 
static HashSet< string > FacturasCreadasEstaSesionSinEnviar [get]
 
- Propiedades heredados de sage.addons.factucert.Negocio.Interficies.ICertificationManager
string ErrorMessage [get]
 Mensaje de error.
 
string GeneratedSignature [get]
 Firma generada.
 
string GeneratedCode [get]
 Código generado.
 
string GeneratedQR [get]
 QR generado.
 
string GeneratedXMLFile [get]
 Fichero generado.
 

Otros miembros heredados

- Métodos protegidos estáticos heredados de sage.addons.factucert.Negocio.Clases.CertificationAdapter
static string ConvertirTerritorioDe200A50 (string territorio200)
 Get the different codes for the Province mapped from TBai Component values Values to Sage50.
 
static void ReadTerminalData (string tcEmpresa="")
 Reading data from the Terminal used for Invoicing.
 
static void ConfigureCertificate (bool useCertificateFile, string certificateName, SecureString certificatePassword=null)
 Configure the Certificate data for signing the file.
 
- Atributos protegidos heredados de sage.addons.factucert.Negocio.Clases.CertificationAdapter
readonly string MonedaEmpresa = Convert.ToString(EW_GLOBAL._GetVariable("wc_moneda"))
 
readonly string _mascaraParaCertificacion = "0.00"
 Mask for formatting strings toxml document. It is fixed in the derived definition document and XML schema, so we ignore Sage50 internal masks.
 
ew.docsven.ewDocVentaFRA loFactura = null
 Member for holding additional Invoice data.
 
- Atributos estáticos protegidos heredados de sage.addons.factucert.Negocio.Clases.CertificationAdapter
static ICertificationDA DataAccess = DependencyInjector.Instance.Retrieve<ICertificationDA>()
 Acceso a datos.
 
static BackgroundWorker _workerEnvios = null
 Background worker for async operations.
 
static int _workerQueueLenght = 0
 Background worker queue lenght.
 
static int _workerQueueCompleted = 0
 Background worker queued items completed count.
 
static bool AbortRequested = false
 Flag for a controlled termination of the Async sending process.
 
static bool _ActiveTraces = false
 
- Eventos heredados de sage.addons.factucert.Negocio.Clases.CertificationAdapter
sage.addons.factucert.Negocio.Interficies.MassiveSendAbort _MassiveSendAbort
 Evento que se produce antes de la ejecución de cada certificación.
 
sage.addons.factucert.Negocio.Interficies.MassiveSendEnded _MassiveSendEnded
 Evento que se produce al concluir la certificación.
 
sage.addons.factucert.Negocio.Interficies.MassiveSendRunWorkerCompleted _MassiveSendRunWorkerCompleted
 Evento delegado que se produce al abacar el proceso asincrono.
 
sage.addons.factucert.Negocio.Interficies.MassiveSendProgress _MassiveSendProgress
 Evento que se produce al incrementar el progreso del proceso.
 
sage.addons.factucert.Negocio.Interficies.CertifiedFileNotFound _CertifiedFileNotFound
 Evento que se produce al no encontrar un fichero certificado para enviar.
 
sage.addons.factucert.Negocio.Interficies.FileRejected _FileRejected
 Evento que se produce al recibir un rechazo.
 
sage.addons.factucert.Negocio.Interficies.ServiceUnavailable _ServiceUnavailable
 Evento que se produce cuando el servicio no esta disponible.
 
- Eventos heredados de sage.addons.factucert.Negocio.Interficies.ICertificationManager
MassiveSendAbort _MassiveSendAbort
 Evento que se produce antes de la ejecución de cada certificación.
 
MassiveSendEnded _MassiveSendEnded
 Evento que se produce al concluir la certificación.
 
MassiveSendRunWorkerCompleted _MassiveSendRunWorkerCompleted
 Evento delegado que se produce al abacar el proceso asincrono.
 
MassiveSendProgress _MassiveSendProgress
 Evento que se produce al incrementar el progreso del proceso.
 
CertifiedFileNotFound _CertifiedFileNotFound
 Evento que se produce al no encontrar un fichero certificado para enviar.
 
FileRejected _FileRejected
 Evento que se produce al recibir un rechazo.
 
ServiceUnavailable _ServiceUnavailable
 Evento que se produce cuando el servicio no esta disponible.
 

Descripción detallada

Adapter para el componente TBAI.

Definición en la línea 27 del archivo CertificationAdapterTbai.cs.

Documentación de constructores y destructores

◆ CertificationAdapterTbai()

sage.addons.factucert.Negocio.Clases.CertificationAdapterTbai.CertificationAdapterTbai ( )
inline

Constructor.

Definición en la línea 84 del archivo CertificationAdapterTbai.cs.

Documentación de funciones miembro

◆ Dispose() [1/2]

void sage.addons.factucert.Negocio.Clases.CertificationAdapterTbai.Dispose ( )
inline

Part of the IDisposable pattern.

Definición en la línea 3871 del archivo CertificationAdapterTbai.cs.

◆ Dispose() [2/2]

virtual void sage.addons.factucert.Negocio.Clases.CertificationAdapterTbai.Dispose ( bool disposing)
inlineprotectedvirtual

Part of the IDisposable pattern.

Parámetros
disposing

Definición en la línea 3855 del archivo CertificationAdapterTbai.cs.

◆ DisposeAsyncProcess()

override void sage.addons.factucert.Negocio.Clases.CertificationAdapterTbai.DisposeAsyncProcess ( )
inlineprotected

Libera el proceso asíncrono.

Definición en la línea 117 del archivo CertificationAdapterTbai.cs.

◆ ExecuteCustomSend()

bool sage.addons.factucert.Negocio.Clases.CertificationAdapterTbai.ExecuteCustomSend ( IEnumerable< EnvioPendiente > documentosRequeridos,
Envios oEnvios,
bool useAsyncWorker = true )
inline

Ejecuta un envio personalizado.

Parámetros
documentosRequeridos
requerimiento
useAsyncWorker
Devuelve

Implementa sage.addons.factucert.Negocio.Interficies.ICertificationManager.

Definición en la línea 3920 del archivo CertificationAdapterTbai.cs.

◆ ExecuteMassiveSend()

bool sage.addons.factucert.Negocio.Clases.CertificationAdapterTbai.ExecuteMassiveSend ( bool useAsyncWorker = true)
inline

Public entry point for starting the send process of all pending TBai invoices/tickets

Parámetros
useAsyncWorkerPerform the upload process as a background task. On Release this should always be true, false only for debugging purposes
Devuelve
A boolean indicating that the process was started successfully. A false means that other async process is already running in the background, and the current call will be ignored.

Implementa sage.addons.factucert.Negocio.Interficies.ICertificationManager.

Definición en la línea 3891 del archivo CertificationAdapterTbai.cs.

◆ GenerarXmlAnulacionFirmado()

bool sage.addons.factucert.Negocio.Clases.CertificationAdapterTbai.GenerarXmlAnulacionFirmado ( ref Certification_Annulment_XML_Parameters annulmentParameters)
inline

Genera un XML firmado para la operación de anulación.

Parámetros
huellaFacturaOriginalHuella de la factura a anular
Devuelve
Success as boolean. Check ErrorMessage for details on error

Implementa sage.addons.factucert.Negocio.Interficies.ICertificationManager.

Definición en la línea 207 del archivo CertificationAdapterTbai.cs.

◆ GenerarXmlFirmado()

bool sage.addons.factucert.Negocio.Clases.CertificationAdapterTbai.GenerarXmlFirmado ( List< ewDocVentaTPV > listaDatosAlbaranes,
AsientosFacturasVentaGenerador datosFactura,
ref Certification_XML_Parameters XML_generator_parameters )
inline

Adapted call for interfacing with Sage50 for generating XML Ticket Bai files.

Parámetros
listaDatosAlbaranesList with delivery orders data included in the Invoice
datosFacturaInvoice data
XML_generator_parametersRequired extra info for the process, including certificate name for the Digital Signature in the Windows Storage, and previous Invoice data
Devuelve
Success as boolean. Check ErrorMessage for details on error

Implementa sage.addons.factucert.Negocio.Interficies.ICertificationManager.

Definición en la línea 136 del archivo CertificationAdapterTbai.cs.

◆ GenerarXmlFirmadoEvento()

bool sage.addons.factucert.Negocio.Clases.CertificationAdapterTbai.GenerarXmlFirmadoEvento ( ParamGenerarXmlFirmarEvento toParametros)
inline

Genera un XML firmado evento parámetros recibidos(Por ahora sin funcionalidad )

Parámetros
toParametros
Devuelve

Implementa sage.addons.factucert.Negocio.Interficies.ICertificationManager.

Definición en la línea 191 del archivo CertificationAdapterTbai.cs.

◆ GetXMLFileNameForAnnullment()

string sage.addons.factucert.Negocio.Clases.CertificationAdapterTbai.GetXMLFileNameForAnnullment ( string numDoc,
DateTime fechaDoc )
inline

Devuelve el nombre de la de fichero para operación de anulación.

Parámetros
numDocNúmero de factura / ticket
fechaDocFecha de factura o de ticket
Devuelve

Implementa sage.addons.factucert.Negocio.Interficies.ICertificationManager.

Definición en la línea 3810 del archivo CertificationAdapterTbai.cs.

◆ GetXMLFileNameForInvoiceOrTicket()

string sage.addons.factucert.Negocio.Clases.CertificationAdapterTbai.GetXMLFileNameForInvoiceOrTicket ( string numDoc,
DateTime fechaDoc )
inline

Devuelve el nombre del fichero de la factura o ticket certificada.

Parámetros
numDocNúmero de factura / ticket
fechaDocFecha de factura o de ticket
Devuelve

Implementa sage.addons.factucert.Negocio.Interficies.ICertificationManager.

Definición en la línea 285 del archivo CertificationAdapterTbai.cs.

◆ IsMassiveSendAsyncProcessRunning() [1/3]

bool sage.addons.factucert.Negocio.Clases.CertificationAdapterTbai.IsMassiveSendAsyncProcessRunning ( )
inline

For checking if the Process is Running.

Devuelve
A boolean value: true if the async thread is active, false otherwise

Implementa sage.addons.factucert.Negocio.Interficies.ICertificationManager.

Definición en la línea 3951 del archivo CertificationAdapterTbai.cs.

◆ IsMassiveSendAsyncProcessRunning() [2/3]

bool sage.addons.factucert.Negocio.Clases.CertificationAdapterTbai.IsMassiveSendAsyncProcessRunning ( out int queueLenght,
out int itemsCompleted )
inline

For checking if the Process is Running, plus returning queue lenght and items completed values.

Parámetros
queueLenghtNumber of items added to the sending queue (including those already sent on this session)
itemsCompletedNumber of items already sent
Devuelve
A boolean value: true if the async thread is active, false otherwise

Implementa sage.addons.factucert.Negocio.Interficies.ICertificationManager.

Definición en la línea 3962 del archivo CertificationAdapterTbai.cs.

◆ IsMassiveSendAsyncProcessRunning() [3/3]

bool sage.addons.factucert.Negocio.Clases.CertificationAdapterTbai.IsMassiveSendAsyncProcessRunning ( out int queueLenght,
out int itemsCompleted,
out List< string > listaFacturasSesionPendientes )
inline

For checking if the Process is Running, plus returning queue lenght and items completed values, plus a list of Invoices generated this session and pending.

Parámetros
queueLenghtNumber of items added to the sending queue (including those already sent on this session)
itemsCompletedNumber of items already sent
listaFacturasSesionPendientesList of Invoices created this same session but not yet sent
Devuelve
A boolean value: true if the async thread is active, false otherwise

Implementa sage.addons.factucert.Negocio.Interficies.ICertificationManager.

Definición en la línea 3976 del archivo CertificationAdapterTbai.cs.

◆ LaunchCertifyUnitTest()

bool sage.addons.factucert.Negocio.Clases.CertificationAdapterTbai.LaunchCertifyUnitTest ( )
inline

For Unit Testing.

Devuelve
Success as boolean. Check ErrorMessage for details on error

Definición en la línea 258 del archivo CertificationAdapterTbai.cs.

◆ LaunchSendUnitTest_Alava()

bool sage.addons.factucert.Negocio.Clases.CertificationAdapterTbai.LaunchSendUnitTest_Alava ( )
inline

For Unit Testing.

Devuelve
Success as boolean. Check ErrorMessage for details on error

Definición en la línea 4417 del archivo CertificationAdapterTbai.cs.

◆ LaunchSendUnitTest_Gipuzkoa()

bool sage.addons.factucert.Negocio.Clases.CertificationAdapterTbai.LaunchSendUnitTest_Gipuzkoa ( )
inline

For Unit Testing.

Devuelve
Success as boolean. Check ErrorMessage for details on error

Definición en la línea 4433 del archivo CertificationAdapterTbai.cs.

◆ LaunchSendUnitTest_Vizcaya()

bool sage.addons.factucert.Negocio.Clases.CertificationAdapterTbai.LaunchSendUnitTest_Vizcaya ( )
inline

For Unit Testing.

Devuelve
Success as boolean. Check ErrorMessage for details on error

Definición en la línea 4425 del archivo CertificationAdapterTbai.cs.

◆ RequestMassiveSendAbortAndWait()

bool sage.addons.factucert.Negocio.Clases.CertificationAdapterTbai.RequestMassiveSendAbortAndWait ( )
inline

Sync method for stopping the Async TBai document sending thread.

Devuelve
False if no async thread is found, true once the thread has been aborted

Implementa sage.addons.factucert.Negocio.Interficies.ICertificationManager.

Definición en la línea 3930 del archivo CertificationAdapterTbai.cs.

◆ ValidarTerritorio() [1/2]

override bool sage.addons.factucert.Negocio.Clases.CertificationAdapterTbai.ValidarTerritorio ( int territorio50)
inlineprotected

Metodo de validación de código de Sage50 para territorio.

Parámetros
territorio50
Devuelve

Definición en la línea 106 del archivo CertificationAdapterTbai.cs.

◆ ValidarTerritorio() [2/2]

override bool sage.addons.factucert.Negocio.Clases.CertificationAdapterTbai.ValidarTerritorio ( string territorio)
inlineprotected

Metodo de validación de código de Sage50 para territorio.

Parámetros
territorio50
Devuelve

Definición en la línea 93 del archivo CertificationAdapterTbai.cs.

Documentación de campos

◆ _mascara8decimales

const string sage.addons.factucert.Negocio.Clases.CertificationAdapterTbai._mascara8decimales = "0.00000000"
static

Mask for 8 digits in decimal place formating.

Definición en la línea 67 del archivo CertificationAdapterTbai.cs.

◆ _mascaraParaTicketBAI

const string sage.addons.factucert.Negocio.Clases.CertificationAdapterTbai._mascaraParaTicketBAI = "0.00"
static

Mask for formatting strings to TBAI xml document. It is fixed in the TBAI definition document and XML schema, so we ignore Sage50 internal masks.

Definición en la línea 62 del archivo CertificationAdapterTbai.cs.

Documentación de propiedades

◆ EnviosForzados

bool sage.addons.factucert.Negocio.Clases.CertificationAdapterTbai.EnviosForzados = false
getset

Indica si se deben forzar los envios. Especifico de Verifactu para indicar si hay que lidiar con los timers de envio.

Implementa sage.addons.factucert.Negocio.Interficies.ICertificationManager.

Definición en la línea 74 del archivo CertificationAdapterTbai.cs.

◆ NombreComponente

override string sage.addons.factucert.Negocio.Clases.CertificationAdapterTbai.NombreComponente
getprotected

Nombre del componente que encapsula este adapter.

Definición en la línea 41 del archivo CertificationAdapterTbai.cs.


La documentación de esta clase está generada del siguiente archivo: