{"title":"DataTransfer.AddDestinationFilter(Integer, Text [, Any,...]) Method","url":"https://jonas-paprotka.de/docs/dev-itpro/developer/methods-auto/datatransfer/datatransfer-adddestinationfilter-method/","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/methods-auto/datatransfer/datatransfer-adddestinationfilter-method, 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/methods-auto/datatransfer/datatransfer-adddestinationfilter-method","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":"Adds a filter for the destination table for the data transfer.","date":"2026-10-01","meta":{"topic":"reference"},"outline":[{"level":1,"title":"DataTransfer.AddDestinationFilter(Integer, Text [, Any,...]) Method","slug":"datatransferadddestinationfilterinteger-text-any-method","at":0,"chars":1096},{"level":2,"title":"Syntax","slug":"syntax","at":194,"chars":115},{"level":2,"title":"Parameters","slug":"parameters","at":309,"chars":654},{"level":2,"title":"See Also","slug":"see-also","at":963,"chars":133}],"text":"# DataTransfer.AddDestinationFilter(Integer, Text [, Any,...]) Method\n> Version: _Available or changed with runtime version 17.0._\nAdds a filter for the destination table for the data transfer.\n## Syntax\n```al\n DataTransfer.AddDestinationFilter(DestinationField: Integer, String: Text [, Value: Any,...])\n```\n## Parameters\nDataTransfer\nType: datatransfer-data-type\nAn instance of the datatransfer-data-type data type.\nDestinationField\nType: ../integer/integer-data-type\nThe field in the destination table to filter on.\nString\nType: ../text/text-data-type\nThe filter expression. A valid expression consists of alphanumeric characters and one or more of the following operators: \\<, \\>, \\\\, &, |, and =. You can use replacement fields (%1, %2, and so on) to insert values at runtime.\n*[Optional] Value*\nType: ../any/any-data-type\nReplacement values to insert in replacement fields in the filter expression. The data type of Value must match the data type of Field.\n## See Also\ndatatransfer-data-type\nGetting started with AL<../../devenv-get-started>\nDeveloping extensions<../../devenv-dev-overview>"}