Tabela |
RI8 |
Controle de Substituicoes |
Campo |
Tipo |
Tamanho |
Decimal |
Titulo |
Formato |
Validacao |
F3 |
Contexto |
Lista |
Condicao |
PYME |
RI8_FILIAL |
C |
2 |
0 |
Filial |
|
|
|
R |
|
|
S |
RI8_MAT |
C |
6 |
0 |
Substituido |
999999 |
ExistCpoRh("SRA",FwFldGet("RI8_MAT"),1,cFilAnt) .AND. fValSub(cFilAnt,FwFldGet("RI8_MAT")) |
SRA |
R |
|
INCLUI |
S |
RI8_NOME |
C |
30 |
0 |
Nome |
@! |
|
|
V |
|
|
S |
RI8_DEPTO |
C |
9 |
0 |
Departamento |
@! |
ExistCpo("SQB",FwFldGet("RI8_DEPTO")) |
SQB_02 |
R |
|
|
S |
RI8_DESDEP |
C |
30 |
0 |
Descr.Depto |
@! |
|
|
V |
|
|
S |
RI8_FILSUB |
C |
2 |
0 |
F.Substituto |
|
ExistCpo("SM0",cEmpAnt+FwFldGet("RI8_FILSUB")) |
XM0 |
R |
|
INCLUI |
S |
RI8_MATSUB |
C |
6 |
0 |
M.Substituto |
999999 |
ExistCpoRh("SRA",FwFldGet("RI8_MATSUB"),1,FwFldGet("RI8_FILSUB")) .AND. fValSub(FwFldGet("RI8_FILSUB"),FwFldGet("RI8_MATSUB")) |
SRARI8 |
R |
|
INCLUI |
S |
RI8_NOMSUB |
C |
30 |
0 |
N.Substituto |
@! |
|
|
V |
|
|
S |
RI8_DATADE |
D |
8 |
0 |
Inicio Subst |
|
NaoVazio() .And. fValSub(cFilAnt, FwFldGet( "RI8_MAT") ) .AND. fValSub( FwFldGet( "RI8_FILSUB" ), FwFldGet("RI8_MATSUB") ) |
|
R |
|
|
S |
RI8_DATATE |
D |
8 |
0 |
Fim Substit. |
|
NaoVazio() .And.fVldDtFim() |
|
R |
|
|
S |
RI8_FATGER |
C |
1 |
0 |
Fato Gerador |
@! |
Pertence("123") .and. fValCatEx() |
|
R |
1=Ferias;2=Afastamentos;3=Exercicio Cumulativo |
|
S |
RI8_DEPTOT |
C |
9 |
0 |
Depto.Cumul. |
@! |
ExistCpo("SQB",FwFldGet("RI8_DEPTOT")) |
SQB_02 |
R |
|
|
S |
RI8_DESDET |
C |
30 |
0 |
Desc.Dep.Cum |
@! |
|
|
V |
|
|
S |
RI8_MOTIVO |
M |
10 |
0 |
Motivo |
|
|
|
R |
|
|
S |
RI8_DIAS |
N |
3 |
0 |
Qtde Dias |
@E 999 |
|
|
R |
|
|
S |
RI8_DIASDI |
N |
3 |
0 |
D.Min.Direit |
@E 999 |
|
|
R |
|
|
S |
RI8_GEDOC |
C |
20 |
0 |
Num.GEDOC |
@! |
|
|
R |
|
|
S |
RI8_PERIOD |
C |
6 |
0 |
Periodo Pgto |
999999 |
ExistCpoRh("RCH",FwFldGet("RI8_PERIOD"),9) |
RCHRI8 |
R |
|
|
S |
RI8_PERCEN |
N |
5 |
2 |
% p/ Pagto |
@E 99.99 |
|
|
R |
|
M->RI8_FATGER == "3" |
S |
RI8_VALOR |
N |
12 |
2 |
Valor Subst. |
@E 999,999,999.99 |
|
|
R |
|
M->RI8_FATGER == "3" |
S |
RI8_PARCEL |
N |
2 |
0 |
Parcelas |
@E 99 |
|
|
R |
|
M->RI8_FATGER == "3" |
S |
RI8_NUMID |
C |
30 |
0 |
Num.Identif. |
@! |
|
|
R |
|
|
S |
RI8_ORIGEM |
C |
1 |
0 |
Origem |
@! |
|
|
R |
1=Manual;2=Automatico |
|
S |