module function · N/certificateControl

findCertificates()

certificateControl.findCertificates(options)

Returns metadata about the certificate(s).

Implementation
Not started
Design
Open for proposals suggest how it should read
Proposals
A
Signature
certificateControl.findCertificates(options)
Returns
object
Governance
10 units
Script types
Server scripts
Version
SuiteScript 2.x, documented for 2.1; since NetSuite 2019.1
call shapefrom Oracle's parameter table
1certificateControl.findCertificates({2    description:  /* string, optional */,3    name:         /* string, optional */,4    notification: /* number, optional */,5    restriction:  /* number, optional */,6    subsidiary:   /* number, optional */,7    type:         /* string, optional */8});
Oracle reference for this method
ParameterTypeRequiredDescription
options.descriptionstringoptionalThe certificate description. You can use the certificateControl.Operator enum with this parameter.
options.namestringoptionalThe certificate name. You can use the certificateControl.Operator enum with this parameter.
options.notificationnumberoptionalThe internal ID of an employee selected in the Copy Employees field.
options.restrictionnumberoptionalThe internal ID of an employee selected in the Restrict to Employees field.
options.subsidiarynumberoptionalThe internal ID of the subsidiary.
options.typestringoptionalThe certificate file type. You can use the certificateControl.Type enum with this parameter.
B

No Mynt syntax yet.

Nothing in the language compiles to certificateControl.findCertificates(options) today. How should it read?

C

Competing syntax for findCertificates, from GitHub Discussions. Select two or more to compare them side by side.

All discussions

Loading proposals from GitHub…

D

Write the Mynt you wish you could write.

A good proposal shows the syntax, the SuiteScript it should become, and argues for it: why it is clearer, how it fits the rest of the language, what it makes harder.

  • Clarity. Does it say what happens, without ceremony?
  • Consistency. Does it read like load, save and Ref[field]?
  • Expressiveness. Does it cover the cases people actually write?
  • Honesty. Does it hide a NetSuite cost, such as governance, that a reader should see?

N/certificateControl · certificateControl.findCertificates(options)

Suggest syntax for findCertificates