As we said in Chapter 2, Mastering a Modern Development Environment, XMLports are objects used to import and export data between Dynamics 365 Business Central and external data sources (this is managed by the Direction property, which can be set to Import, Export, or Both). Data can be imported or exported in XML or CSV (text) format (the Format property can be set to Xml, Variable Text, or Fixed Text).
XMLport properties are detailed at https://docs.microsoft.com/en-us/dynamics-nav/xmlport-properties.XMLport triggers are detailed at https://docs.microsoft.com/en-us/dynamics-nav/xmlport-triggers.
Now, consider the sample XMLport defined in Chapter 4, Extension Development Fundamentals:
xmlport 50100 MyXmlportImportCustomer
{
Direction = Import;
Format = VariableText;
FieldSeparator = ';';
RecordSeparator ...