This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Clona um documento, salva em uma pasta especifica e deleta o documento clonado | |
* Retorna o código do documento clonado | |
*/ | |
function moverDocumento(documentoId, versaoDocumento, pastaDestinoId) { | |
var phisicalFile = docAPI.copyDocumentToUploadArea(documentoId, versaoDocumento)[0]; | |
var docDto = docAPI.newDocumentDto(); | |
docDto.setDocumentId(0); | |
docDto.setDocumentTypeId(""); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT 'ML0010' + CONVERT(VARCHAR(10), l.COD_LISTA_PAI) AS 'TABELA_PRINCIPAL', | |
'ML0010' + CONVERT(VARCHAR(10), l.COD_LISTA_FILHO) AS 'TABELA_PAIxFILHO', | |
d.COD_LISTA, | |
l.COD_LISTA_PAI, | |
l.COD_LISTA_FILHO, | |
l.COD_TABELA , | |
d.NUM_DOCTO_PROPRIED , | |
d.NUM_VERS_PROPRIED | |
FROM DEF_PROCES p | |
LEFT JOIN VERS_DEF_PROCES vp ON vp.COD_DEF_PROCES = p.COD_DEF_PROCES |
NewerOlder