As consultas abaixo são específicas para o país Argentina |
Criação de Consultas 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) |
Criação de Índice no arquivo SIX – Índices:
- Tabela VVF - Entradas de Veículos:
Índice | VVF |
---|
Ordem | 9 |
---|
Chave | VVF_FILIAL+VVF_REMITO+VVF_SERREM+VVF_CODFOR+VVF_LOJA |
---|
Descrição | Remito + Série Remito + Fornecedor + Loja |
---|
Proprietário | S |
---|
|