Primeiro commit fluig
@@ -0,0 +1,14 @@
|
||||
!SESSION 2025-05-26 12:43:58.433 -----------------------------------------------
|
||||
eclipse.buildId=4.13.0.I20190916-1045
|
||||
java.version=1.8.0_202
|
||||
java.vendor=Oracle Corporation
|
||||
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=pt_BR
|
||||
Framework arguments: -product org.eclipse.epp.package.jee.product
|
||||
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
|
||||
|
||||
!ENTRY org.eclipse.egit.ui 2 0 2025-05-26 12:44:37.211
|
||||
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
|
||||
user global configuration and to define the default location to store repositories: 'C:\Users\andrey.cunha'. If this is
|
||||
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
|
||||
EGit might behave differently since they see different configuration options.
|
||||
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
version=1
|
||||
@@ -0,0 +1,9 @@
|
||||
content_assist_proposals_background=255,255,255
|
||||
content_assist_proposals_foreground=0,0,0
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.internal.ui.navigator.layout=2
|
||||
org.eclipse.jdt.internal.ui.navigator.librariesnode=true
|
||||
org.eclipse.jdt.ui.formatterprofiles.version=17
|
||||
spelling_locale_initialized=true
|
||||
useAnnotationsPrefPage=true
|
||||
useQuickDiffPrefPage=true
|
||||
@@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jsch.core.hasChangedDefaultWin32SshHome=true
|
||||
@@ -0,0 +1,2 @@
|
||||
areThereWebServices=false
|
||||
eclipse.preferences.version=1
|
||||
@@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.m2e.discovery.pref.projects=
|
||||
@@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
mylyn.attention.migrated=true
|
||||
@@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.mylyn.monitor.activity.tracking.enabled.checked=true
|
||||
@@ -0,0 +1,4 @@
|
||||
eclipse.preferences.version=1
|
||||
migrated.task.repositories.secure.store=true
|
||||
org.eclipse.mylyn.tasks.ui.filters.nonmatching=true
|
||||
org.eclipse.mylyn.tasks.ui.filters.nonmatching.encouraged=true
|
||||
@@ -0,0 +1,2 @@
|
||||
activeuserprofiles=G-ALES1NT-TEC06;Team
|
||||
eclipse.preferences.version=1
|
||||
@@ -0,0 +1,5 @@
|
||||
PROBLEMS_FILTERS_MIGRATE=true
|
||||
eclipse.preferences.version=1
|
||||
platformState=1741352421205
|
||||
quickStart=false
|
||||
tipsAndTricks=true
|
||||
@@ -0,0 +1,4 @@
|
||||
//org.eclipse.ui.commands/state/org.eclipse.ui.navigator.resources.nested.changeProjectPresentation/org.eclipse.ui.commands.radioState=false
|
||||
//org.eclipse.ui.commands/state/org.eclipse.wst.xml.views.XPathView.processor.xpathprocessor/org.eclipse.ui.commands.radioState=xpath10
|
||||
PLUGINS_NOT_ACTIVATED_ON_STARTUP=;org.eclipse.m2e.discovery;
|
||||
eclipse.preferences.version=1
|
||||
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<typeInfoHistroy/>
|
||||
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<qualifiedTypeNameHistroy/>
|
||||
@@ -0,0 +1 @@
|
||||
2025-05-26 12:44:36,966 [Worker-5: Loading available Gradle versions] INFO o.e.b.c.i.u.g.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read.
|
||||
@@ -0,0 +1,43 @@
|
||||
<configuration scan="true">
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
|
||||
<pattern>%date [%thread] %-5level %logger{35} - %msg%n</pattern>
|
||||
</encoder>
|
||||
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
|
||||
<level>OFF</level> <!-- change to DEBUG to mimic '-consolelog' behaviour -->
|
||||
</filter>
|
||||
</appender>
|
||||
|
||||
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<File>${org.eclipse.m2e.log.dir}/0.log</File>
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
|
||||
<FileNamePattern>${org.eclipse.m2e.log.dir}/%i.log</FileNamePattern>
|
||||
<MinIndex>1</MinIndex>
|
||||
<MaxIndex>10</MaxIndex>
|
||||
</rollingPolicy>
|
||||
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
|
||||
<MaxFileSize>100MB</MaxFileSize>
|
||||
</triggeringPolicy>
|
||||
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
|
||||
<pattern>%date [%thread] %-5level %logger{35} - %msg%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<appender name="EclipseLog" class="org.eclipse.m2e.logback.appender.EclipseLogAppender">
|
||||
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
|
||||
<level>WARN</level>
|
||||
</filter>
|
||||
</appender>
|
||||
|
||||
<appender name="MavenConsoleLog" class="org.eclipse.m2e.logback.appender.MavenConsoleAppender">
|
||||
</appender>
|
||||
|
||||
<root level="INFO">
|
||||
<appender-ref ref="FILE" />
|
||||
<appender-ref ref="STDOUT" />
|
||||
<appender-ref ref="EclipseLog" />
|
||||
<appender-ref ref="MavenConsoleLog" />
|
||||
</root>
|
||||
|
||||
<logger name="com.ning.http.client" level="INFO" />
|
||||
</configuration>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<setup:Workspace
|
||||
xmi:version="2.0"
|
||||
xmlns:xmi="http://www.omg.org/XMI"
|
||||
xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
|
||||
name="workspace"/>
|
||||
@@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<section name="Workbench">
|
||||
</section>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<section name="Workbench">
|
||||
<section name="SmartImportWizard">
|
||||
<item key="SmartImportRootWizardPage.STORE_HIDE_ALREADY_OPEN" value="false"/>
|
||||
<item key="SmartImportRootWizardPage.STORE_CLOSE_IMPORTED" value="false"/>
|
||||
<item key="SmartImportRootWizardPage.STORE_NESTED_PROJECTS" value="true"/>
|
||||
<item key="SmartImportRootWizardPage.STORE_CONFIGURE_NATURES" value="true"/>
|
||||
<list key="org.eclipse.ui.internal.wizards.datatransfer.SmartImportRootWizardPage.knownSources">
|
||||
<item value="C:\Users\andrey.cunha\eclipse-workspace.new\Transferência Ginseng"/>
|
||||
</list>
|
||||
</section>
|
||||
</section>
|
||||
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<section name="Workbench">
|
||||
<item key="introLaunchBar.location" value="1024"/>
|
||||
</section>
|
||||
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<state reopen="true"/>
|
||||
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<section name="Workbench">
|
||||
<section name="ImportExportAction">
|
||||
</section>
|
||||
<section name="org.eclipse.ui.internal.QuickAccess">
|
||||
<item key="dialogHeight" value="-1"/>
|
||||
<item key="dialogWidth" value="-1"/>
|
||||
<list key="orderedElements">
|
||||
</list>
|
||||
<list key="orderedProviders">
|
||||
</list>
|
||||
<list key="textEntries">
|
||||
</list>
|
||||
<list key="textArray">
|
||||
</list>
|
||||
</section>
|
||||
</section>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<workingSetManager>
|
||||
<workingSet editPageId="org.eclipse.jdt.internal.ui.DynamicSourcesWorkingSet" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1748274269912_0" label="Java Main Sources" name="Java Main Sources"/>
|
||||
<workingSet editPageId="org.eclipse.jdt.internal.ui.DynamicSourcesWorkingSet" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1748274269927_1" label="Java Test Sources" name="Java Test Sources"/>
|
||||
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1748274277608_2" label="Window Working Set" name="Aggregate for window 1748274277608"/>
|
||||
</workingSetManager>
|
||||
@@ -0,0 +1,3 @@
|
||||
#Mon May 26 12:44:22 BRT 2025
|
||||
org.eclipse.core.runtime=2
|
||||
org.eclipse.platform=4.13.0.v20190916-1045
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>Ginseng_chamados</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
<project>Abertura_de_chamados</project>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.validation.validationbuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
|
||||
<nature>com.totvs.tds.ecm.designer.nature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
@@ -0,0 +1,105 @@
|
||||
function defineStructure() {
|
||||
|
||||
}
|
||||
function onSync(lastSyncDate) {
|
||||
|
||||
}
|
||||
function createDataset(fields, constraints, sortFields) {
|
||||
|
||||
var ds = DatasetBuilder.newDataset();
|
||||
|
||||
ds.addColumn("codigo");
|
||||
ds.addColumn("filial");
|
||||
ds.addColumn("estabelecimento");
|
||||
ds.addColumn("cep");
|
||||
ds.addColumn("logradouro");
|
||||
ds.addColumn("numero");
|
||||
ds.addColumn("bairro");
|
||||
ds.addColumn("cidade");
|
||||
ds.addColumn("estado");
|
||||
|
||||
|
||||
|
||||
ds.addRow(new Array("010101","4494", "ESCRITÓRIO MATRIZ","57035-030","RUA DESPORTISTA HUMBERTO GUIMARAES","343","PONTA VERDE","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("010102","3546", "LJ BIG BOMPREÇO GRUTA","57052-000","AVENIDA FERNANDES LIMA","3700","GRUTA DE LOURDES","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("010103","4560", "LJ MACEIÓ SHOPPING TERREO","57031-532","AVENIDA GUSTAVO PAIVA","2900","MANGABEIRAS","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("010104","5699", "LJ MOREIRA LIMA","57020-000","RUA MOREIRA LIMA","93","CENTRO","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("010106","12522", "LJ MACEIÓ SHOPPING EXPANSÃO","57031-530","AVENIDA GUSTAVO PAIVA","2990","MANGABEIRAS","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("010107","12828", "LJ GBARBOSA S.MARIS","57036-550","AV ENG. PAULO BRANDÃO NOGUEIRA","S/N","JATIÚCA","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("010108","12838", "LJ RIO LARGO","57100-000","AV PRES GETULIO VARGAS","148","CENTRO","RIO LARGO","AL"));
|
||||
ds.addRow(new Array("010109","21647", "QUIOSQUE CARAJÁS MANGABEIRAS","57037-901","AV COMENDADOR GUSTAVO PAIVA","S/N","MANGABEIRAS","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("010110","12817", "LJ SHOPPING PÁTIO","57073-470","AV MENINO MARCELO","3800","CIDADE UNIVERSITÁRIA","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("010111","12824", "QUIOSQUE GBARBOSA TABULEIRO","57061-110","AVENIDA MACEIÓ","S/N","TABULEIRO","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("010112","12823", "LJ PONTA VERDE","57035-330","RUA DEPUTADO JOSÉ LAGES","431","PONTA VERDE","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("010113","20858", "QUIOSQUE SUPER GIRO","57010-003","AVENIDA SIQUEIRA CAMPOS","1368","PRADO","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("010114","12820", "LJ ATACADÃO TABULEIRO","57082-160","AV DOUTOR DURVAL DE GOIS MONTEIRO","12650","TABULEIRO","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("010115","12830", "LJ LIVRAMENTO","57020-030","RUA DO LIVRAMENTO","24","CENTRO","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("010117","19103", "LJ UNICOMPRA PONTA VERDE","57035-060","RUA DURVAL GUIMARÃES","S/N","PONTA VERDE","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("010118","12826", "LJ ASSAÍ MANGABEIRAS","57037-532","AV COMENDADOR GUSTAVO PAIVA","3261","MANGABEIRAS","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("010119","12829", "LJ JACINTINHO","57041-000","RUA CLETO CAMPELO","2394","JACINTINHO","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("010120","12818", "LJ GBARBOSA SERRARIA","57046-000","AVENIDA MENINO MARCELO","9730","SERRARIA","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("010121","13427", "LJ SHOPPING CIDADE","57055-000","AVENIDA FERNANDES LIMA","679","FAROL","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("010124","14617", "LJ PARQUE SHOPPING","57038-000","AVENIDA GUSTAVO PAIVA","5945","CRUZ DAS ALMAS",",MACEIÓ","AL"));
|
||||
ds.addRow(new Array("010126","14668", "LJ MIX MATHEUS ANTARES","57038-410","AVENIDA MENINO MARCELO","5300","ANTARES","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("010128","20006", "LJ SÃO SEBASTIÃO","43850-000","PRAÇA DOZE DE OUTUBRO","65","CENTRO","SÃO SEBASTIÃO DO PASSÉ","BA"));
|
||||
ds.addRow(new Array("010130","20009", "LJ CANDEIAS BAIXO","43815-050","AVENIDA ANTONIO PATTERSON","196","TRIÂNGULO","CANDEIAS","BA"));
|
||||
ds.addRow(new Array("010131","20005", "LJ CANDEIAS CIMA","43805-000","RUA 13 DE MAIO","147","CENTRO","CANDEIAS","BA"));
|
||||
ds.addRow(new Array("010132","20056", "LJ SIMÕES FILHO","43700-000","AV LUÍS EDUARDO MAGALHÃES","109","CENTRO","SIMÕES FILHO","BA"));
|
||||
ds.addRow(new Array("010133","20057", "LJ CONCEIÇÃO COITÉ","48730-000","RUA DR AMÂNCIO MOTA","30","CENTRO","CONCEIÃO DO COITÉ","BA"));
|
||||
ds.addRow(new Array("010134","20441", "LJ LAGARTO","49400-000","AVENIDA LEANDRO MACIEL","36","CENTRO","LAGARTO","SE"));
|
||||
ds.addRow(new Array("010135","20968", "HIB ITABAIANINHA","49290-000","PRAÇA OLÍMPIO CAMPOS","154","CENTRO","ITABAIANINHA","SE"));
|
||||
ds.addRow(new Array("010136","20969", "HIB MARECHAL DEODORO","57160-000","RUA DR TAVARES BASTOS","03","CENTRO","MARECHAL DEODORO","AL"));
|
||||
ds.addRow(new Array("010137","20970", "VD SÃO SEBASTIÃO","43850-000","PRAÇA DOZE DE OUTUBRO","116","CENTRO","SÃO SEBASTIÃO DO PASSÉ","BA"));
|
||||
ds.addRow(new Array("010138","20986", "HIB OLINDINA","48470-000","AVENIDA ANTONIO MANGABEIRA","84","CENTRO","OLINDINA","BA"));
|
||||
ds.addRow(new Array("010139","20989", "HIB QUEIMADAS","48860-000","PRAÇA CORONEL FRANCISCO LANTYER","21","CENTRO","QUEIMADAS","BA"));
|
||||
ds.addRow(new Array("010140","20989", "HIB ENTRE RIOS","48180-000","AVENIDA JURACY MAGALHÃES","320","CENTRO","ENTRE RIOS","BA"));
|
||||
ds.addRow(new Array("010141","20991", "HIB CAMPO ALEGRE","57250-000","RUA DO COMÉRCIO","49","CENTRO","CAMPO ALEGRE","AL"));
|
||||
ds.addRow(new Array("010142","20992", "ER CONCEIÇÃO COITÉ","48730-000","RUA DR AMANCIO MOTA","35","CENTRO","CONCEIÇÃO DO COITÉ","BA"));
|
||||
ds.addRow(new Array("010143","20993", "ER CANDEIAS","43815-010","AV ANTONIO PATTERSON","213","TRIANGULO","CANDEIAS","BA"));
|
||||
ds.addRow(new Array("010144","20994", "ER SIMÕES FILHO","43700-000","AV LUÍS EDUARDO MAGALHÃES","109","CENTRO","SIMÕES FILHO","BA"));
|
||||
ds.addRow(new Array("010145","20995", "ER LAGARTO","49400-000","AVENIDA LEANDRO MACIEL","36","CENTRO","LAGARTO","SE"));
|
||||
ds.addRow(new Array("010146","20996", "ER ANTARES","57083-048","AV ANTONIO LISBOA DE AMORIM","220","ANTARES","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("010147","20997", "ER PITANGUINHA","57052-050","AVENIDA FERNANDES LIMA","840","PITANGUINHA","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("010148","20998", "CD TABULEIRO","57073-482","ESTRADA DA CODEAL","770","TABULEIRO","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("010149","20999", "HIB ESPLANADA","48370-000","PRAÇA LADISLAU CAVALCANTE","31","CENTRO","ESPLANADA","BA"));
|
||||
ds.addRow(new Array("010150","21000", "HIB SANTALUZ","48880-000","RUA RIO BRANCO","96","CENTRO","SANTALUZ","BA"));
|
||||
ds.addRow(new Array("010151","21001", "HIB RIO REAL","48330-000","PC SEN ANTONIO CARLOS MAGALHÃES","146","CENTRO","RIO REAL","BA"));
|
||||
ds.addRow(new Array("010152","21007", "TÔ QUE TÔ MACEIÓ CENTRO","57020-220","AVENIDA MOREIRA LIMA","293","CENTRO","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("010153","21068", "LJ ATAKAREJO SIMÕES FILHO","43700-000","AV ENG ELMO SEREJO DE FARIAS","2073","CONJ HAB VIDA NOVA","SIMÕES FILHO","BA"));
|
||||
ds.addRow(new Array("010154","21277", "LJ GBARBOSA SOCORRO","49160-000","AVENIDA 1","13","CONJ JOAO ALVES FILHO","NOSSA SENHORA DO SOCORRO","SE"));
|
||||
ds.addRow(new Array("010155","21278", "ER SOCORRO","49140-000","AVENIDA COLETORA A","597","CONJ MARCOS FREIRE I","NOSSA SENHORA DO SOCORRO","SE"));
|
||||
ds.addRow(new Array("010156","21495", "HIB BARRA DOS COQUEIROS","49140-000","AVENIDA OCEANICA","506","ANTONIO PEDRO","BARRA DOS COQUEIROS","SE"));
|
||||
ds.addRow(new Array("010157","21296", "LJ SHOPPING PRÊMIO SOCORRO","49160-000","AVENIDA COLETORA A","S/N","CONJ MARCOS FREIRE I","NOSSA SENHORA DO SOCRRO","SE"));
|
||||
ds.addRow(new Array("010159","21381", "LJ CAPIM GROSSO","44695-000","AV ACM","121","CENTRO","CAPIM-GROSSO","BA"));
|
||||
ds.addRow(new Array("010160","21383", "ER CAPIM GROSSO","44695-000","AV ACM","121","CENTRO","CAPIM-GROSSO","BA"));
|
||||
ds.addRow(new Array("010161","21375", "HIB IPIRÁ","44600-000","AVENIDA CESÁR CABRAL","15","CENTRO","IPIRÁ","BA"));
|
||||
ds.addRow(new Array("010162","21624", "MIX MATEUS TRAPICHE","57010-000","AVENIDA SIQUEIRA CAMPOS","1295","PRADO","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("010163","22448", "ER CAMPO ALEGRE","57250-000","RUA DO COMÉRCIO","49","CENTRO","CAMPO ALEGRE","AL"));
|
||||
ds.addRow(new Array("010164","23475", "MIX MATEUS TABULEIRO","57082-160","AV DOUTOR DURVAL DE GOIS MONTEIRO","9207","TABULEIRO","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("010165","22541", "ER RIO LARGO","57100-000","RUA JUDITH PAIVA","445","CENTRO","RIO LARGO","AL"));
|
||||
ds.addRow(new Array("010166","AMG", "AMG SERRARIA","57046-000","AVENIDA MENINO MARCELO","S/N","SERRARIA","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("010167","23156", "SHOPPING CENTRO SUL","49400-000","AV CONTORNO BR","3795","SÃO JOSE","LAGARTO","SE"));
|
||||
ds.addRow(new Array("030101","910173", "QDB PARQUE SHOPPING","57038-000","AVENIDA COMENDADOR GUSTAVO PAIVA","5945","CRUZ DAS ALMAS","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("030102","910291", "QDB MACEIO SHOPPING","57037-532","AVENIDA COMENDADOR GUSTAVO PAIVA","2900","MANGABEIRAS","MACEIÓ","AL"));
|
||||
ds.addRow(new Array("070101","23713", "MATRIZ - ZEFERINO CORREIA","45000-520","RUA ZEFERINO CORREIA","17","CENTRO","VITORIA DA CONQUISTA","BA"));
|
||||
ds.addRow(new Array("070102","23711", "HIB LIMA GUERRA","45000-390","AL. LIMA GUERRA","04","CENTRO","VITORIA DA CONQUISTA","BA"));
|
||||
ds.addRow(new Array("070103","23712", "HIB CANDIDO SALES","24157-000","AL. RIO BRANCO","373","CENTRO","CÂNDIDO SALES","BA"));
|
||||
ds.addRow(new Array("070104","23705", "LOJA SHOPPING CONQUISTA SUL","45055-900","AVENIDA JURACY MAGALHAES","3340","FELICIA","VITORIA DA CONQUISTA","BA"));
|
||||
ds.addRow(new Array("070105","23703", " VD BARRA CHOCA","45120-000","AV GETULIO VARGAS","98","CENTRO","CHOCA","BA"));
|
||||
ds.addRow(new Array("070106","23707", "LOJA BRASIL","45051-070","AV ITABUNA","2724","BRASIL","VITORIA DA CONQUISTA","BA"));
|
||||
ds.addRow(new Array("070107","23706", "LOJA ASSAI FELICIA","45055-686","AV ANEL DE CONTORNO","S/N","FELICIA","VITORIA DA CONQUISTA","BA"));
|
||||
ds.addRow(new Array("070108","23709", "LOJA SHOPPING CONQUISTA","45055-900","AV JURACY MAGALHAES","3340","FELICIA","VITORIA DA CONQUISTA","BA"));
|
||||
ds.addRow(new Array("070109","23704", "VD CONDEUBA","46200-000","PC NOSSA SENHORA APARECIDA","08","CENTRO","CONDEÚBA","BA"));
|
||||
ds.addRow(new Array("070110","23703", "LOJA BARRA CHOCA","45120-000","AV GETULIO VARGAS","98","CENTRO","CHOCA","BA"));
|
||||
ds.addRow(new Array("070111","23702", "LOJA PANVICON CENTER","45000-230","AVENIDA LAURO DE FREITAS","142","CENTRO","VITORIA DA CONQUISTA","BA"));
|
||||
ds.addRow(new Array("070112","23701", "LOJA NOVE DE NOVEMBRO","45000-370","PC NOVE DE NOVEMBRO","10","CENTRO","VITORIA DA CONQUISTA","BA"));
|
||||
ds.addRow(new Array("070113","23665", "LOJA UNIVERSIDADE","45031-000","AV OLIVIA FLORES","2500","UNIVERSIDADE","VITORIA DA CONQUISTA","BA"));
|
||||
|
||||
|
||||
|
||||
return ds;
|
||||
|
||||
}
|
||||
function onMobileSync(user) {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
function defineStructure() {
|
||||
|
||||
}
|
||||
function onSync(lastSyncDate) {
|
||||
|
||||
}
|
||||
function createDataset(fields, constraints, sortFields) {
|
||||
var dataset = DatasetBuilder.newDataset();
|
||||
|
||||
// Definir as colunas
|
||||
dataset.addColumn("codigoCentroCusto");
|
||||
dataset.addColumn("centroCusto");
|
||||
dataset.addColumn("gestorCentroCusto");
|
||||
dataset.addColumn("emailGestor");
|
||||
dataset.addColumn("id");
|
||||
dataset.addColumn("idGestor"); // Aqui será armazenada a matrícula do gestor
|
||||
|
||||
// Lista dos centros de custo
|
||||
var dados = [
|
||||
["3546", "LJ HIPER FAROL - (CARREFOUR)", "3546 Ginseng", "3546@grupoginseng.com.br", "1"],
|
||||
["4560", "LJ MACEIÓ SHOPPING TERREO", "4560 Ginseng", "4560@grupoginseng.com.br", "2"],
|
||||
["5699", "LJ MOREIRA LIMA", "5699 Ginseng", "5699@grupoginseng.com.br", "3", "5699"],
|
||||
["12522", "LJ MACEIÓ SHOPPING EXPANSÃO", "12522 Ginseng", "12522@grupoginseng.com.br", "4"],
|
||||
["12817", "LJ SHOPPING PÁTIO", "12817 Ginseng", "12817@grupoginseng.com.br", "5"],
|
||||
["12818", "LJ GBARBOSA SERRARIA", "12818 Ginseng", "12818@grupoginseng.com.br", "6"],
|
||||
["12820", "LJ MÁRIO DE GUSMÃO(ATACADO)", "12820 Ginseng", "12820@grupoginseng.com.br", "7"],
|
||||
["12823", "LJ PONTA VERDE", "12823 Ginseng", "12823@grupoginseng.com.br", "8"],
|
||||
["12824", "LJ GBARBOSA TABULEIRO", "12824 Ginseng", "12824@grupoginseng.com.br", "9"],
|
||||
["12826", "LJ HIPER JATIÚCA (ASSAÍ)", "12826 Ginseng", "12826@grupoginseng.com.br", "10"],
|
||||
["12828", "LJ GBARBOSA S.MARIS", "12828 Ginseng", "12828@grupoginseng.com.br", "11"],
|
||||
["12829", "LJ JACINTINHO", "12829 Ginseng", "12829@grupoginseng.com.br", "12"],
|
||||
["12830", "LJ LIVRAMENTO", "12830 Ginseng", "12830@grupoginseng.com.br", "13"],
|
||||
["12838", "LJ RIO LARGO", "12838 Ginseng", "12838@grupoginseng.com.br", "14"],
|
||||
["13427", "LJ SHOPPING CIDADE", "13427 Ginseng", "13427@grupoginseng.com.br", "15"],
|
||||
["14617", "LJ PARQUE SHOPPING", "14617 Ginseng", "14617@grupoginseng.com.br", "16"],
|
||||
["14668", "LJ HIPER ANTARES", "14668 Ginseng", "14668@grupoginseng.com.br", "17"],
|
||||
["19103", "LJ UNICOMPRA PONTA VERDE", "19103 Ginseng", "19103@grupoginseng.com.br", "18"],
|
||||
["20858", "LJ SUPER GIRO", "20858 Ginseng", "20858@grupoginseng.com.br", "19"],
|
||||
["20969", "HIB MARECHAL DEODORO", "20969 Ginseng", "20969@grupoginseng.com.br", "20"],
|
||||
["20991", "HIB CAMPO ALEGRE", "20991 Ginseng", "20991@grupoginseng.com.br", "21"],
|
||||
["20996", "ER ANTARES", "20996 Ginseng", "20996@grupoginseng.com.br", "22"],
|
||||
["20997", "ER PITANGUINHA", "20997 Ginseng", "20997@grupoginseng.com.br", "23"],
|
||||
["20998", "CD SERRARIA", "20998 Ginseng", "20998@grupoginseng.com.br", "24"],
|
||||
["21007", "TÔ QUE TÔ MACEIÓ CENTRO", "21007 Ginseng", "21007@grupoginseng.com.br", "25"],
|
||||
["21624", "LJ MIX MATEUS", "21624 Ginseng", "21624@grupoginseng.com.br", "27"],
|
||||
["21647", "LJ CARAJÁS", "21647 Ginseng", "21647@grupoginseng.com.br", "28"],
|
||||
["22541", "ER RIO LARGO", "22541 Ginseng", "22541@grupoginseng.com.br", "29"],
|
||||
["910173", "QDB PARQUE SHOPPING", "910173 Ginseng", "910173@grupoginseng.com.br", "30"],
|
||||
["910291", "QDB MACEIO SHOPPING", "910291 Ginseng", "910291@grupoginseng.com.br", "31"]
|
||||
];
|
||||
|
||||
// Buscar matrícula do gestor no dataset "colleague"
|
||||
function getMatricula(gestorNome) {
|
||||
var c1 = DatasetFactory.createConstraint("colleagueName", gestorNome, gestorNome, ConstraintType.MUST);
|
||||
var dsUser = DatasetFactory.getDataset("colleague", ["colleagueId"], [c1], null);
|
||||
return dsUser.rowsCount > 0 ? dsUser.getValue(0, "colleagueId") : "";
|
||||
}
|
||||
|
||||
// Percorrer a lista e adicionar ao dataset
|
||||
for (var i = 0; i < dados.length; i++) {
|
||||
var matricula = getMatricula(dados[i][2]); // Obtém a matrícula do gestor
|
||||
dataset.addRow([dados[i][0], dados[i][1], dados[i][2], dados[i][3], dados[i][4], matricula]);
|
||||
}
|
||||
|
||||
return dataset;
|
||||
}
|
||||
|
||||
function onMobileSync(user) {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
function defineStructure() {
|
||||
addColumn("codigo");
|
||||
addColumn("descricao");
|
||||
}
|
||||
|
||||
function onSync(lastSyncDate) {}
|
||||
|
||||
function createDataset(fields, constraints, sortFields) {
|
||||
var dataset = DatasetBuilder.newDataset();
|
||||
var dataSource = "/jdbc/ProtheusDS"; // Nome da conexão cadastrada no Fluig
|
||||
var ic = new javax.naming.InitialContext();
|
||||
var ds = ic.lookup(dataSource);
|
||||
var conn = ds.getConnection();
|
||||
var stmt = null;
|
||||
var rs = null;
|
||||
|
||||
try {
|
||||
log.info("Iniciando execução do dataset...");
|
||||
|
||||
var sql = "SELECT b1_cod, b1_desc FROM sb1010 WHERE LEN(b1_cod) = 5 ";
|
||||
log.info("Query SQL: " + sql);
|
||||
|
||||
stmt = conn.prepareStatement(sql);
|
||||
rs = stmt.executeQuery();
|
||||
|
||||
dataset.addColumn("codigo");
|
||||
dataset.addColumn("descricao");
|
||||
|
||||
var encontrados = {}; // Usando um objeto para evitar duplicação
|
||||
|
||||
while (rs.next()) {
|
||||
var codigo = rs.getString("b1_cod");
|
||||
var descricao = rs.getString("b1_desc");
|
||||
|
||||
if (!encontrados[codigo]) { // Verifica se já foi adicionado
|
||||
encontrados[codigo] = true; // Marca como processado
|
||||
log.info("Registro encontrado: " + codigo + " - " + descricao);
|
||||
dataset.addRow([codigo, descricao]);
|
||||
}
|
||||
}
|
||||
|
||||
if (Object.keys(encontrados).length === 0) {
|
||||
log.info("Nenhum registro encontrado para a consulta.");
|
||||
}
|
||||
|
||||
} catch (e) {
|
||||
log.error("Erro ao executar dataset: " + e.message);
|
||||
} finally {
|
||||
try {
|
||||
if (rs) rs.close();
|
||||
if (stmt) stmt.close();
|
||||
if (conn) conn.close();
|
||||
} catch (e) {
|
||||
log.error("Erro ao fechar recursos: " + e.message);
|
||||
}
|
||||
}
|
||||
|
||||
return dataset;
|
||||
}
|
||||
|
||||
function onMobileSync(user) {}
|
||||
@@ -0,0 +1,6 @@
|
||||
var ABERTURA = 0;
|
||||
var INICIO = 4;
|
||||
var EMISSAO = 6;
|
||||
var COLETA = 31;
|
||||
var ENTREGA = 57;
|
||||
var RECEBIMENTO = 18;
|
||||
@@ -0,0 +1,27 @@
|
||||
function displayFields(form, customHTML) {
|
||||
var activity = getValue('WKNumState');
|
||||
var userId = getValue('WKUser');
|
||||
|
||||
form.setShowDisabledFields(true);
|
||||
form.setHidePrintLink(true);
|
||||
|
||||
form.setValue("WKNumProces", getValue('WKNumProces'));
|
||||
form.setValue("activity", activity);
|
||||
form.setValue("formMode", form.getFormMode());
|
||||
|
||||
var c1 = DatasetFactory.createConstraint("colleagueId", userId, userId, ConstraintType.MUST);
|
||||
var filter = new Array(c1);
|
||||
var fields = new Array("colleagueName");
|
||||
var retorno = DatasetFactory.getDataset("colleague", fields, filter, null);
|
||||
|
||||
//requester
|
||||
if (activity == 0) {
|
||||
form.setValue("requesterName", retorno.getValue(0, "colleagueName"));
|
||||
form.setValue("requesterMail", retorno.getValue(0, "mail"));
|
||||
form.setValue("requesterId", userId);
|
||||
} else {
|
||||
form.setValue("currentUserName", retorno.getValue(0, "colleagueName"));
|
||||
form.setValue("currentUsermail", retorno.getValue(0, "mail"));
|
||||
form.setValue("currentUserId", userId);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,102 @@
|
||||
function validateForm(form) {
|
||||
var atividade = parseInt(getValue("WKNumState"));
|
||||
var nextAtividade = getValue("WKNextState");
|
||||
var completTask = getValue("WKCompletTask");
|
||||
|
||||
var hasErros = false;
|
||||
var message = "";
|
||||
|
||||
log.info("Atividade Inicial Para Transferência de Mercadoria");
|
||||
log.info("Abertura de solcitação: " + atividade);
|
||||
|
||||
if (completTask.equals("true")) {
|
||||
|
||||
switch (atividade) {
|
||||
case EMISSAO:
|
||||
|
||||
// log.info("Abertura de Chamado CAERN - Área do Solicitante: " + form.getValue("areaSolicitante"));
|
||||
// if (form.getValue("areaSolicitante") == "") {
|
||||
// message += getMessage("Área do Solicitante", 2, form);
|
||||
// hasErros = true;
|
||||
// }
|
||||
|
||||
log.info("Por favor, anexar a nota fiscal" + form.getValue("fnAnexo_Nfe"));
|
||||
if (form.getValue("fnAnexo_Nfe") == "") {
|
||||
message += getMessage("Nota Fiscal", 3, form);
|
||||
hasErros = true;
|
||||
}
|
||||
|
||||
// var tabelaAnexos = form.getChildrenIndexes("tabelaAnexoOcorrencia")
|
||||
|
||||
// if (tabelaAnexos.length > 0) {
|
||||
|
||||
// for (var i = 0; i < tabelaAnexos.length; i++) {
|
||||
|
||||
// if (form.getValue("fnAnexoOcorrencia" + "" + tabelaAnexos[i]) == null || form.getValue("fnAnexoOcorrencia" + "" + tabelaAnexos[i]) == "") {
|
||||
// message += getMessage("Anexo " + tabelaAnexos[i], 1, form)
|
||||
// hasErros = true;
|
||||
// }
|
||||
|
||||
// }
|
||||
|
||||
// } else {
|
||||
|
||||
// message += getMessage("A tabela de Anexos esta vazia", 0, form)
|
||||
// hasErros = true;
|
||||
|
||||
// }
|
||||
|
||||
break;
|
||||
|
||||
case COLETA:
|
||||
log.info("Por favor, registre o momento da coleta" + form.getValue("fdAnexo_Coleta"));
|
||||
if (form.getValue("fdAnexo_Coleta") == "") {
|
||||
message += getMessage("Coleta", 3, form);
|
||||
hasErros = true;
|
||||
}
|
||||
|
||||
case ENTREGA:
|
||||
log.info("Por favor, registre o momento da entrega" + form.getValue("fdAnexo_Entrega"));
|
||||
if (form.getValue("fdAnexo_Entrega") == "") {
|
||||
message += getMessage("Entrega", 3, form);
|
||||
hasErros = true;
|
||||
}
|
||||
|
||||
case RECEBIMENTO:
|
||||
log.info("Por favor, registre o recebimento do material" + form.getValue("fdAnexo_recebimento"));
|
||||
if (form.getValue("fdAnexo_recebimento") == "") {
|
||||
message += getMessage("Recebimento", 3, form);
|
||||
hasErros = true;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (hasErros) {
|
||||
if (isMobile(form)) throw message;
|
||||
throw (
|
||||
"<ul style='list-style-type: disc; padding-left: 90px;' class='alert alert-danger'>" +
|
||||
message +
|
||||
"</ul>"
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function isMobile(form) {
|
||||
return form.getMobile() != null && form.getMobile();
|
||||
}
|
||||
|
||||
function getMessage(texto, tipo, form) {
|
||||
if (tipo == 1) {
|
||||
return 'Campo "' + texto + '" nao pode estar vazio.<br>';
|
||||
} else if (tipo == 2) {
|
||||
return 'Selecione uma das opcoes do Campo "' + texto + '".<br>';
|
||||
} else if (tipo == 3) {
|
||||
return 'Campo "' + texto + '" nao pode estar sem anexo.<br>';
|
||||
} else {
|
||||
return 'A quantidade existente de campos "' + texto + '" deve ser maior do que 0.'
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
function carregarItensDoExcel(fileInputId) {
|
||||
const file = document.getElementById(fileInputId).files[0];
|
||||
if (!file) {
|
||||
FLUIGC.toast({ title: 'Erro', message: 'Nenhum arquivo selecionado.', type: 'danger' });
|
||||
return;
|
||||
}
|
||||
|
||||
const reader = new FileReader();
|
||||
reader.onload = function(e) {
|
||||
const data = new Uint8Array(e.target.result);
|
||||
const workbook = XLSX.read(data, { type: 'array' });
|
||||
const sheet = workbook.Sheets[workbook.SheetNames[0]];
|
||||
const linhas = XLSX.utils.sheet_to_json(sheet);
|
||||
|
||||
// Limpa a tabela (sem usar form)
|
||||
const indices = $("input[id^='codigoItem___']").map(function() {
|
||||
return $(this).attr("id").split("___")[1];
|
||||
}).get();
|
||||
indices.forEach(idx => fnWdkRemoveChild(idx));
|
||||
|
||||
// Adiciona os itens da planilha
|
||||
linhas.forEach(item => {
|
||||
const idx = wdkAddChild('tabelaItens');
|
||||
window[`descricao___${idx}`].setValue(item.codigoItem);
|
||||
|
||||
// $(`#codigoItem___${idx}`).val(item.codigoItem);
|
||||
$(`#quantidadeItem___${idx}`).val(item.quantidadeItem);
|
||||
$(`#codigoItem___${idx}`).val(item.descricao);
|
||||
});
|
||||
|
||||
FLUIGC.toast({ title: 'Sucesso', message: 'Itens carregados com sucesso!', type: 'success' });
|
||||
};
|
||||
|
||||
reader.readAsArrayBuffer(file);
|
||||
}
|
||||
@@ -0,0 +1,885 @@
|
||||
$(document).ready(function () {
|
||||
|
||||
// Quando clicar em "Adicionar arquivo"
|
||||
$('#btnAdicionarExcel').on('click', function () {
|
||||
$('#excelUpload').click(); // aciona o input escondido
|
||||
});
|
||||
|
||||
// Quando um arquivo for selecionado
|
||||
$('#excelUpload').on('change', function () {
|
||||
const file = this.files[0];
|
||||
|
||||
if (file) {
|
||||
$('#nomeArquivoExcel').text('Arquivo selecionado: ' + file.name);
|
||||
$('#btnAdicionarExcel').hide();
|
||||
$('#btnRemoverExcel').show();
|
||||
|
||||
carregarItensDoExcel('excelUpload'); // chama sua função
|
||||
}
|
||||
});
|
||||
|
||||
// Quando clicar em "Remover arquivo"
|
||||
$('#btnRemoverExcel').on('click', function () {
|
||||
$('#excelUpload').val('');
|
||||
$('#nomeArquivoExcel').text('Nenhum arquivo selecionado');
|
||||
$('#btnAdicionarExcel').show();
|
||||
$('#btnRemoverExcel').hide();
|
||||
});
|
||||
|
||||
if ($("#formMode").val() == "VIEW") {
|
||||
showAndBlock(["all"]);
|
||||
} else {
|
||||
//show the right fields
|
||||
var activity = $("#activity").val();
|
||||
var requestDate = getCurrentDate();
|
||||
|
||||
$(".activity").hide();
|
||||
|
||||
$(".activity-" + activity).show();
|
||||
|
||||
if (activity == 0 || activity == 1) {
|
||||
//primeira atividade
|
||||
//$("#dataAbertura").val(requestDate[0] + " - " + requestDate[1]);
|
||||
$("#dataAbertura").val(requestDate[0]);
|
||||
// add_new_row("tabelaItens");
|
||||
} else if (activity == 4) {
|
||||
showAndBlock([0]);
|
||||
$("#userValidacaoGestor").val($("#currentUserName").val());
|
||||
$("#dataValidacaoGestor").val(
|
||||
requestDate[0] + " - " + requestDate[1]
|
||||
);
|
||||
updt_line();
|
||||
} else if (activity == 6) {
|
||||
showAndBlock([0, 4]);
|
||||
$("#userValidacaoCompras").val($("#currentUserName").val());
|
||||
$("#dataValidacaoCompras").val(
|
||||
requestDate[0] + " - " + requestDate[1]
|
||||
);
|
||||
|
||||
if ($("#justificativaDecisaoGestor").val() == "") {
|
||||
$(".justificativa-activity-4").hide();
|
||||
}
|
||||
updt_line();
|
||||
|
||||
} else if (activity == 57) {
|
||||
$("#userCotacaoGestor").val($("#currentUserName").val());
|
||||
$("#dataAprovCompras").val(
|
||||
requestDate[0] + " - " + requestDate[1]
|
||||
);
|
||||
showAndBlock([0, 4, 6]);
|
||||
|
||||
if ($("#justificativaDecisaoGestor").val() == "") {
|
||||
$(".justificativa-activity-4").hide();
|
||||
}
|
||||
if ($("#justificativaDecisaoCompras").val() == "") {
|
||||
$(".justificativa-activity-6").hide();
|
||||
}
|
||||
updt_line();
|
||||
|
||||
} else if (activity == 31) {
|
||||
$("#userRealizacaoCompras").val($("#currentUserName").val());
|
||||
$("#dataRealizacaoCompras").val(
|
||||
requestDate[0] + " - " + requestDate[1]
|
||||
);
|
||||
showAndBlock([0, 4, 6, 57]);
|
||||
|
||||
if ($("#justificativaDecisaoGestor").val() == "") {
|
||||
$(".justificativa-activity-4").hide();
|
||||
}
|
||||
if ($("#justificativaDecisaoCompras").val() == "") {
|
||||
$(".justificativa-activity-6").hide();
|
||||
}
|
||||
updt_line();
|
||||
} else if (activity == 18) {
|
||||
if ($("justificativaValidaProblema") != "") {
|
||||
showAndBlock([0, 4, 6, 24, 57, 31]);
|
||||
} else {
|
||||
showAndBlock([0, 4, 6, 31]);
|
||||
}
|
||||
$("#userValidacaoItens").val($("#currentUserName").val());
|
||||
$("#dataValidacaoItens").val(requestDate[0] + " - " + requestDate[1]);
|
||||
|
||||
if ($("#justificativaDecisaoGestor").val() == "") {
|
||||
$(".justificativa-activity-4").hide();
|
||||
}
|
||||
if ($("#justificativaDecisaoCompras").val() == "") {
|
||||
$(".justificativa-activity-6").hide();
|
||||
}
|
||||
if ($("#consideracoesCompras").val() == "") {
|
||||
$(".justificativa-activity-31").hide();
|
||||
}
|
||||
|
||||
$("input[name=validacaoItens]").on("change", function () {
|
||||
$(".justificativaDecisaoItens").hide();
|
||||
if (
|
||||
$("input[name=validacaoItens]:checked").val() == "incorreto" ||
|
||||
$("input[name=validacaoItens]:checked").val() == "naoEntregue"
|
||||
) {
|
||||
$(".justificativaDecisaoItens").show();
|
||||
}
|
||||
});
|
||||
$("input[name=validacaoItens]").trigger("change");
|
||||
|
||||
updt_line();
|
||||
} else if (activity == 24) {
|
||||
showAndBlock([0, 4, 6, 31, 18]);
|
||||
|
||||
if ($("#justificativaDecisaoGestor").val() == "") {
|
||||
$(".justificativa-activity-4").hide();
|
||||
}
|
||||
if ($("#justificativaDecisaoCompras").val() == "") {
|
||||
$(".justificativa-activity-6").hide();
|
||||
}
|
||||
if ($("#consideracoesCompras").val() == "") {
|
||||
$(".justificativa-activity-31").hide();
|
||||
}
|
||||
updt_line();
|
||||
}
|
||||
}
|
||||
|
||||
formatarMoedasTabela("preco___");
|
||||
//formatarMoedasTabela("precoIndica___");
|
||||
formatarMoedasTabela("ValorTotal");
|
||||
|
||||
// gerarTabelaCotacaoIndica("tabelaCotacaoIndica", "tabelaItens");
|
||||
|
||||
|
||||
});
|
||||
|
||||
function formatarMoedasTabela(ids) {
|
||||
$(document).on('input', `[id^="${ids}"]`, function() {
|
||||
let valor = $(this).val();
|
||||
|
||||
// Remove tudo que não for número
|
||||
valor = valor.replace(/\D/g, '');
|
||||
|
||||
// Converte para número decimal
|
||||
let numero = parseFloat(valor) / 100;
|
||||
|
||||
// Formata para Real Brasileiro
|
||||
if (!isNaN(numero)) {
|
||||
valor = numero.toLocaleString('pt-BR', { minimumFractionDigits: 2, maximumFractionDigits: 2 });
|
||||
}
|
||||
|
||||
// Atualiza o campo com a formatação correta
|
||||
$(this).val(valor);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
//show the activity and then block the fields
|
||||
function showAndBlock(activity) {
|
||||
for (var i = 0, l = activity.length; i < l; i++) {
|
||||
$(".activity-" + activity[i]).show();
|
||||
$(".hideButton").hide();
|
||||
$(".activity-" + activity[i] + " :input").each(function () {
|
||||
$(this).attr("readonly", "readonly");
|
||||
$(this)
|
||||
.css("background-color", "#eee")
|
||||
.children("option:not(:selected)")
|
||||
.prop("disabled", true);
|
||||
$(this).on("mousedown", function (e) {
|
||||
this.blur();
|
||||
window.focus();
|
||||
});
|
||||
if ($(this).is(":checkbox")) {
|
||||
$(this).attr("disabled", true);
|
||||
} else if ($(this).is(":radio")) {
|
||||
$(this).on("click", function () {
|
||||
return false;
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function getCurrentDate() {
|
||||
var newDate = new Date();
|
||||
var h = newDate.getHours();
|
||||
if (h < 10) {
|
||||
h = "0" + h;
|
||||
}
|
||||
var m = newDate.getMinutes();
|
||||
if (m < 10) {
|
||||
m = "0" + m;
|
||||
}
|
||||
var hour = h + ":" + m; // + ":" + s;
|
||||
var day = newDate.getDate();
|
||||
if (day < 10) {
|
||||
day = "0" + day;
|
||||
}
|
||||
var month = newDate.getMonth() + 1;
|
||||
if (month < 10) {
|
||||
month = "0" + month;
|
||||
}
|
||||
newDate = day + "/" + month + "/" + newDate.getFullYear();
|
||||
var currentDate = [newDate, hour];
|
||||
return currentDate;
|
||||
}
|
||||
|
||||
var beforeSendValidate = function (numState, nextState) {
|
||||
$(".errorValidate").removeClass("errorValidate");
|
||||
if (numState == 0 || numState == 1) {
|
||||
if ($("#estabelecimento ").val() == "") {
|
||||
$("#estabelecimento ").parent("div").addClass("errorValidate");
|
||||
throw "'Estabelecimento/filial ' é obrigatório.";
|
||||
} else if ($("#enderecoSolicitante").val() == "") {
|
||||
$("#enderecoSolicitante").parent("div").addClass("errorValidate");
|
||||
throw "'Endereço do solicitante' é obrigatório.";
|
||||
} else if ($("#complemento").val() == "") {
|
||||
$("#complemento").parent("div").addClass("errorValidate");
|
||||
throw "'Complemento' é obrigatório.";
|
||||
} else if ($("#justificativa").val() == "") {
|
||||
$("#justificativa").parent("div").addClass("errorValidate");
|
||||
throw "'Qual o motivo da compra?' é obrigatório.";
|
||||
} else {
|
||||
$("input[id^='quantidadeItem___']").each(function (index, value) {
|
||||
var linha = $(value).attr("name").split("___")[1];
|
||||
|
||||
if (
|
||||
$("#descricao___" + linha).val() == "" &&
|
||||
$("#quantidadeItem___" + linha).val() == ""
|
||||
) {
|
||||
remove_row(value);
|
||||
}
|
||||
});
|
||||
|
||||
$("input[id^='quantidadeItem___']").each(function (index, value) {
|
||||
var linha = $(value).attr("name").split("___")[1];
|
||||
|
||||
if ($("#descricao___" + linha).val() == "") {
|
||||
$("#descricao___" + linha)
|
||||
.parent("div")
|
||||
.addClass("errorValidate");
|
||||
throw "Selecione o item " + (index + 1) + ".";
|
||||
} else if ($("#quantidadeItem___" + linha).val() == "") {
|
||||
$("#quantidadeItem___" + linha)
|
||||
.parent("div")
|
||||
.addClass("errorValidate");
|
||||
throw "Preencha a quantidade do item " + (index + 1) + ".";
|
||||
}
|
||||
});
|
||||
|
||||
if ($("input[name^='quantidadeItem___']").length == 0) {
|
||||
throw "Ao menos um item é necessário para iniciar a solicitação.";
|
||||
}
|
||||
}
|
||||
} else if (numState == 4) {
|
||||
//
|
||||
} else if (numState == 6) {
|
||||
//
|
||||
} else if (numState == 18) {
|
||||
if (
|
||||
$("input[name='validacaoItens']:checked").val() == "" ||
|
||||
$("input[name='validacaoItens']:checked").val() == undefined
|
||||
) {
|
||||
throw "'Consegue resolver?' é obrigatório.";
|
||||
} else if (
|
||||
$("input[name='validacaoItens']:checked").val() == "naoEntregue" ||
|
||||
$("input[name='validacaoItens']:checked").val() == "incorreto"
|
||||
) {
|
||||
if ($("#justificativaDecisaoItens").val() == "") {
|
||||
$("#justificativaDecisaoItens")
|
||||
.parent("div")
|
||||
.addClass("errorValidate");
|
||||
throw "'Justificativa' é obrigatório.";
|
||||
}
|
||||
}
|
||||
} else if (numState == 24) {
|
||||
$('#justificativaValidaProblema').parent().removeClass('has-error errorValidate');
|
||||
if ($('#justificativaValidaProblema').val() == "") {
|
||||
$('#justificativaValidaProblema').parent().addClass('has-error errorValidate');
|
||||
throw "Preencha os campos obrigatórios."
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
function setSelectedZoomItem(selectedItem) {
|
||||
var name_item = selectedItem.inputId;
|
||||
var ehItem = name_item.indexOf("___") >= 0;
|
||||
var indice = "";
|
||||
if (ehItem){
|
||||
var valores = name_item.split("___");
|
||||
name_item = valores[0];
|
||||
indice = valores[1];
|
||||
}
|
||||
|
||||
// var dtsCentroCusto = DatasetFactory.getDataset(
|
||||
// "ds_LojasTransf",
|
||||
// null,
|
||||
// null,
|
||||
// null
|
||||
// ).values;
|
||||
|
||||
// var nomeGestorComercial = dtsCentroCusto[0].gestorCentroCusto;
|
||||
// var emailGestorComercial = dtsCentroCusto[0].emailGestor;
|
||||
// var idGestorComercial = dtsCentroCusto[0].idGestor;
|
||||
|
||||
// var nomeGestorOperacoes = dtsCentroCusto[2].gestorCentroCusto;
|
||||
// var emailGestorOperacoes = dtsCentroCusto[2].emailGestor;
|
||||
// var idGestorOperacoes = dtsCentroCusto[2].idGestor;
|
||||
|
||||
// if (name_item == "estabelecimento") {
|
||||
// let estabelecimento = selectedItem["estabelecimento"];
|
||||
|
||||
// if (estabelecimento.includes("ESCRITÓRIO")) {
|
||||
// } else if (estabelecimento.includes("CD")) {
|
||||
// window["centroCusto"].setValue("Operações");
|
||||
// $("#gestorNome").val(nomeGestorOperacoes);
|
||||
// $("#gestorEmail").val(emailGestorOperacoes);
|
||||
// $("#gestor_cc").val(idGestorOperacoes);
|
||||
// } else {
|
||||
// window["centroCusto"].setValue("Comercial");
|
||||
// $("#gestorNome").val(nomeGestorComercial);
|
||||
// $("#gestorEmail").val(emailGestorComercial);
|
||||
// $("#gestor_cc").val(idGestorComercial);
|
||||
// }
|
||||
// }
|
||||
|
||||
if (name_item == "centroCusto") {
|
||||
$("#gestorNome").val(selectedItem["gestorCentroCusto"]);
|
||||
$("#gestorEmail").val(selectedItem["emailGestor"]);
|
||||
$("#gestor_cc").val(selectedItem["idGestor"]);
|
||||
}
|
||||
|
||||
if (name_item == "estabelecimento") {
|
||||
$("#gestorNomeE").val(selectedItem["gestorCentroCusto"]);
|
||||
$("#gestorEmailE").val(selectedItem["emailGestor"]);
|
||||
$("#gestor_cce").val(selectedItem["idGestor"]);
|
||||
}
|
||||
|
||||
if (name_item == "userSolicitante") {
|
||||
$("#emailSolicitante").val(selectedItem.mail);
|
||||
}
|
||||
|
||||
if (name_item == "descricao") {
|
||||
$("#codigoItem" + "___" + indice).val(selectedItem["descricao"]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function removedZoomItem(removedItem) {
|
||||
var name_item = removedItem.inputId;
|
||||
var ehItem = name_item.indexOf("___") >= 0;
|
||||
var indice = "";
|
||||
if (ehItem){
|
||||
var valores = name_item.split("___");
|
||||
name_item = valores[0];
|
||||
indice = valores[1];
|
||||
}
|
||||
|
||||
if (name_item == "userSolicitante") {
|
||||
$("#emailSolicitante").val("");
|
||||
} else if (name_item == "centroCusto") {
|
||||
$("#gestorNome").val("");
|
||||
$("#gestorEmail").val("");
|
||||
$("#gestor_cc").val("");
|
||||
} else if (~name_item.indexOf("___")) {
|
||||
var linha = name_item.split("___");
|
||||
|
||||
if (linha[0] == "descricao") {
|
||||
$("#codigoItem___" + linha[1]).val("");
|
||||
$("#quantidadeItem___" + linha[1]).val("");
|
||||
}
|
||||
}
|
||||
|
||||
if (name_item == "descricao") {
|
||||
$("#codigoItem" + "___" + indice).val("");
|
||||
}
|
||||
}
|
||||
|
||||
function add_new_row(table) {
|
||||
var row = wdkAddChild(table);
|
||||
updt_line();
|
||||
}
|
||||
|
||||
function updt_line() {
|
||||
$(".tabela_itens_id").each(function (index, item) {
|
||||
if (index == 0) return;
|
||||
$(item)[0].innerHTML = index;
|
||||
});
|
||||
}
|
||||
|
||||
function remove_row(element) {
|
||||
fnWdkRemoveChild(element);
|
||||
updt_line();
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Andrey, nao esqueca de ver isso
|
||||
// function removedZoomItem(removedItem) {
|
||||
// // if (removedItem.inputId === "estabelecimento") {
|
||||
// // document.getElementById("setor-container").style.display = "none"; // Oculta ao remover
|
||||
// window["centroCusto"].setValue("")[0]
|
||||
// // }
|
||||
// }
|
||||
|
||||
$(document).ready(function() {
|
||||
// $('#gerarTabela').click(function() {
|
||||
// var numCotacoes = $('#numCotacoes').val();
|
||||
// var tbody = $("#tabelaCotacao tbody");
|
||||
// tbody.empty(); // Limpa a tabela antes de gerar novas linhas
|
||||
|
||||
// // Supondo que você já tenha uma tabela de origem com os produtos
|
||||
// $('table.table[tablename="tabelaItens"] tbody tr:visible').each(function(index, element) {
|
||||
// var nomeItem = $(element).find('input[name^="nomeItem"]').val();
|
||||
// var quantidadeItem = $(element).find('input[name^="quantidadeItem"]').val();
|
||||
|
||||
// for (var i = 0; i < numCotacoes; i++) {
|
||||
// var row = `<tr>
|
||||
// <td>${index + 1}.${i + 1}</td>
|
||||
// <td>${nomeItem}</td>
|
||||
// <td>${quantidadeItem}</td>
|
||||
// <td><input type="text" class="form-control" name="fornecedor_${index}_${i}" /></td>
|
||||
// <td><input type="number" class="form-control" name="preco_${index}_${i}" /></td>
|
||||
// <td><input type="date" class="form-control" name="dataEntrega_${index}_${i}" /></td>
|
||||
// <td><input type="email" class="form-control" name="email_${index}_${i}" /></td>
|
||||
// </tr>`;
|
||||
// tbody.append(row);
|
||||
// }
|
||||
// });
|
||||
// });
|
||||
|
||||
$('#gerarTabela').click(function() {
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
/**
|
||||
* Toda a lógica para o correto funcionamento desse componente foi feito em cima das classes abaixo:
|
||||
* .componentAnexo, .descAnexo, .inputAnexo, .btnUpFile, .btnViewerFile, .btnDownloadFile e o atributo data-acao
|
||||
* Sem elas o código não irá funcionar, então se por acaso você quiser alterar os nomes dessas classes
|
||||
* lembre-se de alterar nas funções desse arquivo e também no css
|
||||
*/
|
||||
|
||||
/**
|
||||
* Direciona para cada função correspondente ao valor que esta no atributo data-acao do botão
|
||||
* @param {object} event Parâmetro obrigatório, o própio elemento que sofreu o evento click
|
||||
* @return {void}
|
||||
* @author Sérgio Machado
|
||||
*/
|
||||
function anexo(event){
|
||||
console.log("event")
|
||||
console.log(event)
|
||||
try{
|
||||
const acao = event.currentTarget.getAttribute("data-acao");
|
||||
const inputFile = $(event.currentTarget).parent().parent().find(".inputAnexo")[0]
|
||||
const fileDescription = $(event.currentTarget).parent().parent().find(".descAnexo").val()
|
||||
if(acao == "upload"){
|
||||
uploadFile(fileDescription, inputFile.id)
|
||||
}
|
||||
if(acao == "viewer"){
|
||||
viewerFile(fileDescription)
|
||||
}
|
||||
if(acao == "download"){
|
||||
downloadFile(fileDescription, inputFile.id)
|
||||
}
|
||||
if(acao == "delete"){
|
||||
removeFileConfirm(fileDescription, inputFile.id)
|
||||
}
|
||||
}catch(e){
|
||||
console.error("Houve um erro inesperado na função anexo")
|
||||
console.error(e)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Envia arquivos para a aba Anexos do Fluig
|
||||
* Função adaptada por Sérgio Machado
|
||||
* @param {String} fileDescription Parâmetro obrigatório, Descrição do arquivo que ficará na aba anexos do Fluig
|
||||
* @param {String} idInput Parâmetro obrigatório, Id do campo em que o nome do arquivo fisico é gravado
|
||||
* @return {void}
|
||||
*/
|
||||
function uploadFile(fileDescription, idInput) {
|
||||
try{
|
||||
var tabAttachments = parent.document.getElementById("tab-attachments");
|
||||
if (tabAttachments) {
|
||||
//Verifica se o navegador é o Ie9 para realizar o devido tratamento
|
||||
if (parent.WCMAPI.isIe9()) {
|
||||
$(".ecm-navigation-silverlight", parent.document).show("fade").css("top", 0);
|
||||
$("#ecm-navigation-silverlight", parent.document).attr({
|
||||
"data-on-camera": "true", "data-file-name-camera": fileDescription, "data-inputNameFile": idInput
|
||||
});
|
||||
$(parent.document).on("keyup", this.actionKeyup)
|
||||
} else {
|
||||
var element = parent.document.getElementById("ecm-navigation-inputFile-clone");
|
||||
if (element && document.createEvent) {
|
||||
element.setAttribute("data-on-camera", "true");
|
||||
if (fileDescription && idInput) {
|
||||
element.setAttribute("data-file-name-camera", fileDescription)
|
||||
element.setAttribute("data-inputNameFile", idInput)
|
||||
}
|
||||
//Realiza o click no botão "Carregar arquivos" que tem na aba de anexos
|
||||
element.click();
|
||||
}
|
||||
}
|
||||
}
|
||||
}catch(e){
|
||||
console.error("Houve um erro inesperado na função uploadFile")
|
||||
console.error(e)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Função executada após a escolha do arquivo a ser enviado para o Fluig.
|
||||
* Verifica se o anexo já existe, seta o valor do arquivo fisico no campo e altera o estado dos botões
|
||||
* @return {void}
|
||||
*/
|
||||
$(function(){
|
||||
try{
|
||||
window.parent.$("#ecm-navigation-inputFile-clone").on('change', function(e) {
|
||||
const inputNameFile = this.getAttribute("data-inputNameFile");
|
||||
const fileDescription = this.getAttribute("data-file-name-camera");
|
||||
const filePhisical = this.files[0].name;
|
||||
if(fileDescription && fileDescription){
|
||||
/**
|
||||
* O trecho de código abaixo percorre os anexos do Fluig e caso já exista um anexo com a mesma descrição, ele será removido.
|
||||
* Em seguida limpa o campo onde é armazenado o nome fisico do arquivo
|
||||
*/
|
||||
$.each(parent.ECM.attachmentTable.getData(), function(i, attachment) {
|
||||
var descricao = attachment.description;
|
||||
if (fileDescription == descricao) {
|
||||
parent.WKFViewAttachment.removeAttach([i]);
|
||||
setFilePhisicalName(inputNameFile, "");
|
||||
}
|
||||
});
|
||||
setFilePhisicalName(inputNameFile, filePhisical)
|
||||
if(getFormMode() == "ADD"){
|
||||
btnState(inputNameFile, 'delete', 'download');
|
||||
}
|
||||
if(getFormMode() == "MOD"){
|
||||
btnState(inputNameFile, 'delete', 'viewer');
|
||||
}
|
||||
if(getFormMode() == "VIEW"){
|
||||
btnState(inputNameFile, 'download', 'viewer');
|
||||
}
|
||||
}
|
||||
});
|
||||
}catch(e){
|
||||
console.error("Houve um erro inesperado ao selecionar o arquivo")
|
||||
console.error(e)
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
/**
|
||||
* Visualizar arquivos que esta na aba Anexos do Fluig
|
||||
* @param {String} fileDescription Parâmetro obrigatório, Descrição do anexo
|
||||
* @return {void}
|
||||
*/
|
||||
function viewerFile(fileDescription) {
|
||||
try{
|
||||
if(hasFileFluig(fileDescription)){
|
||||
const anexos = parent.ECM.attachmentTable.getData();
|
||||
for(let i = 0; i < anexos.length; i++){
|
||||
var descricao = anexos[i].description;
|
||||
if (fileDescription == descricao) {
|
||||
parent.WKFViewAttachment.openAttachmentView('adm', anexos[i].documentId);
|
||||
return
|
||||
}
|
||||
}
|
||||
}else{
|
||||
FLUIGC.toast({
|
||||
title: "Atenção",
|
||||
message: "Anexo não encontrado",
|
||||
type: "warning"
|
||||
});
|
||||
}
|
||||
}catch(e){
|
||||
console.error("Houve um erro inesperado na função viewerFile")
|
||||
console.error(e)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Realiza o download do arquivo que esta na aba Anexos do Fluig
|
||||
* @param {String} idInput Parâmetro obrigatório, Id do campo em que o nome do arquivo fisico é gravado
|
||||
* @param {String} fileDescription Parâmetro obrigatório, Descrição do arquivo que esta na aba anexos do Fluig
|
||||
* @return {void}
|
||||
*/
|
||||
function downloadFile(fileDescription, idInput) {
|
||||
try{
|
||||
const filename = getFormMode() == "VIEW" ? $(`#${idInput}`).text() : $(`#${idInput}`).val()
|
||||
FLUIGC.message.confirm({
|
||||
message: `Deseja baixar o anexo <b>${filename}</b>?`,
|
||||
title: 'Confirmação',
|
||||
labelYes: 'Sim, quero baixar',
|
||||
labelNo: 'Não, quero cancelar',
|
||||
}, function(result) {
|
||||
if (result) {
|
||||
$.each(parent.ECM.attachmentTable.getData(), function(i, attachment) {
|
||||
var descricao = attachment.description;
|
||||
if (fileDescription == descricao) {
|
||||
parent.WKFViewAttachment.downloadAttach([i]);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}catch(e){
|
||||
console.error("Houve um erro inesperado na função downloadFile")
|
||||
console.error(e)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Confirmação para Remove arquivo que esta na aba Anexos do Fluig
|
||||
* @param {String} idInput Parâmetro obrigatório, Id do campo em que o nome do arquivo fisico é gravado
|
||||
* @param {String} fileDescription Parâmetro obrigatório, Descrição do arquivo que esta na aba anexos do Fluig
|
||||
* @return {void}
|
||||
* @author Sérgio Machado
|
||||
*/
|
||||
function removeFileConfirm(fileDescription, idInput) {
|
||||
try{
|
||||
const filename = $(`#${idInput}`).val()
|
||||
FLUIGC.message.confirm({
|
||||
message: `Deseja remover o anexo <b>${filename}</b>?`,
|
||||
title: 'Confirmação',
|
||||
labelYes: 'Sim, quero remover',
|
||||
labelNo: 'Não, quero cancelar',
|
||||
}, function(result) {
|
||||
if (result) {
|
||||
removeFile(fileDescription)
|
||||
setFilePhisicalName(idInput, "")
|
||||
btnState(idInput, "upload", "download")
|
||||
}
|
||||
});
|
||||
}catch(e){
|
||||
console.error("Houve um erro inesperado na função removeFileConfirm")
|
||||
console.error(e)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove arquivo que esta na aba Anexos do Fluig
|
||||
* @param {String} fileDescription Parâmetro obrigatório, Descrição do arquivo que esta na aba anexos do Fluig
|
||||
* @return {void}
|
||||
* @author Sérgio Machado
|
||||
*/
|
||||
function removeFile(fileDescription) {
|
||||
try{
|
||||
$.each(parent.ECM.attachmentTable.getData(), function(i, attachment) {
|
||||
if (attachment.description == fileDescription) {
|
||||
parent.WKFViewAttachment.removeAttach([i]);
|
||||
}
|
||||
});
|
||||
}catch(e){
|
||||
console.error("Houve um erro inesperado na função removeFile")
|
||||
console.error(e)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Seta o nome do arquivo fisico no campo e realiza tratativa caso o campo esteja bloqueado pelo enableFields
|
||||
* @param {String} idInput Parâmetro obrigatório, Id do campo em que o nome do arquivo fisico é gravado
|
||||
* @param {String} filePhisical Parâmetro obrigatório, nome do arquivo fisico
|
||||
* @return {void}
|
||||
* @author Sérgio Machado
|
||||
*/
|
||||
function setFilePhisicalName(idInput, filePhisical){
|
||||
try{
|
||||
if(idInput.indexOf("_") == 0){
|
||||
$("#" + idInput.substring(1)).val(filePhisical);
|
||||
}
|
||||
$("#" + idInput).val(filePhisical);
|
||||
}catch(e){
|
||||
console.error("Houve um erro inesperado na função setFilePhisicalName")
|
||||
console.error(e)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Altera o estado e visibilidade dos botões de anexos
|
||||
* @param {String} idInput Parâmetro obrigatório, Id do campo em que o nome do arquivo fisico é gravado
|
||||
* @param {String} acao Parâmetro obrigatório, ação para ser executada no momento do click, se é delete ou upload
|
||||
* @param {String} btn Parâmetro obrigatório, botão secundário que deve sofrer ação de ficar visível ou não. Botão de Download ou Viewer
|
||||
* @return {void}
|
||||
* @author Sérgio Machado
|
||||
*/
|
||||
function btnState(idInput, acao, btn){
|
||||
try{
|
||||
let btnUpFile = $(`#${idInput}`).parent().parent().find(".btnUpFile");
|
||||
let btnDownloadFile = $(`#${idInput}`).parent().parent().find(".btnDownloadFile");
|
||||
let btnViewerFile = $(`#${idInput}`).parent().parent().find(".btnViewerFile");
|
||||
if(acao == "delete"){
|
||||
btnUpFile.removeClass("btn-success").addClass("btn-danger");
|
||||
btnUpFile.attr({'data-acao': acao, 'title': 'Excluir'});
|
||||
btnUpFile.find("i").removeClass("fluigicon-file-upload").addClass("fluigicon-trash");
|
||||
if(btn == "download"){
|
||||
btnDownloadFile.prop("disabled", false);
|
||||
btnDownloadFile.show()
|
||||
}
|
||||
if(btn == "viewer"){
|
||||
btnViewerFile.prop("disabled", false);
|
||||
btnViewerFile.show()
|
||||
}
|
||||
}
|
||||
if(acao == "upload"){
|
||||
btnUpFile.removeClass("btn-danger").addClass("btn-success");
|
||||
btnUpFile.attr({'data-acao': acao, 'title': 'Selecionar'});
|
||||
btnUpFile.find("i").removeClass("fluigicon-trash").addClass("fluigicon-file-upload");
|
||||
btnDownloadFile.prop("disabled", true);
|
||||
btnDownloadFile.hide()
|
||||
btnViewerFile.prop("disabled", true);
|
||||
btnViewerFile.hide()
|
||||
}
|
||||
}catch(e){
|
||||
console.error("Houve um erro inesperado na função btnState")
|
||||
console.error(e)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Faz tratativa nos botões do anexos percorrente cada class .componentAnexo
|
||||
* Em modo de visualização o botão de upload é removido, e caso tenha anexo, habilita o botão de visualização do anexo
|
||||
* Se em modo de edição e conter anexo o botão de upload é alterado para o botão de deletar anexos e habilita o botão de visualização
|
||||
* @return {void}
|
||||
* @author Sérgio Machado
|
||||
*/
|
||||
function displayBtnFiles(){
|
||||
try{
|
||||
$('.componentAnexo').each(function(i, element) {
|
||||
let inputFile = $(element).find(".inputAnexo")
|
||||
let inputFileVew = $(element).find(".componentAnexo")
|
||||
let btnUpFile = $(element).find(".btnUpFile");
|
||||
let btnViewerFile = $(element).find(".btnViewerFile");
|
||||
let btnDownloadFile = $(element).find(".btnDownloadFile");
|
||||
|
||||
if(getFormMode() == "VIEW"){
|
||||
btnUpFile.remove();
|
||||
if(inputFileVew.val() != ""){
|
||||
btnViewerFile.prop("disabled", false);
|
||||
btnViewerFile.show()
|
||||
}
|
||||
}
|
||||
if(getFormMode() == "MOD" && inputFile.val() != ""){
|
||||
btnUpFile.remove();
|
||||
// btnState(inputFile[0].id, "delete", "viewer")
|
||||
btnViewerFile.prop("disabled", false);
|
||||
btnViewerFile.show()
|
||||
btnDownloadFile.prop("disabled", false);
|
||||
btnDownloadFile.show()
|
||||
}
|
||||
});
|
||||
}catch(e){
|
||||
console.error("Houve um erro inesperado na função displayBtnFiles")
|
||||
console.error(e)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Remove o botão de upload/delete
|
||||
* @param {String} inputFile Parâmetro obrigatório, Id do campo
|
||||
* @return {void}
|
||||
* @author Sérgio Machado
|
||||
*/
|
||||
function invisibleBtnUpload(inputFile){
|
||||
try{
|
||||
if(getFormMode() == "MOD" || getFormMode() == "VIEW"){
|
||||
if($(`#_${inputFile}`).length){
|
||||
let btnUpFile = $(`#_${inputFile}`).parent().parent().find(".btnUpFile");
|
||||
btnUpFile.remove();
|
||||
} else{
|
||||
let btnUpFile = $(`#${inputFile}`).parent().parent().find(".btnUpFile");
|
||||
btnUpFile.remove();
|
||||
}
|
||||
}
|
||||
if($(`#_${inputFile}`).length){
|
||||
if($(`#_${inputFile}`).val() == ""){
|
||||
$(`#_${inputFile}`).attr({placeholder:"Nenhum anexo selecionado"});
|
||||
}
|
||||
} else{
|
||||
if($(`#${inputFile}`).val() == ""){
|
||||
$(`#${inputFile}`).attr({placeholder:"Nenhum anexo selecionado"});
|
||||
}
|
||||
}
|
||||
}catch(e){
|
||||
console.error("Houve um erro inesperado na função invisibleBtnUpload")
|
||||
console.error(e)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Verifica se os campos do anexo de uma tabela pai e filho esta preenchido,
|
||||
* caso esteja, ele verifica se o anexo esta presente na aba de anexos do Fluig
|
||||
* @param {String} tablename Parâmetro obrigatório, tablename da tabela pai e filho.
|
||||
* @param {String} idInput Parâmetro obrigatório, Id do campo de anexo que deseja verificar
|
||||
* @return {String} - Retorna string de erros caso apresente erros
|
||||
* @author Sérgio Machado
|
||||
*/
|
||||
function invalidFilesTable(tablename, idInput){
|
||||
try {
|
||||
let errors = "";
|
||||
const countRows = $(`[tablename='${tablename}']`).find('tbody tr').not(':first');
|
||||
for(let i = 0; i < countRows.length; i++){
|
||||
let indice = getIndice(countRows.eq(i).find("input")[0].id);
|
||||
let inputNameFile = $(`#_${idInput}___${indice}`).length ? $(`#_${idInput}___${indice}`) : $(`#${idInput}___${indice}`)
|
||||
let fileDescription = inputNameFile.parent().find(".descAnexo").val()
|
||||
if(inputNameFile.val() && !hasFileFluig(fileDescription)){
|
||||
errors += `<li style='margin-bottom: 5px;'>O anexo <b>${inputNameFile.val()}</b> da linha <b>${i+1}</b> não foi encontrado</li>`
|
||||
}
|
||||
}
|
||||
return errors
|
||||
} catch (e) {
|
||||
console.error('Houve um erro inesperado na função invalidFileTable')
|
||||
console.error(e)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Verifica se o campo do anexo esta preenchido, caso esteja, ele verifica se o anexo esta válido
|
||||
* @param {String} idInput Parâmetro obrigatório, Id do campo em que o nome do arquivo fisico é gravado
|
||||
* @return {Boolean}
|
||||
* @author Sérgio Machado
|
||||
*/
|
||||
function invalidFile(idInput){
|
||||
try {
|
||||
const inputNameFile = $(`#${idInput}`).val()
|
||||
if(inputNameFile){
|
||||
if($(`#_${idInput}`).length){
|
||||
let fileDescription = $(`#_${idInput}`).parent().find(".descAnexo").val()
|
||||
return !hasFileFluig(fileDescription)
|
||||
} else{
|
||||
let fileDescription = $(`#${idInput}`).parent().find(".descAnexo").val()
|
||||
return !hasFileFluig(fileDescription)
|
||||
}
|
||||
}else{
|
||||
return false
|
||||
}
|
||||
} catch (e) {
|
||||
console.error('Houve um erro inesperado na função invalidFile')
|
||||
console.error(e)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Verifica se o anexo existe na aba de anexos do Fluig
|
||||
* @param {String} fileDescription Parâmetro obrigatório, Descrição do arquivo
|
||||
* @return {Boolean} - Retorna verdadeiro caso o arquivo exista
|
||||
* @author Sérgio Machado
|
||||
*/
|
||||
function hasFileFluig(fileDescription){
|
||||
try {
|
||||
const anexos = parent.ECM.attachmentTable.getData();
|
||||
for(let i = 0; i < anexos.length; i++){
|
||||
var descricao = anexos[i].description;
|
||||
if (fileDescription == descricao) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
} catch (e) {
|
||||
console.error('Houve um erro inesperado na função hasFileFluig')
|
||||
console.error(e)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
$("#userValidacaoGestor").val($("#currentUserName").val());
|
||||
@@ -0,0 +1,876 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<link rel="stylesheet" type="text/css" href="/style-guide/css/fluig-style-guide.min.css" />
|
||||
|
||||
<script src="/resources/js/jquery/jquery.js"></script>
|
||||
<script src="/resources/js/jquery/jquery-ui.min.js"></script>
|
||||
<script src="/resources/js/mustache/mustache-min.js"></script>
|
||||
<script src="/style-guide/js/fluig-style-guide.min.js"></script>
|
||||
<script type="text/javascript" src="/webdesk/vcXMLRPC.js"></script>
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
<script type="text/javascript" src="excel.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/xlsx/0.18.5/xlsx.full.min.js"></script>
|
||||
|
||||
|
||||
|
||||
<style>
|
||||
h6 {
|
||||
color: #afb0b3 !important;
|
||||
font-weight: normal !important;
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: #008ac4 !important;
|
||||
display: flex !important;
|
||||
flex-direction: row !important;
|
||||
}
|
||||
|
||||
h2:after {
|
||||
content: "" !important;
|
||||
flex: 1 1 !important;
|
||||
border-bottom: 2px solid #008ac4 !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.flaticon {
|
||||
color: #008ac4 !important;
|
||||
}
|
||||
|
||||
#rcorners {
|
||||
height: 110px;
|
||||
line-height: 110px;
|
||||
color: white;
|
||||
border-radius: 0px 0px 50px 50px;
|
||||
background: rgb(0, 138, 192);
|
||||
background: linear-gradient(90deg,
|
||||
rgba(0, 138, 192, 1) 0%,
|
||||
rgba(2, 166, 189, 1) 50%,
|
||||
rgba(1, 192, 181, 1) 100%);
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
.change-weight {
|
||||
font-weight: 400 !important;
|
||||
}
|
||||
|
||||
.asteristicWarning {
|
||||
color: #000000 !important;
|
||||
margin-top: 50px !important;
|
||||
}
|
||||
|
||||
textarea {
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.errorValidate .requiredInput,
|
||||
.errorValidate .select2 {
|
||||
border: 2px solid #cc3d3d !important;
|
||||
}
|
||||
|
||||
.text-error {
|
||||
font-size: 10px;
|
||||
margin: 0;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.errorValidate .text-error {
|
||||
display: block;
|
||||
}
|
||||
|
||||
input.select2-search__field::placeholder {
|
||||
color: #afb0b3;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="fluig-style-guide" style="background-color: white">
|
||||
<form>
|
||||
<div style="display: none">
|
||||
<input type="text" id="WKNumProces" name="WKNumProces" />
|
||||
<input type="text" id="activity" name="activity" />
|
||||
<input type="text" id="formMode" name="formMode" />
|
||||
|
||||
<!-- requester -->
|
||||
<input type="text" id="requesterMail" name="requesterMail" />
|
||||
<input type="text" id="requesterId" name="requesterId" />
|
||||
|
||||
<!-- current user -->
|
||||
<input type="text" id="currentUserName" name="currentUserName" />
|
||||
<input type="text" id="currentUsermail" name="currentUsermail" />
|
||||
<input type="text" id="currentUserId" name="currentUserId" />
|
||||
|
||||
<input type="text" id="gestor_cc" name="gestor_cc" />
|
||||
<input type="text" id="gestor_cce" name="gestor_cce" />
|
||||
</div>
|
||||
|
||||
<h1 id="rcorners">Solicitação de Transferência</h1>
|
||||
|
||||
<div class="container activity-all">
|
||||
<div class="activity activity-0 activity-1">
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-account-box" aria-hidden="true"></i>
|
||||
Dados gerais
|
||||
</h2>
|
||||
<h6>
|
||||
Dados referentes aos responsáveis pela abertura e pela
|
||||
solicitação do atual processo.
|
||||
</h6>
|
||||
<br />
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-10 col-xs-6">
|
||||
<label for="requesterName"> Usuário de abertura </label>
|
||||
<input type="text" name="requesterName" id="requesterName" class="form-control"
|
||||
data-protection="Usuário de abertura" data-protection-anonymizable data-protection-sensitive
|
||||
data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo"
|
||||
readonly />
|
||||
</div>
|
||||
<div class="form-group col-md-2 col-xs-6">
|
||||
<label for="dataAbertura"> Data </label>
|
||||
<input type="text" name="dataAbertura" id="dataAbertura" class="form-control" readonly />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-6 col-xs-12">
|
||||
<label for="userSolicitante"> Analista solicitante </label>
|
||||
<input placeholder="Inserir nome solicitante." type="text" class="form-control" name="userSolicitante"
|
||||
id="userSolicitante" data-protection="Usuário solicitante" data-protection-anonymizable
|
||||
data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||||
</div>
|
||||
<div class="form-group col-md-6 col-xs-12">
|
||||
<label for="emailSolicitante">
|
||||
E-mail do solicitante
|
||||
</label>
|
||||
<input placeholder="Inserir e-mail do solicitante. Ex.: Joaodasilva@email.com.br" type="text"
|
||||
name="emailSolicitante" id="emailSolicitante" class="form-control"
|
||||
data-protection="E-mail do solicitante" data-protection-anonymizable data-protection-sensitive
|
||||
data-protection-mail
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-6 col-xs-12">
|
||||
<label for="estabelecimento">
|
||||
Filial Emitente
|
||||
</label>
|
||||
<span class="required text-danger"><strong> * </strong></span>
|
||||
<input type="zoom" class="form-control requiredInput" name="estabelecimento" id="estabelecimento"
|
||||
data-zoom="{
|
||||
'displayKey':'centroCusto',
|
||||
'datasetId':'ds_LojasTransf',
|
||||
'placeholder': 'Pesquisar nome do estabelecimento ou filial.',
|
||||
'fields':[
|
||||
{
|
||||
'field':'codigoCentroCusto',
|
||||
'label':'Código',
|
||||
'standard':'true',
|
||||
'search':'true'
|
||||
},
|
||||
{
|
||||
'field':'centroCusto',
|
||||
'label':'Centro de custo',
|
||||
'search':'true'
|
||||
},
|
||||
{
|
||||
'field': 'gestorCentroCusto',
|
||||
'label': 'Gestor',
|
||||
'visible': 'false'
|
||||
},
|
||||
{
|
||||
'field': 'emailGestor',
|
||||
'label': 'Email do gestor',
|
||||
'visible': 'false'
|
||||
},
|
||||
{
|
||||
'field': 'idGestor',
|
||||
'label': 'Id do gestor',
|
||||
'visible': 'false'
|
||||
}
|
||||
]
|
||||
}" />
|
||||
<p class="text-danger text-error">
|
||||
Preenchimento obrigatório.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
<div class="form-group col-md-6 col-xs-6">
|
||||
<label for="centroCusto"> Filial Destino </label>
|
||||
<input type="zoom" class="form-control" name="centroCusto" id="centroCusto" data-zoom="{
|
||||
'displayKey':'centroCusto',
|
||||
'datasetId':'ds_LojasTransf',
|
||||
'placeholder': 'Pesquisar número ou nome do centro de custo.',
|
||||
'fields':[
|
||||
{
|
||||
'field':'codigoCentroCusto',
|
||||
'label':'Código',
|
||||
'standard':'true',
|
||||
'search':'true'
|
||||
},
|
||||
{
|
||||
'field':'centroCusto',
|
||||
'label':'Centro de custo',
|
||||
'search':'true'
|
||||
},
|
||||
{
|
||||
'field': 'gestorCentroCusto',
|
||||
'label': 'Gestor',
|
||||
'visible': 'false'
|
||||
},
|
||||
{
|
||||
'field': 'emailGestor',
|
||||
'label': 'Email do gestor',
|
||||
'visible': 'false'
|
||||
},
|
||||
{
|
||||
'field': 'idGestor',
|
||||
'label': 'Id do gestor',
|
||||
'visible': 'false'
|
||||
}
|
||||
]
|
||||
}" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-6 col-xs-12">
|
||||
<label for="gestorNomeE">
|
||||
Gestor aprovador da Filial Emitente
|
||||
</label>
|
||||
<input type="text" placeholder="Nome do gestor aprovador do centro de custo" class="form-control"
|
||||
name="gestorNomeE" id="gestorNomeE" data-protection="Gestor aprovador do centro de custo"
|
||||
data-protection-anonymizable data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo"
|
||||
readonly />
|
||||
</div>
|
||||
<div class="form-group col-md-6 col-xs-6">
|
||||
<label for="gestorEmail"> E-mail do gestor </label>
|
||||
<input type="text" placeholder="E-mail do gestor aprovador do centro de custo" name="gestorEmailE"
|
||||
id="gestorEmailE" class="form-control" data-protection="E-mail do gestor"
|
||||
data-protection-anonymizable data-protection-sensitive data-protection-mail
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo"
|
||||
readonly />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-6 col-xs-12">
|
||||
<label for="gestorNome">
|
||||
Gestor aprovador da Filial Destino
|
||||
</label>
|
||||
<input type="text" placeholder="Nome do gestor aprovador do centro de custo" class="form-control"
|
||||
name="gestorNome" id="gestorNome" data-protection="Gestor aprovador do centro de custo"
|
||||
data-protection-anonymizable data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo"
|
||||
readonly />
|
||||
</div>
|
||||
<div class="form-group col-md-6 col-xs-6">
|
||||
<label for="gestorEmail"> E-mail do gestor </label>
|
||||
<input type="text" placeholder="E-mail do gestor aprovador do centro de custo" name="gestorEmail"
|
||||
id="gestorEmail" class="form-control" data-protection="E-mail do gestor"
|
||||
data-protection-anonymizable data-protection-sensitive data-protection-mail
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo"
|
||||
readonly />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-product" aria-hidden="true"></i>
|
||||
Itens
|
||||
</h2>
|
||||
<h6>
|
||||
Dados referentes ao itens de Transferência necessários para o
|
||||
solicitante.
|
||||
</h6>
|
||||
<br />
|
||||
</div>
|
||||
|
||||
<div id="blocoAnexoExcel" style="margin-bottom: 10px;">
|
||||
<label><b>Importar itens via Excel:</b></label><br>
|
||||
|
||||
<!-- input hidden, controlado pelos botões -->
|
||||
<input type="file" id="excelUpload" name="excelUpload" accept=".xlsx, .xls" style="display: none;" />
|
||||
|
||||
<!-- botão personalizado para escolher arquivo -->
|
||||
<button type="button" class="btn btn-primary btn-sm" id="btnAdicionarExcel">
|
||||
Adicionar arquivo
|
||||
</button>
|
||||
|
||||
<!-- botão de remover, só aparece se tiver arquivo -->
|
||||
<button type="button" class="btn btn-danger btn-sm" id="btnRemoverExcel" style="display: none; margin-left: 10px;">
|
||||
Remover arquivo
|
||||
</button>
|
||||
|
||||
<!-- nome do arquivo -->
|
||||
<div id="nomeArquivoExcel" style="margin-top: 5px; font-style: italic; color: #555;"></div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12 col-xs-12">
|
||||
<table tablename="tabelaItens" class="table" id="tabelaItens" noaddbutton="true"
|
||||
nodeletebutton="true">
|
||||
<thead>
|
||||
<tr class="tableHeadRow">
|
||||
<th class="tableColumn">#</th>
|
||||
<th class="tableColumn">Código do Item</th>
|
||||
<th class="tableColumn">Quantidade</th>
|
||||
<th class="tableColumn">Descrição</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr class="tableBodyRow">
|
||||
<td style="width: 10%">
|
||||
<div class="form-input">
|
||||
<span><strong class="tabela_itens_id"> </strong></span>
|
||||
</div>
|
||||
</td>
|
||||
<td style="width: 25%">
|
||||
<div class="form-input">
|
||||
<input type="zoom" class="form-control requiredInput" name="descricao" id="descricao"
|
||||
data-zoom="{
|
||||
'displayKey':'codigo',
|
||||
'datasetId':'revenda',
|
||||
'maximumSelectionLength':'1',
|
||||
'placeholder':'Buscar item',
|
||||
'resultlimit':'10',
|
||||
'fields':[
|
||||
{
|
||||
'field':'codigo',
|
||||
'label':' Código do Item',
|
||||
'standard':'true',
|
||||
'search': 'true'
|
||||
},
|
||||
{
|
||||
'field':'descricao',
|
||||
'label':'Nome do Item',
|
||||
'standard':'true',
|
||||
'search': 'true'
|
||||
}
|
||||
]
|
||||
}" />
|
||||
<p class="text-danger text-error">
|
||||
Preenchimento obrigatório.
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td style="width: 10%">
|
||||
<div class="form-input">
|
||||
<input type="number" placeholder="Inserir quantidade" class="form-control requiredInput"
|
||||
name="quantidadeItem" id="quantidadeItem" />
|
||||
<p class="text-danger text-error">
|
||||
Preenchimento obrigatório.
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td style="width: 40%">
|
||||
<div class="form-input">
|
||||
<input type="text" class="form-control" name="codigoItem" id="codigoItem" readonly />
|
||||
</div>
|
||||
</td>
|
||||
<td class="hideButton" style="width: 70px">
|
||||
<button onClick="remove_row(this)" class="fluigicon fluigicon-trash fluigicon-md btn"
|
||||
style="position: initial; background: white"></button>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="row hideButton">
|
||||
<div class="col-md-3 col-xs-3" style="cursor: pointer" onClick="add_new_row('tabelaItens')">
|
||||
<span class="fluigicon fluigicon-plus fluigicon-sm"></span>
|
||||
|
||||
<label style="cursor: pointer">
|
||||
Adicionar novo item
|
||||
</label>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-message-question" aria-hidden="true"></i>
|
||||
Justificativa
|
||||
</h2>
|
||||
<h6>
|
||||
Motivos para a transferência dos itens e as possíveis informações
|
||||
complementares.
|
||||
</h6>
|
||||
<br />
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12 col-xs-12">
|
||||
<label for="justificativa">
|
||||
Qual o motivo da Transferência?
|
||||
</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
<textarea placeholder="Descreva o motivo para a solicitação de transferência"
|
||||
class="form-control requiredInput" rows="3" id="justificativa" name="justificativa"></textarea>
|
||||
<p class="text-danger text-error">
|
||||
Preenchimento obrigatório.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
</div>
|
||||
|
||||
<div class="activity activity-4">
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-check-circle" aria-hidden="true"></i>
|
||||
Validação dos Itens
|
||||
</h2>
|
||||
<h6>
|
||||
Informações complementares sobre a validação dos
|
||||
da solicitação.
|
||||
</h6>
|
||||
<br />
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-10 col-xs-6">
|
||||
<label for="userValidacaoGestor">
|
||||
Gestor responsável pela validação
|
||||
</label>
|
||||
<input type="text" name="userValidacaoGestor" id="userValidacaoGestor" class="form-control"
|
||||
data-protection="Gestor aprovador do centro de custo" data-protection-anonymizable
|
||||
data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo"
|
||||
readonly />
|
||||
</div>
|
||||
<div class="form-group col-md-2 col-xs-6">
|
||||
<label for="dataValidacaoGestor"> Data </label>
|
||||
<input type="text" name="dataValidacaoGestor" id="dataValidacaoGestor" class="form-control"
|
||||
readonly />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row justificativa-activity-4">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="justificativaDecisaoGestor">Justificativa</label>
|
||||
<textarea placeholder="Descreva a justificativa para a validação." class="form-control"
|
||||
name="justificativaDecisaoGestor" id="justificativaDecisaoGestor"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-group col-md-5">
|
||||
<label class="control-label">Anexe uma foto embalando os Produtos</label>
|
||||
<div class="componentAnexo">
|
||||
<input type="hidden" id="fdAnexo_embalar" class="descAnexo" name="fdAnexo_embalar"
|
||||
value="Anexo Embalar" />
|
||||
<input type="text" id="fnAnexo_embalar" name="fnAnexo_embalar" class="form-control inputAnexo"
|
||||
placeholder="Selecione um arquivo" readonly />
|
||||
<div style="display: flex" class="icones">
|
||||
<button type="button" style="margin-left: 3px;" class="btnUpFile btn btn-success btn-sm excluir"
|
||||
data-acao="upload" onclick="anexo(event)" title="Selecionar">
|
||||
<i class="fluigicon fluigicon-file-upload icon-sm"></i>
|
||||
</button>
|
||||
<button style="display: none; margin-left: 3px;" type="button" class="btnViewerFile btn btn-info btn-sm"
|
||||
data-acao="viewer" onclick="anexo(event)" title="Visualizar" disabled>
|
||||
<i class="fluigicon fluigicon-eye-open icon-sm"></i>
|
||||
</button>
|
||||
<button style="display: none; margin-left: 3px;" type="button"
|
||||
class="btnDownloadFile btn btn-info btn-sm" data-acao="download" onclick="anexo(event)"
|
||||
title="Download" disabled>
|
||||
<i class="fluigicon fluigicon-download icon-sm"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="activity activity-6">
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-tests-central" aria-hidden="true"></i>
|
||||
Emissão da NFE de transferência
|
||||
</h2>
|
||||
<h6>
|
||||
Informações complementares sobre a emissão da NFE.
|
||||
</h6>
|
||||
<br />
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-10 col-xs-6">
|
||||
<label for="userValidacaoCompras">
|
||||
Usuário responsável pela Emissão
|
||||
</label>
|
||||
<input type="text" name="userValidacaoCompras" id="userValidacaoCompras" class="form-control"
|
||||
data-protection="Usuário responsável pela análise da solicitação" data-protection-anonymizable
|
||||
data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo"
|
||||
readonly />
|
||||
</div>
|
||||
<div class="form-group col-md-2 col-xs-6">
|
||||
<label for="dataValidacaoCompras"> Data </label>
|
||||
<input type="text" name="dataValidacaoCompras" id="dataValidacaoCompras" class="form-control"
|
||||
readonly />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<div class="row justificativa-activity-6">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="justificativaDecisaoCompras">Chave da Nota Fiscal</label>
|
||||
<textarea placeholder="Insira a chave da nota fiscal" class="form-control"
|
||||
rows="1" name="justificativaDecisaoCompras" id="justificativaDecisaoCompras"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-group col-md-5">
|
||||
<label class="control-label">Anexe aqui a Nota Fiscal</label>
|
||||
<div class="componentAnexo">
|
||||
<input type="hidden" id="fdAnexo_Nfe" class="descAnexo" name="fdAnexo_Nfe" value="Anexo NFE" />
|
||||
<input type="text" id="fnAnexo_Nfe" name="fnAnexo_Nfe" class="form-control inputAnexo"
|
||||
placeholder="Selecione um arquivo" readonly />
|
||||
<div style="display: flex" class="icones">
|
||||
<button type="button" style="margin-left: 3px;" class="btnUpFile btn btn-success btn-sm excluir"
|
||||
data-acao="upload" onclick="anexo(event)" title="Selecionar">
|
||||
<i class="fluigicon fluigicon-file-upload icon-sm"></i>
|
||||
</button>
|
||||
<button style="display: none; margin-left: 3px;" type="button" class="btnViewerFile btn btn-info btn-sm"
|
||||
data-acao="viewer" onclick="anexo(event)" title="Visualizar" disabled>
|
||||
<i class="fluigicon fluigicon-eye-open icon-sm"></i>
|
||||
</button>
|
||||
<button style="display: none; margin-left: 3px;" type="button"
|
||||
class="btnDownloadFile btn btn-info btn-sm" data-acao="download" onclick="anexo(event)"
|
||||
title="Download" disabled>
|
||||
<i class="fluigicon fluigicon-download icon-sm"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="activity activity-31">
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-edit-square" aria-hidden="true"></i>
|
||||
Motorista Responsável pela coleta
|
||||
</h2>
|
||||
<h6>
|
||||
Considerações sobre a coleta
|
||||
</h6>
|
||||
<br />
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-10 col-xs-6">
|
||||
<label for="userRealizacaoCompras">
|
||||
Usuário responsável pela transferência
|
||||
</label>
|
||||
<input type="text" name="userRealizacaoCompras" id="userRealizacaoCompras" class="form-control"
|
||||
data-protection="Usuário responsável pela compra" data-protection-anonymizable
|
||||
data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo"
|
||||
readonly />
|
||||
</div>
|
||||
<div class="form-group col-md-2 col-xs-6">
|
||||
<label for="dataRealizacaoCompras"> Data </label>
|
||||
<input type="text" name="dataRealizacaoCompras" id="dataRealizacaoCompras" class="form-control"
|
||||
readonly />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row justificativa-activity-31">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12 col-xs-12">
|
||||
<label for="consideracoesCompras"> Considerações sobre os itens da solicitação, realizadas pelo
|
||||
motorista responsável pela transferência. </label>
|
||||
<textarea placeholder="Insira suas considerações sobre o pedido de compras" class="form-control"
|
||||
rows="3" id="consideracoesCompras" name="consideracoesCompras"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-group col-md-5">
|
||||
<label class="control-label">Anexe uma foto coletando os Produtos</label>
|
||||
<div class="componentAnexo">
|
||||
<input type="hidden" id="fdAnexo_Coleta" class="descAnexo" name="fdAnexo_Coleta" value="Anexo Coleta" />
|
||||
<input type="text" id="fnAnexo_Coleta" name="fnAnexo_Coleta" class="form-control inputAnexo"
|
||||
placeholder="Selecione um arquivo" readonly />
|
||||
<div style="display: flex" class="icones">
|
||||
<button type="button" style="margin-left: 3px;" class="btnUpFile btn btn-success btn-sm excluir"
|
||||
data-acao="upload" onclick="anexo(event)" title="Selecionar">
|
||||
<i class="fluigicon fluigicon-file-upload icon-sm"></i>
|
||||
</button>
|
||||
<button style="display: none; margin-left: 3px;" type="button" class="btnViewerFile btn btn-info btn-sm"
|
||||
data-acao="viewer" onclick="anexo(event)" title="Visualizar" disabled>
|
||||
<i class="fluigicon fluigicon-eye-open icon-sm"></i>
|
||||
</button>
|
||||
<button style="display: none; margin-left: 3px;" type="button"
|
||||
class="btnDownloadFile btn btn-info btn-sm" data-acao="download" onclick="anexo(event)"
|
||||
title="Download" disabled>
|
||||
<i class="fluigicon fluigicon-download icon-sm"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="activity activity-57">
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-edit-square" aria-hidden="true"></i>
|
||||
Motorista responsável pela entrega
|
||||
</h2>
|
||||
<h6>
|
||||
Considerações sobre a entrega.
|
||||
</h6>
|
||||
<br />
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-10 col-xs-6">
|
||||
<label for="userCotacaoGestor">
|
||||
Considerações sobre a entrega
|
||||
</label>
|
||||
<input type="text" name="userCotacaoGestor" id="userCotacaoGestor" class="form-control"
|
||||
data-protection="Usuário responsável pela cotacao" data-protection-anonymizable
|
||||
data-protection-sensitive data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo"
|
||||
readonly />
|
||||
</div>
|
||||
<div class="form-group col-md-2 col-xs-6">
|
||||
<label for="dataAprovCompras"> Data </label>
|
||||
<input type="text" name="dataAprovCompras" id="dataAprovCompras" class="form-control" readonly />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row justificativa-activity-57">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12 col-xs-12">
|
||||
<label for="consideracoesCotacao"> Considerações sobre a coleta. </label>
|
||||
<textarea placeholder="Insira suas considerações sobre a transferência" class="form-control" rows="3"
|
||||
id="consideracoesCotacao" name="consideracoesCotacao"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-group col-md-5">
|
||||
<label class="control-label">Anexe uma foto do canhoto da nota</label>
|
||||
<div class="componentAnexo">
|
||||
<input type="hidden" id="fdAnexo_Entrega" class="descAnexo" name="fdAnexo_Entrega"
|
||||
value="Anexo Entrega" />
|
||||
<input type="text" id="fnAnexo_Entrega" name="fnAnexo_Entrega" class="form-control inputAnexo"
|
||||
placeholder="Selecione um arquivo" readonly />
|
||||
<div style="display: flex" class="icones">
|
||||
<button type="button" style="margin-left: 3px;" class="btnUpFile btn btn-success btn-sm excluir"
|
||||
data-acao="upload" onclick="anexo(event)" title="Selecionar">
|
||||
<i class="fluigicon fluigicon-file-upload icon-sm"></i>
|
||||
</button>
|
||||
<button style="display: none; margin-left: 3px;" type="button" class="btnViewerFile btn btn-info btn-sm"
|
||||
data-acao="viewer" onclick="anexo(event)" title="Visualizar" disabled>
|
||||
<i class="fluigicon fluigicon-eye-open icon-sm"></i>
|
||||
</button>
|
||||
<button style="display: none; margin-left: 3px;" type="button"
|
||||
class="btnDownloadFile btn btn-info btn-sm" data-acao="download" onclick="anexo(event)"
|
||||
title="Download" disabled>
|
||||
<i class="fluigicon fluigicon-download icon-sm"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="activity activity-18">
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-check-circle" aria-hidden="true"></i>
|
||||
Validação dos Itens entregues
|
||||
</h2>
|
||||
<br />
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-10 col-xs-6">
|
||||
<label for="userValidacaoItens"> Responsável pelo recebimento </label>
|
||||
<input type="text" name="userValidacaoItens" id="userValidacaoItens" class="form-control"
|
||||
data-protection="Solicitante" data-protection-anonymizable data-protection-sensitive
|
||||
data-protection-name
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo"
|
||||
readonly />
|
||||
</div>
|
||||
<div class="form-group col-md-2 col-xs-6">
|
||||
<label for="dataValidacaoItens"> Data </label>
|
||||
<input type="text" name="dataValidacaoItens" id="dataValidacaoItens" class="form-control" readonly />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label>Houve algum problema com a transferência?</label>
|
||||
<span class="text-danger"><strong>*</strong></span><br />
|
||||
<div>
|
||||
<label>
|
||||
<input name="validacaoItens" id="validacaoItensEntregue" value="entregue" type="radio" />
|
||||
<span class="change-weight">Não houve problema</span>
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
<label>
|
||||
<input name="validacaoItens" id="validacaoItensNaoEntregue" value="naoEntregue" type="radio" />
|
||||
<span class="change-weight">Transferência não entregue</span>
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
<label>
|
||||
<input name="validacaoItens" id="validacaoItensIncorreto" value="incorreto" type="radio" />
|
||||
<span class="change-weight">Entregue com inconsistência (qualidade, quantidade,
|
||||
embalagem)</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row justificativaDecisaoItens">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="justificativaDecisaoItens">Justificativa</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
<textarea class="form-control requiredInput"
|
||||
placeholder="Insira a justificativa sobre a validação dos itens" name="justificativaDecisaoItens"
|
||||
id="justificativaDecisaoItens"></textarea>
|
||||
<p class="text-danger text-error">
|
||||
Preenchimento obrigatório.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-group col-md-5">
|
||||
<label class="control-label">Anexe uma foto da mercadoria no Practico Live</label>
|
||||
<div class="componentAnexo">
|
||||
<input type="hidden" id="fdAnexo_recebimento" class="descAnexo" name="fdAnexo_recebimento"
|
||||
value="Anexo Recebimento" />
|
||||
<input type="text" id="fnAnexo_recebimento" name="fnAnexo_recebimento" class="form-control inputAnexo"
|
||||
placeholder="Selecione um arquivo" readonly />
|
||||
<div style="display: flex" class="icones">
|
||||
<button type="button" style="margin-left: 3px;" class="btnUpFile btn btn-success btn-sm excluir"
|
||||
data-acao="upload" onclick="anexo(event)" title="Selecionar">
|
||||
<i class="fluigicon fluigicon-file-upload icon-sm"></i>
|
||||
</button>
|
||||
<button style="display: none; margin-left: 3px;" type="button" class="btnViewerFile btn btn-info btn-sm"
|
||||
data-acao="viewer" onclick="anexo(event)" title="Visualizar" disabled>
|
||||
<i class="fluigicon fluigicon-eye-open icon-sm"></i>
|
||||
</button>
|
||||
<button style="display: none; margin-left: 3px;" type="button"
|
||||
class="btnDownloadFile btn btn-info btn-sm" data-acao="download" onclick="anexo(event)"
|
||||
title="Download" disabled>
|
||||
<i class="fluigicon fluigicon-download icon-sm"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="activity activity-24">
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-document-check" aria-hidden="true"></i>
|
||||
Validar problema de transferência
|
||||
</h2>
|
||||
<h6>Dados referentes às possíveis implicações desta transferência.</h6>
|
||||
<br />
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="justificativaValidaProblema">Quais as suas considerações?</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
<textarea placeholder="Insira as considerções desta transferência." class="form-control"
|
||||
name="justificativaValidaProblema" id="justificativaValidaProblema"></textarea>
|
||||
<p class="text-danger text-error">
|
||||
Preenchimento obrigatório.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h6 class="asteristicWarning">
|
||||
Todos os campos com * são de preenchimento obrigatório.
|
||||
</h6>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,9 @@
|
||||
function resolve(process,colleague){
|
||||
|
||||
var userList = new java.util.ArrayList();
|
||||
|
||||
userList.add("Pool:Group:TIC");
|
||||
|
||||
return userList;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,281 @@
|
||||
<list>
|
||||
<ProcessDefinition>
|
||||
<processDefinitionPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>Flow</processId>
|
||||
</processDefinitionPK>
|
||||
<processDescription>Flow</processDescription>
|
||||
<instruction></instruction>
|
||||
<active>true</active>
|
||||
<publicProcess>false</publicProcess>
|
||||
<volumeId>Default</volumeId>
|
||||
<categoryId></categoryId>
|
||||
<managerEngineAllocationId></managerEngineAllocationId>
|
||||
<snapshotFrequency>0</snapshotFrequency>
|
||||
<baseDay>0</baseDay>
|
||||
<baseMonth>0</baseMonth>
|
||||
<periodId>Default</periodId>
|
||||
<uniqueCardVersion>false</uniqueCardVersion>
|
||||
<keyWord></keyWord>
|
||||
<complementsLevel>1</complementsLevel>
|
||||
<notifyRequisitionerComplements>true</notifyRequisitionerComplements>
|
||||
<notifyManagerComplements>false</notifyManagerComplements>
|
||||
<deadlineTime>0</deadlineTime>
|
||||
<warningDeadlineTime>0</warningDeadlineTime>
|
||||
<notifyAuthorityComplements>true</notifyAuthorityComplements>
|
||||
</ProcessDefinition>
|
||||
<ProcessDefinitionVersion>
|
||||
<processDefinitionVersionPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>Flow</processId>
|
||||
<version>1</version>
|
||||
</processDefinitionVersionPK>
|
||||
<versionDescription></versionDescription>
|
||||
<formId>0</formId>
|
||||
<editionMode>true</editionMode>
|
||||
<updateAttachmentsVersion>false</updateAttachmentsVersion>
|
||||
<controlsAttachmentsSecurity>false</controlsAttachmentsSecurity>
|
||||
<active>true</active>
|
||||
<blockedVersion>false</blockedVersion>
|
||||
<counterSign>false</counterSign>
|
||||
<openInstances>0</openInstances>
|
||||
<bpmnVersion>2</bpmnVersion>
|
||||
<processStates/>
|
||||
<favorito>false</favorito>
|
||||
<inheritFormSecurity>false</inheritFormSecurity>
|
||||
<mobileReady>false</mobileReady>
|
||||
</ProcessDefinitionVersion>
|
||||
<list>
|
||||
<ProcessState>
|
||||
<processStatePK>
|
||||
<companyId>1</companyId>
|
||||
<processId>Flow</processId>
|
||||
<version>1</version>
|
||||
<sequence>4</sequence>
|
||||
</processStatePK>
|
||||
<stateName>Início</stateName>
|
||||
<stateDescription>Início</stateDescription>
|
||||
<instruction></instruction>
|
||||
<deadlineTime>0</deadlineTime>
|
||||
<joint>false</joint>
|
||||
<agreementPercentage>0</agreementPercentage>
|
||||
<engineAllocationId></engineAllocationId>
|
||||
<engineAllocationConfiguration></engineAllocationConfiguration>
|
||||
<selectColleague>1</selectColleague>
|
||||
<initialState>true</initialState>
|
||||
<notifyAuthorityDelay>true</notifyAuthorityDelay>
|
||||
<notifyRequisitionerDelay>false</notifyRequisitionerDelay>
|
||||
<allowanceAuthorityTime>3600</allowanceAuthorityTime>
|
||||
<frequenceAuthorityTime>3600</frequenceAuthorityTime>
|
||||
<allowanceRequisitionerTime>0</allowanceRequisitionerTime>
|
||||
<frequenceRequisitionerTime>0</frequenceRequisitionerTime>
|
||||
<transferAttachments>false</transferAttachments>
|
||||
<subProcessId></subProcessId>
|
||||
<formFolder>0</formFolder>
|
||||
<notifyAuthorityFollowUp>false</notifyAuthorityFollowUp>
|
||||
<notifyRequisitionerFollowUp>false</notifyRequisitionerFollowUp>
|
||||
<automatic>false</automatic>
|
||||
<positionX>150</positionX>
|
||||
<positionY>82</positionY>
|
||||
<forecastedEffortType>0</forecastedEffortType>
|
||||
<forecastedEffort>0</forecastedEffort>
|
||||
<notifyManagerFollowUp>false</notifyManagerFollowUp>
|
||||
<notifyManagerDelay>false</notifyManagerDelay>
|
||||
<allowanceManagerTime>0</allowanceManagerTime>
|
||||
<frequenceManagerTime>0</frequenceManagerTime>
|
||||
<inhibitTransfer>false</inhibitTransfer>
|
||||
<periodId></periodId>
|
||||
<stateType>0</stateType>
|
||||
<bpmnType>10</bpmnType>
|
||||
<signalId>0</signalId>
|
||||
<counterSign>false</counterSign>
|
||||
<openInstances>0</openInstances>
|
||||
<noticeExpirationAuthorityTime>0</noticeExpirationAuthorityTime>
|
||||
<noticeExpirationRequisitionerTime>0</noticeExpirationRequisitionerTime>
|
||||
<noticeExpirationManagerTime>0</noticeExpirationManagerTime>
|
||||
<destinationStates/>
|
||||
<digitalSignature>false</digitalSignature>
|
||||
</ProcessState>
|
||||
<ProcessState>
|
||||
<processStatePK>
|
||||
<companyId>1</companyId>
|
||||
<processId>Flow</processId>
|
||||
<version>1</version>
|
||||
<sequence>5</sequence>
|
||||
</processStatePK>
|
||||
<stateName>Act1</stateName>
|
||||
<stateDescription>Act1</stateDescription>
|
||||
<instruction></instruction>
|
||||
<deadlineTime>0</deadlineTime>
|
||||
<deadlineFieldName></deadlineFieldName>
|
||||
<joint>false</joint>
|
||||
<agreementPercentage>0</agreementPercentage>
|
||||
<selectColleague>1</selectColleague>
|
||||
<initialState>false</initialState>
|
||||
<notifyAuthorityDelay>true</notifyAuthorityDelay>
|
||||
<notifyRequisitionerDelay>false</notifyRequisitionerDelay>
|
||||
<allowanceAuthorityTime>3600</allowanceAuthorityTime>
|
||||
<frequenceAuthorityTime>3600</frequenceAuthorityTime>
|
||||
<allowanceRequisitionerTime>0</allowanceRequisitionerTime>
|
||||
<frequenceRequisitionerTime>0</frequenceRequisitionerTime>
|
||||
<transferAttachments>false</transferAttachments>
|
||||
<subProcessId></subProcessId>
|
||||
<formFolder>0</formFolder>
|
||||
<notifyAuthorityFollowUp>true</notifyAuthorityFollowUp>
|
||||
<notifyRequisitionerFollowUp>false</notifyRequisitionerFollowUp>
|
||||
<automatic>false</automatic>
|
||||
<positionX>260</positionX>
|
||||
<positionY>208</positionY>
|
||||
<forecastedEffortType>0</forecastedEffortType>
|
||||
<forecastedEffort>0</forecastedEffort>
|
||||
<notifyManagerFollowUp>false</notifyManagerFollowUp>
|
||||
<notifyManagerDelay>false</notifyManagerDelay>
|
||||
<allowanceManagerTime>0</allowanceManagerTime>
|
||||
<frequenceManagerTime>0</frequenceManagerTime>
|
||||
<inhibitTransfer>false</inhibitTransfer>
|
||||
<periodId></periodId>
|
||||
<stateType>0</stateType>
|
||||
<bpmnType>80</bpmnType>
|
||||
<signalId>0</signalId>
|
||||
<counterSign>false</counterSign>
|
||||
<openInstances>0</openInstances>
|
||||
<noticeExpirationAuthorityTime>0</noticeExpirationAuthorityTime>
|
||||
<noticeExpirationRequisitionerTime>0</noticeExpirationRequisitionerTime>
|
||||
<noticeExpirationManagerTime>0</noticeExpirationManagerTime>
|
||||
<destinationStates/>
|
||||
<digitalSignature>false</digitalSignature>
|
||||
<executionType>0</executionType>
|
||||
</ProcessState>
|
||||
</list>
|
||||
<list/>
|
||||
<list>
|
||||
<ProcessLink>
|
||||
<processLinkPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>Flow</processId>
|
||||
<version>1</version>
|
||||
<linkSequence>6</linkSequence>
|
||||
</processLinkPK>
|
||||
<actionLabel></actionLabel>
|
||||
<returnPermited>false</returnPermited>
|
||||
<initialStateSequence>4</initialStateSequence>
|
||||
<finalStateSequence>5</finalStateSequence>
|
||||
<returnLabel></returnLabel>
|
||||
<name></name>
|
||||
<automaticLink>false</automaticLink>
|
||||
<defaultLink>false</defaultLink>
|
||||
<type>0</type>
|
||||
</ProcessLink>
|
||||
</list>
|
||||
<list/>
|
||||
<list/>
|
||||
<list/>
|
||||
<list>
|
||||
<SwimLane>
|
||||
<color>FFFFFF</color>
|
||||
<height>290</height>
|
||||
<width>831</width>
|
||||
<positionX>10</positionX>
|
||||
<positionY>10</positionY>
|
||||
<stateName>Pool</stateName>
|
||||
<type>1</type>
|
||||
<parentSequence>0</parentSequence>
|
||||
<swimLanePK>
|
||||
<companyId>1</companyId>
|
||||
<processId>Flow</processId>
|
||||
<version>1</version>
|
||||
<sequence>1</sequence>
|
||||
</swimLanePK>
|
||||
</SwimLane>
|
||||
<SwimLane>
|
||||
<color>9F9F9F</color>
|
||||
<height>145</height>
|
||||
<width>801</width>
|
||||
<positionX>40</positionX>
|
||||
<positionY>10</positionY>
|
||||
<stateName>Reporter</stateName>
|
||||
<type>2</type>
|
||||
<parentSequence>1</parentSequence>
|
||||
<swimLanePK>
|
||||
<companyId>1</companyId>
|
||||
<processId>Flow</processId>
|
||||
<version>1</version>
|
||||
<sequence>2</sequence>
|
||||
</swimLanePK>
|
||||
</SwimLane>
|
||||
<SwimLane>
|
||||
<color>C0C0C0</color>
|
||||
<height>145</height>
|
||||
<width>801</width>
|
||||
<positionX>40</positionX>
|
||||
<positionY>155</positionY>
|
||||
<stateName>Assignee</stateName>
|
||||
<type>2</type>
|
||||
<parentSequence>1</parentSequence>
|
||||
<swimLanePK>
|
||||
<companyId>1</companyId>
|
||||
<processId>Flow</processId>
|
||||
<version>1</version>
|
||||
<sequence>3</sequence>
|
||||
</swimLanePK>
|
||||
</SwimLane>
|
||||
</list>
|
||||
<list>
|
||||
<ProcessComponGraf>
|
||||
<componType>1</componType>
|
||||
<positionX>210</positionX>
|
||||
<positionY>20</positionY>
|
||||
<processComponGrafPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>Flow</processId>
|
||||
<version>1</version>
|
||||
<componGrafSequence>7</componGrafSequence>
|
||||
</processComponGrafPK>
|
||||
<stateName>Start</stateName>
|
||||
</ProcessComponGraf>
|
||||
</list>
|
||||
<list>
|
||||
<ProcessLinkAssoc>
|
||||
<processLinkAssocPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>Flow</processId>
|
||||
<version>1</version>
|
||||
<linkSequence>8</linkSequence>
|
||||
</processLinkAssocPK>
|
||||
<initialStateSequence>7</initialStateSequence>
|
||||
<finalStateSequence>4</finalStateSequence>
|
||||
</ProcessLinkAssoc>
|
||||
</list>
|
||||
<list>
|
||||
<ProcessLinkBend>
|
||||
<processLinkBendPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>Flow</processId>
|
||||
<version>1</version>
|
||||
<linkSequence>6</linkSequence>
|
||||
<bendSequence>1</bendSequence>
|
||||
</processLinkBendPK>
|
||||
<positionX>167</positionX>
|
||||
<positionY>235</positionY>
|
||||
</ProcessLinkBend>
|
||||
<ProcessLinkBend>
|
||||
<processLinkBendPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>Flow</processId>
|
||||
<version>1</version>
|
||||
<linkSequence>8</linkSequence>
|
||||
<bendSequence>1</bendSequence>
|
||||
</processLinkBendPK>
|
||||
<positionX>167</positionX>
|
||||
<positionY>48</positionY>
|
||||
</ProcessLinkBend>
|
||||
</list>
|
||||
<list/>
|
||||
<list/>
|
||||
<list/>
|
||||
<list/>
|
||||
<list/>
|
||||
<list/>
|
||||
<list/>
|
||||
<list/>
|
||||
</list>
|
||||
|
After Width: | Height: | Size: 8.3 KiB |
|
After Width: | Height: | Size: 31 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 31 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 41 KiB |
|
After Width: | Height: | Size: 16 KiB |
@@ -0,0 +1,375 @@
|
||||
<list>
|
||||
<ProcessDefinition>
|
||||
<processDefinitionPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>Flowservico_terceirizado</processId>
|
||||
</processDefinitionPK>
|
||||
<processDescription>Flowservico_terceirizado</processDescription>
|
||||
<instruction></instruction>
|
||||
<active>true</active>
|
||||
<publicProcess>false</publicProcess>
|
||||
<volumeId>Default</volumeId>
|
||||
<categoryId></categoryId>
|
||||
<managerEngineAllocationId></managerEngineAllocationId>
|
||||
<snapshotFrequency>0</snapshotFrequency>
|
||||
<baseDay>0</baseDay>
|
||||
<baseMonth>0</baseMonth>
|
||||
<periodId>Default</periodId>
|
||||
<uniqueCardVersion>false</uniqueCardVersion>
|
||||
<keyWord></keyWord>
|
||||
<complementsLevel>1</complementsLevel>
|
||||
<notifyRequisitionerComplements>true</notifyRequisitionerComplements>
|
||||
<notifyManagerComplements>false</notifyManagerComplements>
|
||||
<deadlineTime>0</deadlineTime>
|
||||
<warningDeadlineTime>0</warningDeadlineTime>
|
||||
<notifyAuthorityComplements>true</notifyAuthorityComplements>
|
||||
</ProcessDefinition>
|
||||
<ProcessDefinitionVersion>
|
||||
<processDefinitionVersionPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>Flowservico_terceirizado</processId>
|
||||
<version>5</version>
|
||||
</processDefinitionVersionPK>
|
||||
<versionDescription></versionDescription>
|
||||
<formId>21</formId>
|
||||
<editionMode>true</editionMode>
|
||||
<updateAttachmentsVersion>false</updateAttachmentsVersion>
|
||||
<controlsAttachmentsSecurity>false</controlsAttachmentsSecurity>
|
||||
<active>true</active>
|
||||
<blockedVersion>false</blockedVersion>
|
||||
<counterSign>false</counterSign>
|
||||
<openInstances>0</openInstances>
|
||||
<bpmnVersion>2</bpmnVersion>
|
||||
<processStates/>
|
||||
<favorito>false</favorito>
|
||||
<inheritFormSecurity>false</inheritFormSecurity>
|
||||
<mobileReady>false</mobileReady>
|
||||
</ProcessDefinitionVersion>
|
||||
<list>
|
||||
<ProcessState>
|
||||
<processStatePK>
|
||||
<companyId>1</companyId>
|
||||
<processId>Flowservico_terceirizado</processId>
|
||||
<version>1</version>
|
||||
<sequence>4</sequence>
|
||||
</processStatePK>
|
||||
<stateName>Início</stateName>
|
||||
<stateDescription>Início</stateDescription>
|
||||
<instruction></instruction>
|
||||
<deadlineTime>0</deadlineTime>
|
||||
<joint>false</joint>
|
||||
<agreementPercentage>0</agreementPercentage>
|
||||
<engineAllocationId></engineAllocationId>
|
||||
<engineAllocationConfiguration></engineAllocationConfiguration>
|
||||
<selectColleague>1</selectColleague>
|
||||
<initialState>true</initialState>
|
||||
<notifyAuthorityDelay>true</notifyAuthorityDelay>
|
||||
<notifyRequisitionerDelay>false</notifyRequisitionerDelay>
|
||||
<allowanceAuthorityTime>3600</allowanceAuthorityTime>
|
||||
<frequenceAuthorityTime>3600</frequenceAuthorityTime>
|
||||
<allowanceRequisitionerTime>0</allowanceRequisitionerTime>
|
||||
<frequenceRequisitionerTime>0</frequenceRequisitionerTime>
|
||||
<transferAttachments>false</transferAttachments>
|
||||
<subProcessId></subProcessId>
|
||||
<formFolder>0</formFolder>
|
||||
<notifyAuthorityFollowUp>false</notifyAuthorityFollowUp>
|
||||
<notifyRequisitionerFollowUp>false</notifyRequisitionerFollowUp>
|
||||
<automatic>false</automatic>
|
||||
<positionX>100</positionX>
|
||||
<positionY>130</positionY>
|
||||
<forecastedEffortType>0</forecastedEffortType>
|
||||
<forecastedEffort>0</forecastedEffort>
|
||||
<notifyManagerFollowUp>false</notifyManagerFollowUp>
|
||||
<notifyManagerDelay>false</notifyManagerDelay>
|
||||
<allowanceManagerTime>0</allowanceManagerTime>
|
||||
<frequenceManagerTime>0</frequenceManagerTime>
|
||||
<inhibitTransfer>false</inhibitTransfer>
|
||||
<periodId></periodId>
|
||||
<stateType>0</stateType>
|
||||
<bpmnType>10</bpmnType>
|
||||
<signalId>0</signalId>
|
||||
<counterSign>false</counterSign>
|
||||
<openInstances>0</openInstances>
|
||||
<noticeExpirationAuthorityTime>0</noticeExpirationAuthorityTime>
|
||||
<noticeExpirationRequisitionerTime>0</noticeExpirationRequisitionerTime>
|
||||
<noticeExpirationManagerTime>0</noticeExpirationManagerTime>
|
||||
<destinationStates/>
|
||||
<digitalSignature>false</digitalSignature>
|
||||
</ProcessState>
|
||||
<ProcessState>
|
||||
<processStatePK>
|
||||
<companyId>1</companyId>
|
||||
<processId>Flowservico_terceirizado</processId>
|
||||
<version>1</version>
|
||||
<sequence>5</sequence>
|
||||
</processStatePK>
|
||||
<stateName>Executar atividade</stateName>
|
||||
<stateDescription>Executar atividade</stateDescription>
|
||||
<instruction></instruction>
|
||||
<deadlineTime>0</deadlineTime>
|
||||
<deadlineFieldName></deadlineFieldName>
|
||||
<joint>false</joint>
|
||||
<agreementPercentage>0</agreementPercentage>
|
||||
<engineAllocationId>Pool Grupo</engineAllocationId>
|
||||
<engineAllocationConfiguration><AssignmentController><Group>Manutencao</Group></AssignmentController></engineAllocationConfiguration>
|
||||
<selectColleague>1</selectColleague>
|
||||
<initialState>false</initialState>
|
||||
<notifyAuthorityDelay>true</notifyAuthorityDelay>
|
||||
<notifyRequisitionerDelay>false</notifyRequisitionerDelay>
|
||||
<allowanceAuthorityTime>3600</allowanceAuthorityTime>
|
||||
<frequenceAuthorityTime>3600</frequenceAuthorityTime>
|
||||
<allowanceRequisitionerTime>0</allowanceRequisitionerTime>
|
||||
<frequenceRequisitionerTime>0</frequenceRequisitionerTime>
|
||||
<transferAttachments>false</transferAttachments>
|
||||
<subProcessId></subProcessId>
|
||||
<formFolder>0</formFolder>
|
||||
<notifyAuthorityFollowUp>true</notifyAuthorityFollowUp>
|
||||
<notifyRequisitionerFollowUp>false</notifyRequisitionerFollowUp>
|
||||
<automatic>false</automatic>
|
||||
<positionX>290</positionX>
|
||||
<positionY>110</positionY>
|
||||
<forecastedEffortType>0</forecastedEffortType>
|
||||
<forecastedEffort>0</forecastedEffort>
|
||||
<notifyManagerFollowUp>false</notifyManagerFollowUp>
|
||||
<notifyManagerDelay>false</notifyManagerDelay>
|
||||
<allowanceManagerTime>0</allowanceManagerTime>
|
||||
<frequenceManagerTime>0</frequenceManagerTime>
|
||||
<inhibitTransfer>false</inhibitTransfer>
|
||||
<periodId>Default</periodId>
|
||||
<stateType>0</stateType>
|
||||
<bpmnType>80</bpmnType>
|
||||
<signalId>0</signalId>
|
||||
<counterSign>false</counterSign>
|
||||
<openInstances>0</openInstances>
|
||||
<noticeExpirationAuthorityTime>0</noticeExpirationAuthorityTime>
|
||||
<noticeExpirationRequisitionerTime>0</noticeExpirationRequisitionerTime>
|
||||
<noticeExpirationManagerTime>0</noticeExpirationManagerTime>
|
||||
<destinationStates/>
|
||||
<digitalSignature>false</digitalSignature>
|
||||
<executionType>0</executionType>
|
||||
</ProcessState>
|
||||
<ProcessState>
|
||||
<processStatePK>
|
||||
<companyId>1</companyId>
|
||||
<processId>Flowservico_terceirizado</processId>
|
||||
<version>1</version>
|
||||
<sequence>7</sequence>
|
||||
</processStatePK>
|
||||
<stateName>Fim</stateName>
|
||||
<stateDescription>Fim</stateDescription>
|
||||
<instruction>Atividade final do processo</instruction>
|
||||
<deadlineTime>0</deadlineTime>
|
||||
<joint>false</joint>
|
||||
<agreementPercentage>0</agreementPercentage>
|
||||
<engineAllocationId></engineAllocationId>
|
||||
<engineAllocationConfiguration></engineAllocationConfiguration>
|
||||
<selectColleague>0</selectColleague>
|
||||
<initialState>false</initialState>
|
||||
<notifyAuthorityDelay>true</notifyAuthorityDelay>
|
||||
<notifyRequisitionerDelay>false</notifyRequisitionerDelay>
|
||||
<allowanceAuthorityTime>0</allowanceAuthorityTime>
|
||||
<frequenceAuthorityTime>1</frequenceAuthorityTime>
|
||||
<allowanceRequisitionerTime>0</allowanceRequisitionerTime>
|
||||
<frequenceRequisitionerTime>0</frequenceRequisitionerTime>
|
||||
<transferAttachments>false</transferAttachments>
|
||||
<subProcessId></subProcessId>
|
||||
<formFolder>0</formFolder>
|
||||
<notifyAuthorityFollowUp>false</notifyAuthorityFollowUp>
|
||||
<notifyRequisitionerFollowUp>false</notifyRequisitionerFollowUp>
|
||||
<automatic>false</automatic>
|
||||
<positionX>560</positionX>
|
||||
<positionY>130</positionY>
|
||||
<forecastedEffortType>0</forecastedEffortType>
|
||||
<forecastedEffort>0</forecastedEffort>
|
||||
<notifyManagerFollowUp>false</notifyManagerFollowUp>
|
||||
<notifyManagerDelay>false</notifyManagerDelay>
|
||||
<allowanceManagerTime>0</allowanceManagerTime>
|
||||
<frequenceManagerTime>0</frequenceManagerTime>
|
||||
<inhibitTransfer>false</inhibitTransfer>
|
||||
<periodId></periodId>
|
||||
<stateType>6</stateType>
|
||||
<bpmnType>60</bpmnType>
|
||||
<signalId>0</signalId>
|
||||
<counterSign>false</counterSign>
|
||||
<openInstances>0</openInstances>
|
||||
<destinationStates/>
|
||||
<digitalSignature>false</digitalSignature>
|
||||
</ProcessState>
|
||||
</list>
|
||||
<list/>
|
||||
<list>
|
||||
<ProcessLink>
|
||||
<processLinkPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>Flowservico_terceirizado</processId>
|
||||
<version>1</version>
|
||||
<linkSequence>6</linkSequence>
|
||||
</processLinkPK>
|
||||
<actionLabel></actionLabel>
|
||||
<returnPermited>false</returnPermited>
|
||||
<initialStateSequence>4</initialStateSequence>
|
||||
<finalStateSequence>5</finalStateSequence>
|
||||
<returnLabel></returnLabel>
|
||||
<name>Executar</name>
|
||||
<automaticLink>false</automaticLink>
|
||||
<defaultLink>false</defaultLink>
|
||||
<type>0</type>
|
||||
</ProcessLink>
|
||||
<ProcessLink>
|
||||
<processLinkPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>Flowservico_terceirizado</processId>
|
||||
<version>1</version>
|
||||
<linkSequence>8</linkSequence>
|
||||
</processLinkPK>
|
||||
<actionLabel></actionLabel>
|
||||
<returnPermited>false</returnPermited>
|
||||
<initialStateSequence>5</initialStateSequence>
|
||||
<finalStateSequence>7</finalStateSequence>
|
||||
<returnLabel></returnLabel>
|
||||
<name>Atendimento finalizado</name>
|
||||
<automaticLink>false</automaticLink>
|
||||
<defaultLink>false</defaultLink>
|
||||
<type>0</type>
|
||||
</ProcessLink>
|
||||
</list>
|
||||
<list/>
|
||||
<list>
|
||||
<WorkflowProcessEvent>
|
||||
<workflowProcessEventPK>
|
||||
<companyId>1</companyId>
|
||||
<eventId>ENG_LITERALS</eventId>
|
||||
<processId>Flowservico_terceirizado</processId>
|
||||
<version>1</version>
|
||||
</workflowProcessEventPK>
|
||||
<eventDescription>#Wed Feb 26 13:49:25 GFT 2025
|
||||
process.category=
|
||||
process.description=Flowservico_terceirizado
|
||||
process.instructions=
|
||||
</eventDescription>
|
||||
</WorkflowProcessEvent>
|
||||
<WorkflowProcessEvent>
|
||||
<workflowProcessEventPK>
|
||||
<companyId>1</companyId>
|
||||
<eventId>ESP_LITERALS</eventId>
|
||||
<processId>Flowservico_terceirizado</processId>
|
||||
<version>1</version>
|
||||
</workflowProcessEventPK>
|
||||
<eventDescription>#Wed Feb 26 13:49:25 GFT 2025
|
||||
process.category=
|
||||
process.description=Flowservico_terceirizado
|
||||
process.instructions=
|
||||
</eventDescription>
|
||||
</WorkflowProcessEvent>
|
||||
<WorkflowProcessEvent>
|
||||
<workflowProcessEventPK>
|
||||
<companyId>1</companyId>
|
||||
<eventId>POR_LITERALS</eventId>
|
||||
<processId>Flowservico_terceirizado</processId>
|
||||
<version>1</version>
|
||||
</workflowProcessEventPK>
|
||||
<eventDescription>#Wed Feb 26 13:49:25 GFT 2025
|
||||
process.category=
|
||||
process.description=Flowservico_terceirizado
|
||||
process.instructions=
|
||||
</eventDescription>
|
||||
</WorkflowProcessEvent>
|
||||
</list>
|
||||
<list/>
|
||||
<list>
|
||||
<SwimLane>
|
||||
<color>FFFFFF</color>
|
||||
<height>290</height>
|
||||
<width>831</width>
|
||||
<positionX>10</positionX>
|
||||
<positionY>10</positionY>
|
||||
<stateName>Execucaod do serviço</stateName>
|
||||
<type>1</type>
|
||||
<parentSequence>0</parentSequence>
|
||||
<swimLanePK>
|
||||
<companyId>1</companyId>
|
||||
<processId>Flowservico_terceirizado</processId>
|
||||
<version>1</version>
|
||||
<sequence>1</sequence>
|
||||
</swimLanePK>
|
||||
</SwimLane>
|
||||
<SwimLane>
|
||||
<color>C0C0C0</color>
|
||||
<height>290</height>
|
||||
<width>801</width>
|
||||
<positionX>40</positionX>
|
||||
<positionY>10</positionY>
|
||||
<stateName>Terceirizado</stateName>
|
||||
<type>2</type>
|
||||
<parentSequence>1</parentSequence>
|
||||
<swimLanePK>
|
||||
<companyId>1</companyId>
|
||||
<processId>Flowservico_terceirizado</processId>
|
||||
<version>1</version>
|
||||
<sequence>2</sequence>
|
||||
</swimLanePK>
|
||||
</SwimLane>
|
||||
</list>
|
||||
<list/>
|
||||
<list/>
|
||||
<list/>
|
||||
<list/>
|
||||
<list/>
|
||||
<list/>
|
||||
<list/>
|
||||
<list/>
|
||||
<list>
|
||||
<ProcessAppConfiguration>
|
||||
<id>0</id>
|
||||
<tenantId>0</tenantId>
|
||||
<processId>Flowservico_terceirizado</processId>
|
||||
<processVersion>5</processVersion>
|
||||
<stateSequence>5</stateSequence>
|
||||
<appKey>approval</appKey>
|
||||
<appField>title</appField>
|
||||
<description></description>
|
||||
</ProcessAppConfiguration>
|
||||
<ProcessAppConfiguration>
|
||||
<id>0</id>
|
||||
<tenantId>0</tenantId>
|
||||
<processId>Flowservico_terceirizado</processId>
|
||||
<processVersion>5</processVersion>
|
||||
<stateSequence>5</stateSequence>
|
||||
<appKey>approval</appKey>
|
||||
<appField>description</appField>
|
||||
<description></description>
|
||||
</ProcessAppConfiguration>
|
||||
<ProcessAppConfiguration>
|
||||
<id>0</id>
|
||||
<tenantId>0</tenantId>
|
||||
<processId>Flowservico_terceirizado</processId>
|
||||
<processVersion>5</processVersion>
|
||||
<stateSequence>5</stateSequence>
|
||||
<appKey>approval</appKey>
|
||||
<appField>highlight</appField>
|
||||
<description></description>
|
||||
</ProcessAppConfiguration>
|
||||
<ProcessAppConfiguration>
|
||||
<id>0</id>
|
||||
<tenantId>0</tenantId>
|
||||
<processId>Flowservico_terceirizado</processId>
|
||||
<processVersion>5</processVersion>
|
||||
<stateSequence>5</stateSequence>
|
||||
<appKey>approval</appKey>
|
||||
<appField>approve</appField>
|
||||
<description></description>
|
||||
</ProcessAppConfiguration>
|
||||
<ProcessAppConfiguration>
|
||||
<id>0</id>
|
||||
<tenantId>0</tenantId>
|
||||
<processId>Flowservico_terceirizado</processId>
|
||||
<processVersion>5</processVersion>
|
||||
<stateSequence>5</stateSequence>
|
||||
<appKey>approval</appKey>
|
||||
<appField>reject</appField>
|
||||
<description></description>
|
||||
</ProcessAppConfiguration>
|
||||
</list>
|
||||
<list/>
|
||||
<list/>
|
||||
</list>
|
||||
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 7.4 KiB |
@@ -0,0 +1,365 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<java version="1.8.0_202" class="java.beans.XMLDecoder">
|
||||
<object class="java.util.HashMap">
|
||||
<void method="put">
|
||||
<string>volume</string>
|
||||
<array class="java.lang.String" length="1">
|
||||
<void index="0">
|
||||
<string>Default</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>camposFormulario, documentoId = 21</string>
|
||||
<array class="java.lang.String" length="0"/>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>mecanismoGrupo</string>
|
||||
<object class="java.util.ArrayList">
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Gestão de Pessoas</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>500_GP</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Departamento Pessoal</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>501_DP</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Tecnologia da Informação e Comunicação</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>TIC</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Gente & Cultura</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>GEC</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Controladoria</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>CON</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Financeiro</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>FIN</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Compras</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>COM</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Suprimentos</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>SUP</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Contabilidade</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>COT</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Diretoria</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>DIR</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Marketing</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>MKT</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Prevenção de Perdas</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>PRE</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Departamento Pessoal</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>DP</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Recursos Humanos</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>RH</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Performance (BI)</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>PEF</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Auditoria</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>AUD</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Compliance</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>CPM</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Comercial</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>CMR</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Novos Negócios</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>NovosNegocios</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Diretoria</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Diretoria</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>TODOS-TODOS-DIADMISSAO</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>TODOS-TODOS-DIADMISSAO</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Compras Indiretos</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>ComprasIndiretos</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>expediente</string>
|
||||
<array class="java.lang.String" length="1">
|
||||
<void index="0">
|
||||
<string>Default</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>mecanismo</string>
|
||||
<array class="[Ljava.lang.Object;" length="11">
|
||||
<void index="0">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Associação</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Associado</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="1">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Campo de Formulário</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Campo Formulário</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="2">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>dpf_di_emp_filial_filtro</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>dpf_di_emp_filial_filtro</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="3">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>dpf_di_inicio_diadmissao</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>dpf_di_inicio_diadmissao</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="4">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Executor de Atividade</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Executor Atividade</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="5">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Grupo</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Grupo</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="6">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Grupos do Colaborador</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Grupos Colaborador</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="7">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Papel</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Papel</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="8">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição para um Grupo</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Pool Grupo</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="9">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição para um Papel</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Pool Papel</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="10">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Usuário</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Usuário</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
</object>
|
||||
</java>
|
||||
@@ -0,0 +1,136 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<java version="1.8.0_202" class="java.beans.XMLDecoder">
|
||||
<object class="java.util.HashMap">
|
||||
<void method="put">
|
||||
<string>volume</string>
|
||||
<array class="java.lang.String" length="1">
|
||||
<void index="0">
|
||||
<string>Default</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>expediente</string>
|
||||
<array class="java.lang.String" length="1">
|
||||
<void index="0">
|
||||
<string>Default</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>mecanismo</string>
|
||||
<array class="[Ljava.lang.Object;" length="11">
|
||||
<void index="0">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Associação</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Associado</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="1">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Campo de Formulário</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Campo Formulário</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="2">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>dpf_di_emp_filial_filtro</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>dpf_di_emp_filial_filtro</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="3">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>dpf_di_inicio_diadmissao</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>dpf_di_inicio_diadmissao</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="4">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Executor de Atividade</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Executor Atividade</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="5">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Grupo</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Grupo</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="6">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Grupos do Colaborador</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Grupos Colaborador</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="7">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Papel</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Papel</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="8">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição para um Grupo</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Pool Grupo</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="9">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição para um Papel</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Pool Papel</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="10">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Usuário</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Usuário</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
</object>
|
||||
</java>
|
||||
@@ -0,0 +1,541 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<java version="1.8.0_202" class="java.beans.XMLDecoder">
|
||||
<object class="java.util.HashMap">
|
||||
<void method="put">
|
||||
<string>volume</string>
|
||||
<array class="java.lang.String" length="1">
|
||||
<void index="0">
|
||||
<string>Default</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>mecanismoGrupo</string>
|
||||
<object class="java.util.ArrayList">
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Aprovadores Compras Nvl 3</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>AprovadoresComprasNvl3</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Compras Indiretos</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>ComprasIndiretos</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Obras e manutenção</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Manutencao</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Motoristas</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Motoristas</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Recrutamento</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Recrutamento</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Requisitantes de Vaga</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Requisitantesdevaga</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Tecnologia e Comunicação</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>TIC</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>expediente</string>
|
||||
<array class="java.lang.String" length="4">
|
||||
<void index="0">
|
||||
<string>Default</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Expediente BackOffice, Logística e Motorista</string>
|
||||
</void>
|
||||
<void index="2">
|
||||
<string>Expediente Escritório Matriz</string>
|
||||
</void>
|
||||
<void index="3">
|
||||
<string>Expediente Lojas</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>camposFormulario, documentoId = 590</string>
|
||||
<array class="java.lang.String" length="52">
|
||||
<void index="0">
|
||||
<string>activity</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>centroCusto</string>
|
||||
</void>
|
||||
<void index="2">
|
||||
<string>codigoItem</string>
|
||||
</void>
|
||||
<void index="3">
|
||||
<string>consideracoesCompras</string>
|
||||
</void>
|
||||
<void index="4">
|
||||
<string>consideracoesCotacao</string>
|
||||
</void>
|
||||
<void index="5">
|
||||
<string>currentUserId</string>
|
||||
</void>
|
||||
<void index="6">
|
||||
<string>currentUsermail</string>
|
||||
</void>
|
||||
<void index="7">
|
||||
<string>currentUserName</string>
|
||||
</void>
|
||||
<void index="8">
|
||||
<string>dataAbertura</string>
|
||||
</void>
|
||||
<void index="9">
|
||||
<string>dataAprovCompras</string>
|
||||
</void>
|
||||
<void index="10">
|
||||
<string>dataRealizacaoCompras</string>
|
||||
</void>
|
||||
<void index="11">
|
||||
<string>dataValidacaoCompras</string>
|
||||
</void>
|
||||
<void index="12">
|
||||
<string>dataValidacaoGestor</string>
|
||||
</void>
|
||||
<void index="13">
|
||||
<string>dataValidacaoItens</string>
|
||||
</void>
|
||||
<void index="14">
|
||||
<string>descricao</string>
|
||||
</void>
|
||||
<void index="15">
|
||||
<string>emailSolicitante</string>
|
||||
</void>
|
||||
<void index="16">
|
||||
<string>estabelecimento</string>
|
||||
</void>
|
||||
<void index="17">
|
||||
<string>excelUpload</string>
|
||||
</void>
|
||||
<void index="18">
|
||||
<string>fdAnexo_Coleta</string>
|
||||
</void>
|
||||
<void index="19">
|
||||
<string>fdAnexo_embalar</string>
|
||||
</void>
|
||||
<void index="20">
|
||||
<string>fdAnexo_Entrega</string>
|
||||
</void>
|
||||
<void index="21">
|
||||
<string>fdAnexo_Nfe</string>
|
||||
</void>
|
||||
<void index="22">
|
||||
<string>fdAnexo_recebimento</string>
|
||||
</void>
|
||||
<void index="23">
|
||||
<string>fnAnexo_Coleta</string>
|
||||
</void>
|
||||
<void index="24">
|
||||
<string>fnAnexo_embalar</string>
|
||||
</void>
|
||||
<void index="25">
|
||||
<string>fnAnexo_Entrega</string>
|
||||
</void>
|
||||
<void index="26">
|
||||
<string>fnAnexo_Nfe</string>
|
||||
</void>
|
||||
<void index="27">
|
||||
<string>fnAnexo_recebimento</string>
|
||||
</void>
|
||||
<void index="28">
|
||||
<string>formMode</string>
|
||||
</void>
|
||||
<void index="29">
|
||||
<string>gestorEmail</string>
|
||||
</void>
|
||||
<void index="30">
|
||||
<string>gestorEmailE</string>
|
||||
</void>
|
||||
<void index="31">
|
||||
<string>gestorNome</string>
|
||||
</void>
|
||||
<void index="32">
|
||||
<string>gestorNomeE</string>
|
||||
</void>
|
||||
<void index="33">
|
||||
<string>gestor_cc</string>
|
||||
</void>
|
||||
<void index="34">
|
||||
<string>gestor_cce</string>
|
||||
</void>
|
||||
<void index="35">
|
||||
<string>justificativa</string>
|
||||
</void>
|
||||
<void index="36">
|
||||
<string>justificativaDecisaoCompras</string>
|
||||
</void>
|
||||
<void index="37">
|
||||
<string>justificativaDecisaoGestor</string>
|
||||
</void>
|
||||
<void index="38">
|
||||
<string>justificativaDecisaoItens</string>
|
||||
</void>
|
||||
<void index="39">
|
||||
<string>justificativaValidaProblema</string>
|
||||
</void>
|
||||
<void index="40">
|
||||
<string>quantidadeItem</string>
|
||||
</void>
|
||||
<void index="41">
|
||||
<string>requesterId</string>
|
||||
</void>
|
||||
<void index="42">
|
||||
<string>requesterMail</string>
|
||||
</void>
|
||||
<void index="43">
|
||||
<string>requesterName</string>
|
||||
</void>
|
||||
<void index="44">
|
||||
<string>userCotacaoGestor</string>
|
||||
</void>
|
||||
<void index="45">
|
||||
<string>userRealizacaoCompras</string>
|
||||
</void>
|
||||
<void index="46">
|
||||
<string>userSolicitante</string>
|
||||
</void>
|
||||
<void index="47">
|
||||
<string>userValidacaoCompras</string>
|
||||
</void>
|
||||
<void index="48">
|
||||
<string>userValidacaoGestor</string>
|
||||
</void>
|
||||
<void index="49">
|
||||
<string>userValidacaoItens</string>
|
||||
</void>
|
||||
<void index="50">
|
||||
<string>validacaoItens</string>
|
||||
</void>
|
||||
<void index="51">
|
||||
<string>WKNumProces</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>mecanismo</string>
|
||||
<array class="[Ljava.lang.Object;" length="10">
|
||||
<void index="0">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Associação</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Associado</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="1">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Campo de Formulário</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Campo Formulário</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="2">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Executor de Atividade</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Executor Atividade</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="3">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Grupo</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Grupo</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="4">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Grupos do Colaborador</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Grupos Colaborador</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="5">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>mecCustomAprov</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>mecCustomAprov</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="6">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Papel</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Papel</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="7">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição para um Grupo</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Pool Grupo</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="8">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição para um Papel</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Pool Papel</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="9">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Usuário</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Usuário</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>camposFormulario, documentoId = 823</string>
|
||||
<array class="java.lang.String" length="55">
|
||||
<void index="0">
|
||||
<string>activity</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>aprovado</string>
|
||||
</void>
|
||||
<void index="2">
|
||||
<string>centroCusto</string>
|
||||
</void>
|
||||
<void index="3">
|
||||
<string>confidencial</string>
|
||||
</void>
|
||||
<void index="4">
|
||||
<string>consideracoes</string>
|
||||
</void>
|
||||
<void index="5">
|
||||
<string>consideracoesCompras</string>
|
||||
</void>
|
||||
<void index="6">
|
||||
<string>currentUserId</string>
|
||||
</void>
|
||||
<void index="7">
|
||||
<string>currentUsermail</string>
|
||||
</void>
|
||||
<void index="8">
|
||||
<string>currentUserName</string>
|
||||
</void>
|
||||
<void index="9">
|
||||
<string>dataAbertura</string>
|
||||
</void>
|
||||
<void index="10">
|
||||
<string>datainiciotrabalho</string>
|
||||
</void>
|
||||
<void index="11">
|
||||
<string>dataRealizacaoCompras</string>
|
||||
</void>
|
||||
<void index="12">
|
||||
<string>dataUserValidacao</string>
|
||||
</void>
|
||||
<void index="13">
|
||||
<string>dataValidacaoCompras</string>
|
||||
</void>
|
||||
<void index="14">
|
||||
<string>dataValidacaoCorre</string>
|
||||
</void>
|
||||
<void index="15">
|
||||
<string>dataValidacaofunc</string>
|
||||
</void>
|
||||
<void index="16">
|
||||
<string>dataValidacaoGestor</string>
|
||||
</void>
|
||||
<void index="17">
|
||||
<string>dataValidacaoItens</string>
|
||||
</void>
|
||||
<void index="18">
|
||||
<string>descricaodeperfil</string>
|
||||
</void>
|
||||
<void index="19">
|
||||
<string>email</string>
|
||||
</void>
|
||||
<void index="20">
|
||||
<string>estabelecimento</string>
|
||||
</void>
|
||||
<void index="21">
|
||||
<string>estado</string>
|
||||
</void>
|
||||
<void index="22">
|
||||
<string>fardamentoPronto</string>
|
||||
</void>
|
||||
<void index="23">
|
||||
<string>formMode</string>
|
||||
</void>
|
||||
<void index="24">
|
||||
<string>funcao</string>
|
||||
</void>
|
||||
<void index="25">
|
||||
<string>gestorEmail</string>
|
||||
</void>
|
||||
<void index="26">
|
||||
<string>gestorNome</string>
|
||||
</void>
|
||||
<void index="27">
|
||||
<string>gestor_cc</string>
|
||||
</void>
|
||||
<void index="28">
|
||||
<string>itensinicio</string>
|
||||
</void>
|
||||
<void index="29">
|
||||
<string>justificativa</string>
|
||||
</void>
|
||||
<void index="30">
|
||||
<string>justificativaDecisaoCompras</string>
|
||||
</void>
|
||||
<void index="31">
|
||||
<string>justificativaDecisaoCorre</string>
|
||||
</void>
|
||||
<void index="32">
|
||||
<string>justificativaDecisaoFunc</string>
|
||||
</void>
|
||||
<void index="33">
|
||||
<string>justificativaDecisaoGestor</string>
|
||||
</void>
|
||||
<void index="34">
|
||||
<string>justificativaDecisaoItens</string>
|
||||
</void>
|
||||
<void index="35">
|
||||
<string>nomedocandidato</string>
|
||||
</void>
|
||||
<void index="36">
|
||||
<string>ratingValue</string>
|
||||
</void>
|
||||
<void index="37">
|
||||
<string>requesterId</string>
|
||||
</void>
|
||||
<void index="38">
|
||||
<string>requesterMail</string>
|
||||
</void>
|
||||
<void index="39">
|
||||
<string>requesterName</string>
|
||||
</void>
|
||||
<void index="40">
|
||||
<string>situacaoResolvida</string>
|
||||
</void>
|
||||
<void index="41">
|
||||
<string>telefone</string>
|
||||
</void>
|
||||
<void index="42">
|
||||
<string>urgente</string>
|
||||
</void>
|
||||
<void index="43">
|
||||
<string>userRealizacaoCompras</string>
|
||||
</void>
|
||||
<void index="44">
|
||||
<string>userValidacao</string>
|
||||
</void>
|
||||
<void index="45">
|
||||
<string>userValidacaoCompras</string>
|
||||
</void>
|
||||
<void index="46">
|
||||
<string>userValidacaoCorre</string>
|
||||
</void>
|
||||
<void index="47">
|
||||
<string>userValidacaofunc</string>
|
||||
</void>
|
||||
<void index="48">
|
||||
<string>userValidacaoGestor</string>
|
||||
</void>
|
||||
<void index="49">
|
||||
<string>userValidacaoItens</string>
|
||||
</void>
|
||||
<void index="50">
|
||||
<string>validacaoCorre</string>
|
||||
</void>
|
||||
<void index="51">
|
||||
<string>validacaoFunc</string>
|
||||
</void>
|
||||
<void index="52">
|
||||
<string>validacaoItens</string>
|
||||
</void>
|
||||
<void index="53">
|
||||
<string>validarMotivo</string>
|
||||
</void>
|
||||
<void index="54">
|
||||
<string>WKNumProces</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
</object>
|
||||
</java>
|
||||
@@ -0,0 +1,499 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<java version="1.8.0_202" class="java.beans.XMLDecoder">
|
||||
<object class="java.util.HashMap">
|
||||
<void method="put">
|
||||
<string>volume</string>
|
||||
<array class="java.lang.String" length="1">
|
||||
<void index="0">
|
||||
<string>Default</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>mecanismoGrupo</string>
|
||||
<object class="java.util.ArrayList">
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Aprovadores Compras Nvl 3</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>AprovadoresComprasNvl3</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Compras Indiretos</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>ComprasIndiretos</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Obras e manutenção</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Manutencao</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Tecnologia e Comunicação</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>TIC</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>expediente</string>
|
||||
<array class="java.lang.String" length="4">
|
||||
<void index="0">
|
||||
<string>Default</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Expediente BackOffice, Logística e Motorista</string>
|
||||
</void>
|
||||
<void index="2">
|
||||
<string>Expediente Escritório Matriz</string>
|
||||
</void>
|
||||
<void index="3">
|
||||
<string>Expediente Lojas</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>camposFormulario, documentoId = 165</string>
|
||||
<array class="java.lang.String" length="53">
|
||||
<void index="0">
|
||||
<string>activity</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>centroCusto</string>
|
||||
</void>
|
||||
<void index="2">
|
||||
<string>codigoItem</string>
|
||||
</void>
|
||||
<void index="3">
|
||||
<string>complemento</string>
|
||||
</void>
|
||||
<void index="4">
|
||||
<string>condPagamentoIndica</string>
|
||||
</void>
|
||||
<void index="5">
|
||||
<string>consideracoesCompras</string>
|
||||
</void>
|
||||
<void index="6">
|
||||
<string>consideracoesCotacao</string>
|
||||
</void>
|
||||
<void index="7">
|
||||
<string>cotacaouser</string>
|
||||
</void>
|
||||
<void index="8">
|
||||
<string>currentUserId</string>
|
||||
</void>
|
||||
<void index="9">
|
||||
<string>currentUsermail</string>
|
||||
</void>
|
||||
<void index="10">
|
||||
<string>currentUserName</string>
|
||||
</void>
|
||||
<void index="11">
|
||||
<string>dataAbertura</string>
|
||||
</void>
|
||||
<void index="12">
|
||||
<string>dataAprovCompras</string>
|
||||
</void>
|
||||
<void index="13">
|
||||
<string>dataEntrega</string>
|
||||
</void>
|
||||
<void index="14">
|
||||
<string>dataEntregaIndica</string>
|
||||
</void>
|
||||
<void index="15">
|
||||
<string>dataRealizacaoCompras</string>
|
||||
</void>
|
||||
<void index="16">
|
||||
<string>dataValidacaoCompras</string>
|
||||
</void>
|
||||
<void index="17">
|
||||
<string>dataValidacaoGestor</string>
|
||||
</void>
|
||||
<void index="18">
|
||||
<string>dataValidacaoItens</string>
|
||||
</void>
|
||||
<void index="19">
|
||||
<string>descricao</string>
|
||||
</void>
|
||||
<void index="20">
|
||||
<string>email</string>
|
||||
</void>
|
||||
<void index="21">
|
||||
<string>emailSolicitante</string>
|
||||
</void>
|
||||
<void index="22">
|
||||
<string>estabelecimento</string>
|
||||
</void>
|
||||
<void index="23">
|
||||
<string>formMode</string>
|
||||
</void>
|
||||
<void index="24">
|
||||
<string>fornecedor</string>
|
||||
</void>
|
||||
<void index="25">
|
||||
<string>fornecedorIndica</string>
|
||||
</void>
|
||||
<void index="26">
|
||||
<string>gestorEmail</string>
|
||||
</void>
|
||||
<void index="27">
|
||||
<string>gestorNome</string>
|
||||
</void>
|
||||
<void index="28">
|
||||
<string>gestor_cc</string>
|
||||
</void>
|
||||
<void index="29">
|
||||
<string>itemCompra</string>
|
||||
</void>
|
||||
<void index="30">
|
||||
<string>itemCompraIndica</string>
|
||||
</void>
|
||||
<void index="31">
|
||||
<string>justificativa</string>
|
||||
</void>
|
||||
<void index="32">
|
||||
<string>justificativaDecisaoCompras</string>
|
||||
</void>
|
||||
<void index="33">
|
||||
<string>justificativaDecisaoGestor</string>
|
||||
</void>
|
||||
<void index="34">
|
||||
<string>justificativaDecisaoItens</string>
|
||||
</void>
|
||||
<void index="35">
|
||||
<string>justificativaValidaProblema</string>
|
||||
</void>
|
||||
<void index="36">
|
||||
<string>preco</string>
|
||||
</void>
|
||||
<void index="37">
|
||||
<string>precoIndica</string>
|
||||
</void>
|
||||
<void index="38">
|
||||
<string>quantidade</string>
|
||||
</void>
|
||||
<void index="39">
|
||||
<string>quantidadeIndica</string>
|
||||
</void>
|
||||
<void index="40">
|
||||
<string>quantidadeItem</string>
|
||||
</void>
|
||||
<void index="41">
|
||||
<string>requesterId</string>
|
||||
</void>
|
||||
<void index="42">
|
||||
<string>requesterMail</string>
|
||||
</void>
|
||||
<void index="43">
|
||||
<string>requesterName</string>
|
||||
</void>
|
||||
<void index="44">
|
||||
<string>userCotacaoGestor</string>
|
||||
</void>
|
||||
<void index="45">
|
||||
<string>userRealizacaoCompras</string>
|
||||
</void>
|
||||
<void index="46">
|
||||
<string>userSolicitante</string>
|
||||
</void>
|
||||
<void index="47">
|
||||
<string>userValidacaoCompras</string>
|
||||
</void>
|
||||
<void index="48">
|
||||
<string>userValidacaoGestor</string>
|
||||
</void>
|
||||
<void index="49">
|
||||
<string>userValidacaoItens</string>
|
||||
</void>
|
||||
<void index="50">
|
||||
<string>validacaoItens</string>
|
||||
</void>
|
||||
<void index="51">
|
||||
<string>valorTotalsemformat</string>
|
||||
</void>
|
||||
<void index="52">
|
||||
<string>WKNumProces</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>camposFormulario, documentoId = 590</string>
|
||||
<array class="java.lang.String" length="50">
|
||||
<void index="0">
|
||||
<string>activity</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>centroCusto</string>
|
||||
</void>
|
||||
<void index="2">
|
||||
<string>codigoItem</string>
|
||||
</void>
|
||||
<void index="3">
|
||||
<string>complemento</string>
|
||||
</void>
|
||||
<void index="4">
|
||||
<string>consideracoesCompras</string>
|
||||
</void>
|
||||
<void index="5">
|
||||
<string>consideracoesCotacao</string>
|
||||
</void>
|
||||
<void index="6">
|
||||
<string>currentUserId</string>
|
||||
</void>
|
||||
<void index="7">
|
||||
<string>currentUsermail</string>
|
||||
</void>
|
||||
<void index="8">
|
||||
<string>currentUserName</string>
|
||||
</void>
|
||||
<void index="9">
|
||||
<string>dataAbertura</string>
|
||||
</void>
|
||||
<void index="10">
|
||||
<string>dataAprovCompras</string>
|
||||
</void>
|
||||
<void index="11">
|
||||
<string>dataRealizacaoCompras</string>
|
||||
</void>
|
||||
<void index="12">
|
||||
<string>dataValidacaoCompras</string>
|
||||
</void>
|
||||
<void index="13">
|
||||
<string>dataValidacaoGestor</string>
|
||||
</void>
|
||||
<void index="14">
|
||||
<string>dataValidacaoItens</string>
|
||||
</void>
|
||||
<void index="15">
|
||||
<string>descricao</string>
|
||||
</void>
|
||||
<void index="16">
|
||||
<string>emailSolicitante</string>
|
||||
</void>
|
||||
<void index="17">
|
||||
<string>estabelecimento</string>
|
||||
</void>
|
||||
<void index="18">
|
||||
<string>fdAnexo_Coleta</string>
|
||||
</void>
|
||||
<void index="19">
|
||||
<string>fdAnexo_Entrega</string>
|
||||
</void>
|
||||
<void index="20">
|
||||
<string>fdAnexo_Nfe</string>
|
||||
</void>
|
||||
<void index="21">
|
||||
<string>fdAnexo_recebimento</string>
|
||||
</void>
|
||||
<void index="22">
|
||||
<string>fnAnexo_Coleta</string>
|
||||
</void>
|
||||
<void index="23">
|
||||
<string>fnAnexo_Entrega</string>
|
||||
</void>
|
||||
<void index="24">
|
||||
<string>fnAnexo_Nfe</string>
|
||||
</void>
|
||||
<void index="25">
|
||||
<string>fnAnexo_recebimento</string>
|
||||
</void>
|
||||
<void index="26">
|
||||
<string>formMode</string>
|
||||
</void>
|
||||
<void index="27">
|
||||
<string>gestorEmail</string>
|
||||
</void>
|
||||
<void index="28">
|
||||
<string>gestorEmailE</string>
|
||||
</void>
|
||||
<void index="29">
|
||||
<string>gestorNome</string>
|
||||
</void>
|
||||
<void index="30">
|
||||
<string>gestorNomeE</string>
|
||||
</void>
|
||||
<void index="31">
|
||||
<string>gestor_cc</string>
|
||||
</void>
|
||||
<void index="32">
|
||||
<string>gestor_cce</string>
|
||||
</void>
|
||||
<void index="33">
|
||||
<string>justificativa</string>
|
||||
</void>
|
||||
<void index="34">
|
||||
<string>justificativaDecisaoCompras</string>
|
||||
</void>
|
||||
<void index="35">
|
||||
<string>justificativaDecisaoGestor</string>
|
||||
</void>
|
||||
<void index="36">
|
||||
<string>justificativaDecisaoItens</string>
|
||||
</void>
|
||||
<void index="37">
|
||||
<string>justificativaValidaProblema</string>
|
||||
</void>
|
||||
<void index="38">
|
||||
<string>quantidadeItem</string>
|
||||
</void>
|
||||
<void index="39">
|
||||
<string>requesterId</string>
|
||||
</void>
|
||||
<void index="40">
|
||||
<string>requesterMail</string>
|
||||
</void>
|
||||
<void index="41">
|
||||
<string>requesterName</string>
|
||||
</void>
|
||||
<void index="42">
|
||||
<string>userCotacaoGestor</string>
|
||||
</void>
|
||||
<void index="43">
|
||||
<string>userRealizacaoCompras</string>
|
||||
</void>
|
||||
<void index="44">
|
||||
<string>userSolicitante</string>
|
||||
</void>
|
||||
<void index="45">
|
||||
<string>userValidacaoCompras</string>
|
||||
</void>
|
||||
<void index="46">
|
||||
<string>userValidacaoGestor</string>
|
||||
</void>
|
||||
<void index="47">
|
||||
<string>userValidacaoItens</string>
|
||||
</void>
|
||||
<void index="48">
|
||||
<string>validacaoItens</string>
|
||||
</void>
|
||||
<void index="49">
|
||||
<string>WKNumProces</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>mecanismo</string>
|
||||
<array class="[Ljava.lang.Object;" length="10">
|
||||
<void index="0">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Associação</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Associado</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="1">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Campo de Formulário</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Campo Formulário</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="2">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Executor de Atividade</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Executor Atividade</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="3">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Grupo</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Grupo</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="4">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Grupos do Colaborador</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Grupos Colaborador</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="5">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>mecCustomAprov</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>mecCustomAprov</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="6">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Papel</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Papel</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="7">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição para um Grupo</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Pool Grupo</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="8">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição para um Papel</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Pool Papel</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="9">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Usuário</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Usuário</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
</object>
|
||||
</java>
|
||||
@@ -0,0 +1,854 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<java version="1.8.0_202" class="java.beans.XMLDecoder">
|
||||
<object class="java.util.HashMap">
|
||||
<void method="put">
|
||||
<string>volume</string>
|
||||
<array class="java.lang.String" length="1">
|
||||
<void index="0">
|
||||
<string>Default</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>camposFormulario, documentoId = 21</string>
|
||||
<array class="java.lang.String" length="0"/>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>mecanismoGrupo</string>
|
||||
<object class="java.util.ArrayList">
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>RH</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>RH</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Gestao</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Gestao</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Responsáveis</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Responsveis</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>NovosNegocios</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>NovosNegocios</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Responsaveis</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Responsaveis</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Moderator group comunidade1</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>MODERATOR_comunidade1</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Member group comunidade1</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>MEMBER_comunidade1</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>lasquera</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>eitalasquera</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>NovosnNegocios2</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>NovosnNegocios2</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.GroupDto">
|
||||
<void property="groupDescription">
|
||||
<string>Superintendencia</string>
|
||||
</void>
|
||||
<void property="groupId">
|
||||
<string>Superintendencia</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>expediente</string>
|
||||
<array class="java.lang.String" length="1">
|
||||
<void index="0">
|
||||
<string>Default</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>processosServidor</string>
|
||||
<object class="java.util.ArrayList">
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Teste 001</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>001</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Teste 002</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>002</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Solicitação Manutenção</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>100</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Solicitação de manutenção.</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>1000</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>o que isso</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>101011010100110</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>BPM</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>a1qw3erft6yh89olp09</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>SOLICITACAO TI 22/01</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>AAA</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>bom dia e companhia</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>alo</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Análise de Renda</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>AnálisedeRendaTiago</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Cadastro Novo Ponto Comercial</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>CadastroNovoPontoComercial</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Cadastro Novo Ponto Comercial</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>CadastroNovoPontoComercial1</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>campanha</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>campanha</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>novo</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>campanha1</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Fluxo do canal de denuncias</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>CanalDenuncia</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Contratação de Colaborador</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>ContrataçãodeColaboradorTiago</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>DemissãoSolicitadaFuncionário</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>Demissão20</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>DemissãoSolicitadaFuncionário</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>DemissãoSolicitadaFuncionário</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>DemissãoSolicitadaFuncionário</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>DemissãoSolicitadaFuncionário1</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>DemissãoSolicitadaFuncionário</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>DemissãoSolicitadaFuncionário20</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>demissao_de_funcionario</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>demissao_de_funcionario</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>demissao_de_funcionario</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>demissao_de_funcionario1</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>processo teste</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>Exemplo 1</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Exemplo 1</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>Exemplo 12345</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>meu primeiro processo</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>Exemplo de processo</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Primeiro Processo</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>Exemplo1</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Processo Teste</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>ExemploPrimeiroProcessoTeste</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Meu primeiro processo.</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>ExemploProcesso1</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Meu primeiro processo 1 </string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>ExemploProcesso2</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Ferramenta de Vendas</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>FechamentoDeVendasTiago</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Listar Tarefas</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>FLUIGADHOC</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>NOVO COLABORADOR</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>Fluxo novo colaborador</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>lsc Process</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>lsc</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Novo Ponto Comercial</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>NovoPontoComercial</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Novo Ponto Comercial</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>NovoPontoComercial-Vitor</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Novo Ponto Comercial</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>NovoPontoComercial1</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>NovoPontoComercial16</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>NovoPontoComercial16</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Modelo Treinamento</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>PP-001</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Proposta de Seguro</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>PropostadeSeguro</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Proposta de Seguro</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>PropostadeSeguro90</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Proposta de Seguro</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>PropostadeSeguroTiago</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>SOLICITAÇÃO FERIAS</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>SOLICITAÇÃO FERIAS</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>ABRIR CHAMADOS AO TI</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>SOLICITACAO TI</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>SOLICITAÇÃO DE TRANSFERENCIA MATERIAL</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>SOLICITAÇÃO TRANSF</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>teste</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>teste</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>testecampanha</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>testecampanha</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Solicitação de manutenção</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>teste_01</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Venda de Automovel</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>VendadeAutomovel</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.tds.ecm.foundation.ws.ProcessDefinitionDto">
|
||||
<void property="companyId">
|
||||
<int>1</int>
|
||||
</void>
|
||||
<void property="processDescription">
|
||||
<string>Análise de Renda</string>
|
||||
</void>
|
||||
<void property="processId">
|
||||
<string>VendadeAutomóvelTiago</string>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>mecanismo</string>
|
||||
<array class="[Ljava.lang.Object;" length="9">
|
||||
<void index="0">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Associação</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Associado</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="1">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Campo de Formulário</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Campo Formulário</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="2">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Executor de Atividade</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Executor Atividade</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="3">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Grupo</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Grupo</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="4">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Grupos do Colaborador</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Grupos Colaborador</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="5">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Papel</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Papel</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="6">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição para um Grupo</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Pool Grupo</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="7">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição para um Papel</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Pool Papel</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void index="8">
|
||||
<array class="java.lang.Object" length="2">
|
||||
<void index="0">
|
||||
<string>Atribuição por Usuário</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>Usuário</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
</object>
|
||||
</java>
|
||||
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 52 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 49 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 39 KiB |
|
After Width: | Height: | Size: 16 KiB |
@@ -0,0 +1,331 @@
|
||||
<list>
|
||||
<ProcessDefinition>
|
||||
<processDefinitionPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>execucaodoServico</processId>
|
||||
</processDefinitionPK>
|
||||
<processDescription>execucaodoServico</processDescription>
|
||||
<instruction></instruction>
|
||||
<active>true</active>
|
||||
<publicProcess>false</publicProcess>
|
||||
<volumeId>Default</volumeId>
|
||||
<categoryId></categoryId>
|
||||
<managerEngineAllocationId>Usuário</managerEngineAllocationId>
|
||||
<managerEngineAllocationConfiguration><AssignmentController><User>ricardo.rocha</User></AssignmentController></managerEngineAllocationConfiguration>
|
||||
<snapshotFrequency>0</snapshotFrequency>
|
||||
<baseDay>0</baseDay>
|
||||
<baseMonth>0</baseMonth>
|
||||
<periodId>Default</periodId>
|
||||
<uniqueCardVersion>false</uniqueCardVersion>
|
||||
<keyWord></keyWord>
|
||||
<complementsLevel>1</complementsLevel>
|
||||
<notifyRequisitionerComplements>true</notifyRequisitionerComplements>
|
||||
<notifyManagerComplements>false</notifyManagerComplements>
|
||||
<deadlineTime>0</deadlineTime>
|
||||
<warningDeadlineTime>0</warningDeadlineTime>
|
||||
<notifyAuthorityComplements>true</notifyAuthorityComplements>
|
||||
</ProcessDefinition>
|
||||
<ProcessDefinitionVersion>
|
||||
<processDefinitionVersionPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>execucaodoServico</processId>
|
||||
<version>16</version>
|
||||
</processDefinitionVersionPK>
|
||||
<versionDescription></versionDescription>
|
||||
<formId>24</formId>
|
||||
<editionMode>true</editionMode>
|
||||
<updateAttachmentsVersion>false</updateAttachmentsVersion>
|
||||
<controlsAttachmentsSecurity>false</controlsAttachmentsSecurity>
|
||||
<active>true</active>
|
||||
<blockedVersion>false</blockedVersion>
|
||||
<counterSign>false</counterSign>
|
||||
<openInstances>0</openInstances>
|
||||
<bpmnVersion>2</bpmnVersion>
|
||||
<processStates/>
|
||||
<favorito>false</favorito>
|
||||
<inheritFormSecurity>false</inheritFormSecurity>
|
||||
<mobileReady>false</mobileReady>
|
||||
</ProcessDefinitionVersion>
|
||||
<list>
|
||||
<ProcessState>
|
||||
<processStatePK>
|
||||
<companyId>1</companyId>
|
||||
<processId>execucaodoServico</processId>
|
||||
<version>1</version>
|
||||
<sequence>1</sequence>
|
||||
</processStatePK>
|
||||
<stateName>Início</stateName>
|
||||
<stateDescription>Início</stateDescription>
|
||||
<instruction></instruction>
|
||||
<deadlineTime>0</deadlineTime>
|
||||
<joint>false</joint>
|
||||
<agreementPercentage>0</agreementPercentage>
|
||||
<engineAllocationId></engineAllocationId>
|
||||
<engineAllocationConfiguration></engineAllocationConfiguration>
|
||||
<selectColleague>1</selectColleague>
|
||||
<initialState>true</initialState>
|
||||
<notifyAuthorityDelay>true</notifyAuthorityDelay>
|
||||
<notifyRequisitionerDelay>false</notifyRequisitionerDelay>
|
||||
<allowanceAuthorityTime>3600</allowanceAuthorityTime>
|
||||
<frequenceAuthorityTime>3600</frequenceAuthorityTime>
|
||||
<allowanceRequisitionerTime>0</allowanceRequisitionerTime>
|
||||
<frequenceRequisitionerTime>0</frequenceRequisitionerTime>
|
||||
<transferAttachments>false</transferAttachments>
|
||||
<subProcessId></subProcessId>
|
||||
<formFolder>0</formFolder>
|
||||
<notifyAuthorityFollowUp>false</notifyAuthorityFollowUp>
|
||||
<notifyRequisitionerFollowUp>false</notifyRequisitionerFollowUp>
|
||||
<automatic>false</automatic>
|
||||
<positionX>170</positionX>
|
||||
<positionY>190</positionY>
|
||||
<forecastedEffortType>0</forecastedEffortType>
|
||||
<forecastedEffort>0</forecastedEffort>
|
||||
<notifyManagerFollowUp>false</notifyManagerFollowUp>
|
||||
<notifyManagerDelay>false</notifyManagerDelay>
|
||||
<allowanceManagerTime>0</allowanceManagerTime>
|
||||
<frequenceManagerTime>0</frequenceManagerTime>
|
||||
<inhibitTransfer>false</inhibitTransfer>
|
||||
<periodId></periodId>
|
||||
<stateType>0</stateType>
|
||||
<bpmnType>10</bpmnType>
|
||||
<signalId>0</signalId>
|
||||
<counterSign>false</counterSign>
|
||||
<openInstances>0</openInstances>
|
||||
<noticeExpirationAuthorityTime>0</noticeExpirationAuthorityTime>
|
||||
<noticeExpirationRequisitionerTime>0</noticeExpirationRequisitionerTime>
|
||||
<noticeExpirationManagerTime>0</noticeExpirationManagerTime>
|
||||
<destinationStates/>
|
||||
<digitalSignature>false</digitalSignature>
|
||||
</ProcessState>
|
||||
<ProcessState>
|
||||
<processStatePK>
|
||||
<companyId>1</companyId>
|
||||
<processId>execucaodoServico</processId>
|
||||
<version>1</version>
|
||||
<sequence>2</sequence>
|
||||
</processStatePK>
|
||||
<stateName>Vistoria do serviço</stateName>
|
||||
<stateDescription>Vistoria do serviço</stateDescription>
|
||||
<instruction></instruction>
|
||||
<deadlineTime>0</deadlineTime>
|
||||
<deadlineFieldName></deadlineFieldName>
|
||||
<joint>false</joint>
|
||||
<agreementPercentage>0</agreementPercentage>
|
||||
<engineAllocationId>Pool Grupo</engineAllocationId>
|
||||
<engineAllocationConfiguration><AssignmentController><Group>TIC</Group></AssignmentController></engineAllocationConfiguration>
|
||||
<selectColleague>1</selectColleague>
|
||||
<initialState>false</initialState>
|
||||
<notifyAuthorityDelay>true</notifyAuthorityDelay>
|
||||
<notifyRequisitionerDelay>false</notifyRequisitionerDelay>
|
||||
<allowanceAuthorityTime>3600</allowanceAuthorityTime>
|
||||
<frequenceAuthorityTime>3600</frequenceAuthorityTime>
|
||||
<allowanceRequisitionerTime>0</allowanceRequisitionerTime>
|
||||
<frequenceRequisitionerTime>0</frequenceRequisitionerTime>
|
||||
<transferAttachments>false</transferAttachments>
|
||||
<subProcessId></subProcessId>
|
||||
<formFolder>0</formFolder>
|
||||
<notifyAuthorityFollowUp>false</notifyAuthorityFollowUp>
|
||||
<notifyRequisitionerFollowUp>true</notifyRequisitionerFollowUp>
|
||||
<automatic>false</automatic>
|
||||
<positionX>440</positionX>
|
||||
<positionY>170</positionY>
|
||||
<forecastedEffortType>0</forecastedEffortType>
|
||||
<forecastedEffort>0</forecastedEffort>
|
||||
<notifyManagerFollowUp>false</notifyManagerFollowUp>
|
||||
<notifyManagerDelay>false</notifyManagerDelay>
|
||||
<allowanceManagerTime>0</allowanceManagerTime>
|
||||
<frequenceManagerTime>0</frequenceManagerTime>
|
||||
<inhibitTransfer>false</inhibitTransfer>
|
||||
<periodId></periodId>
|
||||
<stateType>0</stateType>
|
||||
<bpmnType>80</bpmnType>
|
||||
<signalId>0</signalId>
|
||||
<counterSign>false</counterSign>
|
||||
<openInstances>0</openInstances>
|
||||
<noticeExpirationAuthorityTime>0</noticeExpirationAuthorityTime>
|
||||
<noticeExpirationRequisitionerTime>0</noticeExpirationRequisitionerTime>
|
||||
<noticeExpirationManagerTime>0</noticeExpirationManagerTime>
|
||||
<destinationStates/>
|
||||
<digitalSignature>false</digitalSignature>
|
||||
<executionType>0</executionType>
|
||||
</ProcessState>
|
||||
<ProcessState>
|
||||
<processStatePK>
|
||||
<companyId>1</companyId>
|
||||
<processId>execucaodoServico</processId>
|
||||
<version>1</version>
|
||||
<sequence>4</sequence>
|
||||
</processStatePK>
|
||||
<stateName>Fim</stateName>
|
||||
<stateDescription>Fim</stateDescription>
|
||||
<instruction>Atividade final do processo</instruction>
|
||||
<deadlineTime>0</deadlineTime>
|
||||
<joint>false</joint>
|
||||
<agreementPercentage>0</agreementPercentage>
|
||||
<engineAllocationId></engineAllocationId>
|
||||
<engineAllocationConfiguration></engineAllocationConfiguration>
|
||||
<selectColleague>0</selectColleague>
|
||||
<initialState>false</initialState>
|
||||
<notifyAuthorityDelay>true</notifyAuthorityDelay>
|
||||
<notifyRequisitionerDelay>false</notifyRequisitionerDelay>
|
||||
<allowanceAuthorityTime>0</allowanceAuthorityTime>
|
||||
<frequenceAuthorityTime>1</frequenceAuthorityTime>
|
||||
<allowanceRequisitionerTime>0</allowanceRequisitionerTime>
|
||||
<frequenceRequisitionerTime>0</frequenceRequisitionerTime>
|
||||
<transferAttachments>false</transferAttachments>
|
||||
<subProcessId></subProcessId>
|
||||
<formFolder>0</formFolder>
|
||||
<notifyAuthorityFollowUp>false</notifyAuthorityFollowUp>
|
||||
<notifyRequisitionerFollowUp>true</notifyRequisitionerFollowUp>
|
||||
<automatic>false</automatic>
|
||||
<positionX>790</positionX>
|
||||
<positionY>190</positionY>
|
||||
<forecastedEffortType>0</forecastedEffortType>
|
||||
<forecastedEffort>0</forecastedEffort>
|
||||
<notifyManagerFollowUp>false</notifyManagerFollowUp>
|
||||
<notifyManagerDelay>false</notifyManagerDelay>
|
||||
<allowanceManagerTime>0</allowanceManagerTime>
|
||||
<frequenceManagerTime>0</frequenceManagerTime>
|
||||
<inhibitTransfer>false</inhibitTransfer>
|
||||
<periodId></periodId>
|
||||
<stateType>6</stateType>
|
||||
<bpmnType>60</bpmnType>
|
||||
<signalId>0</signalId>
|
||||
<counterSign>false</counterSign>
|
||||
<openInstances>0</openInstances>
|
||||
<destinationStates/>
|
||||
<digitalSignature>false</digitalSignature>
|
||||
</ProcessState>
|
||||
</list>
|
||||
<list/>
|
||||
<list>
|
||||
<ProcessLink>
|
||||
<processLinkPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>execucaodoServico</processId>
|
||||
<version>1</version>
|
||||
<linkSequence>3</linkSequence>
|
||||
</processLinkPK>
|
||||
<actionLabel></actionLabel>
|
||||
<returnPermited>false</returnPermited>
|
||||
<initialStateSequence>1</initialStateSequence>
|
||||
<finalStateSequence>2</finalStateSequence>
|
||||
<returnLabel></returnLabel>
|
||||
<name></name>
|
||||
<automaticLink>false</automaticLink>
|
||||
<defaultLink>false</defaultLink>
|
||||
<type>0</type>
|
||||
</ProcessLink>
|
||||
<ProcessLink>
|
||||
<processLinkPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>execucaodoServico</processId>
|
||||
<version>1</version>
|
||||
<linkSequence>5</linkSequence>
|
||||
</processLinkPK>
|
||||
<actionLabel></actionLabel>
|
||||
<returnPermited>false</returnPermited>
|
||||
<initialStateSequence>2</initialStateSequence>
|
||||
<finalStateSequence>4</finalStateSequence>
|
||||
<returnLabel></returnLabel>
|
||||
<name>Finalizar</name>
|
||||
<automaticLink>false</automaticLink>
|
||||
<defaultLink>false</defaultLink>
|
||||
<type>0</type>
|
||||
</ProcessLink>
|
||||
</list>
|
||||
<list/>
|
||||
<list/>
|
||||
<list/>
|
||||
<list>
|
||||
<SwimLane>
|
||||
<color>FFFFFF</color>
|
||||
<height>301</height>
|
||||
<width>1001</width>
|
||||
<positionX>70</positionX>
|
||||
<positionY>57</positionY>
|
||||
<stateName>Vistoria</stateName>
|
||||
<type>1</type>
|
||||
<parentSequence>0</parentSequence>
|
||||
<swimLanePK>
|
||||
<companyId>1</companyId>
|
||||
<processId>execucaodoServico</processId>
|
||||
<version>1</version>
|
||||
<sequence>1</sequence>
|
||||
</swimLanePK>
|
||||
</SwimLane>
|
||||
<SwimLane>
|
||||
<color>82b0b7</color>
|
||||
<height>301</height>
|
||||
<width>971</width>
|
||||
<positionX>100</positionX>
|
||||
<positionY>57</positionY>
|
||||
<stateName>Técnico</stateName>
|
||||
<type>2</type>
|
||||
<parentSequence>1</parentSequence>
|
||||
<swimLanePK>
|
||||
<companyId>1</companyId>
|
||||
<processId>execucaodoServico</processId>
|
||||
<version>1</version>
|
||||
<sequence>2</sequence>
|
||||
</swimLanePK>
|
||||
</SwimLane>
|
||||
</list>
|
||||
<list/>
|
||||
<list/>
|
||||
<list/>
|
||||
<list/>
|
||||
<list/>
|
||||
<list>
|
||||
<ProcessFormField>
|
||||
<processFormFieldPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>execucaodoServico</processId>
|
||||
<fieldId>avaliacao</fieldId>
|
||||
</processFormFieldPK>
|
||||
<fieldDescription>avaliacao</fieldDescription>
|
||||
<slotId>1</slotId>
|
||||
</ProcessFormField>
|
||||
<ProcessFormField>
|
||||
<processFormFieldPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>execucaodoServico</processId>
|
||||
<fieldId>dataVistoria</fieldId>
|
||||
</processFormFieldPK>
|
||||
<fieldDescription>dataVistoria</fieldDescription>
|
||||
<slotId>2</slotId>
|
||||
</ProcessFormField>
|
||||
<ProcessFormField>
|
||||
<processFormFieldPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>execucaodoServico</processId>
|
||||
<fieldId>email</fieldId>
|
||||
</processFormFieldPK>
|
||||
<fieldDescription>email</fieldDescription>
|
||||
<slotId>3</slotId>
|
||||
</ProcessFormField>
|
||||
<ProcessFormField>
|
||||
<processFormFieldPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>execucaodoServico</processId>
|
||||
<fieldId>nome</fieldId>
|
||||
</processFormFieldPK>
|
||||
<fieldDescription>nome</fieldDescription>
|
||||
<slotId>4</slotId>
|
||||
</ProcessFormField>
|
||||
<ProcessFormField>
|
||||
<processFormFieldPK>
|
||||
<companyId>1</companyId>
|
||||
<processId>execucaodoServico</processId>
|
||||
<fieldId>titulodochamado</fieldId>
|
||||
</processFormFieldPK>
|
||||
<fieldDescription>titulodochamado</fieldDescription>
|
||||
<slotId>5</slotId>
|
||||
</ProcessFormField>
|
||||
</list>
|
||||
<list/>
|
||||
<list/>
|
||||
<list/>
|
||||
<list/>
|
||||
<list/>
|
||||
</list>
|
||||
|
After Width: | Height: | Size: 12 KiB |
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="stroke-dasharray:none; shape-rendering:auto; font-family:'Arial'; text-rendering:auto; fill-opacity:1; color-interpolation:auto; color-rendering:auto; font-size:12; fill:black; stroke:black; image-rendering:auto; stroke-miterlimit:10; stroke-linecap:square; stroke-linejoin:miter; font-style:normal; stroke-width:1; stroke-dashoffset:0; font-weight:normal; stroke-opacity:1;" contentScriptType="text/ecmascript" preserveAspectRatio="xMidYMid meet" zoomAndPan="magnify" version="1.0" contentStyleType="text/css" xml:xlink="http://www.w3.org/1999/xlink" width="1071" height="358"><rect x="70" y="57" width="1001" height="301" ry="0" rx="0" style="stroke:#000000; fill:#FFFFFF" /><rect x="100" y="57" width="971" height="301" ry="0" rx="0" style="stroke:#000000; fill:#82B0B7" /><g componentSequence="7"><text x="-207" y="108" transform="rotate(270)" text-anchor="middle" style="font-weight:bold;font-size:10px;stroke:none; fill:#434343"><tspan dy="14" x="-207">Técnico</tspan></text></g><g componentSequence="6"><text x="-207" y="78" transform="rotate(270)" text-anchor="middle" style="font-weight:bold;font-size:10px;stroke:none; fill:#434343"><tspan dy="14" x="-207">Vistoria</tspan></text></g><g sequence="1"><ellipse cx="187" cy="207" rx="17" ry="17" stroke-width="1" style="fill:url(#linearGradient66FF6696FF96B6FFB6_544062331);" stroke="336633" /></g><g sequence="2"><rect x="440" y="170" width="106" height="76" ry="5" rx="5" style="fill:url(#linearGradientF8FBFEEDF5FCDEEDFAD4E7F8E2E5E9_782909702);" stroke="191970" /></g><g componentSequence="2"><text x="493" y="185" text-anchor="middle" style="font-weight:bold;font-size:10px;stroke:none; fill:#333399"><tspan dy="14" x="493">Vistoria do</tspan><tspan dy="14" x="493">serviço</tspan></text></g><g sequence="4"><ellipse cx="807" cy="207" rx="17" ry="17" stroke-width="3" style="fill:url(#linearGradientFF6666FF9696FFB6B6_714461195);" stroke="993333" /></g><g componentSequence="3"><text x="332" y="207" style="font-size:10px;font-weight:none;stroke:none; fill:#333399" text-anchor="left" /></g><g componentSequence="5"><text x="610" y="220" style="font-size:10px;font-weight:none;stroke:none; fill:#333399" text-anchor="left"><tspan dy="14" x="610">Finalizar</tspan></text></g><path style="fill:none; stroke:#000000;stroke-width:1" d="M204.0 207.0 L439.0 207.0" /><polygon style="fill:#000000; stroke:#000000;" points=" 429 202 439 207 429 212 431 207" /><path style="fill:none; stroke:#000000;stroke-width:1" d="M546.0 207.0 L790.0 207.0" /><polygon style="fill:#000000; stroke:#000000;" points=" 780 202 790 207 780 212 782 207" /><defs><linearGradient xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#linearGradient66FF6696FF96B6FFB6" id="linearGradient66FF6696FF96B6FFB6_544062331" x1="0" y1="190.0" x2="0" y2="225.0" gradientUnits="userSpaceOnUse" xlink:type="simple" xlink:actuate="onLoad" xlink:show="other" /><linearGradient id="linearGradient66FF6696FF96B6FFB6"><stop style="stop-color:#66FF66;stop-opacity:1;" offset="0.0" id="stop66FF66" /><stop style="stop-color:#96FF96;stop-opacity:1;" offset="0.5" id="stop96FF96" /><stop style="stop-color:#B6FFB6;stop-opacity:1;" offset="1.0" id="stopB6FFB6" /></linearGradient><linearGradient xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#linearGradientF8FBFEEDF5FCDEEDFAD4E7F8E2E5E9" id="linearGradientF8FBFEEDF5FCDEEDFAD4E7F8E2E5E9_782909702" x1="0" y1="170.0" x2="0" y2="276.0" gradientUnits="userSpaceOnUse" xlink:type="simple" xlink:actuate="onLoad" xlink:show="other" /><linearGradient id="linearGradientF8FBFEEDF5FCDEEDFAD4E7F8E2E5E9"><stop style="stop-color:#F8FBFE;stop-opacity:1;" offset="0.0" id="stopF8FBFE" /><stop style="stop-color:#EDF5FC;stop-opacity:1;" offset="0.25" id="stopEDF5FC" /><stop style="stop-color:#DEEDFA;stop-opacity:1;" offset="0.5" id="stopDEEDFA" /><stop style="stop-color:#D4E7F8;stop-opacity:1;" offset="0.75" id="stopD4E7F8" /><stop style="stop-color:#E2E5E9;stop-opacity:1;" offset="1.0" id="stopE2E5E9" /></linearGradient><linearGradient xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#linearGradientFF6666FF9696FFB6B6" id="linearGradientFF6666FF9696FFB6B6_714461195" x1="0" y1="190.0" x2="0" y2="225.0" gradientUnits="userSpaceOnUse" xlink:type="simple" xlink:actuate="onLoad" xlink:show="other" /><linearGradient id="linearGradientFF6666FF9696FFB6B6"><stop style="stop-color:#FF6666;stop-opacity:1;" offset="0.0" id="stopFF6666" /><stop style="stop-color:#FF9696;stop-opacity:1;" offset="0.5" id="stopFF9696" /><stop style="stop-color:#FFB6B6;stop-opacity:1;" offset="1.0" id="stopFFB6B6" /></linearGradient></defs></svg>
|
||||
|
After Width: | Height: | Size: 4.6 KiB |
@@ -0,0 +1,21 @@
|
||||
function beforeTaskSave(colleagueId,nextSequenceId,userList){
|
||||
// Captura o ID do usuário logado
|
||||
var usuarioLogado = getValue("WKUser");
|
||||
|
||||
// Busca os dados do dataset "colleague"
|
||||
var c1 = DatasetFactory.createConstraint("colleagueId", usuarioLogado, usuarioLogado, ConstraintType.MUST);
|
||||
var dataset = DatasetFactory.getDataset("colleague", null, [c1], null);
|
||||
|
||||
if (dataset && dataset.rowsCount > 0) {
|
||||
// Obter informações do usuário logado
|
||||
var nome = dataset.getValue(0, "colleagueName");
|
||||
var email = dataset.getValue(0, "mail");
|
||||
|
||||
// Preenche os campos do formulário
|
||||
hAPI.setCardValue("nome", nome);
|
||||
hAPI.setCardValue("email", email);
|
||||
} else {
|
||||
log.error("Erro ao buscar os dados do dataset 'colleague'.");
|
||||
}
|
||||
|
||||
}
|
||||