Difference between revisions of "Codeunit/Formevents"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
old>Admin
Line 18: Line 18:
     public void beforeUpdateItem() throws Exception {}
     public void beforeUpdateItem() throws Exception {}
     public void beforeRenderItem() throws Exception {}     
     public void beforeRenderItem() throws Exception {}     
     public void afterUpdateItem() throws Exception {  return false; }
     public void afterUpdateItem() throws Exception {  return false; }
      
      
     public boolean afterUpdateRedirectActive() {  return false; }
     public boolean afterUpdateRedirectActive() {  return false; }
     public String afterUpdateRedirectContent()  {  return null;    }
     public String afterUpdateRedirectContent()  {  return null;    }

Revision as of 11:54, 15 November 2013

Form events fires different actions during execution of a solution

LIST level event hooks are

   public String appendListPageHead() { return ""; }
   public String appendListPageFoot() { return ""; }
   public void beforeSelectList() throws Exception {}    
   public void beforeRenderList() throws Exception {}       

ITEM level event hooks are

   public String appendItemPageHead() { return ""; }    
   public String appendItemPageFoot() { return ""; }    
   public void beforeSelectItem() throws Exception {}    
   public void beforeChangeItem() throws Exception {}
   public void beforeUpdateItem() throws Exception {}
   public void beforeRenderItem() throws Exception {}    
   public void afterUpdateItem() throws Exception {   return false; }
   
   public boolean afterUpdateRedirectActive() {   return false; }
   public String afterUpdateRedirectContent()   {   return null;    }