
| Tabela | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| CT1 | Plano de Contas | ||||||||||
| Campo | Tipo | Tamanho | Decimal | Titulo | Formato | Validacao | F3 | Contexto | Lista | Condicao | PYME |
| CT1_FILIAL | C | 2 | 0 | Filial | S | ||||||
| CT1_CONTA | C | 20 | 0 | Cod Conta | @! | Ctb020cta() | S | ||||
| CT1_DESC01 | C | 40 | 0 | Desc Moeda 1 | @! | S | |||||
| CT1_DESC02 | C | 40 | 0 | Desc Moeda 2 | @! | S | |||||
| CT1_DESC03 | C | 40 | 0 | Desc Moeda 3 | @! | S | |||||
| CT1_DESC04 | C | 40 | 0 | Desc Moeda 4 | @! | S | |||||
| CT1_DESC05 | C | 40 | 0 | Desc Moeda 5 | @! | S | |||||
| CT1_CLASSE | C | 1 | 0 | Classe Conta | @! | Pertence("12").And.Ctb020Prox(.f.).And.Ctb020Var().And.Ctb020LP() | 1=Sintetica;2=Analitica | S | |||
| CT1_NORMAL | C | 1 | 0 | Cond Normal | @! | Pertence("12") | 1=Devedora;2=Credora | S | |||
| CT1_RES | C | 10 | 0 | Cod Reduzido | @! | Ctb020NoRe().and.(Vazio() .or. ExistChav("CT1",,2,"CODRESUM")) | S | ||||
| CT1_BLOQ | C | 1 | 0 | Cta Bloq | ! | Pertence("12") | 1=Bloqueada;2=Nao Bloqueada | S | |||
| CT1_DTBLIN | D | 8 | 0 | Dt Ini Bloq | CTB020DTIN() | S | |||||
| CT1_DTBLFI | D | 8 | 0 | Dt Fim Bloq | CTB020DTFI() | S | |||||
| CT1_DC | C | 1 | 0 | Dig Controle | ! | Entre("0","9") | S | ||||
| CT1_NCUSTO | N | 2 | 0 | Dig C. Custo | 99 | Ctb020Cust() | S | ||||
| CT1_CC | C | 9 | 0 | Cod CC Cont | @! | S | |||||
| CT1_CVD01 | C | 1 | 0 | Conv M1 Deb | @! | Pertence('123456789A') | R | 1=Diaria;2=Media;3=Mensal;4=Informada;5=Nao tem Conversao;6=Fixo;7=Mensal Historica;8=Media Historica;9=Vencimento;A=Nao Ajusta | S | ||
| CT1_CVD02 | C | 1 | 0 | Conv M2 Deb | @! | Pertence('123456789A') | R | 1=Diaria;2=Media;3=Mensal;4=Informada;5=Nao tem Conversao;6=Fixo;7=Mensal Historica;8=Media Historica;9=Vencimento;A=Nao Ajusta | S | ||
| CT1_CVD03 | C | 1 | 0 | Conv M3 Deb | @! | Pertence('123456789A') | 1=Diaria;2=Media;3=Mensal;4=Informada;5=Nao tem Conversao;6=Fixo;7=Mensal Historica;8=Media Historica;9=Vencimento;A=Nao Ajusta | S | |||
| CT1_CVD04 | C | 1 | 0 | Conv M4 Deb | @! | Pertence('123456789A') | R | 1=Diaria;2=Media;3=Mensal;4=Informada;5=Nao tem Conversao;6=Fixo;7=Mensal Historica;8=Media Historica;9=Vencimento;A=Nao Ajusta | S | ||
| CT1_CVD05 | C | 1 | 0 | Conv M5 Deb | @! | Pertence('123456789A') | 1=Diaria;2=Media;3=Mensal;4=Informada;5=Nao tem Conversao;6=Fixo;7=Mensal Historica;8=Media Historica;9=Vencimento;A=Nao Ajusta | S | |||
| CT1_CVC01 | C | 1 | 0 | Conv M1 Crd | @! | Pertence('123456789A') | R | 1=Diaria;2=Media;3=Mensal;4=Informada;5=Nao tem Conversao;6=Fixo;7=Mensal Historica;8=Media Historica;9=Vencimento;A=Nao Ajusta | S | ||
| CT1_CVC02 | C | 1 | 0 | Conv M2 Crd | @! | Pertence('123456789A') | R | 1=Diaria;2=Media;3=Mensal;4=Informada;5=Nao tem Conversao;6=Fixo;7=Mensal Historica;8=Media Historica;9=Vencimento;A=Nao Ajusta | S | ||
| CT1_CVC03 | C | 1 | 0 | Conv M3 Crd | @! | Pertence('123456789A') | 1=Diaria;2=Media;3=Mensal;4=Informada;5=Nao tem Conversao;6=Fixo;7=Mensal Historica;8=Media Historica;9=Vencimento;A=Nao Ajusta | S | |||
| CT1_CVC04 | C | 1 | 0 | Conv M4 Crd | @! | Pertence('123456789A') | R | 1=Diaria;2=Media;3=Mensal;4=Informada;5=Nao tem Conversao;6=Fixo;7=Mensal Historica;8=Media Historica;9=Vencimento;A=Nao Ajusta | S | ||
| CT1_CVC05 | C | 1 | 0 | Conv M5 Crd | @! | Pertence('123456789A') | R | 1=Diaria;2=Media;3=Mensal;4=Informada;5=Nao tem Conversao;6=Fixo;7=Mensal Historica;8=Media Historica;9=Vencimento;A=Nao Ajusta | S | ||
| CT1_CTASUP | C | 20 | 0 | Cta Superior | @! | Ctb020CSup() | CT1 | S | |||
| CT1_HP | C | 3 | 0 | Hist Padrao | @! | Vazio().Or.ExistCpo("CT8",,1) | CT8 | S | |||
| CT1_ACITEM | C | 1 | 0 | Aceita Item | ! | Pertence("12") | 1=Sim;2=Nao | S | |||
| CT1_ACCUST | C | 1 | 0 | Aceita CC | ! | Pertence("12") | 1=Sim;2=Nao | S | |||
| CT1_ACCLVL | C | 1 | 0 | Aceita CLVL | ! | Pertence("12") | 1=Sim;2=Nao | S | |||
| CT1_DTEXIS | D | 8 | 0 | Dt Ini Exist | VldDtExis() | S | |||||
| CT1_CTAVM | C | 20 | 0 | Var Monet | @! | Vazio().Or.ValidaConta(FWFldGet("CT1_CTAVM")) | CT1 | R | S | ||
| CT1_CTARED | C | 20 | 0 | Red Variacao | @! | Vazio().Or.ValidaConta(FWFldGet("CT1_CTARED")) | CT1 | R | S | ||
| CT1_DTEXSF | D | 8 | 0 | Dt Fim Exist | VldDtExis() | S | |||||
| CT1_MOEDVM | C | 2 | 0 | Md. Variacao | Vazio() .Or. ExistCpo('CTO',,1) | CTO | R | S | |||
| CT1_CTALP | C | 20 | 0 | Lucr/Perd | @! | Vazio() .Or. ValidaConta(FWFldGet('CT1_CTALP')) .Or. (FWFldGet('CT1_CTALP') = '*') | CT1 | S | |||
| CT1_CTAPON | C | 20 | 0 | Ponte LP | @! | Vazio() .Or. ValidaConta(FWFldGet('CT1_CTAPON')) .Or. (FWFldGet('CT1_CTAPON') = '*') | CT1 | S | |||
| CT1_BOOK | C | 20 | 0 | Conf. Livros | @! | S | |||||
| CT1_GRUPO | C | 8 | 0 | Grupo | @! | Vazio() .Or. ExistCpo("CTR",,1) | CTR | S | |||
| CT1_AGLSLD | C | 1 | 0 | Aglut.Saldo | ! | Pertence("12") | 1=Sim;2=Nao | S | |||
| CT1_RGNV1 | C | 12 | 0 | Regra Nivel1 | @! | Vazio() .Or. CtbValLig(FWFldGet("CT1_CLASSE")) | S | ||||
| CT1_RGNV2 | C | 12 | 0 | Regra Nivel2 | @! | Vazio() .Or. CtbValLig(FWFldGet("CT1_CLASSE")) | S | ||||
| CT1_RGNV3 | C | 12 | 0 | Regra Nivel3 | @! | Vazio() .Or. CtbValLig(FWFldGet("CT1_CLASSE")) | S | ||||
| CT1_CCOBRG | C | 1 | 0 | CC Obrigat. | ! | Pertence("12") | 1=Sim;2=Nao | S | |||
| CT1_ITOBRG | C | 1 | 0 | Item Obrig. | ! | Pertence("12") | 1=Sim;2=Nao | S | |||
| CT1_CLOBRG | C | 1 | 0 | CLVL Obrig. | ! | Pertence("12") | 1=Sim;2=Nao | S | |||
| CT1_CTLALU | C | 20 | 0 | Conta Lalur | @! | CT1 | S | ||||
| CT1_TRNSEF | C | 20 | 0 | Ajuste Conv | @! | Vazio() .Or. ValidaConta(FWFldGet("CT1_TRNSEF")) | CT1 | S | |||
| CT1_TPLALU | C | 2 | 0 | Class.Lalur | LL | R | S | ||||
| CT1_AGLUT | C | 1 | 0 | Aglutina | ! | Vazio() .Or. Pertence("12") | 1=Sim; 2=Nao | S | |||
| CT1_LALHIR | C | 1 | 0 | Hist.Lalur ? | @9 | Pertence("12") | R | 1=Sim;2=Nao | S | ||
| CT1_LALUR | C | 1 | 0 | Tipo Lalur | ! | Pertence(" 012345") | R | 0=Nao pertence;1=Adicao dedutivel;2=Adicao Indedutivel;3=Exclusao Dedutivel;4=Exclusao Indedutivel;5=Lucro Liq. antes da C.S. | S | ||
| CT1_RATEIO | C | 6 | 0 | Cod. Rateio | @! | Vazio() .Or. ExistCpo("CT9") | CT9 | S | |||
| CT1_ESTOUR | C | 1 | 0 | Conta Estour | @! | Pertence(" 12") | 1=Sim;2=Nao | S | |||
| CT1_CODIMP | C | 20 | 0 | Cod Impress | @! | S | |||||
| CT1_AJ_INF | C | 1 | 0 | Ajusta Inf? | R | 1=Sim;2=Nao | FWFldGet("CT1_CLASSE")=="2" | S | |||
| CT1_NATCTA | C | 2 | 0 | Nat. Conta | @! | Pertence('01,02,03,04,05,09') | R | 01=Conta de Ativo;02=Conta de Passivo;03=Patrimonio Liquido;04=Conta de Resultado;05=Conta de Compensacao;09=Outras | S | ||
| CT1_DIOPS | C | 1 | 0 | Diops | @! | 1=ATIVO;2=PASSIVO;3=RECEITA;4=DESPESAS | S | ||||
| CT1_ACATIV | C | 1 | 0 | Ac.Outra At? | @! | pertence('12') | R | 1=Sim;2=Nao | S | ||
| CT1_ATOBRG | C | 1 | 0 | Outr.At.Ob? | @! | pertence('12') | R | 1=Sim;2=Nao | S | ||
| CT1_ACET05 | C | 1 | 0 | Aceita Ent05 | @! | pertence('12') | R | 1=Sim;2=Nao | S | ||
| CT1_05OBRG | C | 1 | 0 | Obrg.Ent.05? | @! | pertence('12') | R | 1=Sim;2=Nao | S | ||
| CT1_INDNAT | C | 1 | 0 | Class. Manad | @! | 1=Ativo; 2=Passivo; 3=Patrimonio Liquido; 4=Despesa/Custo; 5=Receita; 9=Outros | S | ||||
| CT1_SPEDST | C | 1 | 0 | SPED Sint. | @! | R | S | ||||
| CT1_NTSPED | C | 2 | 0 | Nat Cta SPED | @! | Pertence('01,02,03,04,05,09') | 01=Conta de Ativo;02=Conta de Passivo;03=Patrimonio Liquido;04=Conta de Resultado;05=Conta de Compensacao;09=Outras | S | |||
| CT1_ACAT01 | C | 1 | 0 | Ativ.01 Ac. | @! | PERTENCE("12") | R | 1=Sim;2=Nao | S | ||
| CT1_AT01OB | C | 1 | 0 | Ativ.01 Ob. | @! | PERTENCE("12") | R | 1=Sim;2=Nao | S | ||
| CT1_ACAT02 | C | 1 | 0 | Ativ.02 Ac. | @! | PERTENCE("12") | R | 1=Sim;2=Nao | S | ||
| CT1_AT02OB | C | 1 | 0 | Ativ.02 Ob. | @! | PERTENCE("12") | R | 1=Sim;2=Nao | S | ||
| CT1_ACAT03 | C | 1 | 0 | Ativ.03 Ac. | @! | PERTENCE("12") | R | 1=Sim;2=Nao | S | ||
| CT1_AT03OB | C | 1 | 0 | Ativ.03 Ob. | @! | PERTENCE("12") | R | 1=Sim;2=Nao | S | ||
| CT1_ACAT04 | C | 1 | 0 | Ativ.04 Ac. | @! | PERTENCE("12") | R | 1=Sim;2=Nao | S | ||
| CT1_AT04OB | C | 1 | 0 | Ativ.04 Ob. | @! | PERTENCE("12") | R | 1=Sim;2=Nao | S | ||
| CT1_TPO01 | C | 2 | 0 | Tipo Ctb 01 | @! | S | |||||
| CT1_TPO02 | C | 2 | 0 | Tipo Ctb 02 | @! | S | |||||
| CT1_TPO03 | C | 2 | 0 | Tipo Ctb 03 | @! | S | |||||
| CT1_TPO04 | C | 2 | 0 | Tipo Ctb 04 | @! | S | |||||
| CT1_INTP | C | 1 | 0 | Int. PIMS | @! | Pertence('12') | R | 1=Sim;2=Nao | S | ||
| CT1_PVARC | C | 1 | 0 | Var Cambial? | @ | Pertence('12') | R | 1=Sim;2=Nao | S | ||