Tabela |
VZ6 |
Itens das Acoes de Vendas |
Campo |
Tipo |
Tamanho |
Decimal |
Titulo |
Formato |
Validacao |
F3 |
Contexto |
Lista |
Condicao |
PYME |
VZ6_FILIAL |
C |
2 |
0 |
Filial |
|
|
|
|
|
|
S |
VZ6_CODACV |
C |
6 |
0 |
Cod. Acao |
@! |
|
|
R |
|
|
S |
VZ6_ITECAM |
C |
6 |
0 |
Item Campan. |
@! |
FM_VEA290() |
VZX |
R |
|
|
S |
VZ6_DESCAM |
C |
30 |
0 |
Des.Campanha |
@! |
|
|
V |
|
|
S |
VZ6_VALITE |
N |
12 |
2 |
Valor Item |
@E 999,999,999.99 |
Positivo() |
|
R |
|
|
S |
VZ6_TIPORC |
C |
1 |
0 |
Gera Orcto? |
@! |
PERTENCE("012") |
|
|
0=Nao;1=Pecas;2=Oficina |
|
S |
VZ6_ALTVLR |
C |
1 |
0 |
Altera Valor |
@! |
Pertence("01") |
|
R |
0=Nao;1=Sim |
|
S |
VZ6_COMPAG |
C |
1 |
0 |
Como Pagar |
@! |
Pertence("123") |
|
R |
1=Caixa;2=Atendimento;3=Orcamento |
|
S |
VZ6_OBRIGA |
C |
1 |
0 |
Obrigatorio |
@! |
Pertence("01") |
|
|
0=Nao;1=Sim |
|
S |
VZ6_AGRVLR |
C |
1 |
0 |
Agrega em |
@! |
Pertence("12") |
|
R |
1=Cortesia;2=Redutor |
|
S |
VZ6_TIPTIT |
C |
3 |
0 |
Tipo Titulo |
@! |
Existcpo("SX5","05"+M->VZ6_TIPTIT) .and. FM_VALIDVAL("VZ6") |
05 |
R |
|
M->VZ6_AGRVLR<>"0" |
S |
VZ6_TIPTEM |
C |
4 |
0 |
Tipo Tempo |
@! |
FG_Seek("VOI","M->VZ6_TIPTEM",1,.f.) |
VOI |
R |
|
M->VZ6_TIPORC=="2" |
S |
VZ6_GRUITE |
C |
4 |
0 |
Grupo |
@! |
FG_SEEK("SBM","M->VZ6_GRUITE",1,.f.) |
BM2 |
R |
|
M->VZ6_TIPORC=="1" |
S |
VZ6_CODITE |
C |
27 |
0 |
Codigo |
@! |
FG_POSSB1("M->VZ6_CODITE","SB1->B1_CODITE", "M->VZ6_GRUITE").and.FS_AATUGRP() |
VZ6SB1 |
R |
|
M->VZ6_TIPORC=="1" |
S |
VZ6_TIPSER |
C |
3 |
0 |
Tipo Servico |
@! |
FG_Seek("VOK","M->VZ6_TIPSER",1,.f.).and.FS_SRVTEM() |
VOK2 |
R |
|
M->VZ6_TIPORC=="2" |
S |
VZ6_GRUSER |
C |
2 |
0 |
Grupo Srv |
@! |
ExistCpo("VOS", M->VZ5_CODMAR+M->VZ6_GRUSER,1) |
VOSVZ6 |
R |
|
M->VZ6_TIPORC=="2" |
S |
VZ6_CODSER |
C |
15 |
0 |
Codigo Srv |
@! |
ExistCpo("VO6", M->VZ5_CODMAR+M->VZ6_GRUSER+M->VZ6_CODSER,3) |
VO6VZ6 |
|
|
M->VZ6_TIPORC=="2" |
S |
VZ6_CODSEC |
C |
3 |
0 |
Secao Ofic. |
@! |
FG_Seek("VOL","M->VZ6_TIPSER+M->VZ6_CODSEC",1,.f.).And. FG_Seek("VOD","M->VZ6_CODSEC",1,.f.) |
VOL |
|
|
M->VZ6_TIPORC=="2" |
S |
VZ6_DEPINT |
C |
1 |
0 |
Depto Int OS |
@! |
ExistCpo("SX5","VD"+M->VZ6_DEPINT,1) |
05 |
|
|
M->VZ6_TIPORC=="2" |
S |