Determines whether the lock time-out setting is set to On. You can also use this function to override the default setting.
[LockTimeout :=] LOCKTIMEOUT([LockTimeout])
- Type: Boolean The new setting for whether the lock time-out is on.
Property Value/Return Value
This value shows whether to use a lock time-out.
This function has been designed specifically for use in long-running processes that should not be terminated because of a lock time-out, for example batch jobs that run overnight.
When the C/AL code has finished running, the default setting is used again. This function does not change the duration of a lock time-out.
To change the default setting in the Microsoft Dynamics NAVdevelopment environment, on the File menu, choose Database, and then choose Alter to open the Alter Database window. Choose the Advanced tab and select or clear the Lock time-out field.