Salve salve, blz?
Tabela CDD. #CDD
SX2 - TABELA
| X2_CHAVE | X2_PATH | X2_ARQUIVO | X2_NOME | X2_NOMESPA | X2_NOMEENG | X2_ROTINA | X2_MODO | X2_MODOUN | X2_MODOEMP | X2_DELET | X2_TTS | X2_UNICO | X2_PYME | X2_MODULO | X2_DISPLAY | X2_SYSOBJ | X2_USROBJ | X2_POSLGT | X2_CLOB | X2_AUTREC | X2_TAMFIL | X2_TAMUN | X2_TAMEMP | X2_STAMP | X2_INSDT |
| CDD | \DATA\ | CDD990 | Documentos referenciados | Documentos referenciados | Referenced documents | | E | E | E | 0 | | CDD_FILIAL+CDD_TPMOV+CDD_DOC+CDD_SERIE+CDD_CLIFOR+CDD_LOJA+CDD_DOCREF+CDD_SERREF+CDD_PARREF+CDD_LOJREF | S | 9 | | MATA910 | | 1 | 2 | 2 | 2 | 0 | 0 |
SX3 - CAMPOS
| X3_ARQUIVO | X3_ORDEM | X3_CAMPO | X3_TIPO | X3_TAMANHO | X3_DECIMAL | X3_TITULO | X3_DESCRIC | X3_PICTURE | X3_VALID | X3_RELACAO | X3_F3 | X3_NIVEL | X3_TRIGGER | X3_BROWSE | X3_VISUAL | X3_CONTEXT | X3_OBRIGAT | X3_CBOX | X3_PICTVAR | X3_WHEN | X3_INIBRW | X3_GRPSXG | X3_FOLDER |
| CDD | 01 | CDD_FILIAL | C | 2 | 0 | Filial | Filial do sistema | | | | | 1 | | N | V | R | | | | | | 033 | |
| CDD | 02 | CDD_TPMOV | C | 1 | 0 | Tp. movto. | Tipo de movimento | @! | Pertence(" ES") | | | 1 | | S | V | R | | E=Entrada;S=Saida | | | | | |
| CDD | 03 | CDD_DOC | C | 9 | 0 | NF | Numero da NF | @! | | | | 1 | | S | V | R | | | | | | 018 | |
| CDD | 04 | CDD_SERIE | C | 3 | 0 | Serie | Serie da NF | !!! | | | | 1 | | S | V | R | | | | | | 094 | |
| CDD | 05 | CDD_CLIFOR | C | 6 | 0 | Cli/for | Cliente/fornecedor | @! | | | | 1 | | S | V | R | | | | | | 001 | |
| CDD | 06 | CDD_LOJA | C | 2 | 0 | Loja | Loja cliente/fornecedor | @! | | | | 1 | | S | V | R | | | | | | 002 | |
| CDD | 07 | CDD_DOCREF | C | 9 | 0 | Docto. ref. | Documento referenciado | @! | | | | 1 | | S | A | R | | | | | | 018 | |
| CDD | 08 | CDD_SERREF | C | 3 | 0 | Serie ref. | Serie documento refer. | !!! | | | | 1 | | S | A | | | | | | | 094 | |
| CDD | 09 | CDD_PARREF | C | 6 | 0 | Cli/for ref. | Cliente/fornecedor ref. | @! | A926VldCpo() | | PARCDD | 1 | | S | A | R | | | | | | 001 | |
| CDD | 10 | CDD_LOJREF | C | 2 | 0 | Loja ref. | Loja cli/for referenciado | @! | A926VldCpo() | | | 1 | | S | A | R | | | | | | 002 | |
| CDD | 11 | CDD_IFCOMP | C | 6 | 0 | Inf. compl. | Informacao complementar | | ExistCpo("CCE") | | CCE | 1 | | N | A | R | | | | | | | |
| CDD | 12 | CDD_SDOCRF | C | 3 | 0 | Serie Ref | Serie documento refer. | !!! | | | | 1 | | N | V | R | | | | | | 095 | |
| CDD | 13 | CDD_SDOC | C | 3 | 0 | Serie Doc. | Serie do Documento Fiscal | !!! | | | | 1 | | N | V | R | | | | | | 095 | |
| CDD | 14 | CDD_CHVNFE | C | 44 | 0 | Chave NF-e | Chave NF-e | @! | | | | 1 | | S | A | R | | | | | | 183 | |
| CDD | 15 | CDD_ENTSAI | C | 1 | 0 | Ent/Sai | Entrada / Saida | @! | Pertence("12") | | | 1 | | S | A | R | | 1=Entrada;2=Saida | | | | | |
| CDD | 16 | CDD_MEANRF | C | 6 | 0 | Mes/Ano Ref | Mes e Ano Doc Ref | | | | | 1 | | | | | | | | | | | |
| CDD | 17 | CDD_MODREF | C | 6 | 0 | Espec.Docum. | Especie do Documento | @! | Vazio() .or. ExistCpo("SX5","42"+M->CDD_MODREF) | | 42 | 1 | | S | A | R | | | | | | | |
| CDD | 18 | CDD_INDEMI | C | 1 | 0 | Ind. Emissao | Indicador de emissao | @! | Pertence("01 ") .or. vazio() | | | 1 | | S | A | R | | 0=Propria;1=Terceiros | | | | | |
| CDD | 19 | CDD_DATEMI | D | 8 | 0 | Data Emissao | Data de emissao | | | CTOD(" / / ") | | 1 | | S | A | R | | | | | | | |
| CDD | 20 | CDD_PART | C | 1 | 0 | Participante | Participante | @! | Pertence(" 12") .or. vazio() | | | 1 | S | S | A | R | | 1=Cliente;2=Fornecedor | | | | | |
SIX - INDICES
| INDICE | ORDEM | CHAVE | DESCRICAO | DESCSPA | DESCENG | PROPRI | F3 | NICKNAME | SHOWPESQ | IX_VIRTUAL | IX_VIRCUST |
| CDD | 1 | CDD_FILIAL+CDD_TPMOV+CDD_DOC+CDD_SERIE+CDD_CLIFOR+CDD_LOJA+CDD_DOCREF+CDD_SERREF+CDD_PARREF+CDD_LOJREF | Tp. movto. + NF + Serie + Cli/for + Loja + Docto. ref. + Serie ref. + | Tp. movto. + Fact. + Serie + Cli/prov + Tienda + Docto. aut. + Serie a | Trans. type + Inv. number + Series + Cust./Suppl. + Unit + Ref. doc. + | S | | | S | 2 | 3 |
| CDD | 2 | CDD_FILIAL+CDD_TPMOV+CDD_DOC+CDD_SDOC+CDD_CLIFOR+CDD_LOJA+CDD_DOCREF+CDD_SDOCRF+CDD_PARREF+CDD_LOJREF | Tp. movto. + NF + Serie Doc. + Cli/for + Loja + Docto. ref. + Serie Re | Tp. movto. + Fact. + Serie Doc. + Cli/prov + Tienda + Docto. aut. + Se | Trans. type + Inv. number + Inv.Series + Cust./Suppl. + Unit + Ref. do | S | | | N | 2 | 3 |
SX7 - GATILHOS
| X7_CAMPO | X7_SEQUENC | X7_REGRA | X7_CDOMIN | X7_TIPO | X7_SEEK | X7_ALIAS | X7_ORDEM | X7_CHAVE | X7_CONDIC | X7_PROPRI |
| CDD_PART | 001 | SPACE(LEN(CDD->CDD_PARREF)) | CDD_PARREF | P | | | 0 | | A926PART() | S |
| CDD_PART | 002 | SPACE(LEN(CDD->CDD_LOJREF)) | CDD_LOJREF | P | | | 0 | | A926PART() | S |
SXG - Grupo de Campos
| XG_GRUPO | XG_DESCRI | XG_DESSPA | XG_DESENG | XG_SIZEMAX | XG_SIZEMIN | XG_SIZE | XG_PICTURE |
| 001 | Codigo Cliente/Fornecedor | Codigo Cliente/Proveedor | Customer/Supplier Code | 20 | 6 | 6 | @! |
| 002 | Loja Cliente/Fornecedor | Tienda Cliente/Proveedor | Customer/Supplier Unit | 4 | 2 | 2 | @! |
| 018 | Documento de entrada/saida | Documento de entrada/salida | Inbound/outbound document | 13 | 6 | 9 | @! |
| 033 | Tamanho da Filial | Tamano de la Sucursal | Branch Size | 12 | 2 | 2 | |
| 094 | Id de Controle dos doc.fiscais | Id de Control dos doc.fiscales | Control ID of invoices | 14 | 3 | 3 | !!! |
| 095 | Serie dos documentos fiscais | Serie de documentos fiscales | Invoice series | 3 | 3 | 3 | !!! |
| 183 | Chave DFE | Clave DFE | DFE Key | 60 | 44 | 44 | @! |
Gostou? Compartilhe com seus amigos e deixe um comentário! ??
Um abraço, e até a próxima