The AL developer preview is still evolving with frequent updates. Follow us on the Dynamics NAV Team Blog for the announcements.

LinkTableForceInsert Property

Sets whether data from the linked table is forcibly modified or inserted into a table to prevent an error from being generated.

Applies To


Property Value

True if you want to forcibly insert or modify data; otherwise, false. The default is true.


This property works in combination with the LinkFields Property and the LinkTable Property.

Setting this property to true will forcibly insert or modify data from the linked table and run the OnAfterInitRecord Trigger on the main table.

This feature is useful if you have a header to line relationship in your XML document. The table and the header information must be inserted before you can insert the line information. As a result, you can use this property to ensure that the header information is inserted before the XMLport starts reading the line information.

See Also

LinkFields Property
LinkTable Property