Interface ITTEBSEgar
Namespace: ITTEBS100
Assembly: ITTEBS100.dll
Syntax
public interface ITTEBSEgar
Methods
AceitarGuia(TTEBEDocumentoEgar)
Declaration
bool AceitarGuia(TTEBEDocumentoEgar objCabecEgar)
Parameters
Type | Name | Description |
---|---|---|
TTEBEDocumentoEgar | objCabecEgar |
Returns
Type | Description |
---|---|
System.Boolean |
Actualiza(TTEBEDocumentoEgar)
Actualizas the specified CLS egar.
Declaration
void Actualiza(TTEBEDocumentoEgar clsEgar)
Parameters
Type | Name | Description |
---|---|---|
TTEBEDocumentoEgar | clsEgar | The CLS egar. |
ActualizaValorAtributo(String, String, Object)
Actualizar the valor atributo.
Declaration
void ActualizaValorAtributo(string ID, string Atributo, dynamic Valor)
Parameters
Type | Name | Description |
---|---|---|
System.String | ID | The identifier. |
System.String | Atributo | The atributo. |
System.Object | Valor | The valor. |
ActualizaValorAtributo(String, String, String, Object)
Actualizas the valor atributo por identificacao.
Declaration
void ActualizaValorAtributo(string CodigoVerificacao, string Numero, string Atributo, dynamic Valor)
Parameters
Type | Name | Description |
---|---|---|
System.String | CodigoVerificacao | The codigo verificacao. |
System.String | Numero | The numero. |
System.String | Atributo | The atributo. |
System.Object | Valor | The valor. |
ActualizaValorAtributos(String, StdBECampos)
Actualizas the valor atributos.
Declaration
void ActualizaValorAtributos(string Id, StdBECampos Atributos)
Parameters
Type | Name | Description |
---|---|---|
System.String | Id | The identifier. |
StdBECampos | Atributos | The atributos. |
ActualizaValorAtributos(String, String, StdBECampos)
Actualizas the valor atributos por identificacao.
Declaration
void ActualizaValorAtributos(string CodigoVerificacao, string Numero, StdBECampos Atributos)
Parameters
Type | Name | Description |
---|---|---|
System.String | CodigoVerificacao | The codigo verificacao. |
System.String | Numero | The numero. |
StdBECampos | Atributos | The atributos. |
AnularGuia(TTEBEDocumentoEgar, String)
Anulars the guia.
Declaration
bool AnularGuia(TTEBEDocumentoEgar CabecEgar, string Observacoes)
Parameters
Type | Name | Description |
---|---|---|
TTEBEDocumentoEgar | CabecEgar | The cabec egar. |
System.String | Observacoes | The observacoes. |
Returns
Type | Description |
---|---|
System.Boolean |
AssociarGuia(TTEBEDocumentoEgar, String)
Associars the guia.
Declaration
bool AssociarGuia(TTEBEDocumentoEgar CabecEgar, string GuiaAssociar)
Parameters
Type | Name | Description |
---|---|---|
TTEBEDocumentoEgar | CabecEgar | The object cabec egar. |
System.String | GuiaAssociar | The guia associar. |
Returns
Type | Description |
---|---|
System.Boolean |
AutorizarGuia(TTEBEDocumentoEgar)
Declaration
bool AutorizarGuia(TTEBEDocumentoEgar objCabecEgar)
Parameters
Type | Name | Description |
---|---|---|
TTEBEDocumentoEgar | objCabecEgar |
Returns
Type | Description |
---|---|
System.Boolean |
ConfirmarCorrecaoGuia(TTEBEDocumentoEgar)
Declaration
bool ConfirmarCorrecaoGuia(TTEBEDocumentoEgar objCabecEgar)
Parameters
Type | Name | Description |
---|---|---|
TTEBEDocumentoEgar | objCabecEgar |
Returns
Type | Description |
---|---|
System.Boolean |
ConsultaDadosEstabelecimento(String)
Consulta os dados dos estabelecimentos.
Declaration
IList<TTEBEEgarEstabelecimento> ConsultaDadosEstabelecimento(string nif)
Parameters
Type | Name | Description |
---|---|---|
System.String | nif | Numero de identificação fiscal. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<TTEBEEgarEstabelecimento> |
ConsultaDadosLocaisRecolha(String)
Consulta os dados dos locais de recolha.
Declaration
IList<TTEBEEgarLocalRecolha> ConsultaDadosLocaisRecolha(string nif)
Parameters
Type | Name | Description |
---|---|---|
System.String | nif | Numero de identificação fiscal. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<TTEBEEgarLocalRecolha> |
ConsultaLocaisRecolhaRetoma(String, String, String)
Consultas the locais recolha retoma.
Declaration
dynamic ConsultaLocaisRecolhaRetoma(string strNIF, string strCodigoAPA = "", string strCodigoInterno = "")
Parameters
Type | Name | Description |
---|---|---|
System.String | strNIF | The string nif. |
System.String | strCodigoAPA | The string codigo apa. |
System.String | strCodigoInterno | The string codigo interno. |
Returns
Type | Description |
---|---|
System.Object |
ConsultarGuia(String, String)
Consultars the guia detalhe por numero.
Declaration
dynamic ConsultarGuia(string Numero, string CodigoVerificacao)
Parameters
Type | Name | Description |
---|---|---|
System.String | Numero | The numero. |
System.String | CodigoVerificacao | The codigo verificacao. |
Returns
Type | Description |
---|---|
System.Object |
ConsultarGuia(TTEBEDocumentoEgar)
Consultars the guia.
Declaration
dynamic ConsultarGuia(TTEBEDocumentoEgar objCabecEgar)
Parameters
Type | Name | Description |
---|---|---|
TTEBEDocumentoEgar | objCabecEgar | The object cabec egar. |
Returns
Type | Description |
---|---|
System.Object |
ConsultarGuias(String, DateTime, ref String, String, String, String, Boolean, Int32, Int32)
Consultars the guias ex.
Declaration
dynamic ConsultarGuias(string nifInterveniente, DateTime dtDataEstado, ref string strErros, string strInterveniente = "", string CodApaEstablecimento = "", string CodigoEstado = "", bool blnPendenteAutorizacao = false, int lngNumeroElementos = 10, int lngPaginaPesquisar = 1)
Parameters
Type | Name | Description |
---|---|---|
System.String | nifInterveniente | The nif interveniente. |
System.DateTime | dtDataEstado | The dt data estado. |
System.String | strErros | The string erros. |
System.String | strInterveniente | The string interveniente. |
System.String | CodApaEstablecimento | The cod apa establecimento. |
System.String | CodigoEstado | The codigo estado. |
System.Boolean | blnPendenteAutorizacao | if set to |
System.Int32 | lngNumeroElementos | The LNG numero elementos. |
System.Int32 | lngPaginaPesquisar | The LNG pagina pesquisar. |
Returns
Type | Description |
---|---|
System.Object |
ConsultarGuias(String, String, String, Int32)
Consultar the guias.
Declaration
dynamic ConsultarGuias(string CodApa, string Interveniente, string Estado = "", int Pagina = 0)
Parameters
Type | Name | Description |
---|---|---|
System.String | CodApa | The cod apa. |
System.String | Interveniente | The interveniente. |
System.String | Estado | The estado. |
System.Int32 | Pagina | The pagina. |
Returns
Type | Description |
---|---|
System.Object |
ConsultarGuiasPendentes()
Consultars the guias pendentes.
Declaration
dynamic ConsultarGuiasPendentes()
Returns
Type | Description |
---|---|
System.Object |
ConsultarGuiasPendentesAutorizacao(String, Int32)
Consultar the guias pendentes autorizacao.
Declaration
dynamic ConsultarGuiasPendentesAutorizacao(string CodApa, int Pagina)
Parameters
Type | Name | Description |
---|---|---|
System.String | CodApa | The cod apa. |
System.Int32 | Pagina | The pagina. |
Returns
Type | Description |
---|---|
System.Object |
CorrigirGuia(TTEBEDocumentoEgar)
Declaration
bool CorrigirGuia(TTEBEDocumentoEgar objCabecEgar)
Parameters
Type | Name | Description |
---|---|---|
TTEBEDocumentoEgar | objCabecEgar |
Returns
Type | Description |
---|---|
System.Boolean |
DaListaDocumentosIdGCP(String)
Das the lista documentos identifier GCP.
Declaration
TTEBEDocumentosEgar DaListaDocumentosIdGCP(string IdCabecDoc)
Parameters
Type | Name | Description |
---|---|---|
System.String | IdCabecDoc | The identifier cabec document. |
Returns
Type | Description |
---|---|
TTEBEDocumentosEgar |
DaListaEmitidosConcluidos(String, StdBECampos)
Das the lista emitidos concluidos.
Declaration
StdBELista DaListaEmitidosConcluidos(string camposSelect, StdBECampos objCampos)
Parameters
Type | Name | Description |
---|---|---|
System.String | camposSelect | |
StdBECampos | objCampos | The object campos. |
Returns
Type | Description |
---|---|
StdBELista |
DaListaEmitidosPendentes(String, StdBECampos)
Das the lista emitidos pendentes.
Declaration
StdBELista DaListaEmitidosPendentes(string camposSelect, StdBECampos objCampos)
Parameters
Type | Name | Description |
---|---|---|
System.String | camposSelect | |
StdBECampos | objCampos | The object campos. |
Returns
Type | Description |
---|---|
StdBELista |
DaListaEmitidosPorEmitir(String, StdBECampos)
Das the lista emitidos por emitir.
Declaration
StdBELista DaListaEmitidosPorEmitir(string camposSelect, StdBECampos objCampos)
Parameters
Type | Name | Description |
---|---|---|
System.String | camposSelect | |
StdBECampos | objCampos | The object campos. |
Returns
Type | Description |
---|---|
StdBELista |
DaListaNotificacoes(String)
Das the lista notificacoes.
Declaration
StdBELista DaListaNotificacoes(string strIdCabec)
Parameters
Type | Name | Description |
---|---|---|
System.String | strIdCabec | The string identifier cabec. |
Returns
Type | Description |
---|---|
StdBELista |
DaListaRecebidosConcluidos(String, StdBECampos)
Das the lista recebidos concluidos.
Declaration
StdBELista DaListaRecebidosConcluidos(string camposSelect, StdBECampos objCampos)
Parameters
Type | Name | Description |
---|---|---|
System.String | camposSelect | |
StdBECampos | objCampos | The object campos. |
Returns
Type | Description |
---|---|
StdBELista |
DaListaRecebidosPendentes(String, StdBECampos)
Das the lista recebidos pendentes.
Declaration
StdBELista DaListaRecebidosPendentes(string camposSelect, StdBECampos objCampos)
Parameters
Type | Name | Description |
---|---|---|
System.String | camposSelect | |
StdBECampos | objCampos | The object campos. |
Returns
Type | Description |
---|---|
StdBELista |
DaValorAtributo(String, String)
Das the valor atributo.
Declaration
dynamic DaValorAtributo(string Id, string Atributo)
Parameters
Type | Name | Description |
---|---|---|
System.String | Id | The identifier. |
System.String | Atributo | The atributo. |
Returns
Type | Description |
---|---|
System.Object |
DaValorAtributos(String, String[])
Das the valor atributos.
Declaration
StdBECampos DaValorAtributos(string Id, string[] Atributos)
Parameters
Type | Name | Description |
---|---|---|
System.String | Id | The identifier. |
System.String[] | Atributos | The atributos. |
Returns
Type | Description |
---|---|
StdBECampos |
Edita(String)
Editas the specified identifier.
Declaration
TTEBEDocumentoEgar Edita(string Id)
Parameters
Type | Name | Description |
---|---|---|
System.String | Id | The identifier. |
Returns
Type | Description |
---|---|
TTEBEDocumentoEgar |
Edita(String, String)
Editas the specified numero.
Declaration
TTEBEDocumentoEgar Edita(string Numero, string CodigoVerificacao)
Parameters
Type | Name | Description |
---|---|---|
System.String | Numero | The numero. |
System.String | CodigoVerificacao | The codigo verificacao. |
Returns
Type | Description |
---|---|
TTEBEDocumentoEgar |
EmitirGuia(TTEBEDocumentoEgar)
Emitirs the guia.
Declaration
bool EmitirGuia(TTEBEDocumentoEgar objCabecEgar)
Parameters
Type | Name | Description |
---|---|---|
TTEBEDocumentoEgar | objCabecEgar | The object cabec egar. |
Returns
Type | Description |
---|---|
System.Boolean |
Existe(String)
Existes the specified identifier.
Declaration
bool Existe(string Id)
Parameters
Type | Name | Description |
---|---|---|
System.String | Id | The identifier. |
Returns
Type | Description |
---|---|
System.Boolean |
Existe(String, String)
Existes the specified numero.
Declaration
bool Existe(string Numero, string CodigoVerificacao)
Parameters
Type | Name | Description |
---|---|---|
System.String | Numero | The numero. |
System.String | CodigoVerificacao | The codigo verificacao. |
Returns
Type | Description |
---|---|
System.Boolean |
NegarCorrecaoGuia(TTEBEDocumentoEgar, String)
Declaration
bool NegarCorrecaoGuia(TTEBEDocumentoEgar objCabecEgar, string strComentarioRemetente)
Parameters
Type | Name | Description |
---|---|---|
TTEBEDocumentoEgar | objCabecEgar | |
System.String | strComentarioRemetente |
Returns
Type | Description |
---|---|
System.Boolean |
ObtemLocalRecolha(String)
Obtems the local recolha.
Declaration
List<TTEBEEgarLocalRecolha> ObtemLocalRecolha(string NIF)
Parameters
Type | Name | Description |
---|---|---|
System.String | NIF | The nif. |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<TTEBEEgarLocalRecolha> |
ObterDadosTransportador(String)
Obters the dados transportador.
Declaration
bool ObterDadosTransportador(string strNIF)
Parameters
Type | Name | Description |
---|---|---|
System.String | strNIF | The string nif. |
Returns
Type | Description |
---|---|
System.Boolean |
ObterEstabelecimentos(String)
Obters the estabelecimentos.
Declaration
List<TTEBEEgarEstabelecimento> ObterEstabelecimentos(string NIF)
Parameters
Type | Name | Description |
---|---|---|
System.String | NIF | The nif. |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<TTEBEEgarEstabelecimento> |
RecebeGuias(ref String)
Recebes the guias.
Declaration
bool RecebeGuias(ref string strErros)
Parameters
Type | Name | Description |
---|---|---|
System.String | strErros | The string erros. |
Returns
Type | Description |
---|---|
System.Boolean |
RegistarEgar(Object, String)
Registars the egar.
Declaration
bool RegistarEgar(dynamic objDoc, string Modulo)
Parameters
Type | Name | Description |
---|---|---|
System.Object | objDoc | The object document. |
System.String | Modulo | The modulo. |
Returns
Type | Description |
---|---|
System.Boolean |
RejeitarGuia(TTEBEDocumentoEgar, String)
Declaration
bool RejeitarGuia(TTEBEDocumentoEgar objCabecEgar, string strComentarioDestinatario)
Parameters
Type | Name | Description |
---|---|---|
TTEBEDocumentoEgar | objCabecEgar | |
System.String | strComentarioDestinatario |
Returns
Type | Description |
---|---|
System.Boolean |
Remove(String)
Removes the specified identifier.
Declaration
void Remove(string Id)
Parameters
Type | Name | Description |
---|---|---|
System.String | Id | The identifier. |
Remove(String, TTEBEDocumentoEgar.EnumEstadoEGar)
Removes the specified identifier cabec GCP.
Declaration
void Remove(string IdCabecGCP, TTEBEDocumentoEgar.EnumEstadoEGar Estado)
Parameters
Type | Name | Description |
---|---|---|
System.String | IdCabecGCP | The identifier cabec GCP. |
TTEBEDocumentoEgar.EnumEstadoEGar | Estado | The estado. |