Visual Builder

Get Involved. Join the Conversation.

Topic

    sriram iyer
    Simple Date Manipulation
    Topic posted October 29, 2018 by sriram iyerRed Ribbon: 250+ Points, tagged Business Objects, Custom Code, Process, UI, Validation 
    59 Views, 1 Comment
    Title:
    Simple Date Manipulation
    Summary:
    How to set a field to a predetermined value based on business rules
    Content:

    I have a field named Expiration Date in a business object. I want to set this field to (today + 30) or 30th June or 31st December etc. based on the selections made on the screen. I also want to show this field on the screen so users can see it. 

    How can I do this? Does not seem very intuitive.

    Thanks

    Sriram Iyer

    Version:
    Version: 18.3.3

    Comment

     

    • Shay Shmeltzer

      You can use groovy date functions to set the value in BO business rules.

      So you can set the field to be: now().plus(30)