AnsweredAssumed Answered

Script to clear Global Field when entering new record

Question asked by FilipePimentel on Oct 24, 2013
Latest reply on Aug 21, 2016 by beverly

Title

Script to clear Global Field when entering new record

Post

     Good morning, 

      

     I am after a script that would clear the global fields when entering a new record. I have a data entrey layout that is set with hierarchical conditional value lists.

     Field 1 determines what is shown in field 2 depending on what is selected in field 1(a Company).

     Field 2 determines what  is shown in field 3, depending on what is selected in field 2 (A department)

     field 3 determines what  is shown in field 4, depending on what is selected in field 3 (A department)

      

     Company -----> Department -------> Transaction ------> Item. 

     Company, Department & transactions as global fields. I want to set up a script that after entering the last field and selection a button to enter a new record, it will clear all global fields. 

     Anyone has any ideas?

      

     Thanks for you help

     Filipe

Outcomes