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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Location Check Digit Length

(0) ShareShare
ReportReport
Posted on by

Good day,

When I first set-up locations in the warehouse the system automatically assigns a 2 or 3 character check digit. If I highlight a location and click on "Generate Check Digit" I get a new 7 character result. Is there a way to restrict the length of check digits? Duplicates are certainly fine.

Thx

Sheldon

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mea_ Profile Picture
    60,286 on at

    Hey Sheldon,

    This line of code does check digit generation when you click button on the form:

    // Generate a random check digit.
    checkText = int2str(random.randomInt(#MacroLib.whsCheckDigitMin, #MacroLib.whsCheckDigitMax));

    As you can see there are 2 macro that you can change to achieve your requirement and no setup that could be done from UI. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Sagar Suman Profile Picture

Sagar Suman 2 Super User 2026 Season 1

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans