Empty Table

emptyTable

Empty a specific table​. All records are removed.

DSApi.emptyTable(String className)

or

DSApi.emptyTable(String className, String auditMsg)

Parameters

className:  name of the table
auditMsg:    any message

Sample Code

    String className = "shared.common.product";
    Object res = DSApi.emptyTable(className);

Return

Last updated