Skip to main content

Notifications

Announcements

No record found.

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. 
  • Suggested answer
    GTIN number always filled with leading zeroes
    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.
  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,187 Super User 2025 Season 1 on at
    GTIN number always filled with leading zeroes
    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?

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,187 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,966 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans