-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DDVENDAS-50306-REL36: Inserido o fluxo do pedido reverso (arquivo NOL…
…) da IQVIA.
- Loading branch information
Marcelo Hakenhoar da Costa
committed
Dec 18, 2024
1 parent
29e8543
commit 85afa76
Showing
6 changed files
with
6 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
iqvia/fluxos/FLUXO-07-IQVIA - Pedido Reverso-1-WTA - Autenticacao.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"tabela":{"nome":"PCINTEGRACAOFLUXOEXECUCAO","campos":[{"nome":"ORDEMEXECUCAO","valor":"1"},{"nome":"IDROTASERVICO","valor":"WTA - Autenticacao"},{"nome":"IDINTEGRACAOCLASSEMETODO","valor":"AUTENTICADORREFRESHTOKENAPI"},{"nome":"ATIVO","valor":"N"},{"nome":"IDDEPENDENTE","valor":""},{"nome":"DTULTALTER","valor":""},{"nome":"CODEMPALTER","valor":""},{"nome":"DESCRICAO","valor":"IQVIA - Pedido Reverso"},{"nome":"ID","valor":""}]}} |
1 change: 1 addition & 0 deletions
1
iqvia/fluxos/FLUXO-07-IQVIA - Pedido Reverso-2-WTA-IQVIA - Buscar Pedidos Reversos.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"tabela":{"nome":"PCINTEGRACAOFLUXOEXECUCAO","campos":[{"nome":"ORDEMEXECUCAO","valor":"2"},{"nome":"IDROTASERVICO","valor":"WTA-IQVIA - Buscar Pedidos Reversos"},{"nome":"IDINTEGRACAOCLASSEMETODO","valor":"BUSCAROTASERVICONAOPAGINADA"},{"nome":"ATIVO","valor":"N"},{"nome":"IDDEPENDENTE","valor":""},{"nome":"DTULTALTER","valor":""},{"nome":"CODEMPALTER","valor":""},{"nome":"DESCRICAO","valor":"IQVIA - Pedido Reverso"},{"nome":"ID","valor":""}]}} |
1 change: 1 addition & 0 deletions
1
iqvia/fluxos/FLUXO-07-IQVIA - Pedido Reverso-3-IQVIA - Autenticacao.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"tabela":{"nome":"PCINTEGRACAOFLUXOEXECUCAO","campos":[{"nome":"ORDEMEXECUCAO","valor":"3"},{"nome":"IDROTASERVICO","valor":"IQVIA - Autenticacao"},{"nome":"IDINTEGRACAOCLASSEMETODO","valor":"AUTENTICADORREFRESHTOKENAPI"},{"nome":"ATIVO","valor":"N"},{"nome":"IDDEPENDENTE","valor":""},{"nome":"DTULTALTER","valor":""},{"nome":"CODEMPALTER","valor":""},{"nome":"DESCRICAO","valor":"IQVIA - Pedido Reverso"},{"nome":"ID","valor":""}]}} |
1 change: 1 addition & 0 deletions
1
iqvia/fluxos/FLUXO-07-IQVIA - Pedido Reverso-4-IQVIA - Enviar Notas Fiscais.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"tabela":{"nome":"PCINTEGRACAOFLUXOEXECUCAO","campos":[{"nome":"ORDEMEXECUCAO","valor":"4"},{"nome":"IDROTASERVICO","valor":"IQVIA - Enviar Notas Fiscais"},{"nome":"IDINTEGRACAOCLASSEMETODO","valor":"ENVIOINTEGRACAOSTATUSRECEBIDO"},{"nome":"ATIVO","valor":"N"},{"nome":"IDDEPENDENTE","valor":"WTA-IQVIA - Buscar Pedidos Reversos"},{"nome":"DTULTALTER","valor":""},{"nome":"CODEMPALTER","valor":""},{"nome":"DESCRICAO","valor":"IQVIA - Pedido Reverso"},{"nome":"ID","valor":""}]}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"tabela":{"nome":"PCINTEGRACAOROTASERVICO","campos":[{"nome":"TIPOPROCESSO","valor":""},{"nome":"AUTENTICADOR","valor":"N"},{"nome":"DATASINCRONISMO","valor":""},{"nome":"REFRESHTOKEN","valor":"N"},{"nome":"SOMENTEATUALIZARINTEGRACAOCORE","valor":"N"},{"nome":"ID","valor":"WTA-IQVIA - Buscar Pedidos Reversos"},{"nome":"IDEMPRESAAPI","valor":"WTA"},{"nome":"SERVICO","valor":"WTA-IQVIA - Buscar Pedidos Reversos"},{"nome":"LAYOUTCOMUNICACAO","valor":{"name":"WTA-IQVIA - Buscar Pedidos Reversos","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer {{TOKEN}}"}],"url":{"raw":"{{URL_BASE}}/winthor/logistic-operator/v1/sellout/invoice-orders","query":[{"key":"systemCode","value":"{{CODIGO_SISTEMA}}"},{"key":"ignoreOLOrder","value":"true"}]}},"response":[]}},{"nome":"LAYOUTTRANSFORMACAO","valor":[{"operation":"modify-overwrite-beta","spec":{"*":{"idExterno":"@(1,externalId)","PROCESSO":"NOL","industryOrderNumber":"=toInteger","items":{"*":{"eanCode":"=toString","factoryprice":"=divideAndRound(4,@(1,factoryprice),1)","discountPercentage":"=divideAndRound(4,@(1,discountPercentage),1)"}}}}},{"operation":"shift","spec":{"*":"invoices[].NOTAS_FISCAIS[]"}},{"operation":"shift","spec":{"invoices":{"*":{"NOTAS_FISCAIS":{"*":{"idExterno":"idExterno","externalId":"invoices[&3].externalId","invoiceNumber":"invoices[&3].NOTAS_FISCAIS[&1].NOTA_FISCAL_NUMERO","industryOrderNumber":"invoices[&3].NOTAS_FISCAIS[&1].NUMERO_PEDIDO_IQVIA","customerCnpj":"invoices[&3].NOTAS_FISCAIS[&1].CLIENTE_CNPJ","invoiceBillingDate":"invoices[&3].NOTAS_FISCAIS[&1].DATA_FATURA","distributionCenterCnpj":"invoices[&3].NOTAS_FISCAIS[&1].DISTRIBUIDOR_CNPJ","nfeKey":"invoices[&3].NOTAS_FISCAIS[&1].CHAVE_ACESSO_NFE","PROCESSO":"invoices[&3].NOTAS_FISCAIS[&1].PROCESSO","items":{"*":{"eanCode":"invoices[&5].NOTAS_FISCAIS[&3].ITENS[&1].EAN","invoicedQuantity":"invoices[&5].NOTAS_FISCAIS[&3].ITENS[&1].QUANTIDADE_FATURADA","factoryPrice":"invoices[&5].NOTAS_FISCAIS[&3].ITENS[&1].PRECO_FABRICA","percOrderDiscount":"invoices[&5].NOTAS_FISCAIS[&3].ITENS[&1].PERCENTUAL_DESCONTO_COMERCIAL","fullNetPrice":"invoices[&5].NOTAS_FISCAIS[&3].ITENS[&1].VALOR_UNITARIO_ITEM"}}}}}}}},{"operation":"default","spec":{"_attr_access":"invoices"}}]},{"nome":"ATIVO","valor":"N"}]}} |
1 change: 1 addition & 0 deletions
1
iqvia/variaveis/WTA-IQVIA - Buscar Pedidos Reversos -{{CODIGO_SISTEMA}}.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"tabela":{"nome":"PCINTEGRACAOVARIAVEIS","campos":[{"nome":"ID","valor":"WTA-IQVIA - Buscar Pedidos Reversos -{{CODIGO_SISTEMA}}"},{"nome":"CHAVE","valor":"{{CODIGO_SISTEMA}}"},{"nome":"TIPOCHAVE","valor":"PARAMS"},{"nome":"TIPOVALOR","valor":"STRING"},{"nome":"IDROTASERVICO","valor":"WTA-IQVIA - Buscar Pedidos Reversos"},{"nome":"DTULTALTER","valor":""},{"nome":"CODEMPALTER","valor":""},{"nome":"VALOR","valor":"ADICIONAR_CODIGO_SISTEMA"}]}} |