SEFAZ do Pará altera web services autorização NF-e
Moderador: Moderadores
SEFAZ do Pará altera web services autorização NF-e
Segue link com a matéria : https://blog.tecnospeed.com.br/sefaz-do ... RD+Station
Marcelo Neves
https://produto.mercadolivre.com.br/MLB ... 0067609615
whatsapp (41) 99786-3995
http://harbourdeveloper.blogspot.com
marcelo.souza.das.neves@gmail.com
https://produto.mercadolivre.com.br/MLB ... 0067609615
whatsapp (41) 99786-3995
http://harbourdeveloper.blogspot.com
marcelo.souza.das.neves@gmail.com
- JoséQuintas
- Administrador

- Mensagens: 20267
- Registrado em: 26 Fev 2007 11:59
- Localização: São Paulo-SP
SEFAZ do Pará altera web services autorização NF-e
Pra quem usa sefazclass, só aviso de precaução:
Quando alterar, mover "PA" pro CASE de cima, de SVRS.
Quando alterar, mover "PA" pro CASE de cima, de SVRS.
Código: Selecionar todos
STATIC FUNCTION SoapUrlNfe( aSoapList, cUF, cVersao )
LOCAL nPos, cUrl
nPos := AScan( aSoapList, { | e | cUF == e[ 1 ] .AND. cVersao == e[ 2 ] } )
IF nPos != 0
cUrl := aSoapList[ nPos, 3 ]
ENDIF
DO CASE
CASE ! Empty( cUrl )
CASE cUf $ "AC,AL,AP,DF,ES,PB,RJ,RN,RO,RR,SC,SE,TO"
cURL := SoapURLNFe( aSoapList, "SVRS", cVersao )
CASE cUf $ "MA,PA,PI"
cURL := SoapUrlNFe( aSoapList, "SVAN", cVersao )
ENDCASE
RETURN cUrl
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"
https://github.com/JoseQuintas/
