Skip to content

Commit

Permalink
Update busca_cliente.json - Atualização com layout da produção
Browse files Browse the repository at this point in the history
  • Loading branch information
rfltdc authored Nov 19, 2024
1 parent f3283d1 commit 1ad0725
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions pdvsync-qa/publicacao/busca_cliente.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"A1_FILIAL": "&xFilial('SA1')",
"A1_NOME": "&UPPER( Alltrim( NoAcento(self:oRegistro['Nome']) ) )",
"A1_TIPO": "F",
"A1_LOJA": "&SuperGetMV('MV_LOJAPAD',.F., '01')",
"A1_CGC": "&self:oRegistro['CpfCnpj']",
"A1_NREDUZ": "&UPPER(SubStr(Alltrim( NoAcento(self:oRegistro['Nome']) ),1,TamSX3('A1_NREDUZ')[1]))",
"A1_PESSOA": "&IIF(self:oRegistro['PessoaFisica'] == 1,'F','J')",
"A1_BAIRRO": "&UPPER( NoAcento(self:oRegistro['Bairro']) )",
"A1_CEP": "&StrTran(self:oRegistro['Cep'], '-', '')",
"A1_COMPLEM": "&UPPER(self:oRegistro['Complemento'])",
"A1_EST": "&self:oRegistro['Estado']",
"A1_END": "&UPPER( AllTrim(self:oRegistro['Endereco']) + ', ' + AllTrim(self:oRegistro['Numero']) )",
"A1_DDD": "&SubStr( cValToChar( Val(self:oRegistro['Telefone']) ), 1, 2)",
"A1_TEL": "&SubStr( cValToChar( Val(self:oRegistro['Telefone']) ), 3)",
"A1_COD_MUN": "&Posicione('CC2',4,xFilial('CC2')+self:oRegistro['Estado']+UPPER(PADR(self:oRegistro['Cidade'],TamSX3('CC2_MUN')[1])),'CC2_CODMUN')",
"A1_MSBLQL": "2",
"A1_EMAIL": "&self:oRegistro['Email']",
"A1_DTNASC": "&self:oRegistro['DataNascimento']",
"configPSH": { "Version": "1.0" }
}
"A1_FILIAL": "&xFilial('SA1',IIF(self:oRegistro:HasProperty('Loja'),self:oRegistro['Loja']['IdRetaguarda'],Nil))",
"A1_NOME": "&UPPER( Alltrim( NoAcento(self:oRegistro['Nome']) ) )",
"A1_TIPO": "F",
"A1_LOJA": "&SuperGetMV('MV_LOJAPAD',.F., '01')",
"A1_CGC": "&self:oRegistro['CpfCnpj']",
"A1_NREDUZ": "&UPPER(SubStr(Alltrim( NoAcento(self:oRegistro['Nome']) ),1,TamSX3('A1_NREDUZ')[1]))",
"A1_PESSOA": "&IIF(self:oRegistro['PessoaFisica'] == 1,'F','J')",
"A1_BAIRRO": "&UPPER( NoAcento(self:oRegistro['Bairro']) )",
"A1_CEP": "&StrTran(self:oRegistro['Cep'], '-', '')",
"A1_COMPLEM": "&UPPER(self:oRegistro['Complemento'])",
"A1_EST": "&self:oRegistro['Estado']",
"A1_END": "&UPPER( AllTrim(self:oRegistro['Endereco']) + ', ' + AllTrim(self:oRegistro['Numero']) )",
"A1_DDD": "&SubStr( cValToChar( Val(self:oRegistro['Telefone']) ), 1, 2)",
"A1_TEL": "&SubStr( cValToChar( Val(self:oRegistro['Telefone']) ), 3)",
"A1_COD_MUN": "&Posicione('CC2',4,xFilial('CC2')+self:oRegistro['Estado']+UPPER(PADR(self:oRegistro['Cidade'],TamSX3('CC2_MUN')[1])),'CC2_CODMUN')",
"A1_MSBLQL": "2",
"A1_EMAIL": "&self:oRegistro['Email']",
"A1_DTNASC": "&self:oRegistro['DataNascimento']",
"configPSH": {"Version": "1.1"}
}

0 comments on commit 1ad0725

Please sign in to comment.