vendredi 29 avril 2011

How to disable or enable calling an object ( report or form )

If you have to call a form or a report when from another form or class you can throw error in init method of your object( form or report) when trying to open it 

Here is an example :

     if (!element.args().caller())
    {
        throw error("@SYS22539");
    }

Aucun commentaire:

Enregistrer un commentaire