2033 lines
80 KiB
XML
2033 lines
80 KiB
XML
<list>
|
|
<ProcessDefinition>
|
|
<processDefinitionPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
</processDefinitionPK>
|
|
<processDescription>Solicitação de compra - Ginseng</processDescription>
|
|
<instruction>Este flow permite abertura de solicitação de compras automatizadas, informando qual item será comprado e direcionado para as aprovações corretas.</instruction>
|
|
<active>true</active>
|
|
<publicProcess>false</publicProcess>
|
|
<volumeId>Default</volumeId>
|
|
<categoryId>Compras - Testes</categoryId>
|
|
<managerEngineAllocationId></managerEngineAllocationId>
|
|
<managerEngineAllocationConfiguration><AssignmentController><Group>TIC</Group></AssignmentController></managerEngineAllocationConfiguration>
|
|
<snapshotFrequency>0</snapshotFrequency>
|
|
<baseDay>0</baseDay>
|
|
<baseMonth>0</baseMonth>
|
|
<periodId>Default</periodId>
|
|
<uniqueCardVersion>false</uniqueCardVersion>
|
|
<keyWord></keyWord>
|
|
<complementsLevel>1</complementsLevel>
|
|
<notifyRequisitionerComplements>true</notifyRequisitionerComplements>
|
|
<notifyManagerComplements>false</notifyManagerComplements>
|
|
<deadlineTime>0</deadlineTime>
|
|
<warningDeadlineTime>0</warningDeadlineTime>
|
|
<notifyAuthorityComplements>true</notifyAuthorityComplements>
|
|
</ProcessDefinition>
|
|
<ProcessDefinitionVersion>
|
|
<processDefinitionVersionPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compra - Ginseng</processId>
|
|
<version>8</version>
|
|
</processDefinitionVersionPK>
|
|
<versionDescription></versionDescription>
|
|
<formId>9305</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>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>1</sequence>
|
|
</processStatePK>
|
|
<stateName>Solicitar compra</stateName>
|
|
<stateDescription>Solicitar compra</stateDescription>
|
|
<instruction>Inicio da atividade</instruction>
|
|
<deadlineTime>0</deadlineTime>
|
|
<joint>false</joint>
|
|
<agreementPercentage>0</agreementPercentage>
|
|
<engineAllocationId></engineAllocationId>
|
|
<engineAllocationConfiguration></engineAllocationConfiguration>
|
|
<selectColleague>1</selectColleague>
|
|
<initialState>true</initialState>
|
|
<notifyAuthorityDelay>false</notifyAuthorityDelay>
|
|
<notifyRequisitionerDelay>false</notifyRequisitionerDelay>
|
|
<allowanceAuthorityTime>0</allowanceAuthorityTime>
|
|
<frequenceAuthorityTime>0</frequenceAuthorityTime>
|
|
<allowanceRequisitionerTime>0</allowanceRequisitionerTime>
|
|
<frequenceRequisitionerTime>0</frequenceRequisitionerTime>
|
|
<transferAttachments>false</transferAttachments>
|
|
<subProcessId></subProcessId>
|
|
<formFolder>0</formFolder>
|
|
<notifyAuthorityFollowUp>true</notifyAuthorityFollowUp>
|
|
<notifyRequisitionerFollowUp>true</notifyRequisitionerFollowUp>
|
|
<automatic>false</automatic>
|
|
<positionX>100</positionX>
|
|
<positionY>30</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>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>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>18</sequence>
|
|
</processStatePK>
|
|
<stateName>Receber o produto/serviço</stateName>
|
|
<stateDescription>Receber o produto/serviço</stateDescription>
|
|
<instruction></instruction>
|
|
<deadlineTime>604800</deadlineTime>
|
|
<deadlineFieldName></deadlineFieldName>
|
|
<joint>false</joint>
|
|
<agreementPercentage>0</agreementPercentage>
|
|
<engineAllocationId>Executor Atividade</engineAllocationId>
|
|
<engineAllocationConfiguration><AssignmentController><BaseActivity>1</BaseActivity><Returns>Last</Returns></AssignmentController></engineAllocationConfiguration>
|
|
<selectColleague>1</selectColleague>
|
|
<initialState>false</initialState>
|
|
<notifyAuthorityDelay>false</notifyAuthorityDelay>
|
|
<notifyRequisitionerDelay>false</notifyRequisitionerDelay>
|
|
<allowanceAuthorityTime>0</allowanceAuthorityTime>
|
|
<frequenceAuthorityTime>0</frequenceAuthorityTime>
|
|
<allowanceRequisitionerTime>0</allowanceRequisitionerTime>
|
|
<frequenceRequisitionerTime>0</frequenceRequisitionerTime>
|
|
<transferAttachments>false</transferAttachments>
|
|
<subProcessId></subProcessId>
|
|
<formFolder>0</formFolder>
|
|
<notifyAuthorityFollowUp>true</notifyAuthorityFollowUp>
|
|
<notifyRequisitionerFollowUp>true</notifyRequisitionerFollowUp>
|
|
<automatic>false</automatic>
|
|
<positionX>1440</positionX>
|
|
<positionY>13</positionY>
|
|
<forecastedEffortType>0</forecastedEffortType>
|
|
<forecastedEffort>0</forecastedEffort>
|
|
<notifyManagerFollowUp>false</notifyManagerFollowUp>
|
|
<notifyManagerDelay>false</notifyManagerDelay>
|
|
<allowanceManagerTime>0</allowanceManagerTime>
|
|
<frequenceManagerTime>0</frequenceManagerTime>
|
|
<inhibitTransfer>false</inhibitTransfer>
|
|
<periodId></periodId>
|
|
<stateType>0</stateType>
|
|
<bpmnType>80</bpmnType>
|
|
<signalId>0</signalId>
|
|
<counterSign>false</counterSign>
|
|
<openInstances>0</openInstances>
|
|
<noticeExpirationAuthorityTime>0</noticeExpirationAuthorityTime>
|
|
<noticeExpirationRequisitionerTime>0</noticeExpirationRequisitionerTime>
|
|
<noticeExpirationManagerTime>0</noticeExpirationManagerTime>
|
|
<destinationStates/>
|
|
<digitalSignature>false</digitalSignature>
|
|
<executionType>0</executionType>
|
|
</ProcessState>
|
|
<ProcessState>
|
|
<processStatePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>24</sequence>
|
|
</processStatePK>
|
|
<stateName>Verificar problema</stateName>
|
|
<stateDescription>Verificar problema</stateDescription>
|
|
<instruction></instruction>
|
|
<deadlineTime>172800</deadlineTime>
|
|
<deadlineFieldName></deadlineFieldName>
|
|
<joint>false</joint>
|
|
<agreementPercentage>0</agreementPercentage>
|
|
<engineAllocationId>Pool Grupo</engineAllocationId>
|
|
<engineAllocationConfiguration><AssignmentController><Group>ComprasIndiretos</Group></AssignmentController></engineAllocationConfiguration>
|
|
<selectColleague>1</selectColleague>
|
|
<initialState>false</initialState>
|
|
<notifyAuthorityDelay>false</notifyAuthorityDelay>
|
|
<notifyRequisitionerDelay>false</notifyRequisitionerDelay>
|
|
<allowanceAuthorityTime>0</allowanceAuthorityTime>
|
|
<frequenceAuthorityTime>0</frequenceAuthorityTime>
|
|
<allowanceRequisitionerTime>0</allowanceRequisitionerTime>
|
|
<frequenceRequisitionerTime>0</frequenceRequisitionerTime>
|
|
<transferAttachments>false</transferAttachments>
|
|
<subProcessId></subProcessId>
|
|
<formFolder>0</formFolder>
|
|
<notifyAuthorityFollowUp>true</notifyAuthorityFollowUp>
|
|
<notifyRequisitionerFollowUp>true</notifyRequisitionerFollowUp>
|
|
<automatic>false</automatic>
|
|
<positionX>1560</positionX>
|
|
<positionY>415</positionY>
|
|
<forecastedEffortType>0</forecastedEffortType>
|
|
<forecastedEffort>0</forecastedEffort>
|
|
<notifyManagerFollowUp>false</notifyManagerFollowUp>
|
|
<notifyManagerDelay>false</notifyManagerDelay>
|
|
<allowanceManagerTime>0</allowanceManagerTime>
|
|
<frequenceManagerTime>0</frequenceManagerTime>
|
|
<inhibitTransfer>false</inhibitTransfer>
|
|
<periodId></periodId>
|
|
<stateType>0</stateType>
|
|
<bpmnType>80</bpmnType>
|
|
<signalId>0</signalId>
|
|
<counterSign>false</counterSign>
|
|
<openInstances>0</openInstances>
|
|
<noticeExpirationAuthorityTime>0</noticeExpirationAuthorityTime>
|
|
<noticeExpirationRequisitionerTime>0</noticeExpirationRequisitionerTime>
|
|
<noticeExpirationManagerTime>0</noticeExpirationManagerTime>
|
|
<destinationStates/>
|
|
<digitalSignature>false</digitalSignature>
|
|
<executionType>0</executionType>
|
|
</ProcessState>
|
|
<ProcessState>
|
|
<processStatePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>73</sequence>
|
|
</processStatePK>
|
|
<stateName>Tratar erro</stateName>
|
|
<stateDescription>Tratar erro</stateDescription>
|
|
<instruction></instruction>
|
|
<deadlineTime>0</deadlineTime>
|
|
<deadlineFieldName></deadlineFieldName>
|
|
<joint>false</joint>
|
|
<agreementPercentage>0</agreementPercentage>
|
|
<engineAllocationId>Pool Grupo</engineAllocationId>
|
|
<engineAllocationConfiguration><AssignmentController><Group>TIC</Group></AssignmentController></engineAllocationConfiguration>
|
|
<selectColleague>1</selectColleague>
|
|
<initialState>false</initialState>
|
|
<notifyAuthorityDelay>true</notifyAuthorityDelay>
|
|
<notifyRequisitionerDelay>false</notifyRequisitionerDelay>
|
|
<allowanceAuthorityTime>3600</allowanceAuthorityTime>
|
|
<frequenceAuthorityTime>3600</frequenceAuthorityTime>
|
|
<allowanceRequisitionerTime>0</allowanceRequisitionerTime>
|
|
<frequenceRequisitionerTime>0</frequenceRequisitionerTime>
|
|
<transferAttachments>false</transferAttachments>
|
|
<subProcessId></subProcessId>
|
|
<formFolder>0</formFolder>
|
|
<notifyAuthorityFollowUp>true</notifyAuthorityFollowUp>
|
|
<notifyRequisitionerFollowUp>false</notifyRequisitionerFollowUp>
|
|
<automatic>false</automatic>
|
|
<positionX>970</positionX>
|
|
<positionY>640</positionY>
|
|
<forecastedEffortType>0</forecastedEffortType>
|
|
<forecastedEffort>0</forecastedEffort>
|
|
<notifyManagerFollowUp>false</notifyManagerFollowUp>
|
|
<notifyManagerDelay>false</notifyManagerDelay>
|
|
<allowanceManagerTime>0</allowanceManagerTime>
|
|
<frequenceManagerTime>0</frequenceManagerTime>
|
|
<inhibitTransfer>false</inhibitTransfer>
|
|
<periodId></periodId>
|
|
<stateType>0</stateType>
|
|
<bpmnType>80</bpmnType>
|
|
<signalId>0</signalId>
|
|
<counterSign>false</counterSign>
|
|
<openInstances>0</openInstances>
|
|
<noticeExpirationAuthorityTime>0</noticeExpirationAuthorityTime>
|
|
<noticeExpirationRequisitionerTime>0</noticeExpirationRequisitionerTime>
|
|
<noticeExpirationManagerTime>0</noticeExpirationManagerTime>
|
|
<destinationStates/>
|
|
<digitalSignature>false</digitalSignature>
|
|
<executionType>0</executionType>
|
|
</ProcessState>
|
|
<ProcessState>
|
|
<processStatePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>82</sequence>
|
|
</processStatePK>
|
|
<stateName>Enviar SC</stateName>
|
|
<stateDescription>Enviar SC</stateDescription>
|
|
<instruction></instruction>
|
|
<deadlineTime>0</deadlineTime>
|
|
<deadlineFieldName></deadlineFieldName>
|
|
<joint>false</joint>
|
|
<agreementPercentage>0</agreementPercentage>
|
|
<selectColleague>1</selectColleague>
|
|
<initialState>false</initialState>
|
|
<notifyAuthorityDelay>false</notifyAuthorityDelay>
|
|
<notifyRequisitionerDelay>false</notifyRequisitionerDelay>
|
|
<allowanceAuthorityTime>0</allowanceAuthorityTime>
|
|
<frequenceAuthorityTime>0</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>560</positionX>
|
|
<positionY>632</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>82</bpmnType>
|
|
<signalId>0</signalId>
|
|
<counterSign>false</counterSign>
|
|
<openInstances>0</openInstances>
|
|
<noticeExpirationAuthorityTime>0</noticeExpirationAuthorityTime>
|
|
<noticeExpirationRequisitionerTime>0</noticeExpirationRequisitionerTime>
|
|
<noticeExpirationManagerTime>0</noticeExpirationManagerTime>
|
|
<destinationStates/>
|
|
<digitalSignature>false</digitalSignature>
|
|
<executionType>1</executionType>
|
|
</ProcessState>
|
|
<ProcessState>
|
|
<processStatePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>105</sequence>
|
|
</processStatePK>
|
|
<stateName>Selecionar cotação</stateName>
|
|
<stateDescription>Selecionar cotação</stateDescription>
|
|
<instruction></instruction>
|
|
<deadlineTime>0</deadlineTime>
|
|
<deadlineFieldName></deadlineFieldName>
|
|
<joint>false</joint>
|
|
<agreementPercentage>0</agreementPercentage>
|
|
<engineAllocationId>Executor Atividade</engineAllocationId>
|
|
<engineAllocationConfiguration><AssignmentController><BaseActivity>1</BaseActivity><Returns>Last</Returns></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>620</positionX>
|
|
<positionY>21</positionY>
|
|
<forecastedEffortType>0</forecastedEffortType>
|
|
<forecastedEffort>0</forecastedEffort>
|
|
<notifyManagerFollowUp>false</notifyManagerFollowUp>
|
|
<notifyManagerDelay>false</notifyManagerDelay>
|
|
<allowanceManagerTime>0</allowanceManagerTime>
|
|
<frequenceManagerTime>0</frequenceManagerTime>
|
|
<inhibitTransfer>false</inhibitTransfer>
|
|
<periodId></periodId>
|
|
<stateType>0</stateType>
|
|
<bpmnType>80</bpmnType>
|
|
<signalId>0</signalId>
|
|
<counterSign>false</counterSign>
|
|
<openInstances>0</openInstances>
|
|
<noticeExpirationAuthorityTime>0</noticeExpirationAuthorityTime>
|
|
<noticeExpirationRequisitionerTime>0</noticeExpirationRequisitionerTime>
|
|
<noticeExpirationManagerTime>0</noticeExpirationManagerTime>
|
|
<destinationStates/>
|
|
<digitalSignature>false</digitalSignature>
|
|
<executionType>0</executionType>
|
|
</ProcessState>
|
|
<ProcessState>
|
|
<processStatePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>114</sequence>
|
|
</processStatePK>
|
|
<stateName>Integrador Cotação</stateName>
|
|
<stateDescription>Integrador Cotação</stateDescription>
|
|
<instruction></instruction>
|
|
<deadlineTime>0</deadlineTime>
|
|
<deadlineFieldName></deadlineFieldName>
|
|
<joint>false</joint>
|
|
<agreementPercentage>0</agreementPercentage>
|
|
<engineAllocationId></engineAllocationId>
|
|
<selectColleague>1</selectColleague>
|
|
<initialState>false</initialState>
|
|
<notifyAuthorityDelay>false</notifyAuthorityDelay>
|
|
<notifyRequisitionerDelay>false</notifyRequisitionerDelay>
|
|
<allowanceAuthorityTime>0</allowanceAuthorityTime>
|
|
<frequenceAuthorityTime>0</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>560</positionX>
|
|
<positionY>225</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>82</bpmnType>
|
|
<signalId>0</signalId>
|
|
<counterSign>false</counterSign>
|
|
<openInstances>0</openInstances>
|
|
<noticeExpirationAuthorityTime>0</noticeExpirationAuthorityTime>
|
|
<noticeExpirationRequisitionerTime>0</noticeExpirationRequisitionerTime>
|
|
<noticeExpirationManagerTime>0</noticeExpirationManagerTime>
|
|
<destinationStates/>
|
|
<digitalSignature>false</digitalSignature>
|
|
<executionType>1</executionType>
|
|
</ProcessState>
|
|
<ProcessState>
|
|
<processStatePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>118</sequence>
|
|
</processStatePK>
|
|
<stateName>Cotação fora do prazo</stateName>
|
|
<stateDescription>Cotação fora do prazo</stateDescription>
|
|
<instruction></instruction>
|
|
<deadlineTime>0</deadlineTime>
|
|
<deadlineFieldName></deadlineFieldName>
|
|
<joint>false</joint>
|
|
<agreementPercentage>0</agreementPercentage>
|
|
<engineAllocationId>Pool Grupo</engineAllocationId>
|
|
<engineAllocationConfiguration><AssignmentController><Group>ComprasIndiretos</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>640</positionX>
|
|
<positionY>327</positionY>
|
|
<forecastedEffortType>0</forecastedEffortType>
|
|
<forecastedEffort>0</forecastedEffort>
|
|
<notifyManagerFollowUp>false</notifyManagerFollowUp>
|
|
<notifyManagerDelay>false</notifyManagerDelay>
|
|
<allowanceManagerTime>0</allowanceManagerTime>
|
|
<frequenceManagerTime>0</frequenceManagerTime>
|
|
<inhibitTransfer>false</inhibitTransfer>
|
|
<periodId></periodId>
|
|
<stateType>0</stateType>
|
|
<bpmnType>80</bpmnType>
|
|
<signalId>0</signalId>
|
|
<counterSign>false</counterSign>
|
|
<openInstances>0</openInstances>
|
|
<noticeExpirationAuthorityTime>0</noticeExpirationAuthorityTime>
|
|
<noticeExpirationRequisitionerTime>0</noticeExpirationRequisitionerTime>
|
|
<noticeExpirationManagerTime>0</noticeExpirationManagerTime>
|
|
<destinationStates/>
|
|
<digitalSignature>false</digitalSignature>
|
|
<executionType>0</executionType>
|
|
</ProcessState>
|
|
<ProcessState>
|
|
<processStatePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>121</sequence>
|
|
</processStatePK>
|
|
<stateName>Analisar necessidade de compra</stateName>
|
|
<stateDescription>Analisar necessidade de compra</stateDescription>
|
|
<instruction></instruction>
|
|
<deadlineTime>0</deadlineTime>
|
|
<deadlineFieldName></deadlineFieldName>
|
|
<joint>false</joint>
|
|
<agreementPercentage>0</agreementPercentage>
|
|
<engineAllocationId>Campo Formulário</engineAllocationId>
|
|
<engineAllocationConfiguration><AssignmentController><FormField>gestor_cc</FormField></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>460</positionX>
|
|
<positionY>100</positionY>
|
|
<forecastedEffortType>0</forecastedEffortType>
|
|
<forecastedEffort>0</forecastedEffort>
|
|
<notifyManagerFollowUp>false</notifyManagerFollowUp>
|
|
<notifyManagerDelay>false</notifyManagerDelay>
|
|
<allowanceManagerTime>0</allowanceManagerTime>
|
|
<frequenceManagerTime>0</frequenceManagerTime>
|
|
<inhibitTransfer>false</inhibitTransfer>
|
|
<periodId></periodId>
|
|
<stateType>0</stateType>
|
|
<bpmnType>80</bpmnType>
|
|
<signalId>0</signalId>
|
|
<counterSign>false</counterSign>
|
|
<openInstances>0</openInstances>
|
|
<noticeExpirationAuthorityTime>0</noticeExpirationAuthorityTime>
|
|
<noticeExpirationRequisitionerTime>0</noticeExpirationRequisitionerTime>
|
|
<noticeExpirationManagerTime>0</noticeExpirationManagerTime>
|
|
<destinationStates/>
|
|
<digitalSignature>false</digitalSignature>
|
|
<executionType>0</executionType>
|
|
</ProcessState>
|
|
<ProcessState>
|
|
<processStatePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>133</sequence>
|
|
</processStatePK>
|
|
<stateName>Aprovação Centro de custo</stateName>
|
|
<stateDescription>Aprovação Centro de custo</stateDescription>
|
|
<instruction></instruction>
|
|
<deadlineTime>0</deadlineTime>
|
|
<deadlineFieldName></deadlineFieldName>
|
|
<joint>false</joint>
|
|
<agreementPercentage>0</agreementPercentage>
|
|
<engineAllocationId>Campo Formulário</engineAllocationId>
|
|
<engineAllocationConfiguration><AssignmentController><FormField>gestor_cc</FormField></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>910</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></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>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>137</sequence>
|
|
</processStatePK>
|
|
<stateName>Aprovação Compras</stateName>
|
|
<stateDescription>Aprovação Compras</stateDescription>
|
|
<instruction></instruction>
|
|
<deadlineTime>0</deadlineTime>
|
|
<deadlineFieldName></deadlineFieldName>
|
|
<joint>false</joint>
|
|
<agreementPercentage>0</agreementPercentage>
|
|
<engineAllocationId></engineAllocationId>
|
|
<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>800</positionX>
|
|
<positionY>225</positionY>
|
|
<forecastedEffortType>0</forecastedEffortType>
|
|
<forecastedEffort>0</forecastedEffort>
|
|
<notifyManagerFollowUp>false</notifyManagerFollowUp>
|
|
<notifyManagerDelay>false</notifyManagerDelay>
|
|
<allowanceManagerTime>0</allowanceManagerTime>
|
|
<frequenceManagerTime>0</frequenceManagerTime>
|
|
<inhibitTransfer>false</inhibitTransfer>
|
|
<periodId></periodId>
|
|
<stateType>0</stateType>
|
|
<bpmnType>80</bpmnType>
|
|
<signalId>0</signalId>
|
|
<counterSign>false</counterSign>
|
|
<openInstances>0</openInstances>
|
|
<noticeExpirationAuthorityTime>0</noticeExpirationAuthorityTime>
|
|
<noticeExpirationRequisitionerTime>0</noticeExpirationRequisitionerTime>
|
|
<noticeExpirationManagerTime>0</noticeExpirationManagerTime>
|
|
<destinationStates/>
|
|
<digitalSignature>false</digitalSignature>
|
|
<executionType>0</executionType>
|
|
</ProcessState>
|
|
<ProcessState>
|
|
<processStatePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>147</sequence>
|
|
</processStatePK>
|
|
<stateName>Aprovação GERF</stateName>
|
|
<stateDescription>Aprovação GERF</stateDescription>
|
|
<instruction></instruction>
|
|
<deadlineTime>0</deadlineTime>
|
|
<deadlineFieldName></deadlineFieldName>
|
|
<joint>false</joint>
|
|
<agreementPercentage>0</agreementPercentage>
|
|
<engineAllocationId></engineAllocationId>
|
|
<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>1060</positionX>
|
|
<positionY>429</positionY>
|
|
<forecastedEffortType>0</forecastedEffortType>
|
|
<forecastedEffort>0</forecastedEffort>
|
|
<notifyManagerFollowUp>false</notifyManagerFollowUp>
|
|
<notifyManagerDelay>false</notifyManagerDelay>
|
|
<allowanceManagerTime>0</allowanceManagerTime>
|
|
<frequenceManagerTime>0</frequenceManagerTime>
|
|
<inhibitTransfer>false</inhibitTransfer>
|
|
<periodId></periodId>
|
|
<stateType>0</stateType>
|
|
<bpmnType>80</bpmnType>
|
|
<signalId>0</signalId>
|
|
<counterSign>false</counterSign>
|
|
<openInstances>0</openInstances>
|
|
<noticeExpirationAuthorityTime>0</noticeExpirationAuthorityTime>
|
|
<noticeExpirationRequisitionerTime>0</noticeExpirationRequisitionerTime>
|
|
<noticeExpirationManagerTime>0</noticeExpirationManagerTime>
|
|
<destinationStates/>
|
|
<digitalSignature>false</digitalSignature>
|
|
<executionType>0</executionType>
|
|
</ProcessState>
|
|
<ProcessState>
|
|
<processStatePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>158</sequence>
|
|
</processStatePK>
|
|
<stateName>Aprovação CEO</stateName>
|
|
<stateDescription>Aprovação CEO</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>1340</positionX>
|
|
<positionY>520</positionY>
|
|
<forecastedEffortType>0</forecastedEffortType>
|
|
<forecastedEffort>0</forecastedEffort>
|
|
<notifyManagerFollowUp>false</notifyManagerFollowUp>
|
|
<notifyManagerDelay>false</notifyManagerDelay>
|
|
<allowanceManagerTime>0</allowanceManagerTime>
|
|
<frequenceManagerTime>0</frequenceManagerTime>
|
|
<inhibitTransfer>false</inhibitTransfer>
|
|
<periodId></periodId>
|
|
<stateType>0</stateType>
|
|
<bpmnType>80</bpmnType>
|
|
<signalId>0</signalId>
|
|
<counterSign>false</counterSign>
|
|
<openInstances>0</openInstances>
|
|
<noticeExpirationAuthorityTime>0</noticeExpirationAuthorityTime>
|
|
<noticeExpirationRequisitionerTime>0</noticeExpirationRequisitionerTime>
|
|
<noticeExpirationManagerTime>0</noticeExpirationManagerTime>
|
|
<destinationStates/>
|
|
<digitalSignature>false</digitalSignature>
|
|
<executionType>0</executionType>
|
|
</ProcessState>
|
|
<ProcessState>
|
|
<processStatePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>85</sequence>
|
|
</processStatePK>
|
|
<stateName>Intermediário</stateName>
|
|
<stateDescription>Intermediário</stateDescription>
|
|
<instruction>Evento intermediário 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>1</allowanceAuthorityTime>
|
|
<frequenceAuthorityTime>1</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>630</positionX>
|
|
<positionY>662</positionY>
|
|
<forecastedEffortType>0</forecastedEffortType>
|
|
<forecastedEffort>0</forecastedEffort>
|
|
<notifyManagerFollowUp>false</notifyManagerFollowUp>
|
|
<notifyManagerDelay>false</notifyManagerDelay>
|
|
<frequenceManagerTime>0</frequenceManagerTime>
|
|
<inhibitTransfer>false</inhibitTransfer>
|
|
<periodId></periodId>
|
|
<stateType>0</stateType>
|
|
<bpmnType>43</bpmnType>
|
|
<signalId>0</signalId>
|
|
<counterSign>false</counterSign>
|
|
<openInstances>0</openInstances>
|
|
<destinationStates/>
|
|
<digitalSignature>false</digitalSignature>
|
|
<parentSequence>82</parentSequence>
|
|
</ProcessState>
|
|
<ProcessState>
|
|
<processStatePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>117</sequence>
|
|
</processStatePK>
|
|
<stateName>Intermediário</stateName>
|
|
<stateDescription>Intermediário</stateDescription>
|
|
<instruction>Evento intermediário 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>1</allowanceAuthorityTime>
|
|
<frequenceAuthorityTime>1</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>630</positionX>
|
|
<positionY>265</positionY>
|
|
<forecastedEffortType>0</forecastedEffortType>
|
|
<forecastedEffort>0</forecastedEffort>
|
|
<notifyManagerFollowUp>false</notifyManagerFollowUp>
|
|
<notifyManagerDelay>false</notifyManagerDelay>
|
|
<frequenceManagerTime>0</frequenceManagerTime>
|
|
<inhibitTransfer>false</inhibitTransfer>
|
|
<periodId></periodId>
|
|
<stateType>0</stateType>
|
|
<bpmnType>43</bpmnType>
|
|
<signalId>0</signalId>
|
|
<counterSign>false</counterSign>
|
|
<openInstances>0</openInstances>
|
|
<destinationStates/>
|
|
<digitalSignature>false</digitalSignature>
|
|
<parentSequence>114</parentSequence>
|
|
</ProcessState>
|
|
<ProcessState>
|
|
<processStatePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>46</sequence>
|
|
</processStatePK>
|
|
<stateName>Validar compra</stateName>
|
|
<stateDescription>Validar compra</stateDescription>
|
|
<joint>false</joint>
|
|
<initialState>false</initialState>
|
|
<transferAttachments>false</transferAttachments>
|
|
<subProcessId></subProcessId>
|
|
<formFolder>0</formFolder>
|
|
<automatic>true</automatic>
|
|
<positionX>1580</positionX>
|
|
<positionY>5</positionY>
|
|
<inhibitTransfer>false</inhibitTransfer>
|
|
<stateType>1</stateType>
|
|
<bpmnType>120</bpmnType>
|
|
<signalId>0</signalId>
|
|
<openInstances>0</openInstances>
|
|
<destinationStates/>
|
|
<digitalSignature>false</digitalSignature>
|
|
</ProcessState>
|
|
<ProcessState>
|
|
<processStatePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>128</sequence>
|
|
</processStatePK>
|
|
<stateName>Alçada </stateName>
|
|
<stateDescription>Alçada </stateDescription>
|
|
<joint>false</joint>
|
|
<initialState>false</initialState>
|
|
<transferAttachments>false</transferAttachments>
|
|
<subProcessId></subProcessId>
|
|
<formFolder>0</formFolder>
|
|
<automatic>true</automatic>
|
|
<positionX>710</positionX>
|
|
<positionY>217</positionY>
|
|
<inhibitTransfer>false</inhibitTransfer>
|
|
<stateType>1</stateType>
|
|
<bpmnType>120</bpmnType>
|
|
<signalId>0</signalId>
|
|
<openInstances>0</openInstances>
|
|
<destinationStates/>
|
|
<digitalSignature>false</digitalSignature>
|
|
</ProcessState>
|
|
<ProcessState>
|
|
<processStatePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>150</sequence>
|
|
</processStatePK>
|
|
<stateName>Valor N1</stateName>
|
|
<stateDescription>Valor N1</stateDescription>
|
|
<joint>false</joint>
|
|
<initialState>false</initialState>
|
|
<transferAttachments>false</transferAttachments>
|
|
<subProcessId></subProcessId>
|
|
<formFolder>0</formFolder>
|
|
<automatic>true</automatic>
|
|
<positionX>1090</positionX>
|
|
<positionY>100</positionY>
|
|
<inhibitTransfer>false</inhibitTransfer>
|
|
<stateType>1</stateType>
|
|
<bpmnType>120</bpmnType>
|
|
<signalId>0</signalId>
|
|
<openInstances>0</openInstances>
|
|
<destinationStates/>
|
|
<digitalSignature>false</digitalSignature>
|
|
</ProcessState>
|
|
<ProcessState>
|
|
<processStatePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>154</sequence>
|
|
</processStatePK>
|
|
<stateName>Valor N2</stateName>
|
|
<stateDescription>Valor N2</stateDescription>
|
|
<joint>false</joint>
|
|
<initialState>false</initialState>
|
|
<transferAttachments>false</transferAttachments>
|
|
<subProcessId></subProcessId>
|
|
<formFolder>0</formFolder>
|
|
<automatic>true</automatic>
|
|
<positionX>1220</positionX>
|
|
<positionY>230</positionY>
|
|
<inhibitTransfer>false</inhibitTransfer>
|
|
<stateType>1</stateType>
|
|
<bpmnType>120</bpmnType>
|
|
<signalId>0</signalId>
|
|
<openInstances>0</openInstances>
|
|
<destinationStates/>
|
|
<digitalSignature>false</digitalSignature>
|
|
</ProcessState>
|
|
<ProcessState>
|
|
<processStatePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>39</sequence>
|
|
</processStatePK>
|
|
<stateName>Cancelado</stateName>
|
|
<stateDescription>Cancelado</stateDescription>
|
|
<instruction>Atividade final do processo</instruction>
|
|
<deadlineTime>0</deadlineTime>
|
|
<joint>false</joint>
|
|
<agreementPercentage>0</agreementPercentage>
|
|
<engineAllocationId></engineAllocationId>
|
|
<engineAllocationConfiguration></engineAllocationConfiguration>
|
|
<selectColleague>0</selectColleague>
|
|
<initialState>false</initialState>
|
|
<notifyAuthorityDelay>true</notifyAuthorityDelay>
|
|
<notifyRequisitionerDelay>false</notifyRequisitionerDelay>
|
|
<allowanceAuthorityTime>0</allowanceAuthorityTime>
|
|
<frequenceAuthorityTime>1</frequenceAuthorityTime>
|
|
<allowanceRequisitionerTime>0</allowanceRequisitionerTime>
|
|
<frequenceRequisitionerTime>0</frequenceRequisitionerTime>
|
|
<transferAttachments>false</transferAttachments>
|
|
<subProcessId></subProcessId>
|
|
<formFolder>0</formFolder>
|
|
<notifyAuthorityFollowUp>false</notifyAuthorityFollowUp>
|
|
<notifyRequisitionerFollowUp>true</notifyRequisitionerFollowUp>
|
|
<automatic>false</automatic>
|
|
<positionX>360</positionX>
|
|
<positionY>126</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>65</bpmnType>
|
|
<signalId>0</signalId>
|
|
<counterSign>false</counterSign>
|
|
<openInstances>0</openInstances>
|
|
<destinationStates/>
|
|
<digitalSignature>false</digitalSignature>
|
|
</ProcessState>
|
|
<ProcessState>
|
|
<processStatePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>52</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>1670</positionX>
|
|
<positionY>41</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>
|
|
<ConditionProcessState>
|
|
<conditionProcessStatePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<expressionOrder>1</expressionOrder>
|
|
<version>8</version>
|
|
<sequence>46</sequence>
|
|
</conditionProcessStatePK>
|
|
<condition>hAPI.getCardValue("validacaoItens") == "entregue"</condition>
|
|
<destinationSequenceId>52</destinationSequenceId>
|
|
<conditionType>0</conditionType>
|
|
</ConditionProcessState>
|
|
<ConditionProcessState>
|
|
<conditionProcessStatePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<expressionOrder>2</expressionOrder>
|
|
<version>8</version>
|
|
<sequence>46</sequence>
|
|
</conditionProcessStatePK>
|
|
<condition>true</condition>
|
|
<destinationSequenceId>24</destinationSequenceId>
|
|
<conditionType>0</conditionType>
|
|
</ConditionProcessState>
|
|
<ConditionProcessState>
|
|
<conditionProcessStatePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<expressionOrder>1</expressionOrder>
|
|
<version>8</version>
|
|
<sequence>128</sequence>
|
|
</conditionProcessStatePK>
|
|
<condition>parseFloat(hAPI.getCardValue("valorTotalCotacao")) <= 100000.00</condition>
|
|
<destinationSequenceId>137</destinationSequenceId>
|
|
<engineAllocationConfiguration><AssignmentController><User>001142</User></AssignmentController></engineAllocationConfiguration>
|
|
<engineAllocationId>Usuário</engineAllocationId>
|
|
<conditionType>0</conditionType>
|
|
</ConditionProcessState>
|
|
<ConditionProcessState>
|
|
<conditionProcessStatePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<expressionOrder>1</expressionOrder>
|
|
<version>8</version>
|
|
<sequence>150</sequence>
|
|
</conditionProcessStatePK>
|
|
<condition>parseFloat(hAPI.getCardValue("valorTotalCotacao")) >= 5001.00 && 
|
|
parseFloat(hAPI.getCardValue("valorTotalCotacao")) <= 50000.00
|
|
</condition>
|
|
<destinationSequenceId>147</destinationSequenceId>
|
|
<engineAllocationConfiguration><AssignmentController><User>AriNascimento</User></AssignmentController></engineAllocationConfiguration>
|
|
<engineAllocationId>Usuário</engineAllocationId>
|
|
<conditionType>0</conditionType>
|
|
</ConditionProcessState>
|
|
<ConditionProcessState>
|
|
<conditionProcessStatePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<expressionOrder>2</expressionOrder>
|
|
<version>8</version>
|
|
<sequence>150</sequence>
|
|
</conditionProcessStatePK>
|
|
<condition>true</condition>
|
|
<destinationSequenceId>18</destinationSequenceId>
|
|
<engineAllocationConfiguration><AssignmentController><User>andrey.cunha</User></AssignmentController></engineAllocationConfiguration>
|
|
<engineAllocationId>Usuário</engineAllocationId>
|
|
<conditionType>0</conditionType>
|
|
</ConditionProcessState>
|
|
<ConditionProcessState>
|
|
<conditionProcessStatePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<expressionOrder>1</expressionOrder>
|
|
<version>8</version>
|
|
<sequence>154</sequence>
|
|
</conditionProcessStatePK>
|
|
<condition>parseFloat(hAPI.getCardValue("valorTotalCotacao")) > 50000.00</condition>
|
|
<destinationSequenceId>158</destinationSequenceId>
|
|
<engineAllocationConfiguration><AssignmentController><User>900010</User></AssignmentController></engineAllocationConfiguration>
|
|
<engineAllocationId>Usuário</engineAllocationId>
|
|
<conditionType>0</conditionType>
|
|
</ConditionProcessState>
|
|
<ConditionProcessState>
|
|
<conditionProcessStatePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<expressionOrder>2</expressionOrder>
|
|
<version>8</version>
|
|
<sequence>154</sequence>
|
|
</conditionProcessStatePK>
|
|
<condition>parseFloat(hAPI.getCardValue("valorTotalCotacao")) < 50000.00</condition>
|
|
<destinationSequenceId>18</destinationSequenceId>
|
|
<engineAllocationConfiguration><AssignmentController><BaseActivity>1</BaseActivity><Returns>Last</Returns></AssignmentController></engineAllocationConfiguration>
|
|
<engineAllocationId>Executor Atividade</engineAllocationId>
|
|
<conditionType>0</conditionType>
|
|
</ConditionProcessState>
|
|
</list>
|
|
<list>
|
|
<ProcessLink>
|
|
<processLinkPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<linkSequence>26</linkSequence>
|
|
</processLinkPK>
|
|
<actionLabel></actionLabel>
|
|
<returnPermited>false</returnPermited>
|
|
<initialStateSequence>24</initialStateSequence>
|
|
<finalStateSequence>18</finalStateSequence>
|
|
<returnLabel></returnLabel>
|
|
<name></name>
|
|
<automaticLink>false</automaticLink>
|
|
<defaultLink>false</defaultLink>
|
|
<type>0</type>
|
|
</ProcessLink>
|
|
<ProcessLink>
|
|
<processLinkPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<linkSequence>47</linkSequence>
|
|
</processLinkPK>
|
|
<actionLabel></actionLabel>
|
|
<returnPermited>false</returnPermited>
|
|
<initialStateSequence>18</initialStateSequence>
|
|
<finalStateSequence>46</finalStateSequence>
|
|
<returnLabel></returnLabel>
|
|
<name></name>
|
|
<automaticLink>false</automaticLink>
|
|
<defaultLink>false</defaultLink>
|
|
<type>0</type>
|
|
</ProcessLink>
|
|
<ProcessLink>
|
|
<processLinkPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<linkSequence>48</linkSequence>
|
|
</processLinkPK>
|
|
<actionLabel></actionLabel>
|
|
<returnPermited>false</returnPermited>
|
|
<initialStateSequence>46</initialStateSequence>
|
|
<finalStateSequence>24</finalStateSequence>
|
|
<returnLabel></returnLabel>
|
|
<name>Reprovar</name>
|
|
<automaticLink>false</automaticLink>
|
|
<defaultLink>false</defaultLink>
|
|
<type>0</type>
|
|
</ProcessLink>
|
|
<ProcessLink>
|
|
<processLinkPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<linkSequence>78</linkSequence>
|
|
</processLinkPK>
|
|
<actionLabel></actionLabel>
|
|
<returnPermited>false</returnPermited>
|
|
<initialStateSequence>46</initialStateSequence>
|
|
<finalStateSequence>52</finalStateSequence>
|
|
<returnLabel></returnLabel>
|
|
<name></name>
|
|
<automaticLink>false</automaticLink>
|
|
<defaultLink>false</defaultLink>
|
|
<type>0</type>
|
|
</ProcessLink>
|
|
<ProcessLink>
|
|
<processLinkPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<linkSequence>86</linkSequence>
|
|
</processLinkPK>
|
|
<actionLabel></actionLabel>
|
|
<returnPermited>false</returnPermited>
|
|
<initialStateSequence>85</initialStateSequence>
|
|
<finalStateSequence>73</finalStateSequence>
|
|
<returnLabel></returnLabel>
|
|
<name></name>
|
|
<automaticLink>false</automaticLink>
|
|
<defaultLink>false</defaultLink>
|
|
<type>0</type>
|
|
</ProcessLink>
|
|
<ProcessLink>
|
|
<processLinkPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<linkSequence>88</linkSequence>
|
|
</processLinkPK>
|
|
<actionLabel></actionLabel>
|
|
<returnPermited>false</returnPermited>
|
|
<initialStateSequence>73</initialStateSequence>
|
|
<finalStateSequence>82</finalStateSequence>
|
|
<returnLabel></returnLabel>
|
|
<name></name>
|
|
<automaticLink>false</automaticLink>
|
|
<defaultLink>false</defaultLink>
|
|
<type>0</type>
|
|
</ProcessLink>
|
|
<ProcessLink>
|
|
<processLinkPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<linkSequence>97</linkSequence>
|
|
</processLinkPK>
|
|
<actionLabel></actionLabel>
|
|
<returnPermited>false</returnPermited>
|
|
<finalStateSequence>73</finalStateSequence>
|
|
<returnLabel></returnLabel>
|
|
<name></name>
|
|
<automaticLink>false</automaticLink>
|
|
<defaultLink>false</defaultLink>
|
|
<type>0</type>
|
|
</ProcessLink>
|
|
<ProcessLink>
|
|
<processLinkPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<linkSequence>119</linkSequence>
|
|
</processLinkPK>
|
|
<actionLabel></actionLabel>
|
|
<returnPermited>false</returnPermited>
|
|
<initialStateSequence>117</initialStateSequence>
|
|
<finalStateSequence>118</finalStateSequence>
|
|
<returnLabel></returnLabel>
|
|
<name></name>
|
|
<automaticLink>false</automaticLink>
|
|
<defaultLink>false</defaultLink>
|
|
<type>0</type>
|
|
</ProcessLink>
|
|
<ProcessLink>
|
|
<processLinkPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<linkSequence>120</linkSequence>
|
|
</processLinkPK>
|
|
<actionLabel></actionLabel>
|
|
<returnPermited>false</returnPermited>
|
|
<initialStateSequence>118</initialStateSequence>
|
|
<finalStateSequence>114</finalStateSequence>
|
|
<returnLabel></returnLabel>
|
|
<name></name>
|
|
<automaticLink>false</automaticLink>
|
|
<defaultLink>false</defaultLink>
|
|
<type>0</type>
|
|
</ProcessLink>
|
|
<ProcessLink>
|
|
<processLinkPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<linkSequence>124</linkSequence>
|
|
</processLinkPK>
|
|
<actionLabel>Rejeitar</actionLabel>
|
|
<returnPermited>false</returnPermited>
|
|
<initialStateSequence>121</initialStateSequence>
|
|
<finalStateSequence>39</finalStateSequence>
|
|
<returnLabel></returnLabel>
|
|
<name></name>
|
|
<automaticLink>false</automaticLink>
|
|
<defaultLink>false</defaultLink>
|
|
<type>0</type>
|
|
</ProcessLink>
|
|
<ProcessLink>
|
|
<processLinkPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<linkSequence>125</linkSequence>
|
|
</processLinkPK>
|
|
<actionLabel></actionLabel>
|
|
<returnPermited>false</returnPermited>
|
|
<initialStateSequence>1</initialStateSequence>
|
|
<finalStateSequence>121</finalStateSequence>
|
|
<returnLabel></returnLabel>
|
|
<name></name>
|
|
<automaticLink>false</automaticLink>
|
|
<defaultLink>false</defaultLink>
|
|
<type>0</type>
|
|
</ProcessLink>
|
|
<ProcessLink>
|
|
<processLinkPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<linkSequence>126</linkSequence>
|
|
</processLinkPK>
|
|
<actionLabel>Aprovar</actionLabel>
|
|
<returnPermited>false</returnPermited>
|
|
<initialStateSequence>121</initialStateSequence>
|
|
<finalStateSequence>82</finalStateSequence>
|
|
<returnLabel></returnLabel>
|
|
<name></name>
|
|
<automaticLink>false</automaticLink>
|
|
<defaultLink>false</defaultLink>
|
|
<type>0</type>
|
|
</ProcessLink>
|
|
<ProcessLink>
|
|
<processLinkPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<linkSequence>127</linkSequence>
|
|
</processLinkPK>
|
|
<actionLabel></actionLabel>
|
|
<returnPermited>false</returnPermited>
|
|
<initialStateSequence>82</initialStateSequence>
|
|
<finalStateSequence>114</finalStateSequence>
|
|
<returnLabel></returnLabel>
|
|
<name></name>
|
|
<automaticLink>false</automaticLink>
|
|
<defaultLink>false</defaultLink>
|
|
<type>0</type>
|
|
</ProcessLink>
|
|
<ProcessLink>
|
|
<processLinkPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<linkSequence>129</linkSequence>
|
|
</processLinkPK>
|
|
<actionLabel>Enviar para gestão</actionLabel>
|
|
<returnPermited>false</returnPermited>
|
|
<initialStateSequence>105</initialStateSequence>
|
|
<finalStateSequence>128</finalStateSequence>
|
|
<returnLabel></returnLabel>
|
|
<name></name>
|
|
<automaticLink>false</automaticLink>
|
|
<defaultLink>false</defaultLink>
|
|
<type>0</type>
|
|
</ProcessLink>
|
|
<ProcessLink>
|
|
<processLinkPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<linkSequence>138</linkSequence>
|
|
</processLinkPK>
|
|
<actionLabel></actionLabel>
|
|
<returnPermited>false</returnPermited>
|
|
<initialStateSequence>128</initialStateSequence>
|
|
<finalStateSequence>137</finalStateSequence>
|
|
<returnLabel></returnLabel>
|
|
<name></name>
|
|
<automaticLink>false</automaticLink>
|
|
<defaultLink>false</defaultLink>
|
|
<type>0</type>
|
|
</ProcessLink>
|
|
<ProcessLink>
|
|
<processLinkPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<linkSequence>142</linkSequence>
|
|
</processLinkPK>
|
|
<actionLabel></actionLabel>
|
|
<returnPermited>false</returnPermited>
|
|
<initialStateSequence>114</initialStateSequence>
|
|
<finalStateSequence>105</finalStateSequence>
|
|
<returnLabel></returnLabel>
|
|
<name></name>
|
|
<automaticLink>false</automaticLink>
|
|
<defaultLink>false</defaultLink>
|
|
<type>0</type>
|
|
</ProcessLink>
|
|
<ProcessLink>
|
|
<processLinkPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<linkSequence>144</linkSequence>
|
|
</processLinkPK>
|
|
<actionLabel></actionLabel>
|
|
<returnPermited>false</returnPermited>
|
|
<initialStateSequence>137</initialStateSequence>
|
|
<finalStateSequence>133</finalStateSequence>
|
|
<returnLabel></returnLabel>
|
|
<name></name>
|
|
<automaticLink>false</automaticLink>
|
|
<defaultLink>false</defaultLink>
|
|
<type>0</type>
|
|
</ProcessLink>
|
|
<ProcessLink>
|
|
<processLinkPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<linkSequence>151</linkSequence>
|
|
</processLinkPK>
|
|
<actionLabel></actionLabel>
|
|
<returnPermited>false</returnPermited>
|
|
<initialStateSequence>133</initialStateSequence>
|
|
<finalStateSequence>150</finalStateSequence>
|
|
<returnLabel></returnLabel>
|
|
<name></name>
|
|
<automaticLink>false</automaticLink>
|
|
<defaultLink>false</defaultLink>
|
|
<type>0</type>
|
|
</ProcessLink>
|
|
<ProcessLink>
|
|
<processLinkPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<linkSequence>152</linkSequence>
|
|
</processLinkPK>
|
|
<actionLabel></actionLabel>
|
|
<returnPermited>false</returnPermited>
|
|
<initialStateSequence>150</initialStateSequence>
|
|
<finalStateSequence>18</finalStateSequence>
|
|
<returnLabel></returnLabel>
|
|
<name></name>
|
|
<automaticLink>false</automaticLink>
|
|
<defaultLink>false</defaultLink>
|
|
<type>0</type>
|
|
</ProcessLink>
|
|
<ProcessLink>
|
|
<processLinkPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<linkSequence>153</linkSequence>
|
|
</processLinkPK>
|
|
<actionLabel></actionLabel>
|
|
<returnPermited>false</returnPermited>
|
|
<initialStateSequence>150</initialStateSequence>
|
|
<finalStateSequence>147</finalStateSequence>
|
|
<returnLabel></returnLabel>
|
|
<name></name>
|
|
<automaticLink>false</automaticLink>
|
|
<defaultLink>false</defaultLink>
|
|
<type>0</type>
|
|
</ProcessLink>
|
|
<ProcessLink>
|
|
<processLinkPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<linkSequence>155</linkSequence>
|
|
</processLinkPK>
|
|
<actionLabel></actionLabel>
|
|
<returnPermited>false</returnPermited>
|
|
<initialStateSequence>147</initialStateSequence>
|
|
<finalStateSequence>154</finalStateSequence>
|
|
<returnLabel></returnLabel>
|
|
<name></name>
|
|
<automaticLink>false</automaticLink>
|
|
<defaultLink>false</defaultLink>
|
|
<type>0</type>
|
|
</ProcessLink>
|
|
<ProcessLink>
|
|
<processLinkPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<linkSequence>156</linkSequence>
|
|
</processLinkPK>
|
|
<actionLabel></actionLabel>
|
|
<returnPermited>false</returnPermited>
|
|
<initialStateSequence>154</initialStateSequence>
|
|
<finalStateSequence>18</finalStateSequence>
|
|
<returnLabel></returnLabel>
|
|
<name></name>
|
|
<automaticLink>false</automaticLink>
|
|
<defaultLink>false</defaultLink>
|
|
<type>0</type>
|
|
</ProcessLink>
|
|
<ProcessLink>
|
|
<processLinkPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<linkSequence>159</linkSequence>
|
|
</processLinkPK>
|
|
<actionLabel></actionLabel>
|
|
<returnPermited>false</returnPermited>
|
|
<initialStateSequence>154</initialStateSequence>
|
|
<finalStateSequence>158</finalStateSequence>
|
|
<returnLabel></returnLabel>
|
|
<name></name>
|
|
<automaticLink>false</automaticLink>
|
|
<defaultLink>false</defaultLink>
|
|
<type>0</type>
|
|
</ProcessLink>
|
|
<ProcessLink>
|
|
<processLinkPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<linkSequence>160</linkSequence>
|
|
</processLinkPK>
|
|
<actionLabel></actionLabel>
|
|
<returnPermited>false</returnPermited>
|
|
<initialStateSequence>158</initialStateSequence>
|
|
<finalStateSequence>18</finalStateSequence>
|
|
<returnLabel></returnLabel>
|
|
<name></name>
|
|
<automaticLink>false</automaticLink>
|
|
<defaultLink>false</defaultLink>
|
|
<type>0</type>
|
|
</ProcessLink>
|
|
<ProcessLink>
|
|
<processLinkPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<linkSequence>161</linkSequence>
|
|
</processLinkPK>
|
|
<actionLabel>Ajustar Solicitação</actionLabel>
|
|
<returnPermited>false</returnPermited>
|
|
<initialStateSequence>121</initialStateSequence>
|
|
<finalStateSequence>1</finalStateSequence>
|
|
<returnLabel></returnLabel>
|
|
<name></name>
|
|
<automaticLink>false</automaticLink>
|
|
<defaultLink>false</defaultLink>
|
|
<type>0</type>
|
|
</ProcessLink>
|
|
</list>
|
|
<list/>
|
|
<list>
|
|
<WorkflowProcessEvent>
|
|
<workflowProcessEventPK>
|
|
<companyId>1</companyId>
|
|
<eventId>servicetask82</eventId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
</workflowProcessEventPK>
|
|
<eventDescription>function toProtheusDate(d) {
|
|
if (!d) return "";
|
|
if (d.indexOf("/") > -1) {
|
|
var parts = d.split("/");
|
|
return parts[2] + parts[1] + parts[0]; // dd/MM/yyyy -> yyyyMMdd
|
|
}
|
|
if (d.indexOf("-") > -1) {
|
|
return d.replace(/-/g, ""); // yyyy-MM-dd -> yyyyMMdd
|
|
}
|
|
return d; // já está no formato certo
|
|
}
|
|
|
|
function hojeProtheus() {
|
|
var d = new Date();
|
|
var yyyy = d.getFullYear();
|
|
var mm = d.getMonth() + 1;
|
|
var dd = d.getDate();
|
|
if (mm < 10) mm = "0" + mm;
|
|
if (dd < 10) dd = "0" + dd;
|
|
return "" + yyyy + mm + dd; // yyyyMMdd
|
|
}
|
|
|
|
function servicetask82(attempt, message) {
|
|
log.info("🚀 Iniciando servicetask82");
|
|
|
|
var qtdItens = hAPI.getChildrenIndexes("tbItens");
|
|
log.info("📦 Total de itens na tabela: " + qtdItens.length);
|
|
|
|
var itens = [];
|
|
for (var i = 0; i < qtdItens.length; i++) {
|
|
var index = qtdItens[i];
|
|
var item = {
|
|
"C1_PRODUTO": String(hAPI.getCardValue("Codproduto___" + index)),
|
|
"C1_QUANT": Number(hAPI.getCardValue("qtd___" + index)),
|
|
"C1_DATPRF": toProtheusDate(String(hAPI.getCardValue("dataNec___" + index)))
|
|
};
|
|
itens.push(item);
|
|
log.info("📌 Item adicionado: " + JSON.stringify(item));
|
|
}
|
|
|
|
var payload = {
|
|
"C1_SOLICIT": String(hAPI.getCardValue("usuarioSolicitante")),
|
|
"C1_EMISSAO": hojeProtheus(),
|
|
"C1_FILENT": String(hAPI.getCardValue("filialProtheus")).trim(),
|
|
"C1_OBS": String(hAPI.getCardValue("observacoes")),
|
|
"itens": itens
|
|
};
|
|
|
|
log.info("📦 Payload montado:");
|
|
log.info(JSON.stringify(payload));
|
|
|
|
var data1 = {
|
|
companyId: '1',
|
|
serviceCode: 'Postprod',
|
|
endpoint: '/rest/UF_MATA110',
|
|
method: 'post',
|
|
timeoutService: '100',
|
|
params: payload, // objeto puro
|
|
headers: {
|
|
'Content-Type': 'application/json'
|
|
}
|
|
};
|
|
|
|
try {
|
|
var clientService = fluigAPI.getAuthorizeClientService();
|
|
var response = clientService.invoke(JSON.stringify(data1)); // SEMPRE stringify aqui
|
|
|
|
log.info("📬 Resposta da API Protheus:");
|
|
log.dir(response);
|
|
|
|
if (response && response.getResult()) {
|
|
var result = JSON.parse(response.getResult());
|
|
if (result.sucesso) {
|
|
hAPI.setCardValue("numeroSCProtheus", result.C1_NUM || "");
|
|
hAPI.setCardValue("statusSCProtheus", "SC cadastrada com sucesso");
|
|
hAPI.setCardValue("solicitanteSCProtheus", result.C1_SOLICIT || "");
|
|
hAPI.setCardValue("emissaoSCProtheus", result.C1_EMISSAO || "");
|
|
hAPI.setCardValue("qtdItensSCProtheus", String(result.quantidade_itens || ""));
|
|
hAPI.setCardValue("dataCadastroSCProtheus", result.data_cadastro || "");
|
|
hAPI.setCardValue("horaCadastroSCProtheus", result.hora_cadastro || "");
|
|
} else {
|
|
hAPI.setCardValue("statusSCProtheus", "Erro: " + result.erro);
|
|
throw "Erro Protheus: " + result.message;
|
|
}
|
|
} else {
|
|
throw "Sem resposta da API Protheus";
|
|
}
|
|
} catch (e) {
|
|
log.error("❌ Erro ao enviar SC para o Protheus: " + e);
|
|
throw e;
|
|
}
|
|
|
|
|
|
|
|
log.info("🏁 Finalização da servicetask82");
|
|
}
|
|
</eventDescription>
|
|
</WorkflowProcessEvent>
|
|
<WorkflowProcessEvent>
|
|
<workflowProcessEventPK>
|
|
<companyId>1</companyId>
|
|
<eventId>servicetask114</eventId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
</workflowProcessEventPK>
|
|
<eventDescription>function servicetask114(attempt, message) {
|
|
log.info("🚀 ST92 — Verifica se já existe código de cotação no formulário");
|
|
|
|
var numSC = hAPI.getCardValue("numeroSCProtheus");
|
|
var numCot = hAPI.getCardValue("cotacaoSCProtheus");
|
|
|
|
log.info("📌 SC: " + numSC + " | Cotação: " + numCot);
|
|
|
|
if (!numSC) {
|
|
throw "❌ Número da SC não informado no formulário.";
|
|
}
|
|
|
|
// se não tiver cotação ainda, força o loop da atividade
|
|
if (!numCot || numCot === "000000" || numCot === "000001") {
|
|
throw "⏳ Cotação ainda não disponível para a SC " + numSC;
|
|
}
|
|
|
|
// se já tiver código, só registra log e deixa o processo seguir
|
|
log.info("✅ Cotação " + numCot + " encontrada no formulário. Processo segue.");
|
|
}</eventDescription>
|
|
</WorkflowProcessEvent>
|
|
</list>
|
|
<list/>
|
|
<list>
|
|
<SwimLane>
|
|
<color>FFFFFF</color>
|
|
<height>715</height>
|
|
<width>1710</width>
|
|
<positionX>11</positionX>
|
|
<positionY>6</positionY>
|
|
<stateName>Solicitação de compras</stateName>
|
|
<type>1</type>
|
|
<parentSequence>0</parentSequence>
|
|
<swimLanePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>1</sequence>
|
|
</swimLanePK>
|
|
</SwimLane>
|
|
<SwimLane>
|
|
<color>82b0b7</color>
|
|
<height>102</height>
|
|
<width>1680</width>
|
|
<positionX>41</positionX>
|
|
<positionY>6</positionY>
|
|
<stateName>Solicitante</stateName>
|
|
<type>2</type>
|
|
<parentSequence>1</parentSequence>
|
|
<swimLanePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>2</sequence>
|
|
</swimLanePK>
|
|
</SwimLane>
|
|
<SwimLane>
|
|
<color>d0daae</color>
|
|
<height>102</height>
|
|
<width>1680</width>
|
|
<positionX>41</positionX>
|
|
<positionY>210</positionY>
|
|
<stateName>Compras</stateName>
|
|
<type>2</type>
|
|
<parentSequence>1</parentSequence>
|
|
<swimLanePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>3</sequence>
|
|
</swimLanePK>
|
|
</SwimLane>
|
|
<SwimLane>
|
|
<color>d6e0d0</color>
|
|
<height>102</height>
|
|
<width>1680</width>
|
|
<positionX>41</positionX>
|
|
<positionY>108</positionY>
|
|
<stateName>Gestor CC</stateName>
|
|
<type>2</type>
|
|
<parentSequence>1</parentSequence>
|
|
<swimLanePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>4</sequence>
|
|
</swimLanePK>
|
|
</SwimLane>
|
|
<SwimLane>
|
|
<color>adc9ac</color>
|
|
<height>103</height>
|
|
<width>1680</width>
|
|
<positionX>41</positionX>
|
|
<positionY>618</positionY>
|
|
<stateName>TI</stateName>
|
|
<type>2</type>
|
|
<parentSequence>1</parentSequence>
|
|
<swimLanePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>5</sequence>
|
|
</swimLanePK>
|
|
</SwimLane>
|
|
<SwimLane>
|
|
<color>C0C0C0</color>
|
|
<height>102</height>
|
|
<width>1680</width>
|
|
<positionX>41</positionX>
|
|
<positionY>312</positionY>
|
|
<stateName>Compras</stateName>
|
|
<type>2</type>
|
|
<parentSequence>1</parentSequence>
|
|
<swimLanePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>6</sequence>
|
|
</swimLanePK>
|
|
</SwimLane>
|
|
<SwimLane>
|
|
<color>c9c3ac</color>
|
|
<height>102</height>
|
|
<width>1680</width>
|
|
<positionX>41</positionX>
|
|
<positionY>414</positionY>
|
|
<stateName>GERF</stateName>
|
|
<type>2</type>
|
|
<parentSequence>1</parentSequence>
|
|
<swimLanePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>7</sequence>
|
|
</swimLanePK>
|
|
</SwimLane>
|
|
<SwimLane>
|
|
<color>9fc1c6</color>
|
|
<height>102</height>
|
|
<width>1680</width>
|
|
<positionX>41</positionX>
|
|
<positionY>516</positionY>
|
|
<stateName>CEO</stateName>
|
|
<type>2</type>
|
|
<parentSequence>1</parentSequence>
|
|
<swimLanePK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>8</sequence>
|
|
</swimLanePK>
|
|
</SwimLane>
|
|
</list>
|
|
<list/>
|
|
<list/>
|
|
<list>
|
|
<ProcessLinkBend>
|
|
<processLinkBendPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>8</version>
|
|
<linkSequence>26</linkSequence>
|
|
<bendSequence>1</bendSequence>
|
|
</processLinkBendPK>
|
|
<positionX>1492</positionX>
|
|
<positionY>452</positionY>
|
|
</ProcessLinkBend>
|
|
<ProcessLinkBend>
|
|
<processLinkBendPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>8</version>
|
|
<linkSequence>125</linkSequence>
|
|
<bendSequence>1</bendSequence>
|
|
</processLinkBendPK>
|
|
<positionX>512</positionX>
|
|
<positionY>47</positionY>
|
|
</ProcessLinkBend>
|
|
<ProcessLinkBend>
|
|
<processLinkBendPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>8</version>
|
|
<linkSequence>126</linkSequence>
|
|
<bendSequence>1</bendSequence>
|
|
</processLinkBendPK>
|
|
<positionX>513</positionX>
|
|
<positionY>662</positionY>
|
|
</ProcessLinkBend>
|
|
<ProcessLinkBend>
|
|
<processLinkBendPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>8</version>
|
|
<linkSequence>127</linkSequence>
|
|
<bendSequence>1</bendSequence>
|
|
</processLinkBendPK>
|
|
<positionX>612</positionX>
|
|
<positionY>498</positionY>
|
|
</ProcessLinkBend>
|
|
<ProcessLinkBend>
|
|
<processLinkBendPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>8</version>
|
|
<linkSequence>129</linkSequence>
|
|
<bendSequence>1</bendSequence>
|
|
</processLinkBendPK>
|
|
<positionX>739</positionX>
|
|
<positionY>61</positionY>
|
|
</ProcessLinkBend>
|
|
<ProcessLinkBend>
|
|
<processLinkBendPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>8</version>
|
|
<linkSequence>142</linkSequence>
|
|
<bendSequence>1</bendSequence>
|
|
</processLinkBendPK>
|
|
<positionX>612</positionX>
|
|
<positionY>48</positionY>
|
|
</ProcessLinkBend>
|
|
<ProcessLinkBend>
|
|
<processLinkBendPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>8</version>
|
|
<linkSequence>144</linkSequence>
|
|
<bendSequence>1</bendSequence>
|
|
</processLinkBendPK>
|
|
<positionX>852</positionX>
|
|
<positionY>155</positionY>
|
|
</ProcessLinkBend>
|
|
<ProcessLinkBend>
|
|
<processLinkBendPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>8</version>
|
|
<linkSequence>152</linkSequence>
|
|
<bendSequence>1</bendSequence>
|
|
</processLinkBendPK>
|
|
<positionX>1120</positionX>
|
|
<positionY>96</positionY>
|
|
</ProcessLinkBend>
|
|
<ProcessLinkBend>
|
|
<processLinkBendPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>8</version>
|
|
<linkSequence>152</linkSequence>
|
|
<bendSequence>2</bendSequence>
|
|
</processLinkBendPK>
|
|
<positionX>1120</positionX>
|
|
<positionY>59</positionY>
|
|
</ProcessLinkBend>
|
|
<ProcessLinkBend>
|
|
<processLinkBendPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>8</version>
|
|
<linkSequence>161</linkSequence>
|
|
<bendSequence>1</bendSequence>
|
|
</processLinkBendPK>
|
|
<positionX>511</positionX>
|
|
<positionY>47</positionY>
|
|
</ProcessLinkBend>
|
|
</list>
|
|
<list/>
|
|
<list/>
|
|
<list>
|
|
<ProcessFormField>
|
|
<processFormFieldPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<fieldId>descProduto</fieldId>
|
|
</processFormFieldPK>
|
|
<fieldDescription>descProduto</fieldDescription>
|
|
<slotId>1</slotId>
|
|
</ProcessFormField>
|
|
<ProcessFormField>
|
|
<processFormFieldPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<fieldId>empresa</fieldId>
|
|
</processFormFieldPK>
|
|
<fieldDescription>empresa</fieldDescription>
|
|
<slotId>2</slotId>
|
|
</ProcessFormField>
|
|
<ProcessFormField>
|
|
<processFormFieldPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<fieldId>estabelecimento</fieldId>
|
|
</processFormFieldPK>
|
|
<fieldDescription>estabelecimento</fieldDescription>
|
|
<slotId>3</slotId>
|
|
</ProcessFormField>
|
|
<ProcessFormField>
|
|
<processFormFieldPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<fieldId>filialdest</fieldId>
|
|
</processFormFieldPK>
|
|
<fieldDescription>filialdest</fieldDescription>
|
|
<slotId>4</slotId>
|
|
</ProcessFormField>
|
|
<ProcessFormField>
|
|
<processFormFieldPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<fieldId>numeroSCProtheus</fieldId>
|
|
</processFormFieldPK>
|
|
<fieldDescription>numeroSCProtheus</fieldDescription>
|
|
<slotId>5</slotId>
|
|
</ProcessFormField>
|
|
<ProcessFormField>
|
|
<processFormFieldPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<fieldId>pedidoSCProtheus</fieldId>
|
|
</processFormFieldPK>
|
|
<fieldDescription>pedidoSCProtheus</fieldDescription>
|
|
<slotId>6</slotId>
|
|
</ProcessFormField>
|
|
<ProcessFormField>
|
|
<processFormFieldPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<fieldId>quantidade</fieldId>
|
|
</processFormFieldPK>
|
|
<fieldDescription>quantidade</fieldDescription>
|
|
<slotId>7</slotId>
|
|
</ProcessFormField>
|
|
<ProcessFormField>
|
|
<processFormFieldPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<fieldId>solicitanteSCProtheus</fieldId>
|
|
</processFormFieldPK>
|
|
<fieldDescription>solicitanteSCProtheus</fieldDescription>
|
|
<slotId>8</slotId>
|
|
</ProcessFormField>
|
|
<ProcessFormField>
|
|
<processFormFieldPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<fieldId>urgencia</fieldId>
|
|
</processFormFieldPK>
|
|
<fieldDescription>urgencia</fieldDescription>
|
|
<slotId>9</slotId>
|
|
</ProcessFormField>
|
|
<ProcessFormField>
|
|
<processFormFieldPK>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<fieldId>valorTotalCotacao</fieldId>
|
|
</processFormFieldPK>
|
|
<fieldDescription>valorTotalCotacao</fieldDescription>
|
|
<slotId>10</slotId>
|
|
</ProcessFormField>
|
|
</list>
|
|
<list>
|
|
<ProcessStateService>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>82</sequence>
|
|
<attempts>5</attempts>
|
|
<sucessFullMessage>Solicitação enviada com sucesso</sucessFullMessage>
|
|
<serviceName></serviceName>
|
|
<frequency>1</frequency>
|
|
<frequencyType>0</frequencyType>
|
|
</ProcessStateService>
|
|
<ProcessStateService>
|
|
<companyId>1</companyId>
|
|
<processId>Solicitação de compras </processId>
|
|
<version>1</version>
|
|
<sequence>114</sequence>
|
|
<attempts>5</attempts>
|
|
<sucessFullMessage>Integração executada com sucesso</sucessFullMessage>
|
|
<serviceName></serviceName>
|
|
<frequency>1</frequency>
|
|
<frequencyType>2</frequencyType>
|
|
</ProcessStateService>
|
|
</list>
|
|
<list/>
|
|
<list/>
|
|
<list/>
|
|
<list/>
|
|
</list> |