Second
Syntax
Second(timevalue)
Description
Use the Second function to extract the seconds component of a Time value.
Parameters
Field or Control |
Definition |
---|---|
timevalue |
A Time value from which to extract seconds. |
Returns
Returns a Number equal to the seconds part of timevalue .
SecureRandomGen
Syntax
SecureRandomGen([num][, bytes])
Description
Use the SecureRandomGen function to generate one or more cryptographically secure pseudo-random number generator (CSPRNG) values. For example, a CSPRNG value can be used as a salt to then generate a hashed (or âsaltedâ) string, such as a hashed password.
Note: Because SecureRandomGen is ...
SendMail
Syntax
SendMail(flags, recipients, CCs, BCCs, subject, text, [, attachment_filenames][, attachment_titles] [, Mail_From] [, Mail_Sep] [, Content_Type] [, Reply_To] [, Sender])
Description
Important! The SendMail function has been deprecated. Use the MCFOutboundEmail class instead.
The SendMail function was formerly used to send an email message from a PeopleSoft application page.
Parameters
Field or Control |
Definition |
---|---|
flags ... |
SetAddMode
Syntax
SetAddMode(add_mode)
Description
Use the SetAddMode function to indicate that the component build occurs in add mode.
Important! Use this function within fluid applications only.
Parameters
Field or Control |
Definition |
---|---|
add_mode |
Specifies a Boolean value indicating whether the component build process should occur in add mode or not. |
Returns ...
SetAuthenticationResult
Syntax
SetAuthenticationResult(AuthResult [, UserId] [,ResultDocument] [,PasswordExpired] [DaysLeftBeforeExpire])
Description
Use the SetAuthenticationResult function in signon PeopleCode to customize the authentication process. It enables the developer using signon PeopleCode to implement additional authentication mechanisms beyond the basic PeopleSoft ID and password authentication.
When PasswordExpired is True, it indicates the password is expired ...
SetChannelStatus
Syntax
SetChannelStatus(ChannelName, Status)
Description
Use the SetChannelStatus to set the status of the specified channel. You could use this function to restart a channel that had been paused, or pause a running channel.
Note: This function has been deprecated and remains for backward compatibility only. Use the IntBroker class ...
SetComponentChanged
Syntax
SetComponentChanged()
Description
Use the SetComponentChanged function to set the changed flag for the component. This flag is used to determine if save processing is needed or not, when the user clicks Save, or save is triggered through DoSave PeopleCode. This flag is also used to determine if a save ...
SetControlValue
Syntax
SetControlValue(Value, PageName, PageFieldName [, RowNumber] [, &Field])
Description
Use the SetControlValue function to set an override string on the current field so that it simulates an end user entering data.
When a page is refreshed after a PeopleCode program completes, each field value gets set from the buffer. However, if ...
SetCursorPos
Syntax
SetCursorPos(Page.pagename, scrollpath, target_row, [recordname.]fieldname)
where scrollpath is:
[RECORD.level1_recname, level1_row, [RECORD.level2_recname, level2_row, ]] RECORD.target_recname
To prevent ambiguous references, you can use SCROLL. scrollname , where scrollname is the same as the scroll levelâs primary record name.
Description
Use the SetCursorPos to place the focus in ...
SetDBFieldAuxFlag
Syntax
SetDBFieldAuxFlag(Field.FieldName, FlagNumber, Setting)
Description
Use the SetDBFieldAuxFlag function to set the auxiliary flag mask (AuxFlagMask) property for the specified field. This field indicates properties about the field.
Currently, only one flag comes preset from PeopleSoft: a 1 indicates a ChartField. If you want to associate a property ...