Empty Table

emptyTable

Empty a specific table​. All records are removed.

DSApi.emptyTable(className)

or

DSApi.emptyTable(className, auditMsg)

Parameters

className:  str name of the table
auditMsg:    any message as boolean

Sample Code

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

Return

A Result object indicating the success or failure of the operation.

Last updated