RemoveCustomTable

You can use this function for Optiva Workflows and Copy Methods.

Purpose

Removes all rows from an extension table for an object.

Syntax


Dim variable As String = RemoveCustomTable(DataTableName[, Symbol, Object])

Arguments

Part Description
DataTableName Name of table in the Extension Table Definition form.
Symbol Type of object. Use empty quotation marks to indicate the symbol for the workflow or the copy method.
Object Object for which to remove the extension table rows. Use empty quotation marks to indicate the current object for the workflow, or the new object for the copy method.

Description

Use this function to delete all rows from an extension table for an object. Use for tables where users can add rows.

Examples

This example removes all rows from CustomTable1 for the item 10001.


Dim sRemoveCustomTable As String = RemoveCustomTable

("CustomTable1", "ITEM", "10001")

This example removes all rows from CustomTable1 for a new formula. The new formula is being created by a copy method.


Dim sRemoveCustomTable As String = RemoveCustomTable("CustomTable1")