Skip to content

Commit

Permalink
Update envia_forma_pagamento.json
Browse files Browse the repository at this point in the history
DVARLOJ1-10072 - Ajustes dos IdRetaguarda dos relacionamentos entre forma de pagamento e Dados complementares/condicoes
  • Loading branch information
EvandroPattaro authored Dec 7, 2023
1 parent c4fc9dc commit a84df5a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pdvsync/envio/envia_forma_pagamento.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"formasPagtoCondicoes": [
{
"TableNode": "condicaoPagamento",
"idRetaguarda": "&AllTrim( xFilial('SAE') + StrTokArr(Self:oPublica['condicaoPagamento'], ';')[nItem] )",
"idRetaguarda": "&self:oPublica['MIH_ID']+AllTrim( xFilial('SAE') + StrTokArr(Self:oPublica['condicaoPagamento'], ';')[nItem] )",
"idRetaguardaFormaPagto": "&self:oPublica['MIH_ID']",
"idRetaguardaCondicaoPagto": "&AllTrim( xFilial('SAE') + StrTokArr(Self:oPublica['condicaoPagamento'], ';')[nItem] )",
"situacao": "&IIF(self:cEvento == '1', 1, 0)"
Expand All @@ -27,7 +27,7 @@
"formasPagtoDadosComplementares": [
{
"TableNode": "camposComplementares",
"idRetaguarda": "&StrTokArr(Self:oPublica['camposComplementares'], ';')[nItem]",
"idRetaguarda": "&self:oPublica['MIH_ID']+StrTokArr(Self:oPublica['camposComplementares'], ';')[nItem]",
"idRetaguardaFormaPagto": "&self:oPublica['MIH_ID']",
"idRetaguardaDadoComplementarPagto": "&StrTokArr(Self:oPublica['camposComplementares'], ';')[nItem]",
"situacao": "&IIF(self:oPublica['MIH_ATIVO'] == '1' .and. self:cEvento == '1', 1, 0)",
Expand All @@ -36,7 +36,7 @@
],
"formaPagtoModeloFiscal": [
{
"idRetaguarda": "&self:oPublica['idModelo']",
"idRetaguarda": "&self:oPublica['MIH_ID']+self:oPublica['idModelo']",
"idRetaguardaFormaPagto": "&self:oPublica['MIH_ID']",
"modeloFiscal": "&self:oPublica['modeloFiscal']",
"codigoFiscal": "&self:oPublica['codigoFiscal']",
Expand All @@ -46,13 +46,13 @@
],
"formasPagtoOperadoras": [
{
"idRetaguarda": "&AllTrim( xFilial('SAE') + Self:oPublica['operadora'])",
"idRetaguarda": "&self:oPublica['MIH_ID']+AllTrim( xFilial('SAE') + Self:oPublica['operadora'])",
"idRetaguardaFormaPagto": "&self:oPublica['MIH_ID']",
"idRetaguardaOperadoraPagto": "&AllTrim( xFilial('SAE') + Self:oPublica['operadora'])",
"situacao": "&IIF(self:oPublica['MIH_ATIVO'] == '1' .and. self:cEvento == '1', 1, 0)"
}
],
"configPSH": {
"Version": "2.1"
"Version": "2.2"
}
}

0 comments on commit a84df5a

Please sign in to comment.