{"title":"LinkTableForceInsert Property","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-linktableforceinsert-property/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-linktableforceinsert-property, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-linktableforceinsert-property","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"Sets whether data from the linked table is forcibly modified or inserted into a table to prevent an error from being generated.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":2,"title":"Applies to","slug":"applies-to","at":188,"chars":38},{"level":2,"title":"Property Value","slug":"property-value","at":226,"chars":109},{"level":2,"title":"Syntax","slug":"syntax","at":335,"chars":50},{"level":2,"title":"Remarks","slug":"remarks","at":385,"chars":656},{"level":2,"title":"Related information","slug":"related-information","at":1041,"chars":75}],"text":"> Version: _Available or changed with runtime version 1.0._\nSets whether data from the linked table is forcibly modified or inserted into a table to prevent an error from being generated.\n## Applies to\n Xml Port Table Element\n## Property Value\nTrue if you want to forcibly insert or modify data; otherwise, false. The default is true.\n## Syntax\n```al\nLinkTableForceInsert = false;\n```\n## Remarks\nThis property works in combination with the devenv-linkfields-property and the devenv-linktable-property.\nSetting this property to true will forcibly insert or modify data from the linked table and run the ../triggers-auto/xmlporttableelement/devenv-onafterinitrecord-xmlporttableelement-trigger on the main table.\nThis 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.\n## Related information\ndevenv-linkfields-property\ndevenv-linktable-property"}