Modules
Objects/Functions
SuiteScript 2.0
{certificateControl}.findUsages({from: {date},to: {date},id: {string},operation: {string},script: {number},deploy: ${7:number},entity: ${8:number}})
N/certificateControl Module
certificateControl.findUsages()
Method Description:
Returns an audit trail of how a certificate has been used. Includes operations performed with time stamps.
Returns:
An array of operations performed.
Supported Script Types:
Server scripts
For additional information, see SuiteScript 2.0 Script Types.
Governance:
10 units
Module:
N/certificateControl Module
Since:
2019.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=certificateControl.findUsages(options)
Example:
// Code Example 1
//Add additional code
//...
var usages = cc.findUsages({
id: 'custcertificate_china',
operation: cc.Operation.POST
});
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_156146904779.html