Readonly
cryptoReadonly
dbReadonly
exportsData stored in this object will persist between formulas on the same thread.
Will be cleared when the thread is finished or when [[B.clearExports]] is called.
Guest language objects will automactically be converted to host objects.
Example B.exports.key = value
. To read the value use const value = B.exports.key
.
Readonly
findUsed to find and give types to various objects given their string representation of their id.
Readonly
globalGlobal string to use with formatters.
Readonly
ioReadonly
mailReadonly
mesaReadonly
messageThis is the message provided to the on-demand formula by B.runForumla().
Readonly
netThe [[Net]].
Readonly
optAn Optional [[User]]. The Optional will be empty if no one is logged in.
Readonly
optAn Optional User [[Relate.Entry]]. The Optional will be empty if no one is logged in or is a super. Same as calling B.optUser().flatMap(user => user.optRecordTypeEntry())
Readonly
orgThe [[Organization]].
Readonly
queriesQueries
Readonly
reportsReports
Readonly
soapReadonly
textReadonly
timeThe [[Time]].
Readonly
userAn [[User]]. The [[User]] will be null if no one is logged in. Same as calling B.optUser.orElse(null)
Readonly
userA [[Relate.Entry]]. The [[Relate.Entry]] will be null if no one is logged in or is a super. Same as calling B.optUserRecordTypeEntry.orElse(null)
Readonly
utilThe [[Util]].
Commits the scripts containing transaction. Only used in Endpoints, OnDemand Formulas, and Scheduled Formulas.
Optional
messagesConsumer: (row: FieldException[]) => voidStatic
clearResets the B.exports for the next formula on the same thread.
TODO
Example