Bom dia, Sabem me dizer qual é a tabela moeda padrão na tela CD0401? DBName: ? Table: ? Name: c-mo-padrao Type: INTEGER Format: >9 Transaction: no Program: cdp/cd0401-v04.w
A lógica que encontrei numa versão antiga do fonte é essa aqui: find first dist-emitente where dist-emitente.cod-emitente = emitente.cod-emitente no-lock no-error. assign c-mo-padrao = if avail dist-emitente then dist-emitente.mo-fatur else 0.