Registration Component

Fnd_Reg_DemoDays

Fnd_Reg_DemoDays ({feature code{; days}}) -> Longint

Legacy manual page 206

Parameters

ParameterTypeDescription
feature codeTextA registration feature code or “” (optional)
URLLongintThe new demo period in days (optional)
Function resultLongintThe current number of demo days

Description

This routine allows the developer to get and set the number of demo days for the specified feature. Generally this routine should be called at startup before any calls to Fnd_Reg_DemoDialog. Calling this method does not modify the expiration date if it has already been set by a call to Fnd_Reg_StartDemoPeriod.

The default demo period for all features is 30 days. To set a different value, pass it as the second parameter to this method. To set the URL for the application, pass a blank string as the feature code. This example sets the demo days for the “invoicing” feature to 15 days.

Fnd_Reg_DemoDays ("invoicing";15)

If called without a second parameter, this routine will return the currently set demo period:

$demoDays_i:=Fnd_Reg_DemoDays ("invoicing")

To get the URL for the “APPL” feature you can also omit all of the parameters.

Extracted source text
            Fnd_Reg_DemoDays ({feature code{; days}}) ➔ Longint

              Parameter                Type              Description
              feature code             Text              A registration feature code or “” (optional)
              URL                      Longint           The new demo period in days (optional)
              Function result          Longint           The current number of demo days

            This routine allows the developer to get and set the number of demo days for the specified feature.
            Generally this routine should be called at startup before any calls to Fnd_Reg_DemoDialog.
            Calling this method does not modify the expiration date if it has already been set by a call to
            Fnd_Reg_StartDemoPeriod.

            The default demo period for all features is 30 days. To set a different value, pass it as the second
            parameter to this method. To set the URL for the application, pass a blank string as the feature code. This
            example sets the demo days for the “invoicing” feature to 15 days.
              Fnd_Reg_DemoDays ("invoicing";15)

            If called without a second parameter, this routine will return the currently set demo period:
              $demoDays_i:=Fnd_Reg_DemoDays ("invoicing")

            To get the URL for the “APPL” feature you can also omit all of the parameters.