Skip to main content
All CollectionsBusiness System IntegrationsDynamics 365 Business CentralErrors
Dynamics 365 Business Central - [ERROR] The length of the string is 13, but it must be less than or equal to 10 characters
Dynamics 365 Business Central - [ERROR] The length of the string is 13, but it must be less than or equal to 10 characters
Micah A. Parker avatar
Written by Micah A. Parker
Updated over 10 months ago

Product: Dynamics 365 Business Central

Error: The length of the string is 13, but it must be less than or equal to 10 characters


Issue: When exporting a Purchase Order you receive the error message "The length of the string is 13, but it must be less than or equal to 10 characters"

Reason: Most Trading Partners send a Ship to Code that is longer than what Business Central allows (10)

Solution - Translate the Value


Navigate: Trading Partners β†’ (Partner) β†’ Translations β†’ Address List

Fill Out: EDI Code (Partner Ship To Code) and Bus Sys Code (Business Central Code)

Note: The Address List will Translate your code based on the 'Type' Dropdown. Ensure your Type is set to Store for Ship To Code translations

Related Articles


rev 9/7/22

Did this answer your question?