Gatilhos(SX7) no Campo: TW9_CONTRT |
X7_CAMPO | X7_SEQUENC | X7_REGRA | X7_CDOMIN | X7_TIPO | X7_SEEK | X7_ALIAS | X7_ORDEM | X7_CHAVE | X7_CONDIC |
TW9_CONTRT | 001 | TFJ->TFJ_CODENT | TW9_CLIENT | P | S | TFJ | 5 | xFilial("TFJ")+FwFldGet("TW9_CONTRT") | |
TW9_CONTRT | 002 | TFJ->TFJ_LOJA | TW9_CLILOJ | P | N | | 0 | | |
TW9_CONTRT | 003 | SA1->A1_NOME | TW9_CLINOM | P | S | SA1 | 1 | xFilial("SA1")+FwFldGet("TW9_CLIENT")+FwFldGet("TW9_CLILOJ") | |
TW9_CONTRT | 004 | Space(Len(TW9->TW9_LOCAL)) | TW9_LOCAL | P | N | | 0 | | |
TW9_CONTRT | 005 | " " | TW9_DSCLOC | P | N | | 0 | | |
TW9_CONTRT | 006 | "2" | TW9_AGPPED | P | N | | 0 | | |
TW9_CONTRT | 007 | Space(Len(TW9->TW9_PRODUT)) | TW9_PRODUT | P | N | | 0 | | |
TW9_CONTRT | 008 | Space(Len(TW9->TW9_TES)) | TW9_TES | P | N | | 0 | | |