Delete APIs
delete
DSApi.delete(String className, String id, boolean permanent)
or
DSApi.delete(String className, String id, boolean permanent, String auditMsg)className: the name of the table
id: the record number
permanent: permanent or temporary
auditMsg: any message String className = "shared.common.product";
boolean permanent = true;
String id = "12";
Object res = DSApi.delete(className, id, permanent);deleteMany
deleteByQuery
Last updated
Was this helpful?