Unofficial Content
  • This documentation is valid for:

GXExtension: Rules Generator
by Glauber C. Weddigen

Introduction

This extension create two new properties on Transaction object in which you can configure if Genexus will generate automatic Error rules for attributes that not allow null values.

How to use

First you need to select a Transaction object from the object list and then access your properties. On your properties you need to change the "Error Rules for Not Null Attributes" to "true" and after this the Extension will generate automatic Error rules for all atributes in transaction that not allow null values.

You can also set the default message that will be generated in the Error rule using a property of the transaction object: "Error Rule Pattern", where you can use the following reserved words to specify which property of the attribute will appear in the message: @attName for the attribute name and @attDesc for the attribute description.

History

Version 1.0
First deployment version of the extension.

Restrictions

The Rules are being generated before saving the Transaction.

Contact

Help us to improve this extension. Send e-mail to glauber@migrate.com.br.

Last update: April 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant