Skip to content

Commit

Permalink
Update envia_administradora.json
Browse files Browse the repository at this point in the history
DVARLOJ1-10089 - Ajuste no envio do cadastro de Operadora para o PDV, pois o campo 'administradora' no PDV espera um formato de código, e estava recebendo a descrição da Administradora.
  • Loading branch information
EvandroPattaro authored Nov 23, 2023
1 parent c894eb2 commit c4fc9dc
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions pdvsync/envio/envia_administradora.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
{
"descricao": "&self:oPublica['AE_DESC']",
"situacao": "&IIF(self:cEvento == '1', 1, 0)",
"codigoTef": "&IIF( Empty(self:oPublica['AE_ADMCART']), 'SEM TEF', Posicione('MDE', 1, xFilial('MDE') + PadR(self:oPublica['AE_ADMCART'], TamSx3('MDE_CODIGO')[1]), 'MDE_CODSIT') )",
"administradora": "&self:oPublica['AE_DESC']",
"tipoTransacao": "&IIF( self:oPublica['AE_TIPO'] == 'CC', 0, IIF(self:oPublica['AE_TIPO'] == 'CD', 1, 2) )",
"sequencial": 0,
"idInquilino": "&self:oConfAssin['inquilino']",
"idRetaguarda": "&self:oPublica['AE_FILIAL'] + self:oPublica['AE_COD']",
"dataAtualizacao": "&FwTimeStamp(6)",
"dataCadastro": "&FwTimeStamp(6)",
"idProprietario": "&LjRetComp()",
"loteOrigem": "&self:cLote",
"configPSH": { "Version": "1.0" }
"descricao": "&self:oPublica['AE_DESC']",
"situacao": "&IIF(self:cEvento == '1', 1, 0)",
"codigoTef": "&IIF( Empty(self:oPublica['AE_ADMCART']), 'SEM TEF', Posicione('MDE', 1, xFilial('MDE') + PadR(self:oPublica['AE_ADMCART'], TamSx3('MDE_CODIGO')[1]), 'MDE_CODSIT') )",
"administradora": "&self:oPublica['AE_FILIAL'] + self:oPublica['AE_COD']",
"tipoTransacao": "&IIF( self:oPublica['AE_TIPO'] == 'CC', 0, IIF(self:oPublica['AE_TIPO'] == 'CD', 1, 2) )",
"sequencial": 0,
"idInquilino": "&self:oConfAssin['inquilino']",
"idRetaguarda": "&self:oPublica['AE_FILIAL'] + self:oPublica['AE_COD']",
"dataAtualizacao": "&FwTimeStamp(6)",
"dataCadastro": "&FwTimeStamp(6)",
"idProprietario": "&LjRetComp()",
"loteOrigem": "&self:cLote",
"configPSH": {
"Version": "1.1"
}
}

0 comments on commit c4fc9dc

Please sign in to comment.