Itens Regras Distrib Orc.
A tabela AMZ faz parte do sistema ERP Protheus da TOTVS e é utilizada para itens regras distrib orc..
Ela pertence ao dicionário de dados do Protheus (SX2) e armazena informações essenciais utilizadas em processos como cadastros, movimentações e integrações do sistema.
A tabela AMZ possui diversos campos (SX3), cada um com regras específicas como tipo, tamanho e validações, além de índices (SIX) que otimizam a performance das consultas.
Nesta página você pode consultar a estrutura completa da tabela AMZ, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | AMZ |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | AMZ990 |
| X2_NOME | Itens Regras Distrib Orc. |
| X2_NOMESPA | Items Reglas Distrib Presup. |
| X2_NOMEENG | Itens Budget Distr. Rules |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | C |
| X2_MODOEMP | C |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | AMZ_FILIAL+AMZ_CODIGO+AMZ_ITEM |
| X2_PYME | S |
| X2_MODULO | 57 |
| X2_DISPLAY | - |
| X2_SYSOBJ | - |
| X2_USROBJ | - |
| X2_POSLGT | 1 |
| X2_CLOB | 2 |
| X2_AUTREC | 2 |
| X2_TAMFIL | 2 |
| X2_TAMUN | 0 |
| X2_TAMEMP | 0 |
| X2_STAMP | 2 |
| X2_INSDT | 2 |
| D_E_L_E_T_ | - |
| R_E_C_N_O_ | 454 |
| R_E_C_D_E_L_ | 0 |
| X3_ARQUIVO | X3_ORDEM | X3_CAMPO | X3_TIPO | X3_TAMANHO | X3_DECIMAL | X3_TITULO | X3_TITSPA | X3_TITENG | X3_DESCRIC | X3_DESCSPA | X3_DESCENG | X3_PICTURE | X3_VALID | X3_USADO | X3_RELACAO | X3_F3 | X3_NIVEL | X3_RESERV | X3_CHECK | X3_TRIGGER | X3_PROPRI | X3_BROWSE | X3_VISUAL | X3_CONTEXT | X3_OBRIGAT | X3_VLDUSER | X3_CBOX | X3_CBOXSPA | X3_CBOXENG | X3_PICTVAR | X3_WHEN | X3_INIBRW | X3_GRPSXG | X3_FOLDER | X3_PYME | X3_CONDSQL | X3_CHKSQL | X3_IDXSRV | X3_ORTOGRA | X3_IDXFLD | X3_TELA | X3_PICBRV | X3_AGRUP | X3_POSLGT | X3_MODAL | X3_CHKSUM | X3_ADDSUM | D_E_L_E_T_ | R_E_C_N_O_ | R_E_C_D_E_L_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| AMZ | 01 | AMZ_FILIAL | C | 2 | 0 | Filial | Sucursal | Branch | Filial do Sistema | Sucursal del Sistema | System Branch | - | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 6170 | 0 |
| AMZ | 02 | AMZ_CODIGO | C | 6 | 0 | Codigo | Codigo | Code | Codigo da Regra | Codigo de Regla | Rule Code | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 6171 | 0 |
| AMZ | 03 | AMZ_ITEM | C | 6 | 0 | Item | Item | Item | Item da Regra | Item de Regla | Rule Item | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 6172 | 0 |
| AMZ | 04 | AMZ_CLASSE | C | 6 | 0 | Classe Orcam | Clase Presup | Budget Class | Classe Orcamentaria | Clase Presupuestaria | Budget Class | @! | ExistCpo("AK6") | x x x x x x x x x x x x x x x x | - | AK6 | 1 | x x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 6173 | 0 |
| AMZ | 05 | AMZ_OPER | C | 10 | 0 | Operacao | Operacion | Operation | Operacao | Operacion | Operation | @! | ExistCpo("AKF") | x x x x x x x x x x x x x x x x | - | AKF | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 6174 | 0 |
| AMZ | 06 | AMZ_CC | C | 9 | 0 | Centro Custo | Centro Costo | Cost Center | Centro Custo | Centro Costo | Cost Center | @! | ExistCpo("CTT") | x x x x x x x x x x x x x x x x | - | CTT | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 004 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 6175 | 0 |
| AMZ | 07 | AMZ_ITCTB | C | 9 | 0 | Item Contab. | Item Contab. | Acc. Item | Item Contabil | Item Contable | Accounting Item | @! | ExistCpo("CTD") | x x x x x x x x x x x x x x x x | - | CTD | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 005 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 6176 | 0 |
| AMZ | 08 | AMZ_CLVLR | C | 9 | 0 | Classe Valor | Clase Valor | Value Class | Classe Valor | Clase Valor | Value Class | @! | ExistCpo("CTH") | x x x x x x x x x x x x x x x x | - | CTH | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 006 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 6177 | 0 |
| AMZ | 09 | AMZ_IDENT | C | 80 | 0 | Identific. | Identific. | Identifier | Identificador do item | Identificador del item | Item Identifier | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 6178 | 0 |
| AMZ | 10 | AMZ_CHAVE | C | 100 | 0 | Chave | Clave | Key | Chave de Relacionamento | Clave de Relacion | Association Key | @S30 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 6179 | 0 |
| AMZ | 11 | AMZ_UM | C | 2 | 0 | UM | UM | Meas. Unit | Unidade de Medida | Unidad de Medida | Measurement Unit | - | - | x x x x x x x x x x x x x x x x | - | SAH | 1 | x | - | - | - | S | V | V | - | - | - | - | - | - | - | - | 122 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 6180 | 0 |
| AMZ | 12 | AMZ_PERC | N | 6 | 2 | Percentual | Porcentaje | Percentage | Percentual | Porcentaje | Percentage | @E 999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 6181 | 0 |
| AMZ | 13 | AMZ_UNIORC | C | 12 | 0 | Und. Orc. | Und. Pres. | Budg. Unit | Unidade Orcamentária | Unidad Presupuestaria | Budgetary Unit | @! | ExistCpo('AMF',,1) | x x x x x x x x x x x x x x x x | - | AMF | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 6182 | 0 |
| AMZ | 14 | AMZ_ENT05 | C | 16 | 0 | Entidade 05 | Ente 05 | Entity 05 | Entidade 05 | Ente 05 | Entity 05 | @! | Vazio() .Or. CTB105EntC(,M->AMZ_ENT05,,"05") | x x x x x x x x x x x x x x x x | - | CV0 | 0 | xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 040 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 177399 | 0 |
| AMZ | 15 | AMZ_ENT06 | C | 16 | 0 | Entidade 06 | Ente 06 | Entity 06 | Entidade 06 | Ente 06 | Entity 06 | @! | Vazio() .Or. CTB105EntC(,M->AMZ_ENT06,,"06") | x x x x x x x x x x x x x x x x | - | CV0 | 0 | xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 042 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 177400 | 0 |
| INDICE | ORDEM | CHAVE | DESCRICAO | DESCSPA | DESCENG | PROPRI | F3 | NICKNAME | SHOWPESQ | IX_VIRTUAL | IX_VIRCUST | D_E_L_E_T_ | R_E_C_N_O_ | R_E_C_D_E_L_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| AMZ | 1 | AMZ_FILIAL+AMZ_CODIGO+AMZ_ITEM | Codigo + Item | Codigo + Item | Code + Item | S | - | - | S | 2 | 3 | - | 1120 | 0 |
| AMZ | 2 | AMZ_FILIAL+AMZ_CODIGO+AMZ_CLASSE+AMZ_OPER+AMZ_CC+AMZ_ITCTB+AMZ_CLVLR+AMZ_UNIORC | Codigo + Classe Orcam + Operacao + Centro Custo + Item Contab. + Class | Codigo + Clase Presup + Operacion + Centro Costo + Item Contab. + Clas | Code + Budget Class + Operation + Cost Center + Acc. Item + Value Clas | S | - | - | S | 2 | 3 | - | 1121 | 0 |
Ela é utilizada para itens regras distrib orc. dentro do sistema ERP Protheus.
Nesta página você pode visualizar todos os campos, incluindo tipo, tamanho e validações.
Os índices são estruturas que melhoram a performance de busca e acesso aos dados dentro do Protheus.
Modelo de query gerado automaticamente com base na estrutura da tabela.
SELECT
AMZ_FILIAL,
AMZ_CODIGO,
AMZ_ITEM,
AMZ_CLASSE,
AMZ_OPER,
AMZ_CC,
AMZ_ITCTB,
AMZ_CLVLR,
AMZ_IDENT,
AMZ_CHAVE,
AMZ_UM,
AMZ_PERC,
AMZ_UNIORC,
AMZ_ENT05,
AMZ_ENT06
FROM AMZ
WHERE
D_E_L_E_T_ = ' '
AND AMZ_FILIAL = 'VALOR'
AND AMZ_CODIGO = 'VALOR'
AND AMZ_ITEM = 'VALOR'
AND AMZ_CLASSE = 'VALOR'
AND AMZ_OPER = 'VALOR'
AND AMZ_CC = 'VALOR'
AND AMZ_ITCTB = 'VALOR'
AND AMZ_CLVLR = 'VALOR'
AND AMZ_IDENT = 'VALOR'
AND AMZ_CHAVE = 'VALOR'
AND AMZ_UM = 'VALOR'
AND AMZ_PERC = 0
AND AMZ_UNIORC = 'VALOR'
AND AMZ_ENT05 = 'VALOR'
AND AMZ_ENT06 = 'VALOR'