web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

GTIN number always filled with leading zeroes

(1) ShareShare
ReportReport
Posted on by 4
Hello we are struggling currently with an issue about GTIN Number setup. The GTIN number is 13 digits long. D365 always fills it up to 14 digits. This leads to issues with our EDI order import logic, Can someone explain why it is filling up and probably how to avoid it. 
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,075 Super User 2025 Season 2 on at
    Hi Community member,
     
    Can you explain more about "D365 always fills it up to 14 digits"? Can you share the barcode number setup and how barcodes are entered or generated in your environment? Can you provide an example probably supported with one or more screenshots?
  • Suggested answer
    Graham D Richardson Profile Picture
    13 on at
    We had this problem a few years ago.  The problem is that Microsoft always saves the GTIN as 14 digits even if you are using a shorter length.  Hence the padding.  Microsoft state it adds it to the end, but we found it added it to the start too.
     
     
    Your only real option is to adjust your EDI logic to take this into account.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 302 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 183 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 120 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans