1. Home
  2. Docs
  3. Master Form
  4. Procedures
  5. Form Procedures
  6. Procedure to run on filing a new form

Procedure to run on filing a new form

This form procedure is triggered when a data form (new or edited) is filed. It will be triggered after the form procedure ‘Validate Before Filing‘ is successfully completed. 

For example, use the ‘Attach a form stack to the form’ procedure step to ‘staple’ a stack of paid invoices to a payment data form to keep track of which invoices have been paid. Use the ‘Create form or detail line’ procedure to create a new data form of a different master form type. 

Available Procedure Steps - Form Level

  • Do nothing
  • Process a form stack
  • Case on conditions
  • Attach a form stack to the form
  • Create form or detail line

Available Procedure Steps - Detail Lines Level

  • Do nothing
  • Process a form stack
  • Case on conditions
  • Attach a form stack to the form
  • Create form or detail line

Detail LInes Field

This procedure is first triggered at Form level. Then, since each detail line is a form, each detail line in a detail lines field will be have its procedure triggered. 

Multiple detail lines fields are checked in the order they were added to the master form.

Note: The name of the procedure indicates it is for 'filing a new form'. It actually should say 'filing a data form'. This will be corrected in future version of Formever.

How can we help?