Skip to Content
avatar image
Former Member

Default Year

Hello All,

I have a condition "Production Year Prompt" which Returns data for the selected production year and the year prior to it.

@Select(Production Date\Production Year Number) = @Prompt('Select Production Year','N','Production Date\Production Year Number',mono,free,) or

@Select(Production Date\Production Year Number) = @Prompt('Select Production Year','N','Production Date\Production Year Number',mono,free,) - 1

I have to implement "Default Year" to the exiting condition.  We are using BO 4.0 Sp5 and Teradata as backend. Any idea on how to implement in the existing code?

Thanks

Sandy

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 15, 2015 at 01:16 PM

    Hi Sandy,

    Which Year do you want to set as Default Year? I'm setting 2015 as default year in the below formula.

    @Select(Production Date\Production Year Number) = @Prompt('Select Production Year','N','Production Date\Production Year Number',mono,free,{'2015'}) or

    @Select(Production Date\Production Year Number) = @Prompt('Select Production Year','N','Production Date\Production Year Number',mono,free,{'2015'}) - 1


    Thanks,
    Mahboob Mohammed

    Add comment
    10|10000 characters needed characters exceeded