Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Truncates the Microsoft Dynamics AX table.
Syntax
public int tableTruncate(
TableId tableId,
[boolean prompt_before_truncate,
boolean truncate_system_table])
Run On
Server
Parameters
- tableId
Type: TableId Extended Data Type
The handle of the table to be truncated.
- prompt_before_truncate
Type: boolean
A boolean flag that determines whether to ask user before truncating the table; optional. By default, true.
- truncate_system_table
Type: boolean
A boolean flag that determines whether to truncate table in case if selected table is system; optional. By default, false.
Return Value
Type: int
Zero if the method succeeds.