Oracle WebCenter Content (MOSC)

MOSC Banner

increase date in derived field

edited Apr 18, 2018 5:07AM in Oracle WebCenter Content (MOSC) 5 commentsAnswered

i have two fields:

Issue date and Expiry date , the case is when  expiry date is empty it should be filled with value (Issue date plus five years)

i  use the following code in  Expiry date field is derived section, its working good but i cant add five years here:

<$if #active.xExpiry_Date like ""$>

<$dprDerivedValue=#active.xPOA_IssueDate$>

<$endif$>

 

then i use the following code , but i cant use (xPOA_IssueDate) field :

<$if #active.xExpiry_Date like ""$>

<$dprDerivedValue=dateCurrent(1811)$>

<$endif$>

any help please to use xPOA_IssueDate field and add to it five years?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center