Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

3. ADempiere Customization Part II > Configuring Default Logic

Configuring Default Logic

ADempiere's Default Logic concept is useful when we want to assign some default value to a field. The default value can be a static value or can be a derived value. In the MOM window, we have the Start Date field, which we would like to default to the current date so that when a user creates a MOM, it is pre-populated and the user is allowed to change it, if needed. Let us see how we can accomplish this by using the Default Logic concept.

How to do it...

  1. Log in as System/System with the System Administrator role.
  2. Go to the Window, Tab, and the Field window and open the detail of the Start Date field of the MOM tab on the Field tab.
  3. Specify @Date@ as the field value of Default Logic.
    How to do it...
  4. Log out and log in as GardenAdmin/GardenAdmin with the GardenWorld Admin role.

  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint