Skip to content

Commit

Permalink
Update envia_preco.json - Atualização das tags dataHoraVigenciaFinal …
Browse files Browse the repository at this point in the history
…e valor.
  • Loading branch information
rfltdc authored Oct 4, 2023
1 parent 53fb325 commit c02b99d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pdvsync/envio/envia_preco.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"dataHoraVigenciaInicial": "&IIF( !SuperGetMv('MV_LJCNVDA', , .F.), FwTimeStamp(3), FwTimeStamp(3,SToD(Self:oPublica['DA1_DATVIG']),Self:oPublica['DA0'][1]['DA0_HORADE']) )",
"dataHoraVigenciaFinal": "&IIF( !SuperGetMv('MV_LJCNVDA', , .F.), 9999-01-31T23:59, IIF(!Empty(Self:oPublica['DA0'][1]['DA0_DATATE']),FwTimeStamp(3,SToD(Self:oPublica['DA0'][1]['DA0_DATATE']),Self:oPublica['DA0'][1]['DA0_HORATE']),'9999-01-31T23:59') )",
"dataHoraVigenciaFinal": "&IIF( !SuperGetMv('MV_LJCNVDA', , .F.), '9999-01-31T23:59', IIF(!Empty(Self:oPublica['DA0'][1]['DA0_DATATE']),FwTimeStamp(3,SToD(Self:oPublica['DA0'][1]['DA0_DATATE']),Self:oPublica['DA0'][1]['DA0_HORATE']),'9999-01-31T23:59') )",
"codigoProduto": "&IIF( !SuperGetMv('MV_LJCNVDA', , .F.), Self:oPublica['B0_COD'], Self:oPublica['DA1_CODPRO'] )",
"idRetaguardaProduto": "&IIF( !SuperGetMv('MV_LJCNVDA', , .F.), Self:oPublica['B0_COD'], Self:oPublica['DA1_CODPRO'] )",
"valor": "&StrTran( cValToChar( IIF( Posicione('SB1', 1, xFilial('SB1') + Self:oPublica['DA1_CODPRO'], 'B1_PRV1') > 0, Posicione('SB1', 1, xFilial('SB1') + Self:oPublica['DA1_CODPRO'], 'B1_PRV1'), IIF( !SuperGetMv('MV_LJCNVDA', , .F.), Self:oPublica['B0_PRV1'], Self:oPublica['DA1_PRCVEN'] ) ) ) , '.', ',' )",
"valor": "&StrTran( cValToChar( IIF( Posicione('SB1', 1, xFilial('SB1') + IIF( !SuperGetMv('MV_LJCNVDA', , .F.), Self:oPublica['B0_COD'], Self:oPublica['DA1_CODPRO'] ), 'B1_PRV1') > 0, Posicione('SB1', 1, xFilial('SB1') + IIF( !SuperGetMv('MV_LJCNVDA', , .F.), Self:oPublica['B0_COD'], Self:oPublica['DA1_CODPRO'] ), 'B1_PRV1'), IIF( !SuperGetMv('MV_LJCNVDA', , .F.), Self:oPublica['B0_PRV1'], Self:oPublica['DA1_PRCVEN'] ) ) ), '.', ',' )",
"precoPromocional": "&StrTran( cValToChar( IIF( !SuperGetMv('MV_LJCNVDA', , .F.), Self:oPublica['B0_PRV1'], Self:oPublica['DA1_PRCVEN'] ) ), '.', ',' )",
"situacao": "&IIF( !SuperGetMv('MV_LJCNVDA', , .F.), IIF(Empty(Self:oPublica['B0_PRV1']) .Or. Self:cEvento <> '1', 0, 1), IIF(Self:cEvento == '1' .AND. Self:oPublica['DA0'][1]['DA0_ATIVO'] == '1' .AND. Self:oPublica['DA1_ATIVO'] == '1', 1, 0) )",
"sincronizadoEtiquetaEletronica": 0,
Expand All @@ -14,6 +14,6 @@
"idProprietario": "&LjRetComp()",
"loteOrigem": "&Self:cLote",
"configPSH": {
"Version": "3.0"
"Version": "3.2"
}
}

0 comments on commit c02b99d

Please sign in to comment.