Business Component Check method

Official Content
This documentation is valid for:

This method can be applied to a variable based on a business component type of a Transaction object.

It performs the same validations that are carried out when the Save method is executed, but without updating the database.

It is used when you want to validate data (and mainly to give feedback to the user) before actually updating the database.




      Is a -temporary and local- variable defined in a GeneXus object, based on a Business Component type of a Transaction.


Specific case: Delete.Check
In order to validate if a delete action can be performed, the property Allow non-standard functions must be set to TRUE .


if (&Country.Success())
   msg("Delete check ok", status)
   msg("Delete check fails", status)

See Also

Business Component Save method