Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

BUG. Unit Accounts

Posted on by Microsoft Employee

When creating a unit account there is a drop down for decimal places.  The values are: 0,1,2
If you select 0 the DECPLACS field in GL00100 shows 1
If you select 1 the DECPLACS field in GL00100 shows 2
If you select 2 the DECPLACS field in GL00100 shows 3

I believe the developer is storing the position of the item in the dropdown list rather than the value selected.

I wanted to create a report and display the correct decimal places by using the value of DECPLACS even tho the value is actually stored with 5 decimal places because of the field being numeric(19,5)

*This post is locked for comments

  • Suggested answer
    Ian Grieve Profile Picture
    Ian Grieve 22,782 on at
    RE: BUG. Unit Accounts

    As Mark says this is standard behaviour. It isn't uncommon in other systems either.

    For this report simply subtract 1 from the value to get the number of decimals.

    For other fields you could use a CASE statement to change from the value to the text you want to see.

  • mpolino Profile Picture
    mpolino on at
    RE: BUG. Unit Accounts

    Not a bug. Using the position is by design. You'll find that in a lot of places in GP.

    Mark

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: BUG. Unit Accounts

    forgot to post version...GP10SP5

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans