1609 - DRE
This commit is contained in:
@@ -410,7 +410,7 @@ xsi:schemaLocation="http://www.davinti.com.br/vitruvio/form/panel https://bitbuc
|
||||
function run() {
|
||||
if (engine.isValid()) {
|
||||
if (engine.getGlobalVariable('validarDuplicidade')(engine.getField('idPlaca').getValue())) {
|
||||
MessageBox.show(MessageBox.BoxType.INFO, 'Atenção', 'Já existe uma operação cadastrada com este nome.');
|
||||
MessageBox.show(MessageBox.BoxType.INFO, 'Atenção', 'Já existe um veículo cadastrado com este nome.');
|
||||
} else {
|
||||
var config = engine.getGlobalVariable('config');
|
||||
var id = engine.getField('idChave').getConvertedValue();
|
||||
|
||||
Reference in New Issue
Block a user