Primeiro commit fluig
@@ -0,0 +1,208 @@
|
||||
!SESSION 2025-05-26 12:45:36.487 -----------------------------------------------
|
||||
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:46:23.408
|
||||
!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.
|
||||
|
||||
!ENTRY org.eclipse.ui 4 4 2025-05-26 12:46:47.705
|
||||
!MESSAGE Unable to create part
|
||||
!STACK 1
|
||||
org.eclipse.ui.PartInitException: Unknown editor input: org.eclipse.ui.ide.FileStoreEditorInput@6c450a59
|
||||
at org.eclipse.graphiti.ui.editor.DiagramEditor.convertToDiagramEditorInput(DiagramEditor.java:285)
|
||||
at org.eclipse.graphiti.ui.editor.DiagramEditor.init(DiagramEditor.java:215)
|
||||
at com.totvs.tds.ecm.designer.eclipse.ui.TotvsBpmnDiagramEditor.init(TotvsBpmnDiagramEditor.java:407)
|
||||
at org.eclipse.ui.internal.EditorReference.initialize(EditorReference.java:353)
|
||||
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:340)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
|
||||
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
|
||||
at java.lang.reflect.Method.invoke(Unknown Source)
|
||||
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
|
||||
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:998)
|
||||
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:963)
|
||||
at org.eclipse.e4.core.internal.di.InjectorImpl.internalInject(InjectorImpl.java:139)
|
||||
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:408)
|
||||
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:331)
|
||||
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:202)
|
||||
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:91)
|
||||
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:60)
|
||||
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:42)
|
||||
at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:132)
|
||||
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:1002)
|
||||
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:662)
|
||||
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:768)
|
||||
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:739)
|
||||
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:733)
|
||||
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
|
||||
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:717)
|
||||
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$1.handleEvent(PartServiceImpl.java:107)
|
||||
at org.eclipse.e4.ui.services.internal.events.UIEventHandler.lambda$0(UIEventHandler.java:38)
|
||||
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:236)
|
||||
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:146)
|
||||
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4622)
|
||||
at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:219)
|
||||
at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)
|
||||
at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:205)
|
||||
at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:203)
|
||||
at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
|
||||
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
|
||||
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151)
|
||||
at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:132)
|
||||
at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:75)
|
||||
at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:44)
|
||||
at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:55)
|
||||
at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:63)
|
||||
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:424)
|
||||
at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElementGen(ElementContainerImpl.java:170)
|
||||
at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:188)
|
||||
at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:651)
|
||||
at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:615)
|
||||
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:790)
|
||||
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:404)
|
||||
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1239)
|
||||
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3205)
|
||||
at org.eclipse.ui.internal.WorkbenchPage.lambda$9(WorkbenchPage.java:3110)
|
||||
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:72)
|
||||
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3108)
|
||||
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3078)
|
||||
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3061)
|
||||
at org.eclipse.ui.ide.IDE.openEditorOnFileStore(IDE.java:1377)
|
||||
at org.eclipse.ui.internal.ide.actions.OpenLocalFileAction.run(OpenLocalFileAction.java:100)
|
||||
at org.eclipse.ui.internal.ide.actions.OpenLocalFileAction.run(OpenLocalFileAction.java:73)
|
||||
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:232)
|
||||
at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:218)
|
||||
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:580)
|
||||
at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:412)
|
||||
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
|
||||
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4173)
|
||||
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
|
||||
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3986)
|
||||
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3585)
|
||||
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1160)
|
||||
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
|
||||
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1049)
|
||||
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
|
||||
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:633)
|
||||
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
|
||||
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:557)
|
||||
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
|
||||
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:150)
|
||||
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
|
||||
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
|
||||
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
|
||||
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
|
||||
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
|
||||
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
|
||||
at java.lang.reflect.Method.invoke(Unknown Source)
|
||||
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:660)
|
||||
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
|
||||
at org.eclipse.equinox.launcher.Main.run(Main.java:1468)
|
||||
!SUBENTRY 1 org.eclipse.ui 4 0 2025-05-26 12:46:47.707
|
||||
!MESSAGE Unknown editor input: org.eclipse.ui.ide.FileStoreEditorInput@6c450a59
|
||||
|
||||
!ENTRY org.eclipse.e4.ui.workbench 4 0 2025-05-26 12:46:47.713
|
||||
!MESSAGE
|
||||
!STACK 0
|
||||
java.lang.NullPointerException
|
||||
at org.eclipse.graphiti.ui.editor.DefaultUpdateBehavior.dispose(DefaultUpdateBehavior.java:422)
|
||||
at org.eclipse.graphiti.ui.editor.DiagramBehavior.disposeBeforeGefDispose(DiagramBehavior.java:1779)
|
||||
at org.eclipse.graphiti.ui.editor.DiagramEditor.dispose(DiagramEditor.java:510)
|
||||
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.handlePartInitException(CompatibilityPart.java:310)
|
||||
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:342)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
|
||||
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
|
||||
at java.lang.reflect.Method.invoke(Unknown Source)
|
||||
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
|
||||
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:998)
|
||||
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:963)
|
||||
at org.eclipse.e4.core.internal.di.InjectorImpl.internalInject(InjectorImpl.java:139)
|
||||
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:408)
|
||||
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:331)
|
||||
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:202)
|
||||
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:91)
|
||||
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:60)
|
||||
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:42)
|
||||
at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:132)
|
||||
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:1002)
|
||||
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:662)
|
||||
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:768)
|
||||
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:739)
|
||||
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:733)
|
||||
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
|
||||
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:717)
|
||||
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$1.handleEvent(PartServiceImpl.java:107)
|
||||
at org.eclipse.e4.ui.services.internal.events.UIEventHandler.lambda$0(UIEventHandler.java:38)
|
||||
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:236)
|
||||
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:146)
|
||||
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4622)
|
||||
at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:219)
|
||||
at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)
|
||||
at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:205)
|
||||
at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:203)
|
||||
at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
|
||||
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
|
||||
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151)
|
||||
at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:132)
|
||||
at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:75)
|
||||
at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:44)
|
||||
at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:55)
|
||||
at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:63)
|
||||
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:424)
|
||||
at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElementGen(ElementContainerImpl.java:170)
|
||||
at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:188)
|
||||
at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:651)
|
||||
at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:615)
|
||||
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:790)
|
||||
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:404)
|
||||
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1239)
|
||||
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3205)
|
||||
at org.eclipse.ui.internal.WorkbenchPage.lambda$9(WorkbenchPage.java:3110)
|
||||
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:72)
|
||||
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3108)
|
||||
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3078)
|
||||
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3061)
|
||||
at org.eclipse.ui.ide.IDE.openEditorOnFileStore(IDE.java:1377)
|
||||
at org.eclipse.ui.internal.ide.actions.OpenLocalFileAction.run(OpenLocalFileAction.java:100)
|
||||
at org.eclipse.ui.internal.ide.actions.OpenLocalFileAction.run(OpenLocalFileAction.java:73)
|
||||
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:232)
|
||||
at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:218)
|
||||
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:580)
|
||||
at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:412)
|
||||
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
|
||||
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4173)
|
||||
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
|
||||
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3986)
|
||||
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3585)
|
||||
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1160)
|
||||
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
|
||||
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1049)
|
||||
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
|
||||
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:633)
|
||||
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
|
||||
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:557)
|
||||
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
|
||||
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:150)
|
||||
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
|
||||
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
|
||||
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
|
||||
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
|
||||
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
|
||||
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
|
||||
at java.lang.reflect.Method.invoke(Unknown Source)
|
||||
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:660)
|
||||
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
|
||||
at org.eclipse.equinox.launcher.Main.run(Main.java:1468)
|
||||
@@ -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:46:23,209 [Worker-4: 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,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<state reopen="true"/>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<section name="Workbench">
|
||||
<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="1748274379846_0" label="Java Main Sources" name="Java Main Sources"/>
|
||||
<workingSet editPageId="org.eclipse.jdt.internal.ui.DynamicSourcesWorkingSet" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1748274379858_1" label="Java Test Sources" name="Java Test Sources"/>
|
||||
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1748274383672_2" label="Window Working Set" name="Aggregate for window 1748274383672"/>
|
||||
</workingSetManager>
|
||||
@@ -0,0 +1,3 @@
|
||||
#Mon May 26 12:46:16 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,13 @@
|
||||
eclipse.preferences.version=1
|
||||
encoding//wcm/widget/cards_compras/src/main/resources/application.info=utf8
|
||||
encoding//wcm/widget/cards_compras/src/main/resources/cards_compras.properties=utf8
|
||||
encoding//wcm/widget/cards_compras/src/main/resources/cards_compras_en_US.properties=utf8
|
||||
encoding//wcm/widget/cards_compras/src/main/resources/cards_compras_es.properties=utf8
|
||||
encoding//wcm/widget/cards_compras/src/main/resources/cards_compras_pt_BR.properties=utf8
|
||||
encoding//wcm/widget/cards_compras/src/main/resources/edit.ftl=utf8
|
||||
encoding//wcm/widget/cards_compras/src/main/resources/view.ftl=utf8
|
||||
encoding//wcm/widget/cards_compras/src/main/webapp/WEB-INF/jboss-web.xml=utf8
|
||||
encoding//wcm/widget/cards_compras/src/main/webapp/WEB-INF/web.xml=utf8
|
||||
encoding//wcm/widget/cards_compras/src/main/webapp/resources/css/cards_compras.css=utf8
|
||||
encoding//wcm/widget/cards_compras/src/main/webapp/resources/images/icon.png=utf8
|
||||
encoding//wcm/widget/cards_compras/src/main/webapp/resources/js/cards_compras.js=utf8
|
||||
@@ -0,0 +1,61 @@
|
||||
function defineStructure() {
|
||||
|
||||
}
|
||||
function onSync(lastSyncDate) {
|
||||
|
||||
}
|
||||
function createDataset(fields, constraints, sortFields) {
|
||||
|
||||
var dataset = DatasetBuilder.newDataset();
|
||||
|
||||
dataset.addColumn("nomeOcorrencia");
|
||||
|
||||
// Adicione dados para o dataset, exemplo:
|
||||
dataset.addRow(["Rádio Parada"]);
|
||||
dataset.addRow(["Câmera Parada"]);
|
||||
dataset.addRow(["Organização do Rack"]);
|
||||
dataset.addRow(["PDV Não Liga"]);
|
||||
dataset.addRow(["PDV Vencido"]);
|
||||
dataset.addRow(["PDV Lento"]);
|
||||
dataset.addRow(["Adquirir PDV"]);
|
||||
dataset.addRow(["Ativar PDV"]);
|
||||
dataset.addRow(["Computador de ER parado"]);
|
||||
dataset.addRow(["Nobreak Apitando"]);
|
||||
dataset.addRow(["Nobreak Não liga"]);
|
||||
dataset.addRow(["Manutenção Periódica do Nobreak"]);
|
||||
dataset.addRow(["Impressora 4200"]);
|
||||
dataset.addRow(["Impressora 5100"]);
|
||||
dataset.addRow(["Impressora Brother HL-L5102DW"]);
|
||||
dataset.addRow(["Impressora sem imprimir"]);
|
||||
dataset.addRow(["Mobshop Parado"]);
|
||||
dataset.addRow(["Mobpin Parado"]);
|
||||
dataset.addRow(["Ativar Mobshop"]);
|
||||
dataset.addRow(["Trocar Mobshop"]);
|
||||
dataset.addRow(["Solicitar Equipamentos"]);
|
||||
dataset.addRow(["Entregar Equipamentos"]);
|
||||
dataset.addRow(["Solicitar chip"]);
|
||||
dataset.addRow(["Email sem acesso"]);
|
||||
dataset.addRow(["Internet sem funcionar"]);
|
||||
dataset.addRow(["Resgatar Imagens"]);
|
||||
dataset.addRow(["Internet"]);
|
||||
dataset.addRow(["Outros"]);
|
||||
dataset.addRow(["Criar Email de colaborador"]);
|
||||
dataset.addRow(["Acesso a VPN"]);
|
||||
dataset.addRow(["Acesso as Pastas da Rede"]);
|
||||
dataset.addRow(["Protheus"]);
|
||||
dataset.addRow(["Instalação de Desktop"]);
|
||||
dataset.addRow(["Instalação de Equipamentos"]);
|
||||
dataset.addRow(["Instalação Câmera"]);
|
||||
dataset.addRow(["Instalação de Impressora"]);
|
||||
dataset.addRow(["Configuração de RB"]);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
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/Protheus12"; // 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 LEFT(b1_cod, 4) IN ('0001','0008', '0002', '0003', '0007', '0006', '0009', '0010', '0011', '0014','0016')";
|
||||
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,118 @@
|
||||
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.addColumn("cnpj");
|
||||
|
||||
|
||||
|
||||
ds.addRow(new Array("010101","4494", "ESCRITÓRIO MATRIZ","57035-030","RUA DESPORTISTA HUMBERTO GUIMARAES","343","PONTA VERDE","MACEIÓ","AL","08.489.643/0001-52"));
|
||||
ds.addRow(new Array("010102","3546", "LJ BIG BOMPREÇO GRUTA","57052-000","AVENIDA FERNANDES LIMA","3700","GRUTA DE LOURDES","MACEIÓ","AL","08.489.643/0003-14"));
|
||||
ds.addRow(new Array("010103","4560", "LJ MACEIÓ SHOPPING TERREO","57031-532","AVENIDA GUSTAVO PAIVA","2900","MANGABEIRAS","MACEIÓ","AL","08.489.643/0004-03"));
|
||||
ds.addRow(new Array("010104","5699", "LJ MOREIRA LIMA","57020-000","RUA MOREIRA LIMA","93","CENTRO","MACEIÓ","AL","08.489.643/0005-86"));
|
||||
ds.addRow(new Array("010106","12522", "LJ MACEIÓ SHOPPING EXPANSÃO","57031-530","AVENIDA GUSTAVO PAIVA","2990","MANGABEIRAS","MACEIÓ","AL","08.489.643/0016-39"));
|
||||
ds.addRow(new Array("010107","12828", "LJ GBARBOSA S.MARIS","57036-550","AV ENG. PAULO BRANDÃO NOGUEIRA","S/N","JATIÚCA","MACEIÓ","AL","08.489.643/0017-10"));
|
||||
ds.addRow(new Array("010108","12838", "LJ RIO LARGO","57100-000","AV PRES GETULIO VARGAS","148","CENTRO","RIO LARGO","AL","08.489.643/0018-09"));
|
||||
ds.addRow(new Array("010109","21647", "QUIOSQUE CARAJÁS MANGABEIRAS","57037-901","AV COMENDADOR GUSTAVO PAIVA","S/N","MANGABEIRAS","MACEIÓ","AL","08.489.643/0019-81"));
|
||||
ds.addRow(new Array("010110","12817", "LJ SHOPPING PÁTIO","57073-470","AV MENINO MARCELO","3800","CIDADE UNIVERSITÁRIA","MACEIÓ","AL","08.489.643/0020-15"));
|
||||
ds.addRow(new Array("010111","12824", "QUIOSQUE GBARBOSA TABULEIRO","57061-110","AVENIDA MACEIÓ","S/N","TABULEIRO","MACEIÓ","AL","08.489.643/0021-04"));
|
||||
ds.addRow(new Array("010112","12823", "LJ PONTA VERDE","57035-330","RUA DEPUTADO JOSÉ LAGES","431","PONTA VERDE","MACEIÓ","AL","08.489.643/0022-87"));
|
||||
ds.addRow(new Array("010113","20858", "QUIOSQUE SUPER GIRO","57010-003","AVENIDA SIQUEIRA CAMPOS","1368","PRADO","MACEIÓ","AL","08.489.643/0023-68"));
|
||||
ds.addRow(new Array("010114","12820", "LJ ATACADÃO TABULEIRO","57082-160","AV DOUTOR DURVAL DE GOIS MONTEIRO","12650","TABULEIRO","MACEIÓ","AL","08.489.643/0024-49"));
|
||||
ds.addRow(new Array("010115","12830", "LJ LIVRAMENTO","57020-030","RUA DO LIVRAMENTO","24","CENTRO","MACEIÓ","AL","08.489.643/0025-20"));
|
||||
ds.addRow(new Array("010117","19103", "LJ UNICOMPRA PONTA VERDE","57035-060","RUA DURVAL GUIMARÃES","S/N","PONTA VERDE","MACEIÓ","AL","08.489.643/0027-91"));
|
||||
ds.addRow(new Array("010118","12826", "LJ ASSAÍ MANGABEIRAS","57037-532","AV COMENDADOR GUSTAVO PAIVA","3261","MANGABEIRAS","MACEIÓ","AL","08.489.643/0028-72"));
|
||||
ds.addRow(new Array("010119","12829", "LJ JACINTINHO","57041-000","RUA CLETO CAMPELO","2394","JACINTINHO","MACEIÓ","AL","08.489.643/0029-53"));
|
||||
ds.addRow(new Array("010120","12818", "LJ GBARBOSA SERRARIA","57046-000","AVENIDA MENINO MARCELO","9730","SERRARIA","MACEIÓ","AL","08.489.643/0030-97"));
|
||||
ds.addRow(new Array("010121","13427", "LJ SHOPPING CIDADE","57055-000","AVENIDA FERNANDES LIMA","679","FAROL","MACEIÓ","AL","08.489.643/0031-78"));
|
||||
ds.addRow(new Array("010124","14617", "LJ PARQUE SHOPPING","57038-000","AVENIDA GUSTAVO PAIVA","5945","CRUZ DAS ALMAS",",MACEIÓ","AL","08.489.643/0034-10"));
|
||||
ds.addRow(new Array("010126","14668", "LJ MIX MATHEUS ANTARES","57038-410","AVENIDA MENINO MARCELO","5300","ANTARES","MACEIÓ","AL","08.489.643/0036-82"));
|
||||
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","08.489.643/0038-44"));
|
||||
ds.addRow(new Array("010130","20009", "LJ CANDEIAS BAIXO","43815-050","AVENIDA ANTONIO PATTERSON","196","TRIÂNGULO","CANDEIAS","BA","08.489.643/0040-69"));
|
||||
ds.addRow(new Array("010131","20005", "LJ CANDEIAS CIMA","43805-000","RUA 13 DE MAIO","147","CENTRO","CANDEIAS","BA","08.489.643/0041-40"));
|
||||
ds.addRow(new Array("010132","20056", "LJ SIMÕES FILHO","43700-000","AV LUÍS EDUARDO MAGALHÃES","109","CENTRO","SIMÕES FILHO","BA","08.489.643/0042-20"));
|
||||
ds.addRow(new Array("010133","20057", "LJ CONCEIÇÃO COITÉ","48730-000","RUA DR AMÂNCIO MOTA","30","CENTRO","CONCEIÃO DO COITÉ","BA","08.489.643/0043-01"));
|
||||
ds.addRow(new Array("010134","20441", "LJ LAGARTO","49400-000","AVENIDA LEANDRO MACIEL","36","CENTRO","LAGARTO","SE","08.489.643/0044-92"));
|
||||
ds.addRow(new Array("010135","20968", "HIB ITABAIANINHA","49290-000","PRAÇA OLÍMPIO CAMPOS","154","CENTRO","ITABAIANINHA","SE","08.489.643/0059-79"));
|
||||
ds.addRow(new Array("010136","20969", "HIB MARECHAL DEODORO","57160-000","RUA DR TAVARES BASTOS","03","CENTRO","MARECHAL DEODORO","AL","08.489.643/0054-64"));
|
||||
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","08.489.643/0050-30"));
|
||||
ds.addRow(new Array("010138","20986", "HIB OLINDINA","48470-000","AVENIDA ANTONIO MANGABEIRA","84","CENTRO","OLINDINA","BA","08.489.643/0055-45"));
|
||||
ds.addRow(new Array("010139","20988", "HIB QUEIMADAS","48860-000","PRAÇA CORONEL FRANCISCO LANTYER","21","CENTRO","QUEIMADAS","BA","08.489.643/0051-11"));
|
||||
ds.addRow(new Array("010140","20989", "HIB ENTRE RIOS","48180-000","AVENIDA JURACY MAGALHÃES","320","CENTRO","ENTRE RIOS","BA","08.489.643/0056-26"));
|
||||
ds.addRow(new Array("010141","20991", "HIB CAMPO ALEGRE","57250-000","RUA DO COMÉRCIO","49","CENTRO","CAMPO ALEGRE","AL","08.489.643/0061-93"));
|
||||
ds.addRow(new Array("010142","20992", "ER CONCEIÇÃO COITÉ","48730-000","RUA DR AMANCIO MOTA","35","CENTRO","CONCEIÇÃO DO COITÉ","BA","08.489.643/0045-73"));
|
||||
ds.addRow(new Array("010143","20993", "ER CANDEIAS","43815-010","AV ANTONIO PATTERSON","213","TRIANGULO","CANDEIAS","BA","08.489.643/0046-54"));
|
||||
ds.addRow(new Array("010144","20994", "ER SIMÕES FILHO","43700-000","AV LUÍS EDUARDO MAGALHÃES","109","CENTRO","SIMÕES FILHO","BA","08.489.643/0047-35"));
|
||||
ds.addRow(new Array("010145","20995", "ER LAGARTO","49400-000","AVENIDA LEANDRO MACIEL","36","CENTRO","LAGARTO","SE","08.489.643/0060-02"));
|
||||
ds.addRow(new Array("010146","20996", "ER ANTARES","57083-048","AV ANTONIO LISBOA DE AMORIM","220","ANTARES","MACEIÓ","AL","08.489.643/0057-07"));
|
||||
ds.addRow(new Array("010147","20997", "ER PITANGUINHA","57052-050","AVENIDA FERNANDES LIMA","840","PITANGUINHA","MACEIÓ","AL","08.489.643/0058-98"));
|
||||
ds.addRow(new Array("010148","20998", "CD TABULEIRO","57073-482","ESTRADA DA CODEAL","770","TABULEIRO","MACEIÓ","AL","08.489.643/0062-74"));
|
||||
ds.addRow(new Array("010149","20999", "HIB ESPLANADA","48370-000","PRAÇA LADISLAU CAVALCANTE","31","CENTRO","ESPLANADA","BA","08.489.643/0053-83"));
|
||||
ds.addRow(new Array("010150","21000", "HIB SANTALUZ","48880-000","RUA RIO BRANCO","96","CENTRO","SANTALUZ","BA","08.489.643/0052-00"));
|
||||
ds.addRow(new Array("010151","21001", "HIB RIO REAL","48330-000","PC SEN ANTONIO CARLOS MAGALHÃES","146","CENTRO","RIO REAL","BA","08.489.643/0049-05"));
|
||||
ds.addRow(new Array("010152","21007", "TÔ QUE TÔ MACEIÓ CENTRO","57020-220","AVENIDA MOREIRA LIMA","293","CENTRO","MACEIÓ","AL","08.489.643/0048-16"));
|
||||
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","08.489.643/0063-55"));
|
||||
ds.addRow(new Array("010154","21277", "LJ GBARBOSA SOCORRO","49160-000","AVENIDA 1","13","CONJ JOAO ALVES FILHO","NOSSA SENHORA DO SOCORRO","SE","08.489.643/0065-17"));
|
||||
ds.addRow(new Array("010155","21278", "ER SOCORRO","49140-000","AVENIDA COLETORA A","597","CONJ MARCOS FREIRE I","NOSSA SENHORA DO SOCORRO","SE","08.489.643/0066-06"));
|
||||
ds.addRow(new Array("010156","21495", "HIB BARRA DOS COQUEIROS","49140-000","AVENIDA OCEANICA","506","ANTONIO PEDRO","BARRA DOS COQUEIROS","SE","08.489.643/0067-89"));
|
||||
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","08.489.643/0064-36"));
|
||||
ds.addRow(new Array("010159","21381", "LJ CAPIM GROSSO","44695-000","AV ACM","121","CENTRO","CAPIM-GROSSO","BA","08.489.643/0069-40"));
|
||||
ds.addRow(new Array("010160","21383", "ER CAPIM GROSSO","44695-000","AV ACM","121","CENTRO","CAPIM-GROSSO","BA","08.489.643/0070-84"));
|
||||
ds.addRow(new Array("010161","21375", "HIB IPIRÁ","44600-000","AVENIDA CESÁR CABRAL","15","CENTRO","IPIRÁ","BA","08.489.643/0071-65"));
|
||||
ds.addRow(new Array("010162","21624", "MIX MATEUS TRAPICHE","57010-000","AVENIDA SIQUEIRA CAMPOS","1295","PRADO","MACEIÓ","AL","08.489.643/0072-46"));
|
||||
ds.addRow(new Array("010163","22448", "ER CAMPO ALEGRE","57250-000","RUA DO COMÉRCIO","49","CENTRO","CAMPO ALEGRE","AL","08.489.643/0073-27"));
|
||||
ds.addRow(new Array("010164","23475", "MIX MATEUS TABULEIRO","57082-160","AV DOUTOR DURVAL DE GOIS MONTEIRO","9207","TABULEIRO","MACEIÓ","AL","08.489.643/0074-08"));
|
||||
ds.addRow(new Array("010165","22541", "ER RIO LARGO","57100-000","RUA JUDITH PAIVA","445","CENTRO","RIO LARGO","AL","08.489.643/0075-99"));
|
||||
ds.addRow(new Array("010166","AMG", "AMG SERRARIA","57046-000","AVENIDA MENINO MARCELO","S/N","SERRARIA","MACEIÓ","AL","08.489.643/0076-70"));
|
||||
ds.addRow(new Array("010167","23156", "SHOPPING CENTRO SUL","49400-000","AV CONTORNO BR","3795","SÃO JOSE","LAGARTO","SE","08.489.643/0077-50"));
|
||||
ds.addRow(new Array("030101","910173", "QDB PARQUE SHOPPING","57038-000","AVENIDA COMENDADOR GUSTAVO PAIVA","5945","CRUZ DAS ALMAS","MACEIÓ","AL","20.318.877/0001-32"));
|
||||
ds.addRow(new Array("030102","910291", "QDB MACEIO SHOPPING","57037-532","AVENIDA COMENDADOR GUSTAVO PAIVA","2900","MANGABEIRAS","MACEIÓ","AL","20.318.877/0002-13"));
|
||||
ds.addRow(new Array("070101","23713", "MATRIZ - ZEFERINO CORREIA","45000-520","RUA ZEFERINO CORREIA","17","CENTRO","VITORIA DA CONQUISTA","BA","14.378.160/0001-83"));
|
||||
ds.addRow(new Array("070102","23711", "HIB LIMA GUERRA","45000-390","AL. LIMA GUERRA","04","CENTRO","VITORIA DA CONQUISTA","BA","14.378.160/0005-07"));
|
||||
ds.addRow(new Array("070103","23712", "HIB CANDIDO SALES","24157-000","AL. RIO BRANCO","373","CENTRO","CÂNDIDO SALES","BA","14.378.160/0006-98"));
|
||||
ds.addRow(new Array("070104","23705", "LOJA SHOPPING CONQUISTA SUL","45055-900","AVENIDA JURACY MAGALHAES","3340","FELICIA","VITORIA DA CONQUISTA","BA","14.378.160/0013-17"));
|
||||
ds.addRow(new Array("070105","23703", " VD BARRA CHOCA","45120-000","AV GETULIO VARGAS","98","CENTRO","CHOCA","BA","14.378.160/0016-60"));
|
||||
ds.addRow(new Array("070106","23707", "LOJA BRASIL","45051-070","AV ITABUNA","2724","BRASIL","VITORIA DA CONQUISTA","BA","14.378.160/0011-55"));
|
||||
ds.addRow(new Array("070107","23706", "LOJA ASSAI FELICIA","45055-686","AV ANEL DE CONTORNO","S/N","FELICIA","VITORIA DA CONQUISTA","BA","14.378.160/0012-36"));
|
||||
ds.addRow(new Array("070108","23709", "LOJA SHOPPING CONQUISTA","45055-900","AV JURACY MAGALHAES","3340","FELICIA","VITORIA DA CONQUISTA","BA","14.378.160/0009-30"));
|
||||
ds.addRow(new Array("070109","23704", "VD CONDEUBA","46200-000","PC NOSSA SENHORA APARECIDA","08","CENTRO","CONDEÚBA","BA","14.378.160/0015-89"));
|
||||
ds.addRow(new Array("070110","23703", "LOJA BARRA CHOCA","45120-000","AV GETULIO VARGAS","98","CENTRO","CHOCA","BA","14.378.160/0016-60"));
|
||||
ds.addRow(new Array("070111","23702", "LOJA PANVICON CENTER","45000-230","AVENIDA LAURO DE FREITAS","142","CENTRO","VITORIA DA CONQUISTA","BA","14.378.160/0017-40"));
|
||||
ds.addRow(new Array("070112","23701", "LOJA NOVE DE NOVEMBRO","45000-370","PC NOVE DE NOVEMBRO","10","CENTRO","VITORIA DA CONQUISTA","BA","14.378.160/0018-21"));
|
||||
ds.addRow(new Array("070113","23665", "LOJA UNIVERSIDADE","45031-000","AV OLIVIA FLORES","2500","UNIVERSIDADE","VITORIA DA CONQUISTA","BA","14.378.160/0021-27"));
|
||||
ds.addRow(new Array("010172","24253", "LOJA IRECÊ CENTRO","44860-051","RUA AUGUSTO NUNES PEREIRA","162","CENTRO","IRECÊ","BA","08.489.643/0095-32"));
|
||||
ds.addRow(new Array("010171","24254", "LOJA JOÃO DOURADO","44920-000","AVENIDA JOAQUIM AUGUSTO","212D","CENTRO","JOÃO DOURADO","BA","08.489.643/0089-94"));
|
||||
ds.addRow(new Array("010173","24254", "ER IRECE","44860-169","AVENIDA EDVALDO SANTOS LOPES","438","CENTRO","IRECE","BA","08.489.643/0094-51"));
|
||||
ds.addRow(new Array("010169","24257", "HIB MIGUEL CALMON","44720-000","PRAÇA LAURO DE FREITAS","180","CENTRO","MIGUEL CALMON","BA","08.489.643/0088-03"));
|
||||
ds.addRow(new Array("010170","24258", "LOJA ATACADAO IRECE","44868-520","AVENIDA ATACADAO NOVO IRECE","01","NOVO IRECÊ","IRECÊ","BA","08.489.643/0093-70"));
|
||||
ds.addRow(new Array("010175","24268", "LOJA JACOBINA","44702-342","RUA CORONEL TEIXEIRA","44","CENTRO","JACOBINA","BA","08.489.643/0097-02"));
|
||||
ds.addRow(new Array("010176","24269", "ER JACOBINA","44702-358","AVENIDA MANOEL NOVAES","178","CENTRO","JACOBINA","BA","08.489.643/0096-13"));
|
||||
ds.addRow(new Array("010174","24293", "HIB MORRO DO CHAPEU","44850-970","RUA PROJETADA 01","203","CENTRO","MORRO DO CHAPEU","BA","08.489.643/0099-66"));
|
||||
ds.addRow(new Array("010168","23813", "HIB VALENTE","48890-000","RUA CASTRO ALVES","174","CENTRO","VALENTE","BA","08.489.643/0078-31"));
|
||||
ds.addRow(new Array("010177","23711", "ER CONQUISTA","45000-390","ALAMEDA LIMA GUERRA","174","CENTRO","VITORIA DA CONQUISTA","BA","08.489.643/0100-34"));
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
return ds;
|
||||
|
||||
}
|
||||
function onMobileSync(user) {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
function createDataset(fields, constraints, sortFields) {
|
||||
var dataset = DatasetBuilder.newDataset();
|
||||
criarEstrutura(dataset);
|
||||
|
||||
try {
|
||||
log.info("🚀 Iniciando dsPostPedidoCompra");
|
||||
|
||||
// Captura os parâmetros via constraints
|
||||
var estabelecimento = trim(getParametro(constraints, "estabelecimento"));
|
||||
var numeroPedido = trim(getParametro(constraints, "numeroPedido"));
|
||||
var dataAbertura = trim(getParametro(constraints, "dataAbertura"));
|
||||
var fornecedor = trim(getParametro(constraints, "fornecedor"));
|
||||
var condPagamento = trim(getParametro(constraints, "condPagamentoIndica"));
|
||||
var userCompras = trim(getParametro(constraints, "userValidacaoCompras"));
|
||||
|
||||
// Monta o payload
|
||||
var payload = {
|
||||
"C7_FILIAL": estabelecimento,
|
||||
"C7_NUM": numeroPedido,
|
||||
"C7_EMISSAO": dataAbertura,
|
||||
"C7_FORNECE": fornecedor,
|
||||
"C7_LOJA": "01",
|
||||
"C7_COND": condPagamento,
|
||||
"C7_CONTATO": userCompras,
|
||||
"C7_FILENT": estabelecimento,
|
||||
"C7_TPFRETE": "C",
|
||||
"C7_FRETE": "0",
|
||||
"C7_ITENS": [fornecedor] // você pode ajustar isso para ser um array com objetos, se necessário
|
||||
};
|
||||
|
||||
log.info("📤 Payload: " + JSON.stringify(payload));
|
||||
|
||||
// Monta a chamada para o serviço
|
||||
var data = {
|
||||
companyId: "01",
|
||||
serviceCode: "Integrador Pedido de compra",
|
||||
endpoint: "/REST/PEDIDO/",
|
||||
method: "post",
|
||||
timeoutService: "100",
|
||||
params: payload,
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
}
|
||||
};
|
||||
|
||||
var clientService = fluigAPI.getAuthorizeClientService();
|
||||
var response = clientService.invoke(JSON.stringify(data));
|
||||
var result = response.getResult();
|
||||
|
||||
log.info("✅ Retorno da API: " + result);
|
||||
|
||||
if (!result || result.indexOf("ERRO") !== -1) {
|
||||
throw result || "Erro desconhecido na integração.";
|
||||
}
|
||||
|
||||
dataset.addRow(["SUCESSO", result]);
|
||||
|
||||
} catch (e) {
|
||||
var erro = "❌ Erro: " + e.message;
|
||||
log.error("[dsPostPedidoCompra] " + erro);
|
||||
dataset.addRow(["FALHA", erro]);
|
||||
}
|
||||
|
||||
return dataset;
|
||||
}
|
||||
|
||||
// Criação das colunas
|
||||
function criarEstrutura(dataset) {
|
||||
dataset.addColumn("STATUS", DatasetFieldType.STRING);
|
||||
dataset.addColumn("RETORNO", DatasetFieldType.STRING);
|
||||
}
|
||||
|
||||
// Função para buscar parâmetro nas constraints
|
||||
function getParametro(constraints, campo) {
|
||||
var valor = "";
|
||||
if (constraints && constraints.length > 0) {
|
||||
for each (var c in constraints) {
|
||||
if (c.getFieldName().trim().toUpperCase() === campo.trim().toUpperCase()) {
|
||||
valor = c.getInitialValue();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return valor;
|
||||
}
|
||||
|
||||
// Trim com segurança
|
||||
function trim(valor) {
|
||||
if (!valor) return "";
|
||||
return valor.trim();
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
function createDataset(fields, constraints, sortFields) {
|
||||
var dataset = DatasetBuilder.newDataset();
|
||||
dataset.addColumn("status");
|
||||
dataset.addColumn("mensagem");
|
||||
dataset.addColumn("erro");
|
||||
|
||||
log.info("### Enviando dados para Protheus com autenticação ###");
|
||||
|
||||
try {
|
||||
var jsonData = "{}";
|
||||
if (constraints) {
|
||||
for (var i = 0; i < constraints.length; i++) {
|
||||
if (constraints[i].fieldName == "params" && constraints[i].initialValue) {
|
||||
jsonData = constraints[i].initialValue;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
log.info("Dados recebidos: " + jsonData);
|
||||
|
||||
var url = "http://187.72.204.233:8099/rest_teste/uf_mata010";
|
||||
var urlObj = new java.net.URL(url);
|
||||
var httpConn = urlObj.openConnection();
|
||||
|
||||
var usuario = "ezequiel.falcao";
|
||||
var senha = "Ginseng@";
|
||||
var authString = usuario + ":" + senha;
|
||||
var authBytes = new java.lang.String(authString).getBytes("UTF-8");
|
||||
var encodedAuth = java.util.Base64.getEncoder().encodeToString(authBytes);
|
||||
|
||||
httpConn.setDoOutput(true);
|
||||
httpConn.setRequestMethod("POST");
|
||||
httpConn.setRequestProperty("Content-Type", "application/json");
|
||||
httpConn.setRequestProperty("Accept", "application/json");
|
||||
httpConn.setRequestProperty("Authorization", "Basic " + encodedAuth);
|
||||
httpConn.setConnectTimeout(30000);
|
||||
httpConn.setReadTimeout(30000);
|
||||
|
||||
var outputStream = httpConn.getOutputStream();
|
||||
var writer = new java.io.OutputStreamWriter(outputStream, "UTF-8");
|
||||
writer.write(jsonData);
|
||||
writer.flush();
|
||||
writer.close();
|
||||
outputStream.close();
|
||||
|
||||
// Ler resposta ou erro
|
||||
var response = "";
|
||||
try {
|
||||
var inputStream = httpConn.getInputStream();
|
||||
var scanner = new java.util.Scanner(inputStream, "UTF-8");
|
||||
response = scanner.useDelimiter("\\A").hasNext() ? scanner.next() : "";
|
||||
scanner.close();
|
||||
} catch (e) {
|
||||
var errorStream = httpConn.getErrorStream();
|
||||
if (errorStream != null) {
|
||||
var scanner = new java.util.Scanner(errorStream, "UTF-8");
|
||||
response = scanner.useDelimiter("\\A").hasNext() ? scanner.next() : "";
|
||||
scanner.close();
|
||||
}
|
||||
}
|
||||
|
||||
log.info("Response bruto: " + response);
|
||||
|
||||
// Adiciona no dataset sempre, sem depender do status HTTP
|
||||
dataset.addRow(["OK", response, ""]);
|
||||
|
||||
} catch (error) {
|
||||
log.error("Erro completo: " + error.toString());
|
||||
dataset.addRow(["Erro", "", error.toString()]);
|
||||
}
|
||||
|
||||
return dataset;
|
||||
}
|
||||
@@ -0,0 +1,96 @@
|
||||
function defineStructure() {
|
||||
dataset.addColumn("codigo");
|
||||
dataset.addColumn("descricao");
|
||||
dataset.addColumn("CNPJ");
|
||||
dataset.addColumn("ENDERECO");
|
||||
dataset.addColumn("COMPLEMENTO");
|
||||
dataset.addColumn("BAIRRO");
|
||||
dataset.addColumn("CIDADE");
|
||||
dataset.addColumn("ESTADO");
|
||||
dataset.addColumn("CEP");
|
||||
dataset.addColumn("CODIGO MUNICIPIO");
|
||||
dataset.addColumn("BPCS");
|
||||
dataset.addColumn("LOJA");
|
||||
|
||||
}
|
||||
|
||||
function onSync(lastSyncDate) {}
|
||||
|
||||
function createDataset(fields, constraints, sortFields) {
|
||||
var dataset = DatasetBuilder.newDataset();
|
||||
var dataSource = "/jdbc/ProtheusP12"; // 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 M0_CODFIL, M0_FILIAL, M0_CGC, M0_ENDENT, M0_COMPENT, M0_BAIRENT, M0_CIDENT, M0_ESTENT, M0_CEPENT, M0_CODMUN, M0_TEL_PO, * from SYS_COMPANY WHERE M0_CODFIL LIKE '0101%' OR M0_CODFIL LIKE'03%' AND D_E_L_E_T_= ''";
|
||||
log.info("Query SQL: " + sql);
|
||||
|
||||
stmt = conn.prepareStatement(sql);
|
||||
rs = stmt.executeQuery();
|
||||
|
||||
dataset.addColumn("CODIGO");
|
||||
dataset.addColumn("DESCRICAO");
|
||||
dataset.addColumn("CNPJ");
|
||||
dataset.addColumn("ENDERECO");
|
||||
dataset.addColumn("COMPLEMENTO");
|
||||
dataset.addColumn("BAIRRO");
|
||||
dataset.addColumn("CIDADE");
|
||||
dataset.addColumn("ESTADO");
|
||||
dataset.addColumn("CEP");
|
||||
dataset.addColumn("CODIGO MUNICIPIO");
|
||||
dataset.addColumn("BPCS");
|
||||
dataset.addColumn("LOJA");
|
||||
|
||||
|
||||
|
||||
var encontrados = {}; // Usando um objeto para evitar duplicação
|
||||
|
||||
while (rs.next()) {
|
||||
var codigo = rs.getString("M0_CODFIL");
|
||||
var descricao = rs.getString("M0_FILIAL");
|
||||
var cnpj = rs.getString("M0_CGC");
|
||||
var endereco = rs.getString("M0_ENDENT");
|
||||
var complemento = rs.getString("M0_COMPENT");
|
||||
var bairro = rs.getString("M0_BAIRENT");
|
||||
var cidade = rs.getString("M0_CIDENT");
|
||||
var estado = rs.getString("M0_ESTENT");
|
||||
var cep = rs.getString("M0_CEPENT");
|
||||
var ibge = rs.getString("M0_CODMUN");
|
||||
var bpcs = rs.getString("M0_TEL_PO");
|
||||
// aqui monta a coluna nova
|
||||
var loja = (bpcs ? bpcs.trim() : "") + "-" + (descricao ? descricao.trim() : "");
|
||||
|
||||
|
||||
if (!encontrados[codigo]) { // Verifica se já foi adicionado
|
||||
encontrados[codigo] = true; // Marca como processado
|
||||
log.info("Registro encontrado: " + codigo + " - " + descricao);
|
||||
dataset.addRow([codigo, descricao,cnpj,endereco,complemento,bairro,cidade,estado,cep,ibge, bpcs, loja]);
|
||||
}
|
||||
}
|
||||
|
||||
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,49 @@
|
||||
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 = [
|
||||
["41101", "Comercial", "Analanny Magalhães", "analanny.magalhaes@grupoginseng.com.br", "1"],
|
||||
["51101", "Diretoria e Gestão", "João Marcelo", "joao.loureiro@grupoginseng.com.br", "2"],
|
||||
["51102", "Operações", "Diogo Demetrio", "diogo.martins@grupoginseng.com.br", "3"],
|
||||
["51103", "Controladoria", "Ariklenyo Nascimento", "ari.nascimento@grupoginseng.com.br", "4"],
|
||||
["51104", "Compliance", "Marla Palma", "marla.palma@grupoginseng.com.br", "5"],
|
||||
["51107", "Administrativo", "Lucila Brandão", "lucila.brandao@grupoginseng.com.br", "6"],
|
||||
["51110", "Gente e Cultura", "Francine Peiter", "francine.silva@grupoginseng.com.br", "7"],
|
||||
["51113", "TI", "Igor Oliveira", "igor.oliveira@grupoginseng.com.br", "8"],
|
||||
["51114", "Projetos e Performance", "Lucas Rocha", "lucas.rocha@grupoginseng.com.br", "9"],
|
||||
];
|
||||
|
||||
// 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,73 @@
|
||||
function defineStructure() {
|
||||
|
||||
}
|
||||
function onSync(lastSyncDate) {
|
||||
|
||||
}
|
||||
function createDataset(fields, constraints, sortFields) {
|
||||
var dataset = DatasetBuilder.newDataset();
|
||||
dataset.addColumn("codigo");
|
||||
dataset.addColumn("descricao");
|
||||
|
||||
log.info("### Iniciando criação do dataset de Condições de Pagamento ###");
|
||||
|
||||
var servicecode = 'API_CONDICAO_PAGAMENTO'; // Nome do serviço cadastrado no Fluig
|
||||
var usuario = "ezequiel.falcao";
|
||||
var senha = "Ginseng@";
|
||||
|
||||
try {
|
||||
log.info("Iniciando chamada para o clientService...");
|
||||
var clientService = fluigAPI.getAuthorizeClientService();
|
||||
var data = {
|
||||
companyId: "1",
|
||||
serviceCode: servicecode,
|
||||
endpoint: "http://187.72.204.233:8089/rest/api/fat/v1/paymentcondition?Fields=Code,Plots.Description&Page=1&PageSize=100",
|
||||
method: 'get',
|
||||
timeoutService: '60000',
|
||||
params: {},
|
||||
options: {
|
||||
encoding: 'UTF-8',
|
||||
useBasicAuth: true,
|
||||
username: usuario,
|
||||
password: senha
|
||||
}
|
||||
};
|
||||
|
||||
log.info("Parâmetros da chamada: " + JSON.stringify(data));
|
||||
|
||||
var vo = clientService.invoke(JSON.stringify(data));
|
||||
var retorno = vo.getResult();
|
||||
log.info("Retorno da chamada: " + retorno);
|
||||
|
||||
if (retorno) {
|
||||
var objData = JSON.parse(retorno);
|
||||
var itens = objData["items"];
|
||||
|
||||
log.info("Número de itens retornados: " + itens.length);
|
||||
|
||||
for (var i = 0; i < itens.length; i++) {
|
||||
dataset.addRow([
|
||||
itens[i]["Code"],
|
||||
itens[i]["Description"]
|
||||
]);
|
||||
}
|
||||
log.info("Dataset preenchido com sucesso");
|
||||
} else {
|
||||
log.warn("A API retornou uma resposta vazia.");
|
||||
}
|
||||
|
||||
} catch (error) {
|
||||
log.error("Erro na chamada do clientService: " + error.message);
|
||||
dataset = DatasetBuilder.newDataset();
|
||||
dataset.addColumn('ERRO');
|
||||
dataset.addRow([error.toString()]);
|
||||
}
|
||||
|
||||
return dataset;
|
||||
|
||||
|
||||
}
|
||||
|
||||
function onMobileSync(user) {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
function defineStructure() {
|
||||
addColumn("codigo");
|
||||
addColumn("nome");
|
||||
|
||||
}
|
||||
function onSync(lastSyncDate) {
|
||||
|
||||
}
|
||||
function createDataset(fields, constraints, sortFields) {
|
||||
|
||||
var dataset = DatasetBuilder.newDataset();
|
||||
var dataSource = "/jdbc/ProtheusDSs"; // 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 a2_cod, a2_nome FROM SA2010 where D_E_L_E_T_ = '';"
|
||||
log.info("Query SQL: " + sql);
|
||||
|
||||
stmt = conn.prepareStatement(sql);
|
||||
rs = stmt.executeQuery();
|
||||
|
||||
dataset.addColumn("codigo");
|
||||
dataset.addColumn("nome");
|
||||
|
||||
var encontrouResultados = false;
|
||||
while (rs.next()) {
|
||||
encontrouResultados = true;
|
||||
log.info("Registro encontrado: " + rs.getString("a2_cod") + " - " + rs.getString("a2_nome"));
|
||||
dataset.addRow([rs.getString("a2_cod"), rs.getString("a2_nome")]);
|
||||
}
|
||||
|
||||
if (!encontrouResultados) {
|
||||
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,62 @@
|
||||
function defineStructure() {
|
||||
|
||||
}
|
||||
function onSync(lastSyncDate) {
|
||||
|
||||
}
|
||||
function createDataset(fields, constraints, sortFields) {
|
||||
|
||||
var dataset = DatasetBuilder.newDataset();
|
||||
|
||||
dataset.addColumn("nomeOcorrenciaManutencao");
|
||||
|
||||
// Adicione dados para o dataset, exemplo:
|
||||
dataset.addRow(["Substituição de lâmpada AR 111"]);
|
||||
dataset.addRow(["Reparo em fita de led ( Serviço de solda )"]);
|
||||
dataset.addRow(["Fonte de 5ap para fita de led dos móveis"]);
|
||||
dataset.addRow(["Letreiro sem funcionar"]);
|
||||
dataset.addRow(["Disjuntor desarmando"]);
|
||||
dataset.addRow(["Tomadas do caixa sem funcionar"]);
|
||||
dataset.addRow(["Troca de lâmpadas tubular branco frio - 6500k 9w ER salão de vendas"]);
|
||||
dataset.addRow(["Substituição lâmpada bulbo 15w estoque"]);
|
||||
dataset.addRow(["Substituição de Painel de led 62,5x62,5 40w 6500k branco frio (ER,CD )"]);
|
||||
dataset.addRow(["Interruptor sem funcionar"]);
|
||||
dataset.addRow(["Painel de led 30x30 24W 6500k ( wc, copa )"]);
|
||||
dataset.addRow(["Ponto elétrico ( Copa, estoque, pdv , vendas)"]);
|
||||
dataset.addRow(["Visita emergencial ( Disjuntor geral desarmando )"]);
|
||||
dataset.addRow(["Fonte de 10ap para letreiro"]);
|
||||
dataset.addRow(["Central Nobreak 2 Contr. Motor Dc Porta Aço Enrolar Aut. 24v"]);
|
||||
dataset.addRow(["Central 2 Contr. Motor AC Porta Aço Enrolar Aut. 24v"]);
|
||||
dataset.addRow(["Motor De Porta De Enrolar De Aço Ac de 100 á 500 Kg 220v"]);
|
||||
dataset.addRow(["Motor P/porta De Aço De Enrolar Dc 100 á 800 kg 220v C/ com central Nobreak"]);
|
||||
dataset.addRow(["Manutenção preventiva em porta de enrolar automática"]);
|
||||
dataset.addRow(["Serviço emergencial porta de enrolar não quer abrir ou descer"]);
|
||||
dataset.addRow(["Controle para porta de enrolar automática + configuração"]);
|
||||
dataset.addRow(["Ar-condicionado"]);
|
||||
dataset.addRow(["Vazamento no estoque"]);
|
||||
dataset.addRow(["Torneira gotejando ( copa,wc )"]);
|
||||
dataset.addRow(["Vaso sanitário entupido"]);
|
||||
dataset.addRow(["Pintura da fachada"]);
|
||||
dataset.addRow(["Pintura do estoque"]);
|
||||
dataset.addRow(["Pintura geral da loja"]);
|
||||
dataset.addRow(["Caixa de gordura entupida"]);
|
||||
dataset.addRow(["Telhado com vazamento"]);
|
||||
dataset.addRow(["Instalação de porta copo, papel toalha etc..."]);
|
||||
dataset.addRow(["Reparo de gesso"]);
|
||||
dataset.addRow(["Fechadura para porta de vidro"]);
|
||||
dataset.addRow(["Puxador da porta caindo ( vidro, retaguarda, copa etc..."]);
|
||||
dataset.addRow(["Porta de vidro arrastando"]);
|
||||
dataset.addRow(["Cadeira de make com defeito"]);
|
||||
dataset.addRow(["Porta dos móveis caindo"]);
|
||||
dataset.addRow(["Confecção de móvel ( Copa, retaguarda etc...)"]);
|
||||
dataset.addRow(["Outros"]);
|
||||
dataset.addRow(["Demarcações"]);
|
||||
|
||||
return dataset;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function onMobileSync(user) {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
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,24 @@
|
||||
function validateForm(form){
|
||||
|
||||
function validateForm(form){
|
||||
|
||||
var msg ="";
|
||||
|
||||
if(form.getValue("nomeGestorArea") == ""){
|
||||
msg += "Campo Nome do Gestor não foi preenchido"
|
||||
}
|
||||
|
||||
if(form.getValue("tipoOcorrencia") == ""){
|
||||
msg += "Campo Tipo Ocorrencia não foi preenchido"
|
||||
}
|
||||
|
||||
if(form.getValue("detalheSolicitacao") == ""){
|
||||
msg += "Campo Detalhamento da situação da situação não foi preenchido"
|
||||
}
|
||||
|
||||
if (msg!="") {
|
||||
throw msg;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,848 @@
|
||||
<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>
|
||||
<link
|
||||
href="/webdesk/customresources?cid=4&resourceName=temaFormulario/0.css"
|
||||
type="text/css"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
|
||||
<link
|
||||
rel="stylesheet"
|
||||
type="text/css"
|
||||
href="/style-guide/css/fluig-style-guide-ratingstars.min.css"
|
||||
/>
|
||||
<script src="/style-guide/js/fluig-style-guide-ratingstars.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-account-box {
|
||||
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;
|
||||
}
|
||||
|
||||
textarea {
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.consegueResolverMotivo .textoAuxiliar {
|
||||
width: 100%;
|
||||
color: #8c8d8f;
|
||||
font-size: 12px;
|
||||
margin-left: 1.5em;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.ratingStars {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.ratingStars .minha-avaliacao {
|
||||
margin: 0 20px;
|
||||
color: #f0ad4e;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
//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();
|
||||
//remove buttons
|
||||
$(".hideButton").hide();
|
||||
//use an each to block everything inside the class activity-X
|
||||
$(".activity-" + activity[i] + " :input").each(function () {
|
||||
$(this).attr("readonly", "readonly");
|
||||
$(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) {
|
||||
// return true;
|
||||
if (numState == 0 || numState == 1) {
|
||||
if ($("#tipoOcorrencia").val() == "") {
|
||||
throw "'Tipo da ocorrência' é obrigatório.";
|
||||
} else if ($("#tituloOcorrencia").val() == "") {
|
||||
throw "'Título da ocorrência' é obrigatório.";
|
||||
} else if ($("#detalheSolicitacao").val() == "") {
|
||||
throw "'Detalhamento da situação' é obrigatório.";
|
||||
}
|
||||
} else if (numState == 2) {
|
||||
if (
|
||||
$("input[name='consegueResolver']:checked").val() == "" ||
|
||||
$("input[name='consegueResolver']:checked").val() == undefined
|
||||
) {
|
||||
throw "'Consegue resolver?' é obrigatório.";
|
||||
} else if (
|
||||
$("input[name='consegueResolver']:checked").val() == "nao"
|
||||
) {
|
||||
if (
|
||||
$("input[name='possuiInconsistencia']:checked").val() == "" ||
|
||||
$("input[name='possuiInconsistencia']:checked").val() == undefined
|
||||
) {
|
||||
throw "'Qual o motivo?' é obrigatório.";
|
||||
}
|
||||
}
|
||||
if ($("#consideracoesTecnicas").val() == "") {
|
||||
throw "'Considerações' é obrigatório.";
|
||||
}
|
||||
} else if (numState == 6) {
|
||||
if ($("#detalheSolicitacao").val() == "") {
|
||||
throw "'Detalhamento da situação' é obrigatório.";
|
||||
}
|
||||
} else if (numState == 11) {
|
||||
if (
|
||||
$("input[name='situacaoResolvida']:checked").val() == "" ||
|
||||
$("input[name='situacaoResolvida']:checked").val() == undefined
|
||||
) {
|
||||
throw "'Situação resolvida?' é obrigatório.";
|
||||
} else if (
|
||||
$("input[name='situacaoResolvida']:checked").val() == "nao"
|
||||
) {
|
||||
if ($("#consideracoes").val() == "") {
|
||||
throw "'Considerações' é obrigatório.";
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
function setSelectedZoomItem(selectedItem) {
|
||||
if (selectedItem.inputName == "nomeGestorArea") {
|
||||
$("#emailGestorArea").val(selectedItem.emailGestor);
|
||||
}
|
||||
}
|
||||
|
||||
function removedZoomItem(removedItem) {
|
||||
console.log("removedItem", removedItem);
|
||||
if (removedItem.inputName == "nomeGestorArea") {
|
||||
$("#emailGestorArea").val("");
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</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" />
|
||||
</div>
|
||||
|
||||
<h1 id="rcorners">Abertura de chamado</h1>
|
||||
|
||||
<div class="container activity-all">
|
||||
<div class="activity activity-0 activity-1 activity-6">
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-account-box" aria-hidden="true"></i>
|
||||
Dados gerais
|
||||
</h2>
|
||||
<h6>
|
||||
Estes são os 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"
|
||||
readonly
|
||||
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"
|
||||
/>
|
||||
</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"> Usuário solicitante </label>
|
||||
<input
|
||||
type="text"
|
||||
class="form-control"
|
||||
name="userSolicitante"
|
||||
id="userSolicitante"
|
||||
placeholder="Insira o nome completo do solicitante. Ex.: João da Silva"
|
||||
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
|
||||
type="email"
|
||||
name="emailSolicitante"
|
||||
id="emailSolicitante"
|
||||
class="form-control"
|
||||
placeholder="Insira o e-mail do solicitante. Ex.: Joaodasilva@email.com.br"
|
||||
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="nomeGestorArea"> Gestor da área </label>
|
||||
<input
|
||||
type="zoom"
|
||||
class="form-control"
|
||||
name="nomeGestorArea"
|
||||
id="nomeGestorArea"
|
||||
placeholder="Pesquise o nome do gestor"
|
||||
data-zoom="{
|
||||
'displayKey':'gestorCentroCusto',
|
||||
'datasetId':'ds_centroCusto',
|
||||
'fields':[
|
||||
{
|
||||
'field':'gestorCentroCusto',
|
||||
'label':'Nome',
|
||||
'standard':'true',
|
||||
'search':'true'
|
||||
},
|
||||
{
|
||||
'field':'emailGestor',
|
||||
'label':'E-mail',
|
||||
'search':'true'
|
||||
}
|
||||
]
|
||||
}"
|
||||
data-protection="Gestor da área"
|
||||
data-protection-anonymizable
|
||||
data-protection-sensitive
|
||||
data-protection-other
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo"
|
||||
/>
|
||||
</div>
|
||||
<div class="form-group col-md-6 col-xs-6">
|
||||
<label for="emailGestorArea"> E-mail do gestor </label>
|
||||
<input
|
||||
type="text"
|
||||
name="emailGestorArea"
|
||||
id="emailGestorArea"
|
||||
class="form-control"
|
||||
readonly
|
||||
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"
|
||||
/>
|
||||
</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">
|
||||
Estabelecimento/Filial
|
||||
</label>
|
||||
<span class="required text-danger"><strong> * </strong></span>
|
||||
<input type="zoom" class="form-control requiredInput" name="estabelecimento" id="estabelecimento"
|
||||
data-zoom="{
|
||||
'displayKey':'estabelecimento',
|
||||
'datasetId':'dsFiliais',
|
||||
'placeholder': 'Pesquisar nome do estabelecimento ou filial.',
|
||||
'fields':[
|
||||
{
|
||||
'field':'estabelecimento',
|
||||
'label':'Filial',
|
||||
'standard':'true',
|
||||
'search':'true'
|
||||
}
|
||||
]
|
||||
}" />
|
||||
<p class="text-danger text-error">
|
||||
Preenchimento obrigatório.
|
||||
</p>
|
||||
</div>
|
||||
<div class="form-group col-md-6 col-xs-6">
|
||||
<label for="complemento"> Complemento </label>
|
||||
<input
|
||||
type="text"
|
||||
name="complemento"
|
||||
id="complemento"
|
||||
class="form-control"
|
||||
placeholder="Prédio, Bloco, Andar, Mesa"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-settings" aria-hidden="true"></i>
|
||||
Dados Técnicos
|
||||
</h2>
|
||||
<h6>Insira abaixo os itens necessários para o solicitante.</h6>
|
||||
<br />
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-6 col-xs-12">
|
||||
<label for="tipoOcorrencia"> Tipo da Ocorrência </label>
|
||||
<span class="required text-danger"
|
||||
><strong> * </strong></span
|
||||
>
|
||||
<input
|
||||
type="zoom"
|
||||
class="form-control"
|
||||
name="tipoOcorrencia"
|
||||
id="tipoOcorrencia"
|
||||
data-zoom="{
|
||||
'displayKey':'nomeOcorrencia',
|
||||
'datasetId':'ds_Ocorrencias',
|
||||
'fields':[
|
||||
{
|
||||
'field':'nomeOcorrencia',
|
||||
'label':'Tipo',
|
||||
'standard':'true',
|
||||
'search':'true'
|
||||
}
|
||||
]
|
||||
}"
|
||||
/>
|
||||
</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="tituloOcorrencia"> Título da ocorrência </label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
<input
|
||||
type="text"
|
||||
name="tituloOcorrencia"
|
||||
id="tituloOcorrencia"
|
||||
class="form-control"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="detalheSolicitacao"
|
||||
>Detalhamento da situação</label
|
||||
>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
<textarea
|
||||
class="form-control"
|
||||
name="detalheSolicitacao"
|
||||
id="detalheSolicitacao"
|
||||
></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="activity activity-2">
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i
|
||||
class="flaticon flaticon-check-circle"
|
||||
aria-hidden="true"
|
||||
></i>
|
||||
Análise
|
||||
</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="analistaTecnico"> Analista </label>
|
||||
<input
|
||||
type="text"
|
||||
name="analistaTecnico"
|
||||
id="analistaTecnico"
|
||||
class="form-control"
|
||||
readonly
|
||||
data-protection="Analista"
|
||||
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-2 col-xs-6">
|
||||
<label for="dataAnaliseTecnica"> Data </label>
|
||||
<input
|
||||
type="text"
|
||||
name="dataAnaliseTecnica"
|
||||
id="dataAnaliseTecnica"
|
||||
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>Consegue resolver?</label>
|
||||
<span class="text-danger"><strong>*</strong></span
|
||||
><br />
|
||||
<div class="radio-inline">
|
||||
<label>
|
||||
<input
|
||||
name="consegueResolver"
|
||||
id="consegueResolverSim"
|
||||
value="sim"
|
||||
type="radio"
|
||||
/>
|
||||
<span class="change-weight">Sim</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="radio-inline">
|
||||
<label>
|
||||
<input
|
||||
name="consegueResolver"
|
||||
id="consegueResolverNao"
|
||||
value="nao"
|
||||
type="radio"
|
||||
/>
|
||||
<span class="change-weight">Não</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row consegueResolverMotivo">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label>Qual o motivo?</label>
|
||||
<span class="text-danger"><strong>*</strong></span
|
||||
><br />
|
||||
<div class="">
|
||||
<label>
|
||||
<input
|
||||
name="possuiInconsistencia"
|
||||
id="possuiInconsistenciaNao"
|
||||
value="nao"
|
||||
type="radio"
|
||||
/>
|
||||
<span class="change-weight"
|
||||
>A atual solicitação <b>carece de informações</b>, o
|
||||
que limita o entendimento da real necessidade do
|
||||
usuário</span
|
||||
>
|
||||
<p class="textoAuxiliar">
|
||||
Esta opção retorna a atual solicitação ao usuário
|
||||
solicitante, a fim de que este atualize o formulário
|
||||
com as informações faltantes.
|
||||
</p>
|
||||
</label>
|
||||
</div>
|
||||
<div class="">
|
||||
<label>
|
||||
<input
|
||||
name="possuiInconsistencia"
|
||||
id="possuiInconsistenciaSim"
|
||||
value="sim"
|
||||
type="radio"
|
||||
/>
|
||||
<span class="change-weight"
|
||||
>A atual solicitação <b>possui inconsistências</b> que
|
||||
impedem sua movimentação</span
|
||||
>
|
||||
<p class="textoAuxiliar">
|
||||
Esta opção encerra automaticamente a atual
|
||||
solicitação.
|
||||
</p>
|
||||
</label>
|
||||
</div>
|
||||
<div class="">
|
||||
<label>
|
||||
<input
|
||||
name="possuiInconsistencia"
|
||||
id="precisaSuprimentos"
|
||||
value="suprimentos"
|
||||
type="radio"
|
||||
/>
|
||||
<span class="change-weight"
|
||||
>A atual solicitação <b>carece de suprimentos</b>, o
|
||||
que limita o atendimento da necessidade do
|
||||
usuário</span
|
||||
>
|
||||
<p class="textoAuxiliar">
|
||||
Esta opção envia a atual solicitação ao <b>Setor de Compras</b>, a fim de que este realize as devidas aquisições.
|
||||
Ao indicar esta opção, será necessário informar os itens que precisará serem comprados.
|
||||
</p>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="consideracoesTecnicas">Considerações</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
<textarea
|
||||
class="form-control"
|
||||
name="consideracoesTecnicas"
|
||||
id="consideracoesTecnicas"
|
||||
placeholder="Descreva a justificativa para a sua análise"
|
||||
></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="activity activity-11">
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i
|
||||
class="flaticon flaticon-check-circle"
|
||||
aria-hidden="true"
|
||||
></i>
|
||||
Validação do serviço
|
||||
</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="userValidacao"> Usuário de abertura </label>
|
||||
<input
|
||||
type="text"
|
||||
name="userValidacao"
|
||||
id="userValidacao"
|
||||
class="form-control"
|
||||
readonly
|
||||
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"
|
||||
/>
|
||||
</div>
|
||||
<div class="form-group col-md-2 col-xs-6">
|
||||
<label for="dataUserValidacao"> Data </label>
|
||||
<input
|
||||
type="text"
|
||||
name="dataUserValidacao"
|
||||
id="dataUserValidacao"
|
||||
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>Situação resolvida?</label>
|
||||
<span class="text-danger"><strong>*</strong></span
|
||||
><br />
|
||||
<div class="radio-inline">
|
||||
<label>
|
||||
<input
|
||||
name="situacaoResolvida"
|
||||
id="situacaoResolvidaSim"
|
||||
value="sim"
|
||||
type="radio"
|
||||
/>
|
||||
<span class="change-weight">Sim</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="radio-inline">
|
||||
<label>
|
||||
<input
|
||||
name="situacaoResolvida"
|
||||
id="situacaoResolvidaNao"
|
||||
value="nao"
|
||||
type="radio"
|
||||
/>
|
||||
<span class="change-weight">Não</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row ratingAction">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label>Como você avalia o atendimento?</label>
|
||||
<div class="ratingStars">
|
||||
<span>Péssimo</span>
|
||||
<div class="minha-avaliacao"></div>
|
||||
<span>Excelente</span>
|
||||
</div>
|
||||
<input type="hidden" id="ratingValue" name="ratingValue" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row explainAction">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="consideracoes">Considerações</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
<textarea
|
||||
class="form-control"
|
||||
name="consideracoes"
|
||||
id="consideracoes"
|
||||
placeholder="Descreva a justificativa para a sua avaliação"
|
||||
></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
<script>
|
||||
var ratingStars;
|
||||
var servicoNaoValidado =
|
||||
$("input[name=situacaoResolvida]:checked").val() == "nao";
|
||||
$(document).ready(function () {
|
||||
if ($("#formMode").val() == "VIEW") {
|
||||
showAndBlock([0, 2, 11]);
|
||||
$(".ratingAction").hide();
|
||||
if ($("input[name=situacaoResolvida]:checked").val() == "sim") {
|
||||
$(".ratingAction").show();
|
||||
}
|
||||
let ratingValue;
|
||||
if ($("#ratingValue").val() == "" || $("#ratingValue").val() == 0) {
|
||||
ratingValue = 0;
|
||||
} else {
|
||||
ratingValue = $("#ratingValue").val();
|
||||
}
|
||||
let html = "";
|
||||
for (let i = 0; i < 5; i++) {
|
||||
if (i < ratingValue) {
|
||||
html +=
|
||||
'<i class="flaticon flaticon-star-active icon-md" aria-hidden="true"></i>';
|
||||
} else {
|
||||
html +=
|
||||
'<i class="flaticon flaticon-star icon-md" aria-hidden="true"></i>';
|
||||
}
|
||||
}
|
||||
console.log(html);
|
||||
$(".minha-avaliacao").html(html);
|
||||
} else {
|
||||
//show the right fields
|
||||
var activity = $("#activity").val();
|
||||
var requestDate = getCurrentDate();
|
||||
|
||||
$(".activity").hide();
|
||||
$(".activity-" + activity).show();
|
||||
|
||||
if (activity == 0) {
|
||||
//primeira atividade
|
||||
$("#dataAbertura").val(requestDate[0] + " - " + requestDate[1]);
|
||||
} else if (activity == 2) {
|
||||
if (servicoNaoValidado) {
|
||||
showAndBlock([0, 11]);
|
||||
} else {
|
||||
showAndBlock([0]);
|
||||
$("#analistaTecnico").val($("#currentUserName").val());
|
||||
$("#dataAnaliseTecnica").val(
|
||||
requestDate[0] + " - " + requestDate[1]
|
||||
);
|
||||
}
|
||||
} else if (activity == 11) {
|
||||
showAndBlock([0, 2]);
|
||||
let ratingValue;
|
||||
if ($("#ratingValue").val() == "" || $("#ratingValue").val() == 0) {
|
||||
ratingValue = 0;
|
||||
} else {
|
||||
ratingValue = $("#ratingValue").val();
|
||||
}
|
||||
ratingStars = FLUIGC.stars(".minha-avaliacao", {
|
||||
stars: 5,
|
||||
value: ratingValue,
|
||||
sizeClass: "icon-md",
|
||||
});
|
||||
ratingStars.on("click", (obj) => {
|
||||
let countCurrentRating = 0;
|
||||
$(".fluigicon-star").each(() => {
|
||||
countCurrentRating++;
|
||||
});
|
||||
$("#ratingValue").val(countCurrentRating);
|
||||
});
|
||||
$("#userValidacao").val($("#currentUserName").val());
|
||||
$("#dataUserValidacao").val(requestDate[0] + " - " + requestDate[1]);
|
||||
} else if (activity == 6) {
|
||||
showAndBlock([1, 2]);
|
||||
$("#detalheSolicitacao").attr("readonly", false);
|
||||
}
|
||||
|
||||
$("input[name=consegueResolver]").on("change", function () {
|
||||
$(".consegueResolverMotivo").hide();
|
||||
if ($(`input[name=${$(this).attr("name")}]:checked`).val() == "nao")
|
||||
$(".consegueResolverMotivo").show();
|
||||
});
|
||||
$("input[name=consegueResolver]").trigger("change");
|
||||
|
||||
$("input[name=situacaoResolvida]").on("change", function () {
|
||||
$(".explainAction, .ratingAction").hide();
|
||||
if ($("input[name=situacaoResolvida]:checked").val() == "nao") {
|
||||
$(".explainAction").show();
|
||||
} else if (
|
||||
$("input[name=situacaoResolvida]:checked").val() == "sim"
|
||||
) {
|
||||
$(".ratingAction").show();
|
||||
}
|
||||
});
|
||||
$("input[name=situacaoResolvida]").trigger("change");
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</html>
|
||||
@@ -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,897 @@
|
||||
<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>
|
||||
|
||||
|
||||
<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" />
|
||||
</div>
|
||||
|
||||
<h1 id="rcorners">Solicitação de compra</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"> Usuário 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">
|
||||
Estabelecimento/Filial
|
||||
</label>
|
||||
<span class="required text-danger"><strong> * </strong></span>
|
||||
<input type="zoom" class="form-control requiredInput" name="estabelecimento" id="estabelecimento"
|
||||
data-zoom="{
|
||||
'displayKey':'DESCRICAO',
|
||||
'datasetId':'dsSysCompany',
|
||||
'placeholder': 'Pesquisar por nome do estabelecimento.',
|
||||
'fields':[
|
||||
{
|
||||
'field':'CODIGO',
|
||||
'label':'Filial',
|
||||
'standard':'true',
|
||||
'search':'true'
|
||||
},
|
||||
{
|
||||
'field':'DESCRICAO',
|
||||
'label':'estabelecimento',
|
||||
'search':'true'
|
||||
},
|
||||
{
|
||||
'field':'BPCS',
|
||||
'label':'bpcs',
|
||||
'search':'true'
|
||||
}
|
||||
]
|
||||
}" />
|
||||
<p class="text-danger text-error">
|
||||
Preenchimento obrigatório.
|
||||
</p>
|
||||
</div>
|
||||
<div class="form-group col-md-6 col-xs-6">
|
||||
<label for="centroCusto"> Centro de Custo </label>
|
||||
<input type="zoom" class="form-control" name="centroCusto" id="centroCusto" data-zoom="{
|
||||
'displayKey':'codigoCentroCusto',
|
||||
'datasetId':'ds_centroCusto',
|
||||
'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="gestorNome">
|
||||
Gestor aprovador do centro de custo
|
||||
</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 class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-6 col-xs-6">
|
||||
<label for="cnpj"> CNPJ da filial </label>
|
||||
<span class="required text-danger"><strong> * </strong></span>
|
||||
<input type="text" name="cnpj" id="cnpj" class="form-control requiredInput" readonly/>
|
||||
<p class="text-danger text-error">
|
||||
Preenchimento obrigatório.
|
||||
</p>
|
||||
</div>
|
||||
<div class="form-group col-md-6 col-xs-6" style="visibility: hidden;">
|
||||
<label for="protheus">Protheus</label>
|
||||
<span class="required text-danger"><strong> * </strong></span>
|
||||
<input type="text" name="protheus" id="protheus" class="form-control requiredInput" readonly/>
|
||||
<p class="text-danger text-error">
|
||||
Preenchimento obrigatório.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-product" aria-hidden="true"></i>
|
||||
Itens
|
||||
</h2>
|
||||
<h6>
|
||||
Clique no botao Selecionar Produtos para confirmar o produto para compra ser efetuada.
|
||||
</h6>
|
||||
<br />
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-group col-md-12 col-xs-12">
|
||||
<button type="button" class="btn btn-primary" onclick="consultarProdutos()">Selecionar Produtos</button>
|
||||
<button type="button" class="btn btn-primary" onclick="cadastrarProduto()">Cadastrar Produtos</button>
|
||||
</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 do Item</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: 40%">
|
||||
<div class="form-input">
|
||||
<input type="text" placeholder="Selecione o produto no botão acima" class="form-control requiredInput"
|
||||
name="descricao" id="descricao" readonly/>
|
||||
<p class="text-danger text-error">
|
||||
Preenchimento obrigatório.
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
<td style="width: 5%">
|
||||
<div class="form-input">
|
||||
<input type="text" 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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-message-question" aria-hidden="true"></i>
|
||||
Justificativa
|
||||
</h2>
|
||||
<h6>
|
||||
Motivos para a compra 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 compra?
|
||||
</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
<textarea placeholder="Descreva o motivo para a solicitação de compra"
|
||||
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 do centro de custo
|
||||
</h2>
|
||||
<h6>
|
||||
Informações complementares sobre a validação do centro de custo
|
||||
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 aprovador do centro de custo
|
||||
</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 do centro de custo."
|
||||
class="form-control" name="justificativaDecisaoGestor" id="justificativaDecisaoGestor"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="activity activity-6">
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-tests-central" aria-hidden="true"></i>
|
||||
Cotação de produtos
|
||||
</h2>
|
||||
<h6>
|
||||
Dados referentes a análise da solicitação feita.
|
||||
</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 cotaçã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">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12 col-xs-12">
|
||||
<label for="numCotacoes">Cotações por produto:</label>
|
||||
<input type="number" id="numCotacoes" name="cotacaouser" placeholder="Número de cotações" min="1">
|
||||
<button id="gerarTabela" class="btn btn-primary btn-sm"
|
||||
onclick="gerarTabelaCotacaoComNumeracao('tabelaCotacao', 'tabelaItens')">Gerar Tabela</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="col-md-12">
|
||||
<table class="table" tablename="tabelaCotacao" id="tabelaCotacao" noaddbutton="true"
|
||||
nodeletebutton="true">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 5%;">#</th>
|
||||
<th style="width: 20%;">Item de compra</th>
|
||||
<th style="width: 10%;">Quantidade</th>
|
||||
<th style="width: 20%;">Fornecedor</th>
|
||||
<th style="width: 10%;">Preço</th>
|
||||
<th style="width: 15%;">Data de entrega</th>
|
||||
<th style="width: 20%;">Email</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="fs-v-align-top fs-text-center">
|
||||
<!-- Número do item -->
|
||||
<div class="fs-font-bold fs-md-margin-bottom count" id="numCotacao"></div>
|
||||
</td>
|
||||
<td class="fs-v-align-top fs-text-center">
|
||||
<!-- Item de compra -->
|
||||
<input type="text" class="form-control" name="itemCompra" id="itemCompra" readonly />
|
||||
</td>
|
||||
<td class="fs-v-align-top fs-text-center">
|
||||
<!-- Quantidade -->
|
||||
<input type="number" class="form-control" name="quantidade" id="quantidade" min="0" />
|
||||
</td>
|
||||
<td class="fs-v-align-top fs-text-center">
|
||||
<!-- Fornecedor -->
|
||||
<input type="text" class="form-control" name="fornecedor" id="fornecedor" />
|
||||
</td>
|
||||
<td class="fs-v-align-top fs-text-center">
|
||||
<!-- Preço -->
|
||||
<div class="input-container">
|
||||
<i class="fa-solid fa-money-bill"></i>
|
||||
<input type="text" class="form-control" name="preco" id="preco" />
|
||||
</div>
|
||||
</td>
|
||||
<td class="fs-v-align-top fs-text-center">
|
||||
<!-- Data de entrega -->
|
||||
<input type="date" class="form-control" name="dataEntrega" id="dataEntrega" />
|
||||
</td>
|
||||
<td class="fs-v-align-top fs-text-center">
|
||||
<!-- Email -->
|
||||
<input type="email" class="form-control" name="email" id="email" />
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="row">
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-aim" aria-hidden="true"></i>
|
||||
Sugestão do Analista
|
||||
</h2>
|
||||
<h6>
|
||||
Análise do Analista sobre a cotação realizada.
|
||||
</h6>
|
||||
<br />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row justificativa-activity-6">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="justificativaDecisaoCompras">Detalhes</label>
|
||||
<textarea placeholder="Insira suas considerações sobre o pedido de compras" class="form-control"
|
||||
name="justificativaDecisaoCompras" id="justificativaDecisaoCompras"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="col-md-12">
|
||||
<table class="table" tablename="tabelaCotacaoIndica" id="tabelaCotacaoIndica" noaddbutton="true"
|
||||
nodeletebutton="true">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 10%;">Item de compra</th>
|
||||
<th style="width: 10%;">Quantidade</th>
|
||||
<th style="width: 10%;">Preço</th>
|
||||
<th style="width: 15%;">Data de entrega</th>
|
||||
<th style="width: 15%;">Fornecedor</th>
|
||||
<th style="width: 15%;">Pagamento</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="fs-v-align-top fs-text-center">
|
||||
<!-- Item de compra -->
|
||||
<input type="text" class="form-control" name="itemCompraIndica" id="itemCompraIndica"
|
||||
readonly />
|
||||
</td>
|
||||
<td class="fs-v-align-top fs-text-center">
|
||||
<!-- Quantidade -->
|
||||
<input type="number" class="form-control" name="quantidadeIndica" id="quantidadeIndica"
|
||||
readonly />
|
||||
</td>
|
||||
<td class="fs-v-align-top fs-text-center">
|
||||
<!-- Preço -->
|
||||
<div class="input-container">
|
||||
<i class="fa-solid fa-money-bill"></i>
|
||||
<input type="text" class="form-control" name="precoIndica" id="precoIndica" />
|
||||
</div>
|
||||
</td>
|
||||
<td class="fs-v-align-top fs-text-center">
|
||||
<!-- Data de entrega -->
|
||||
<input type="date" class="form-control" name="dataEntregaIndica"
|
||||
id="dataEntregaIndica" />
|
||||
</td>
|
||||
<td class="fs-v-align-top fs-text-center">
|
||||
<input type="zoom" class="form-control requiredInput" name="fornecedorIndica"
|
||||
id="fornecedorIndica" data-zoom="{
|
||||
'displayKey':'codigo',
|
||||
'datasetId':'ds_fornecedor',
|
||||
'maximumSelectionLength':'1',
|
||||
'placeholder':'Fornecedor',
|
||||
'fields':[
|
||||
{
|
||||
'field':'codigo',
|
||||
'label':' Codigo do fornecedor',
|
||||
'standard':'true',
|
||||
'search': 'true'
|
||||
},
|
||||
{
|
||||
'field':'nome',
|
||||
'label':'Nome do fornecedor',
|
||||
'standard':'true',
|
||||
'search': 'true'
|
||||
}
|
||||
]
|
||||
}" />
|
||||
</td>
|
||||
<!-- Prazo de pagamento -->
|
||||
<td class="fs-v-align-top fs-text-center">
|
||||
<input type="zoom" class="form-control requiredInput" name="condPagamentoIndica"
|
||||
id="condPagamentoIndica" data-zoom="{
|
||||
'displayKey':'codigo',
|
||||
'datasetId':'ds_condPag',
|
||||
'maximumSelectionLength':'1',
|
||||
'placeholder':'Prazo',
|
||||
'fields':[
|
||||
{
|
||||
'field':'codigo',
|
||||
'label':' Codigo do prazo',
|
||||
'standard':'true',
|
||||
'search': 'true'
|
||||
},
|
||||
{
|
||||
'field':'descricao',
|
||||
'label':'descricao do codigo',
|
||||
'standard':'true',
|
||||
'search': 'true'
|
||||
}
|
||||
]
|
||||
}" />
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<!-- Linha para exibir o valor total -->
|
||||
</table>
|
||||
<div class="row">
|
||||
<div class="col-lg-3 col-md-3 col-sm-12">
|
||||
<div class="form-group">
|
||||
<label> <strong>Valor Total da Cotação</strong></label>
|
||||
<input type="number" name="valorTotalsemformat" id="valorTotalsemformat" readonly />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="activity activity-57">
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-edit-square" aria-hidden="true"></i>
|
||||
Gestor aprovador da cotação
|
||||
</h2>
|
||||
<h6>
|
||||
Considerações sobre a cotação realizada pelo setor de compras.
|
||||
</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">
|
||||
Gestor responsável pela cotação
|
||||
</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 </label>
|
||||
<textarea placeholder="Insira suas considerações sobre o pedido de compras" class="form-control"
|
||||
rows="3" id="consideracoesCotacao" name="consideracoesCotacao"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="activity activity-31">
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-edit-square" aria-hidden="true"></i>
|
||||
Considerações de compras
|
||||
</h2>
|
||||
<h6>
|
||||
Considerações sobre os itens da solicitação, realizadas pela
|
||||
pessoa responsável pela compra.
|
||||
</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 compra
|
||||
</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 </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 o pedido de compra</label>
|
||||
<div class="componentAnexo">
|
||||
<input type="hidden" id="fdAnexo_pedido" class="descAnexo" name="fdAnexo_pedido" value="Anexo Pedido" />
|
||||
<input type="text" id="fnAnexo_pedido" name="fnAnexo_pedido" 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
|
||||
</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"> Solicitante </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 compra?</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">Pedido 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>
|
||||
|
||||
<div class="activity activity-24">
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-document-check" aria-hidden="true"></i>
|
||||
Validar problema: considerações de compras
|
||||
</h2>
|
||||
<h6>Dados referentes às possíveis implicações desta compra.</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 compra." 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,28 @@
|
||||
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,24 @@
|
||||
function validateForm(form){
|
||||
|
||||
function validateForm(form){
|
||||
|
||||
var msg ="";
|
||||
|
||||
if(form.getValue("nomeGestorArea") == ""){
|
||||
msg += "Campo Nome do Gestor não foi preenchido"
|
||||
}
|
||||
|
||||
if(form.getValue("tipoOcorrencia") == ""){
|
||||
msg += "Campo Tipo Ocorrencia não foi preenchido"
|
||||
}
|
||||
|
||||
if(form.getValue("detalheSolicitacao") == ""){
|
||||
msg += "Campo Detalhamento da situação da situação não foi preenchido"
|
||||
}
|
||||
|
||||
if (msg!="") {
|
||||
throw msg;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,687 @@
|
||||
<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>
|
||||
<link href="/webdesk/customresources?cid=4&resourceName=temaFormulario/0.css" type="text/css" rel="stylesheet" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/style-guide/css/fluig-style-guide-ratingstars.min.css" />
|
||||
<script src="/style-guide/js/fluig-style-guide-ratingstars.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-account-box {
|
||||
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;
|
||||
}
|
||||
|
||||
textarea {
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.consegueResolverMotivo .textoAuxiliar {
|
||||
width: 100%;
|
||||
color: #8c8d8f;
|
||||
font-size: 12px;
|
||||
margin-left: 1.5em;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.ratingStars {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.ratingStars .minha-avaliacao {
|
||||
margin: 0 20px;
|
||||
color: #f0ad4e;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script>
|
||||
//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();
|
||||
//remove buttons
|
||||
$(".hideButton").hide();
|
||||
//use an each to block everything inside the class activity-X
|
||||
$(".activity-" + activity[i] + " :input").each(function () {
|
||||
$(this).attr("readonly", "readonly");
|
||||
$(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) {
|
||||
// return true;
|
||||
if (numState == 0 || numState == 1) {
|
||||
if ($("#tipoOcorrencia").val() == "") {
|
||||
throw "'Tipo da ocorrência' é obrigatório.";
|
||||
} else if ($("#tituloOcorrencia").val() == "") {
|
||||
throw "'Título da ocorrência' é obrigatório.";
|
||||
} else if ($("#detalheSolicitacao").val() == "") {
|
||||
throw "'Detalhamento da situação' é obrigatório.";
|
||||
}
|
||||
} else if (numState == 2) {
|
||||
if (
|
||||
$("input[name='consegueResolver']:checked").val() == "" ||
|
||||
$("input[name='consegueResolver']:checked").val() == undefined
|
||||
) {
|
||||
throw "'Consegue resolver?' é obrigatório.";
|
||||
} else if (
|
||||
$("input[name='consegueResolver']:checked").val() == "nao"
|
||||
) {
|
||||
if (
|
||||
$("input[name='possuiInconsistencia']:checked").val() == "" ||
|
||||
$("input[name='possuiInconsistencia']:checked").val() == undefined
|
||||
) {
|
||||
throw "'Qual o motivo?' é obrigatório.";
|
||||
}
|
||||
}
|
||||
if ($("#consideracoesTecnicas").val() == "") {
|
||||
throw "'Considerações' é obrigatório.";
|
||||
}
|
||||
} else if (numState == 6) {
|
||||
if ($("#detalheSolicitacao").val() == "") {
|
||||
throw "'Detalhamento da situação' é obrigatório.";
|
||||
}
|
||||
} else if (numState == 11) {
|
||||
if (
|
||||
$("input[name='situacaoResolvida']:checked").val() == "" ||
|
||||
$("input[name='situacaoResolvida']:checked").val() == undefined
|
||||
) {
|
||||
throw "'Situação resolvida?' é obrigatório.";
|
||||
} else if (
|
||||
$("input[name='situacaoResolvida']:checked").val() == "nao"
|
||||
) {
|
||||
if ($("#consideracoes").val() == "") {
|
||||
throw "'Considerações' é obrigatório.";
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
function setSelectedZoomItem(selectedItem) {
|
||||
if (selectedItem.inputName == "nomeGestorArea") {
|
||||
$("#emailGestorArea").val(selectedItem.mail);
|
||||
}
|
||||
}
|
||||
|
||||
function removedZoomItem(removedItem) {
|
||||
console.log("removedItem", removedItem);
|
||||
if (removedItem.inputName == "nomeGestorArea") {
|
||||
$("#emailGestorArea").val("");
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</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" />
|
||||
</div>
|
||||
|
||||
<h1 id="rcorners">Abertura de chamado</h1>
|
||||
|
||||
<div class="container activity-all">
|
||||
<div class="activity activity-0 activity-1 activity-6">
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-account-box" aria-hidden="true"></i>
|
||||
Dados gerais
|
||||
</h2>
|
||||
<h6>
|
||||
Estes são os 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" readonly
|
||||
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" />
|
||||
</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"> Usuário solicitante </label>
|
||||
<input type="text" class="form-control" name="userSolicitante" id="userSolicitante"
|
||||
placeholder="Insira o nome completo do solicitante. Ex.: João da Silva"
|
||||
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 type="email" name="emailSolicitante" id="emailSolicitante" class="form-control"
|
||||
placeholder="Insira o e-mail do solicitante. Ex.: Joaodasilva@email.com.br"
|
||||
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="nomeGestorArea"> Gestor da área </label>
|
||||
<input type="zoom" class="form-control" name="nomeGestorArea" id="nomeGestorArea"
|
||||
placeholder="Pesquise o nome do gestor" data-zoom="{
|
||||
'displayKey':'colleagueName',
|
||||
'datasetId':'colleague',
|
||||
'fields':[
|
||||
{
|
||||
'field':'colleagueName',
|
||||
'label':'Nome',
|
||||
'standard':'true',
|
||||
'search':'true'
|
||||
},
|
||||
{
|
||||
'field':'mail',
|
||||
'label':'E-mail',
|
||||
'search':'true'
|
||||
}
|
||||
]
|
||||
}" data-protection="Gestor da área" data-protection-anonymizable data-protection-sensitive
|
||||
data-protection-other
|
||||
data-protection-class-legitimate-interests="Dado coletado para o funcionamento do processo" />
|
||||
</div>
|
||||
<div class="form-group col-md-6 col-xs-6">
|
||||
<label for="emailGestorArea"> E-mail do gestor </label>
|
||||
<input type="text" name="emailGestorArea" id="emailGestorArea" class="form-control" readonly
|
||||
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" />
|
||||
</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">
|
||||
Estabelecimento/Filial
|
||||
</label>
|
||||
<span class="required text-danger"><strong> * </strong></span>
|
||||
<input type="zoom" class="form-control requiredInput" name="estabelecimento" id="estabelecimento"
|
||||
data-zoom="{
|
||||
'displayKey':'estabelecimento',
|
||||
'datasetId':'dsFiliais',
|
||||
'placeholder': 'Pesquisar nome do estabelecimento ou filial.',
|
||||
'fields':[
|
||||
{
|
||||
'field':'estabelecimento',
|
||||
'label':'Estabelecimento',
|
||||
'standard':'true',
|
||||
'search':'true'
|
||||
}
|
||||
]
|
||||
}" />
|
||||
<p class="text-danger text-error">
|
||||
Preenchimento obrigatório.
|
||||
</p>
|
||||
</div>
|
||||
<div class="form-group col-md-6 col-xs-6">
|
||||
<label for="complemento"> Complemento </label>
|
||||
<input type="text" name="complemento" id="complemento" class="form-control"
|
||||
placeholder="Prédio, Bloco, Andar, Mesa" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-settings" aria-hidden="true"></i>
|
||||
Dados Técnicos
|
||||
</h2>
|
||||
<h6>Insira abaixo os itens necessários para o solicitante.</h6>
|
||||
<br />
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-6 col-xs-12">
|
||||
<label for="tipoOcorrencia"> Tipo da Ocorrência </label>
|
||||
<span class="required text-danger"><strong> * </strong></span>
|
||||
<input type="zoom" class="form-control" name="tipoOcorrencia" id="tipoOcorrencia" data-zoom="{
|
||||
'displayKey':'nomeOcorrenciaManutencao',
|
||||
'datasetId':'ds_manutencao',
|
||||
'fields':[
|
||||
{
|
||||
'field':'nomeOcorrenciaManutencao',
|
||||
'label':'Tipo',
|
||||
'standard':'true',
|
||||
'search':'true'
|
||||
}
|
||||
]
|
||||
}" />
|
||||
</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="tituloOcorrencia"> Título da ocorrência </label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
<input type="text" name="tituloOcorrencia" id="tituloOcorrencia" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="detalheSolicitacao">Detalhamento da situação</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
<textarea class="form-control" name="detalheSolicitacao" id="detalheSolicitacao"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="activity activity-2">
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-check-circle" aria-hidden="true"></i>
|
||||
Análise
|
||||
</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="analistaTecnico"> Analista </label>
|
||||
<input type="text" name="analistaTecnico" id="analistaTecnico" class="form-control" readonly
|
||||
data-protection="Analista" 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-2 col-xs-6">
|
||||
<label for="dataAnaliseTecnica"> Data </label>
|
||||
<input type="text" name="dataAnaliseTecnica" id="dataAnaliseTecnica" 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>Consegue resolver?</label>
|
||||
<span class="text-danger"><strong>*</strong></span><br />
|
||||
<div class="radio-inline">
|
||||
<label>
|
||||
<input name="consegueResolver" id="consegueResolverSim" value="sim" type="radio" />
|
||||
<span class="change-weight">Sim</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="radio-inline">
|
||||
<label>
|
||||
<input name="consegueResolver" id="consegueResolverNao" value="nao" type="radio" />
|
||||
<span class="change-weight">Não</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row consegueResolverMotivo">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label>Qual o motivo?</label>
|
||||
<span class="text-danger"><strong>*</strong></span><br />
|
||||
<div class="">
|
||||
<label>
|
||||
<input name="possuiInconsistencia" id="possuiInconsistenciaNao" value="nao" type="radio" />
|
||||
<span class="change-weight">A atual solicitação <b>carece de informações</b>, o
|
||||
que limita o entendimento da real necessidade do
|
||||
usuário</span>
|
||||
<p class="textoAuxiliar">
|
||||
Esta opção retorna a atual solicitação ao usuário
|
||||
solicitante, a fim de que este atualize o formulário
|
||||
com as informações faltantes.
|
||||
</p>
|
||||
</label>
|
||||
</div>
|
||||
<div class="">
|
||||
<label>
|
||||
<input name="possuiInconsistencia" id="possuiInconsistenciaSim" value="sim" type="radio" />
|
||||
<span class="change-weight">A atual solicitação <b>possui inconsistências</b> que
|
||||
impedem sua movimentação</span>
|
||||
<p class="textoAuxiliar">
|
||||
Esta opção encerra automaticamente a atual
|
||||
solicitação.
|
||||
</p>
|
||||
</label>
|
||||
</div>
|
||||
<div class="">
|
||||
<label>
|
||||
<input name="possuiInconsistencia" id="precisaSuprimentos" value="suprimentos" type="radio" />
|
||||
<span class="change-weight">A atual solicitação <b>carece de suprimentos</b>, o
|
||||
que limita o atendimento da necessidade do
|
||||
usuário</span>
|
||||
<p class="textoAuxiliar">
|
||||
Esta opção envia a atual solicitação ao <b>Setor de Compras</b>, a fim de que este realize as
|
||||
devidas aquisições.
|
||||
Ao indicar esta opção, será necessário informar os itens que precisará serem comprados.
|
||||
</p>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="consideracoesTecnicas">Considerações</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
<textarea class="form-control" name="consideracoesTecnicas" id="consideracoesTecnicas"
|
||||
placeholder="Descreva a justificativa para a sua análise"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="activity activity-11">
|
||||
<div>
|
||||
<br />
|
||||
<h2>
|
||||
<i class="flaticon flaticon-check-circle" aria-hidden="true"></i>
|
||||
Validação do serviço
|
||||
</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="userValidacao"> Usuário de abertura </label>
|
||||
<input type="text" name="userValidacao" id="userValidacao" class="form-control" readonly
|
||||
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" />
|
||||
</div>
|
||||
<div class="form-group col-md-2 col-xs-6">
|
||||
<label for="dataUserValidacao"> Data </label>
|
||||
<input type="text" name="dataUserValidacao" id="dataUserValidacao" 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>Situação resolvida?</label>
|
||||
<span class="text-danger"><strong>*</strong></span><br />
|
||||
<div class="radio-inline">
|
||||
<label>
|
||||
<input name="situacaoResolvida" id="situacaoResolvidaSim" value="sim" type="radio" />
|
||||
<span class="change-weight">Sim</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="radio-inline">
|
||||
<label>
|
||||
<input name="situacaoResolvida" id="situacaoResolvidaNao" value="nao" type="radio" />
|
||||
<span class="change-weight">Não</span>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row ratingAction">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label>Como você avalia o atendimento?</label>
|
||||
<div class="ratingStars">
|
||||
<span>Péssimo</span>
|
||||
<div class="minha-avaliacao"></div>
|
||||
<span>Excelente</span>
|
||||
</div>
|
||||
<input type="hidden" id="ratingValue" name="ratingValue" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row explainAction">
|
||||
<div class="form-field">
|
||||
<div class="form-input">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="consideracoes">Considerações</label>
|
||||
<span class="text-danger"><strong>*</strong></span>
|
||||
<textarea class="form-control" name="consideracoes" id="consideracoes"
|
||||
placeholder="Descreva a justificativa para a sua avaliação"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
<script>
|
||||
var ratingStars;
|
||||
var servicoNaoValidado =
|
||||
$("input[name=situacaoResolvida]:checked").val() == "nao";
|
||||
$(document).ready(function () {
|
||||
if ($("#formMode").val() == "VIEW") {
|
||||
showAndBlock([0, 2, 11]);
|
||||
$(".ratingAction").hide();
|
||||
if ($("input[name=situacaoResolvida]:checked").val() == "sim") {
|
||||
$(".ratingAction").show();
|
||||
}
|
||||
let ratingValue;
|
||||
if ($("#ratingValue").val() == "" || $("#ratingValue").val() == 0) {
|
||||
ratingValue = 0;
|
||||
} else {
|
||||
ratingValue = $("#ratingValue").val();
|
||||
}
|
||||
let html = "";
|
||||
for (let i = 0; i < 5; i++) {
|
||||
if (i < ratingValue) {
|
||||
html +=
|
||||
'<i class="flaticon flaticon-star-active icon-md" aria-hidden="true"></i>';
|
||||
} else {
|
||||
html +=
|
||||
'<i class="flaticon flaticon-star icon-md" aria-hidden="true"></i>';
|
||||
}
|
||||
}
|
||||
console.log(html);
|
||||
$(".minha-avaliacao").html(html);
|
||||
} else {
|
||||
//show the right fields
|
||||
var activity = $("#activity").val();
|
||||
var requestDate = getCurrentDate();
|
||||
|
||||
$(".activity").hide();
|
||||
$(".activity-" + activity).show();
|
||||
|
||||
if (activity == 0) {
|
||||
//primeira atividade
|
||||
$("#dataAbertura").val(requestDate[0] + " - " + requestDate[1]);
|
||||
} else if (activity == 2) {
|
||||
if (servicoNaoValidado) {
|
||||
showAndBlock([0, 11]);
|
||||
} else {
|
||||
showAndBlock([0]);
|
||||
$("#analistaTecnico").val($("#currentUserName").val());
|
||||
$("#dataAnaliseTecnica").val(
|
||||
requestDate[0] + " - " + requestDate[1]
|
||||
);
|
||||
}
|
||||
} else if (activity == 11) {
|
||||
showAndBlock([0, 2]);
|
||||
let ratingValue;
|
||||
if ($("#ratingValue").val() == "" || $("#ratingValue").val() == 0) {
|
||||
ratingValue = 0;
|
||||
} else {
|
||||
ratingValue = $("#ratingValue").val();
|
||||
}
|
||||
ratingStars = FLUIGC.stars(".minha-avaliacao", {
|
||||
stars: 5,
|
||||
value: ratingValue,
|
||||
sizeClass: "icon-md",
|
||||
});
|
||||
ratingStars.on("click", (obj) => {
|
||||
let countCurrentRating = 0;
|
||||
$(".fluigicon-star").each(() => {
|
||||
countCurrentRating++;
|
||||
});
|
||||
$("#ratingValue").val(countCurrentRating);
|
||||
});
|
||||
$("#userValidacao").val($("#currentUserName").val());
|
||||
$("#dataUserValidacao").val(requestDate[0] + " - " + requestDate[1]);
|
||||
} else if (activity == 6) {
|
||||
showAndBlock([1, 2]);
|
||||
$("#detalheSolicitacao").attr("readonly", false);
|
||||
}
|
||||
|
||||
$("input[name=consegueResolver]").on("change", function () {
|
||||
$(".consegueResolverMotivo").hide();
|
||||
if ($(`input[name=${$(this).attr("name")}]:checked`).val() == "nao")
|
||||
$(".consegueResolverMotivo").show();
|
||||
});
|
||||
$("input[name=consegueResolver]").trigger("change");
|
||||
|
||||
$("input[name=situacaoResolvida]").on("change", function () {
|
||||
$(".explainAction, .ratingAction").hide();
|
||||
if ($("input[name=situacaoResolvida]:checked").val() == "nao") {
|
||||
$(".explainAction").show();
|
||||
} else if (
|
||||
$("input[name=situacaoResolvida]:checked").val() == "sim"
|
||||
) {
|
||||
$(".ratingAction").show();
|
||||
}
|
||||
});
|
||||
$("input[name=situacaoResolvida]").trigger("change");
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,236 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Criar Solicitação de Compras</title>
|
||||
|
||||
<!-- Fluig SG + deps -->
|
||||
<link rel="stylesheet" href="/style-guide/css/fluig-style-guide.min.css">
|
||||
<link rel="stylesheet" href="/style-guide/css/fluig-style-guide-filter.min.css"> <!-- ADICIONE -->
|
||||
<script src="/portal/resources/js/jquery/jquery.js"></script>
|
||||
<script src="/portal/resources/js/jquery/jquery-ui.min.js"></script>
|
||||
<script src="/style-guide/js/fluig-style-guide.min.js"></script>
|
||||
<script src="/style-guide/js/fluig-style-guide-filter.min.js"></script> <!-- ADICIONE -->
|
||||
|
||||
<!-- seu JS/CSS -->
|
||||
<link rel="stylesheet" href="form.css">
|
||||
<script src="compras.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="fluig-style-guide">
|
||||
<form name="form" role="form">
|
||||
|
||||
<div class="fs-display-block">
|
||||
|
||||
<!-- PAINEL: Dados da solicitação -->
|
||||
<div class="panel panel-info">
|
||||
<div class="panel-heading"><strong>Dados da Solicitação</strong></div>
|
||||
<div class="panel-body">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<label>Empresa</label>
|
||||
<span class="required text-danger"><strong> * </strong></span>
|
||||
<input type="zoom" class="form-control requiredInput" name="estabelecimento" id="estabelecimento"
|
||||
data-zoom="{
|
||||
'displayKey':'LOJA',
|
||||
'datasetId':'dsSysCompany',
|
||||
'placeholder': 'Pesquisar por nome do estabelecimento.',
|
||||
'fields':[
|
||||
{
|
||||
'field':'BPCS',
|
||||
'label':'Filial',
|
||||
'standard':'true',
|
||||
'search':'true'
|
||||
},
|
||||
{
|
||||
'field':'DESCRICAO',
|
||||
'label':'estabelecimento',
|
||||
'search':'true'
|
||||
}
|
||||
]
|
||||
}" />
|
||||
<p class="text-danger text-error">
|
||||
Preenchimento obrigatório.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-2">
|
||||
<label>Filial Entrega</label>
|
||||
<input type="text" name="filialDesc" id="filialDesc" class="form-control zoom"
|
||||
placeholder="Selecione..." readonly>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-4">
|
||||
<label>Tipo de Solicitação <span class="text-danger">*</span></label>
|
||||
<select name="tipoSolicitacao" id="tipoSolicitacao" class="form-control" required>
|
||||
<option value="">Selecione</option>
|
||||
<option>Material</option>
|
||||
<option>Serviço</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row m-t-15">
|
||||
|
||||
<div class="col-sm-6">
|
||||
<label>Produto/Serviço <span class="text-danger">*</span></label>
|
||||
<div class="input-group">
|
||||
<input type="hidden" name="produtoCod" id="produtoCod">
|
||||
<input type="text" name="produtoDesc" id="produtoDesc" class="form-control zoom" data-zoom="produto"
|
||||
placeholder="Buscar..." readonly required>
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-default" type="button" id="btnBuscaProd">
|
||||
<span class="fluigicon fluigicon-search"></span>
|
||||
</button>
|
||||
<button class="btn btn-danger" type="button" id="btnLimpaProd">
|
||||
<span class="fluigicon fluigicon-trash"></span>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
<label>Último Preço</label>
|
||||
<input type="text" name="ultimoPreco" id="ultimoPreco" class="form-control text-right" value="0,00"
|
||||
readonly>
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
<label>Quantidade <span class="text-danger">*</span></label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-btn">
|
||||
<button type="button" class="btn btn-default" id="qtdMenos">−</button>
|
||||
</span>
|
||||
<input type="number" min="0" step="1" name="quantidade" id="quantidade"
|
||||
class="form-control text-center" value="0" required>
|
||||
<span class="input-group-btn">
|
||||
<button type="button" class="btn btn-default" id="qtdMais">+</button>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-2">
|
||||
<label>Data da Necessidade <span class="text-danger">*</span></label>
|
||||
<input type="text" name="dataNec" id="dataNec" class="form-control" placeholder="dd/mm/aaaa" required>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row m-t-10">
|
||||
<div class="col-sm-6">
|
||||
<label>Centro de Custo <span class="text-danger">*</span></label>
|
||||
<input type="zoom" name="ccDesc" id="ccDesc" class="form-control" data-zoom="{
|
||||
'displayKey':'centroCusto',
|
||||
'datasetId':'ds_centroCusto',
|
||||
'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 class="col-sm-3">
|
||||
<label>Compra Emergencial?</label>
|
||||
<select name="emergencial" id="emergencial" class="form-control">
|
||||
<option>Não</option>
|
||||
<option>Sim</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-3">
|
||||
<label>Total</label>
|
||||
<input type="text" name="total" id="total" class="form-control text-right" value="R$ 0,00" readonly>
|
||||
</div>
|
||||
</div> <!-- aqui sim fecha corretamente a row -->
|
||||
|
||||
<div class="row m-t-20">
|
||||
<div class="col-sm-12">
|
||||
<button type="button" class="btn btn-success" id="btnAddAnexo">
|
||||
<span class="fluigicon fluigicon-upload"></span> Adicionar Anexo
|
||||
</button>
|
||||
</div>
|
||||
<div class="col-sm-12">
|
||||
<label>Observação do Item</label>
|
||||
<textarea name="obs" id="obs" class="form-control" rows="2"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="text-center m-t-15">
|
||||
<button type="button" id="btnAddItem" class="btn btn-primary">
|
||||
<span class="fluigicon fluigicon-add"></span> Adicionar Item
|
||||
</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- PAINEL: Itens -->
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading"><strong>Itens</strong></div>
|
||||
<div class="panel-body">
|
||||
<table id="tbItens" tablename="tbItens" class="table table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Produto</th>
|
||||
<th>Centro de Custo</th>
|
||||
<th>Qtd</th>
|
||||
<th>Preço Ref.</th>
|
||||
<th>Total</th>
|
||||
<th>Ação</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<!-- LINHA MODELO (detail=true) -->
|
||||
<tr class="tableRow" detail="true">
|
||||
<td>
|
||||
<input type="hidden" name="CodProd" class="form-control">
|
||||
<input type="text" name="DescProd" class="form-control" readonly>
|
||||
</td>
|
||||
<td>
|
||||
<input type="hidden" name="Codcc" class="form-control">
|
||||
<input type="text" name="Desccc" class="form-control" readonly>
|
||||
</td>
|
||||
<td><input type="number" name="qtd" class="form-control text-right" min="0" step="1" value="0"></td>
|
||||
<td><input type="text" name="Refpreco" class="form-control text-right" value="0,00"></td>
|
||||
<td><input type="text" name="totalProd" class="form-control text-right" value="R$ 0,00" readonly></td>
|
||||
<td class="text-center">
|
||||
<button type="button" class="btn btn-link" onclick="fnWdkRemoveChild(this)">
|
||||
<span class="fluigicon fluigicon-trash"></span>
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,203 @@
|
||||
// ======== DATASETS (troque aqui se o id for diferente) ========
|
||||
const DS_EMPRESAS = 'dsSyscompany';
|
||||
const DS_FILIAIS = 'dsFiliais'; // se o seu for outro, troque aqui
|
||||
const DS_CC = 'ds_centroCusto';
|
||||
const DS_PRODUTOS = 'ProdutoTI'; // se o id for "ProdutosTI", troque aqui
|
||||
|
||||
// ======== MAPEAMENTO DE CAMPOS (ajuste se seus datasets usam nomes diferentes) ========
|
||||
// Empresas / Filiais / Centro de Custo
|
||||
const EMP_FIELDS = { code: 'codigo', desc: 'descricao' };
|
||||
const FIL_FIELDS = { code: 'codigo', desc: 'descricao' };
|
||||
const CC_FIELDS = { code: 'codigo', desc: 'descricao' };
|
||||
|
||||
// Produtos (inclui alternativas típicas do Protheus)
|
||||
const PROD_FIELDS = {
|
||||
code: ['codigo','B1_COD','CODIGO'],
|
||||
desc: ['descricao','B1_DESC','DESCRICAO'],
|
||||
um: ['um','B1_UM','UM'],
|
||||
lastPrice: ['ultimoPreco','ULTIMO_PRECO','ULT_PRECO','ULTIMOPRECO']
|
||||
};
|
||||
|
||||
// ======== INIT ========
|
||||
$(document).ready(function () {
|
||||
FLUIGC.calendar('#dataNec');
|
||||
|
||||
// qty/preço
|
||||
$('#precoRef').on('blur', recalcTotal);
|
||||
$('#quantidade').on('input', recalcTotal);
|
||||
$('#qtdMais').on('click', () => stepQtd(1));
|
||||
$('#qtdMenos').on('click', () => stepQtd(-1));
|
||||
|
||||
// produto
|
||||
$('#btnBuscaProd').on('click', openZoomProduto);
|
||||
$('#btnLimpaProd').on('click', () => {
|
||||
$('#produtoCod,#produtoDesc').val('');
|
||||
$('#ultimoPreco').val('0,00');
|
||||
recalcTotal();
|
||||
});
|
||||
|
||||
// zooms
|
||||
bindZoom($('#empresaDesc'), DS_EMPRESAS, EMP_FIELDS, 'empresaCodigo','empresaDesc');
|
||||
bindZoom($('#filialDesc'), DS_FILIAIS, FIL_FIELDS, 'filialCodigo','filialDesc');
|
||||
bindZoom($('#ccDesc'), DS_CC, CC_FIELDS, 'ccCod','ccDesc');
|
||||
|
||||
// itens
|
||||
$('#btnAddItem').on('click', addItem);
|
||||
});
|
||||
|
||||
// ======== HELPERS ========
|
||||
function stepQtd(n){
|
||||
const $q = $('#quantidade');
|
||||
let v = parseInt($q.val()||'0',10)+n;
|
||||
if (v < 0) v = 0;
|
||||
$q.val(v);
|
||||
recalcTotal();
|
||||
}
|
||||
|
||||
function parseMoneyBR(s){
|
||||
if(!s) return 0;
|
||||
s = (''+s).replace(/[^\d,,-]/g,'').replace(/\./g,'').replace(',', '.');
|
||||
const v = Number(s);
|
||||
return isNaN(v) ? 0 : v;
|
||||
}
|
||||
function formatMoneyBR(v){
|
||||
return v.toLocaleString('pt-BR',{style:'currency',currency:'BRL'});
|
||||
}
|
||||
function recalcTotal(){
|
||||
const qtd = parseFloat($('#quantidade').val()||'0');
|
||||
const preco = parseMoneyBR($('#precoRef').val());
|
||||
const tot = (qtd * preco) || 0;
|
||||
$('#total').val(formatMoneyBR(tot));
|
||||
}
|
||||
|
||||
// Compat: usa filtermodal OU filterModal, dependendo da versão do SG
|
||||
function openFilterModalCompat(opts){
|
||||
var fn = (FLUIGC && (FLUIGC.filtermodal || FLUIGC.filterModal));
|
||||
if (!fn) {
|
||||
FLUIGC.toast({
|
||||
title: 'Erro: ',
|
||||
message: 'Plugin de filtro (filtermodal) não está carregado. Verifique os includes do Style Guide.',
|
||||
type: 'danger'
|
||||
});
|
||||
return { onSelected: function(){} };
|
||||
}
|
||||
return fn(opts);
|
||||
}
|
||||
|
||||
// pega a primeira chave existente no item
|
||||
function pick(obj, keys){
|
||||
if (!Array.isArray(keys)) return obj[keys];
|
||||
for (const k of keys) if (obj[k] !== undefined && obj[k] !== null) return obj[k];
|
||||
return '';
|
||||
}
|
||||
function firstKey(keys){ return Array.isArray(keys) ? keys[0] : keys; }
|
||||
|
||||
// ======== ZOOMS GENÉRICOS (empresa, filial, centro de custo) ========
|
||||
function bindZoom($input, datasetId, fieldsMap, hiddenIdFld, displayFld){
|
||||
const codeK = fieldsMap.code, descK = fieldsMap.desc;
|
||||
|
||||
$input.on('click', function(){
|
||||
openFilterModalCompat({
|
||||
title: 'Selecionar',
|
||||
size: 'large',
|
||||
filterFields: codeK + ', ' + descK,
|
||||
source: {
|
||||
url: '/api/public/ecm/dataset/search',
|
||||
contentType: 'application/json',
|
||||
root: 'content',
|
||||
limit: 50,
|
||||
pattern: '',
|
||||
param: { datasetId: datasetId }
|
||||
},
|
||||
columns: [
|
||||
{ title: 'Código', data: codeK },
|
||||
{ title: 'Descrição', data: descK }
|
||||
],
|
||||
onSelected: function(data){
|
||||
$('#'+hiddenIdFld).val(data[codeK]);
|
||||
$('#'+displayFld).val(data[codeK] + ' - ' + data[descK]);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
// ======== ZOOM DE PRODUTO ========
|
||||
function openZoomProduto(){
|
||||
openFilterModalCompat({
|
||||
title: 'Buscar Produto/Serviço',
|
||||
size: 'large',
|
||||
filterFields: firstKey(PROD_FIELDS.code) + ', ' + firstKey(PROD_FIELDS.desc),
|
||||
source: {
|
||||
url: '/api/public/ecm/dataset/search',
|
||||
contentType: 'application/json',
|
||||
root: 'content',
|
||||
limit: 50,
|
||||
param:{ datasetId: DS_PRODUTOS }
|
||||
},
|
||||
columns: [
|
||||
{ title: 'Código', data: firstKey(PROD_FIELDS.code) },
|
||||
{ title: 'Descrição', data: firstKey(PROD_FIELDS.desc) },
|
||||
{ title: 'UM', data: firstKey(PROD_FIELDS.um) },
|
||||
{ title: 'Último Preço', data: firstKey(PROD_FIELDS.lastPrice) }
|
||||
],
|
||||
onSelected: function(item){
|
||||
const cod = pick(item, PROD_FIELDS.code);
|
||||
const desc = pick(item, PROD_FIELDS.desc);
|
||||
const ult = pick(item, PROD_FIELDS.lastPrice);
|
||||
|
||||
$('#produtoCod').val(cod);
|
||||
$('#produtoDesc').val(cod + ' - ' + desc);
|
||||
$('#ultimoPreco').val(ult || '0,00');
|
||||
recalcTotal();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// ======== ITENS (tabela filha) ========
|
||||
function addItem(){
|
||||
if(!$('#produtoCod').val()){
|
||||
FLUIGC.toast({title:'Atenção: ', message:'Selecione um produto.', type:'warning'}); return;
|
||||
}
|
||||
if(!$('#ccCod').val()){
|
||||
FLUIGC.toast({title:'Atenção: ', message:'Selecione o centro de custo.', type:'warning'}); return;
|
||||
}
|
||||
const qtd = parseFloat($('#quantidade').val()||'0');
|
||||
if(qtd <= 0){
|
||||
FLUIGC.toast({title:'Atenção: ', message:'Quantidade deve ser > 0.', type:'warning'}); return;
|
||||
}
|
||||
|
||||
const row = wdkAddChild('tbItens');
|
||||
$('#produtoCod___'+row).val($('#produtoCod').val());
|
||||
$('#produtoDesc___'+row).val($('#produtoDesc').val());
|
||||
$('#ccCod___'+row).val($('#ccCod').val());
|
||||
$('#ccDesc___'+row).val($('#ccDesc').val());
|
||||
$('#qtd___'+row).val(qtd);
|
||||
$('#precoRef___'+row).val($('#precoRef').val());
|
||||
$('#total___'+row).val($('#total').val());
|
||||
}
|
||||
|
||||
// ======== VALIDAÇÃO (se usar o hook validateForm) ========
|
||||
function validateForm(form){
|
||||
var msgs = [];
|
||||
function req(id, label){ if(!form.getValue(id)) msgs.push('Preencha "'+label+'".'); }
|
||||
req('tipoSolicitacao','Tipo de Solicitação');
|
||||
req('produtoCod','Produto/Serviço');
|
||||
req('quantidade','Quantidade');
|
||||
req('dataNec','Data da Necessidade');
|
||||
req('ccCod','Centro de Custo');
|
||||
if(msgs.length){ throw msgs.join('\n'); }
|
||||
}
|
||||
|
||||
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];
|
||||
}
|
||||
|
||||
if (name_item == "estabelecimento")
|
||||
{ $("#filialDesc").val(selectedItem["CODIGO"]); }
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
.m-t-10 { margin-top: 10px; }
|
||||
.m-t-15 { margin-top: 15px; }
|
||||
.text-right { text-align: right; }
|
||||
@@ -0,0 +1,9 @@
|
||||
function resolve(process,colleague){
|
||||
|
||||
var userList = new java.util.ArrayList();
|
||||
|
||||
userList.add("Pool:Group:TIC");
|
||||
|
||||
return userList;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
application.type=widget
|
||||
application.code=cards_compras
|
||||
application.title=cards-compras
|
||||
application.description=cards-compras
|
||||
application.fluig.version=null
|
||||
application.category=SYSTEM
|
||||
application.renderer=freemarker
|
||||
developer.code=G-ALES1NT-TEC06
|
||||
developer.name=andrey.cunha
|
||||
developer.url=http://www.fluig.com
|
||||
application.uiwidget=true
|
||||
application.mobileapp=true
|
||||
application.version=${build.version}-${build.revision}
|
||||
view.file=view.ftl
|
||||
edit.file=edit.ftl
|
||||
locale.file.base.name=cards_compras
|
||||
application.resource.js.1=/resources/js/cards_compras.js
|
||||
application.resource.css.2=/resources/css/cards_compras.css
|
||||
hash=4a16315e9e66fa7d797b3f6b1fb365b69f9a4ce2
|
||||
@@ -0,0 +1,2 @@
|
||||
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
<div id="MyWidget_${instanceId}" class="super-widget wcm-widget-class fluig-style-guide" data-params="MyWidget.instance()">
|
||||
<h3>Configuração dos links dos processos</h3>
|
||||
|
||||
<div class="form-group">
|
||||
<label>Cadastro de Produtos</label>
|
||||
<input type="text" class="form-control" name="urlCadastroProdutos"
|
||||
value="${(params.urlCadastroProdutos!'')}"
|
||||
placeholder="/portal/p/1/workflowstart?processId=CadastroProdutos"/>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>Solicitação de Compras</label>
|
||||
<input type="text" class="form-control" name="urlSolicitacao"
|
||||
value="${(params.urlSolicitacao!'')}"
|
||||
placeholder="/portal/p/1/workflowstart?processId=SolicitacaoCompras"/>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>Cotações</label>
|
||||
<input type="text" class="form-control" name="urlCotacoes"
|
||||
value="${(params.urlCotacoes!'')}"
|
||||
placeholder="/portal/p/1/workflowstart?processId=Cotacoes"/>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>Pedidos de Compras</label>
|
||||
<input type="text" class="form-control" name="urlPedidos"
|
||||
value="${(params.urlPedidos!'')}"
|
||||
placeholder="/portal/p/1/workflowstart?processId=PedidosCompras"/>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>Notas Fiscais</label>
|
||||
<input type="text" class="form-control" name="urlNotas"
|
||||
value="${(params.urlNotas!'')}"
|
||||
placeholder="/portal/p/1/workflowstart?processId=NotasFiscais"/>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>Parâmetros</label>
|
||||
<input type="text" class="form-control" name="urlParametros"
|
||||
value="${(params.urlParametros!'')}"
|
||||
placeholder="/portal/p/1/workflowstart?processId=Parametros"/>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,68 @@
|
||||
<div id="MyWidget_${instanceId}" class="super-widget wcm-widget-class fluig-style-guide" data-params="MyWidget.instance()">
|
||||
<div class="cards-container">
|
||||
<div class="card-widget" onclick="location.href='${(params.urlCadastroProdutos!'#/cadastro-produtos')}'">
|
||||
<#-- Use imagem OU ícone -->
|
||||
<#if (params.usaIcones!'N') == 'S'>
|
||||
<i class="fluigicon fluigicon-box fluigicon-3x"></i>
|
||||
<#else>
|
||||
<img src="${(params.iconCadastroProdutos!'/resources/images/cards/produtos.png')}" alt="Cadastro de Produtos">
|
||||
</#if>
|
||||
<h3>Cadastro de Produtos</h3>
|
||||
<p>Adicione e gerencie produtos de maneira centralizada.</p>
|
||||
</div>
|
||||
|
||||
<div class="card-widget" onclick="location.href='${(params.urlSolicitacao!'#/solicitacao-compras')}'">
|
||||
<#if (params.usaIcones!'N') == 'S'>
|
||||
<i class="fluigicon fluigicon-cart fluigicon-3x"></i>
|
||||
<#else>
|
||||
<img src="${(params.iconSolicitacao!'/resources/images/cards/solicitacao.png')}" alt="Solicitação de Compras">
|
||||
</#if>
|
||||
<h3>Solicitação de Compras</h3>
|
||||
<p>Faça suas solicitações de compra de forma rápida e eficiente.</p>
|
||||
</div>
|
||||
|
||||
<div class="card-widget" onclick="location.href='${(params.urlCotacoes!'#/cotacoes')}'">
|
||||
<#if (params.usaIcones!'N') == 'S'>
|
||||
<i class="fluigicon fluigicon-handshake fluigicon-3x"></i>
|
||||
<#else>
|
||||
<img src="${(params.iconCotacoes!'/resources/images/cards/cotacoes.png')}" alt="Cotações">
|
||||
</#if>
|
||||
<h3>Cotações</h3>
|
||||
<p>Compare orçamentos e encontre as melhores ofertas.</p>
|
||||
</div>
|
||||
|
||||
<div class="card-widget" onclick="location.href='${(params.urlPedidos!'#/pedidos-compras')}'">
|
||||
<#if (params.usaIcones!'N') == 'S'>
|
||||
<i class="fluigicon fluigicon-checked fluigicon-3x"></i>
|
||||
<#else>
|
||||
<img src="${(params.iconPedidos!'/resources/images/cards/pedidos.png')}" alt="Pedidos de Compras">
|
||||
</#if>
|
||||
<h3>Pedidos de Compras</h3>
|
||||
<p>Acompanhe e confirme seus pedidos.</p>
|
||||
</div>
|
||||
|
||||
<div class="card-widget" onclick="location.href='${(params.urlNotas!'#/notas-fiscais')}'">
|
||||
<#if (params.usaIcones!'N') == 'S'>
|
||||
<i class="fluigicon fluigicon-doc fluigicon-3x"></i>
|
||||
<#else>
|
||||
<img src="${(params.iconNotas!'/resources/images/cards/notas.png')}" alt="Notas Fiscais">
|
||||
</#if>
|
||||
<h3>Notas Fiscais</h3>
|
||||
<p>Simplifique o processo de entrada de notas.</p>
|
||||
</div>
|
||||
|
||||
<div class="card-widget" onclick="location.href='${(params.urlParametros!'#/parametros')}'">
|
||||
<#if (params.usaIcones!'N') == 'S'>
|
||||
<i class="fluigicon fluigicon-config fluigicon-3x"></i>
|
||||
<#else>
|
||||
<img src="${(params.iconParametros!'/resources/images/cards/parametros.png')}" alt="Parâmetros">
|
||||
</#if>
|
||||
<h3>Parâmetros</h3>
|
||||
<p>Personalize suas configurações.</p>
|
||||
</div>
|
||||
</div>
|
||||
<link rel="stylesheet" type="text/css" href="/webdesk/widget/cards-compras/resources/css/style.css">
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<jboss-web>
|
||||
<context-root>/cards_compras</context-root>
|
||||
<disable-cross-context>false</disable-cross-context>
|
||||
</jboss-web>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
|
||||
version="3.0">
|
||||
<session-config>
|
||||
<session-timeout>
|
||||
30
|
||||
</session-timeout>
|
||||
</session-config>
|
||||
</web-app>
|
||||
@@ -0,0 +1,9 @@
|
||||
/* Coloque aqui seu codigo CSS */
|
||||
/* mesmo CSS da seção A */
|
||||
.cards-container{display:flex;flex-wrap:wrap;gap:24px;justify-content:flex-start;margin:24px 12px;}
|
||||
.card-widget{flex:1 1 260px;max-width:300px;background:#fff;border-radius:14px;padding:22px;text-align:center;cursor:pointer;transition:all .25s ease;box-shadow:0 6px 18px rgba(0,0,0,.07);border:1px solid rgba(0,0,0,.06);}
|
||||
.card-widget:hover{transform:translateY(-6px);box-shadow:0 10px 24px rgba(0,0,0,.12);}
|
||||
.card-widget img,.card-widget i{max-width:90px;margin-bottom:16px;display:inline-block;}
|
||||
.card-widget h3{font-size:18px;margin:8px 0 6px;color:#2b2b2b;}
|
||||
.card-widget p{font-size:14px;color:#666;line-height:1.35;}
|
||||
@media (max-width:768px){.card-widget{flex:1 1 100%;max-width:100%;}}
|
||||
|
After Width: | Height: | Size: 7.7 KiB |
@@ -0,0 +1,22 @@
|
||||
var MyWidget = SuperWidget.extend({
|
||||
//variáveis da widget
|
||||
variavelNumerica: null,
|
||||
variavelCaracter: null,
|
||||
|
||||
//método iniciado quando a widget é carregada
|
||||
init: function() {
|
||||
},
|
||||
|
||||
//BIND de eventos
|
||||
bindings: {
|
||||
local: {
|
||||
'execute': ['click_executeAction']
|
||||
},
|
||||
global: {}
|
||||
},
|
||||
|
||||
executeAction: function(htmlElement, event) {
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
@@ -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: 36 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 35 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,120 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<java version="1.8.0_461" class="java.beans.XMLDecoder">
|
||||
<object class="java.util.HashMap">
|
||||
<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,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,380 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<java version="1.8.0_461" 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 = 165</string>
|
||||
<array class="java.lang.String" length="55">
|
||||
<void index="0">
|
||||
<string>activity</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>centroCusto</string>
|
||||
</void>
|
||||
<void index="2">
|
||||
<string>cnpj</string>
|
||||
</void>
|
||||
<void index="3">
|
||||
<string>codigoItem</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>fdAnexo_pedido</string>
|
||||
</void>
|
||||
<void index="24">
|
||||
<string>fnAnexo_pedido</string>
|
||||
</void>
|
||||
<void index="25">
|
||||
<string>formMode</string>
|
||||
</void>
|
||||
<void index="26">
|
||||
<string>fornecedor</string>
|
||||
</void>
|
||||
<void index="27">
|
||||
<string>fornecedorIndica</string>
|
||||
</void>
|
||||
<void index="28">
|
||||
<string>gestorEmail</string>
|
||||
</void>
|
||||
<void index="29">
|
||||
<string>gestorNome</string>
|
||||
</void>
|
||||
<void index="30">
|
||||
<string>gestor_cc</string>
|
||||
</void>
|
||||
<void index="31">
|
||||
<string>itemCompra</string>
|
||||
</void>
|
||||
<void index="32">
|
||||
<string>itemCompraIndica</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>preco</string>
|
||||
</void>
|
||||
<void index="39">
|
||||
<string>precoIndica</string>
|
||||
</void>
|
||||
<void index="40">
|
||||
<string>quantidade</string>
|
||||
</void>
|
||||
<void index="41">
|
||||
<string>quantidadeIndica</string>
|
||||
</void>
|
||||
<void index="42">
|
||||
<string>quantidadeItem</string>
|
||||
</void>
|
||||
<void index="43">
|
||||
<string>requesterId</string>
|
||||
</void>
|
||||
<void index="44">
|
||||
<string>requesterMail</string>
|
||||
</void>
|
||||
<void index="45">
|
||||
<string>requesterName</string>
|
||||
</void>
|
||||
<void index="46">
|
||||
<string>userCotacaoGestor</string>
|
||||
</void>
|
||||
<void index="47">
|
||||
<string>userRealizacaoCompras</string>
|
||||
</void>
|
||||
<void index="48">
|
||||
<string>userSolicitante</string>
|
||||
</void>
|
||||
<void index="49">
|
||||
<string>userValidacaoCompras</string>
|
||||
</void>
|
||||
<void index="50">
|
||||
<string>userValidacaoGestor</string>
|
||||
</void>
|
||||
<void index="51">
|
||||
<string>userValidacaoItens</string>
|
||||
</void>
|
||||
<void index="52">
|
||||
<string>validacaoItens</string>
|
||||
</void>
|
||||
<void index="53">
|
||||
<string>valorTotalsemformat</string>
|
||||
</void>
|
||||
<void index="54">
|
||||
<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,839 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<java version="1.8.0_461" 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 = 165</string>
|
||||
<array class="java.lang.String" length="55">
|
||||
<void index="0">
|
||||
<string>activity</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>centroCusto</string>
|
||||
</void>
|
||||
<void index="2">
|
||||
<string>cnpj</string>
|
||||
</void>
|
||||
<void index="3">
|
||||
<string>codigoItem</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>fdAnexo_pedido</string>
|
||||
</void>
|
||||
<void index="24">
|
||||
<string>fnAnexo_pedido</string>
|
||||
</void>
|
||||
<void index="25">
|
||||
<string>formMode</string>
|
||||
</void>
|
||||
<void index="26">
|
||||
<string>fornecedor</string>
|
||||
</void>
|
||||
<void index="27">
|
||||
<string>fornecedorIndica</string>
|
||||
</void>
|
||||
<void index="28">
|
||||
<string>gestorEmail</string>
|
||||
</void>
|
||||
<void index="29">
|
||||
<string>gestorNome</string>
|
||||
</void>
|
||||
<void index="30">
|
||||
<string>gestor_cc</string>
|
||||
</void>
|
||||
<void index="31">
|
||||
<string>itemCompra</string>
|
||||
</void>
|
||||
<void index="32">
|
||||
<string>itemCompraIndica</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>preco</string>
|
||||
</void>
|
||||
<void index="39">
|
||||
<string>precoIndica</string>
|
||||
</void>
|
||||
<void index="40">
|
||||
<string>quantidade</string>
|
||||
</void>
|
||||
<void index="41">
|
||||
<string>quantidadeIndica</string>
|
||||
</void>
|
||||
<void index="42">
|
||||
<string>quantidadeItem</string>
|
||||
</void>
|
||||
<void index="43">
|
||||
<string>requesterId</string>
|
||||
</void>
|
||||
<void index="44">
|
||||
<string>requesterMail</string>
|
||||
</void>
|
||||
<void index="45">
|
||||
<string>requesterName</string>
|
||||
</void>
|
||||
<void index="46">
|
||||
<string>userCotacaoGestor</string>
|
||||
</void>
|
||||
<void index="47">
|
||||
<string>userRealizacaoCompras</string>
|
||||
</void>
|
||||
<void index="48">
|
||||
<string>userSolicitante</string>
|
||||
</void>
|
||||
<void index="49">
|
||||
<string>userValidacaoCompras</string>
|
||||
</void>
|
||||
<void index="50">
|
||||
<string>userValidacaoGestor</string>
|
||||
</void>
|
||||
<void index="51">
|
||||
<string>userValidacaoItens</string>
|
||||
</void>
|
||||
<void index="52">
|
||||
<string>validacaoItens</string>
|
||||
</void>
|
||||
<void index="53">
|
||||
<string>valorTotalsemformat</string>
|
||||
</void>
|
||||
<void index="54">
|
||||
<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 = 15</string>
|
||||
<array class="java.lang.String" length="29">
|
||||
<void index="0">
|
||||
<string>activity</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>analistaTecnico</string>
|
||||
</void>
|
||||
<void index="2">
|
||||
<string>complemento</string>
|
||||
</void>
|
||||
<void index="3">
|
||||
<string>consegueResolver</string>
|
||||
</void>
|
||||
<void index="4">
|
||||
<string>consideracoes</string>
|
||||
</void>
|
||||
<void index="5">
|
||||
<string>consideracoesTecnicas</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>dataAnaliseTecnica</string>
|
||||
</void>
|
||||
<void index="11">
|
||||
<string>dataUserValidacao</string>
|
||||
</void>
|
||||
<void index="12">
|
||||
<string>detalheSolicitacao</string>
|
||||
</void>
|
||||
<void index="13">
|
||||
<string>emailGestorArea</string>
|
||||
</void>
|
||||
<void index="14">
|
||||
<string>emailSolicitante</string>
|
||||
</void>
|
||||
<void index="15">
|
||||
<string>estabelecimento</string>
|
||||
</void>
|
||||
<void index="16">
|
||||
<string>formMode</string>
|
||||
</void>
|
||||
<void index="17">
|
||||
<string>nomeGestorArea</string>
|
||||
</void>
|
||||
<void index="18">
|
||||
<string>possuiInconsistencia</string>
|
||||
</void>
|
||||
<void index="19">
|
||||
<string>ratingValue</string>
|
||||
</void>
|
||||
<void index="20">
|
||||
<string>requesterId</string>
|
||||
</void>
|
||||
<void index="21">
|
||||
<string>requesterMail</string>
|
||||
</void>
|
||||
<void index="22">
|
||||
<string>requesterName</string>
|
||||
</void>
|
||||
<void index="23">
|
||||
<string>situacaoResolvida</string>
|
||||
</void>
|
||||
<void index="24">
|
||||
<string>tipoOcorrencia</string>
|
||||
</void>
|
||||
<void index="25">
|
||||
<string>tituloOcorrencia</string>
|
||||
</void>
|
||||
<void index="26">
|
||||
<string>userSolicitante</string>
|
||||
</void>
|
||||
<void index="27">
|
||||
<string>userValidacao</string>
|
||||
</void>
|
||||
<void index="28">
|
||||
<string>WKNumProces</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>camposFormulario, documentoId = 823</string>
|
||||
<array class="java.lang.String" length="54">
|
||||
<void index="0">
|
||||
<string>activity</string>
|
||||
</void>
|
||||
<void index="1">
|
||||
<string>centroCusto</string>
|
||||
</void>
|
||||
<void index="2">
|
||||
<string>condPagamentoIndica</string>
|
||||
</void>
|
||||
<void index="3">
|
||||
<string>confidencial</string>
|
||||
</void>
|
||||
<void index="4">
|
||||
<string>consideracoesCompras</string>
|
||||
</void>
|
||||
<void index="5">
|
||||
<string>consideracoesCotacao</string>
|
||||
</void>
|
||||
<void index="6">
|
||||
<string>cotacaouser</string>
|
||||
</void>
|
||||
<void index="7">
|
||||
<string>currentUserId</string>
|
||||
</void>
|
||||
<void index="8">
|
||||
<string>currentUsermail</string>
|
||||
</void>
|
||||
<void index="9">
|
||||
<string>currentUserName</string>
|
||||
</void>
|
||||
<void index="10">
|
||||
<string>dataAbertura</string>
|
||||
</void>
|
||||
<void index="11">
|
||||
<string>dataAprovCompras</string>
|
||||
</void>
|
||||
<void index="12">
|
||||
<string>dataEntrega</string>
|
||||
</void>
|
||||
<void index="13">
|
||||
<string>dataEntregaIndica</string>
|
||||
</void>
|
||||
<void index="14">
|
||||
<string>dataRealizacaoCompras</string>
|
||||
</void>
|
||||
<void index="15">
|
||||
<string>dataValidacaoCompras</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>fdAnexo_pedido</string>
|
||||
</void>
|
||||
<void index="22">
|
||||
<string>fnAnexo_pedido</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>funcao</string>
|
||||
</void>
|
||||
<void index="27">
|
||||
<string>gestorEmail</string>
|
||||
</void>
|
||||
<void index="28">
|
||||
<string>gestorNome</string>
|
||||
</void>
|
||||
<void index="29">
|
||||
<string>gestor_cc</string>
|
||||
</void>
|
||||
<void index="30">
|
||||
<string>itemCompra</string>
|
||||
</void>
|
||||
<void index="31">
|
||||
<string>itemCompraIndica</string>
|
||||
</void>
|
||||
<void index="32">
|
||||
<string>justificativa</string>
|
||||
</void>
|
||||
<void index="33">
|
||||
<string>justificativaDecisaoCompras</string>
|
||||
</void>
|
||||
<void index="34">
|
||||
<string>justificativaDecisaoGestor</string>
|
||||
</void>
|
||||
<void index="35">
|
||||
<string>justificativaDecisaoItens</string>
|
||||
</void>
|
||||
<void index="36">
|
||||
<string>justificativaValidaProblema</string>
|
||||
</void>
|
||||
<void index="37">
|
||||
<string>preco</string>
|
||||
</void>
|
||||
<void index="38">
|
||||
<string>precoIndica</string>
|
||||
</void>
|
||||
<void index="39">
|
||||
<string>quantidade</string>
|
||||
</void>
|
||||
<void index="40">
|
||||
<string>quantidadeIndica</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>urgente</string>
|
||||
</void>
|
||||
<void index="45">
|
||||
<string>userCotacaoGestor</string>
|
||||
</void>
|
||||
<void index="46">
|
||||
<string>userRealizacaoCompras</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>validarMotivo</string>
|
||||
</void>
|
||||
<void index="52">
|
||||
<string>valorTotalsemformat</string>
|
||||
</void>
|
||||
<void index="53">
|
||||
<string>WKNumProces</string>
|
||||
</void>
|
||||
</array>
|
||||
</void>
|
||||
<void method="put">
|
||||
<string>forms</string>
|
||||
<object class="java.util.LinkedList">
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>FLUIGADHOC</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>FLUIGADHOC</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>3</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>FLUIGADHOCPROCESS</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>FLUIGADHOCPROCESS</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>4</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>totvsflow_dataset_tipo_ocorrencia</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>totvsflow_dataset_tipo_ocorrencia</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>14</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>totvsflow_abertura_chamado</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>totvsflow_abertura_chamado</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>15</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>DSFormulariodeAberturadechamado</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Formulário de Abertura de chamado</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>20</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>Abertura_de_chamados</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Solicitação de abertura de chamados</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>21</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>DSvistoriadeServico</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>vistoriadeServico</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>24</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>DSFormulariodeReservadesala</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Formulário de Reserva de sala</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>34</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>totvsflow_dataset_centrocusto</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>totvsflow_dataset_centrocusto</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>103</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>totvsflow_dataset_cadastro_item</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>totvsflow_dataset_cadastro_item</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>104</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>totvsflow_dataset_estabelecimento</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>totvsflow_dataset_estabelecimento</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>105</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>totvsflow_solicitacao_compras</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>totvsflow_solicitacao_compras</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>165</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>aberturadechamado_manutencao</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>aberturadechamado_manutencao</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>400</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>Solicitacao_transferencia</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>Solicitacao_transferencia</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>590</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
<void method="add">
|
||||
<object class="com.totvs.technology.ecmrestclient.cardindexpublisher.FormVO">
|
||||
<void property="datasetName">
|
||||
<string>recrutamento</string>
|
||||
</void>
|
||||
<void property="documentDescription">
|
||||
<string>recrutamento</string>
|
||||
</void>
|
||||
<void property="documentId">
|
||||
<int>823</int>
|
||||
</void>
|
||||
</object>
|
||||
</void>
|
||||
</object>
|
||||
</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>
|
||||