Performs the same validations as the Save method, but without updating the database. It is used when you want to validate data, mainly to get feedback, before actually updating the database.
&VarBasedOnBC.Check()
Where:
&VarBasedOnBC
Is a variable defined in a GeneXus object, based on a Business Component.
Specific case: Delete.Check
In order to validate if a delete action can be performed, the Allow non-standard functions property must be set to True.
&Country.Load("uru")
&Country.Mode=TrnMode.Delete
&Country.Check()
if &Country.Success()
msg("Delete check ok", status)
else
msg("Delete check fails", status)
endif
Business Component Save method