...
Há a necessidade de gerar o remito na rotina Saída Devolução Compra (VEIXA012) para o DMS Argentina.
03. SOLUÇÃO
Adequação da rotina Saída Devolução Compra (VEIXA012) para gerar o remito para o DMS Argentina.
| Totvs custom tabs box |
|---|
| tabs | Passo 01, Atualização de Dicionário |
|---|
| ids | passo1,passo2 |
|---|
|
| Totvs custom tabs box items |
|---|
| default | yes |
|---|
| referencia | passo1 |
|---|
| |
| Totvs custom tabs box items |
|---|
| default | no |
|---|
| referencia | passo2 |
|---|
| | Aviso |
|---|
As consultas abaixo são específicas para o país Argentina |
Criação de Consulta Padrão no arquivo SXB – Consulta Padrão: - Consulta Padrão VVFNFA
- Consulta Padrão VVFREM
Consulta Padrão VVFNFA: | Alias | Tipo | Sequência | Coluna | Descrição | Contém | | VVFNFA | 1 | 1 | DB | Nota Dev Compras | VVF | | VVFNFA | 2 | 1 | 6 | Nro NFiscal + Serie |
| | VVFNFA | 4 | 1 | 1 | Nro NFiscal | VVF_NUMNFI | | VVFNFA | 4 | 1 | 2 | Serie NF | VVF_SERNFI | | VVFNFA | 4 | 1 | 3 | Fornecedor | VVF_CODFOR | | VVFNFA | 4 | 1 | 4 | Loja | VVF_LOJA | | VVFNFA | 4 | 1 | 5 | Nome Fantasia | POSICIONE("SA2",1,xFilial("SA2")+VVF->VVF_CODFOR+VVF->VVF_LOJA,"A2_NREDUZ") | | VVFNFA | 5 | 1 | | | VVF->VVF_NUMNFI | | VVFNFA | 5 | 2 | | | VVF->VVF_SERNFI | | VVFNFA | 6 | 1 | 1 | Filtro | !Empty(VVF->VVF_NUMNFI) |
Consulta Padrão VVFREM: | Alias | Tipo | Sequência | Coluna | Descrição | Contém | | VVFREM | 1 | 1 | DB | Remito Dev Compras | VVF | | VVFREM | 2 | 1 | 9 | Remito + Série Remit |
| | VVFREM | 4 | 1 | 1 | Remito | VVF_REMITO | | VVFREM | 4 | 1 | 2 | Série Remito | VVF_SERREM | | VVFREM | 4 | 1 | 3 | Fornecedor | VVF_CODFOR | | VVFREM | 4 | 1 | 4 | Loja | VVF_LOJA | | VVFREM | 4 | 1 | 5 | Nome Fantasia | POSICIONE("SA2",1,xFilial("SA2")+VVF->VVF_CODFOR+VVF->VVF_LOJA,"A2_NREDUZ") | | VVFREM | 5 | 1 | | | VVF->VVF_REMITO | | VVFREM | 5 | 2 | | | VVF->VVF_SERREM | | VVFREM | 6 | 1 | 1 | Filtro | !Empty(VVF->VVF_REMITO) |
|
|
...