Codeunit 9557 Table Key
Source AL, 44 lines
src/System Application/App/Table Keys/src/TableKey.Codeunit.allines 11 to 26 of 44, Copyright (c) Microsoft Corporation. MIT
codeunit 9557 "Table Key"{ /// <summary> /// Disables all keys on the provided table. Disabling keys before bulk table write operations can significantly improve performance. /// </summary> /// <param name="TableNo">The table to disable all of the keys for.</param> /// <returns>True, if the keys were disabled successfully, false otherwise.</returns> /// <remarks> /// System tables and non-sql based tables are not supported for this operation. /// Clustered keys, unique keys, SIFT keys, Nonclustered Columnstore Indexes are not affected by this operation. /// The keys are automatically re-enabled when a Commit() is called, or at the end of AL code execution. /// </remarks> [Scope('OnPrem')] procedure DisableAll(TableNo: Integer): Boolean var TableKeyImpl: Codeunit "Table Key Impl.";Public procedures 2 in 29
| Disable | new in 24 |
| Enable | new in 24 |