Login

COURSES
|
CERTIFICATIONS
|
ACADEMIC PARTNERS
|
CONTACT US
|
FAQ
Search

GeneXus 15 course - Junior Level

You will easily learn, through different examples, the core of GeneXus in order to start developing your own applications.
Presentation
Online course
Materials

Rules definition

There is a place in each transaction to specify rules to be triggered when the user interacts with the screen  (to insert, modify or delete information).


We see how to ensure that, in the Customer transaction:
  • no record is mace of a customer with empty name, empty surname, or a date in the system later than today (Error rule)
  • a warning message is shown when the phone remains empty (Msg rule)
  • the day’s data is automatically assigned to a Date attribute (Default rule)
  • the edition of an attribute is disabled (Noaccept rule)
We also see how to condition the triggering of a rule. Specifically, in relation to the operation that is to be carried out: Insert, Update or Delete.
We show what variables are and what they are used for, and how we define variables in objects, as well as their main difference compared to attributes.

Click here for a PDF transcript of the video. 
Related
Executing the first project
Declaration of rules
Business Components
Rules definition
Rules in Transactions - More Knowledge
Rules definition
Another example of database update using transactions without form
More about order of execution in transaction rules
Two level transaction used as Business Component, and error management
Themes and images
Moments for rule triggering in transactions
Variables to store data collections in memory
How to update data using transaction logic without screen
More rules for defining behaviors
More on order of execution for rules in transactions
43 Videos (07h 01min)
Product
Development Platform
GeneXus™ FAQ
Plans & Pricing
Customer stories
Success Stories
Mobile Apps Showcase
GeneXus for SAP
GeneXus Cloud Services
Legacy Modernization
Training
First steps
Online Courses
Courses calendar
Certifications
Academic Partners
Learn on mobile
Extend GeneXus
GeneXus Marketplace
Extensions
Patterns
User Controls
External Tools
External Objects
Community
GeneXus International Meeting
Be a partner
GeneXus Meeting
GeneXus Wiki
Support
Smart Devices Partners
Distributors
Developers
Connect
Call us!
Work With Us
GeneXus Brasil
GeneXus China
GeneXus España
GeneXus Italia
GeneXus Japón
GeneXus México
GeneXus USA
Facebook | Twitter | Stackoverflow | Linkedin | Youtube | Google + | RSS Feed
© All rights reserved. GeneXus TM is registered to GeneXus International (GeneXus S.A.)