stevegray
4Penny.net
Points: 53175

1/11/2022 9:26:16 AM

Updating the DECPLCUR (Decimal Place Currency) in Dynamics GP

* This article, and all our great SQL (Dynamics) documentation, Is available on the SQL (Dynamics) menu

First off... this is highly unsupported. You should not be doing this. Stop, go back. Don't do this. 

(sigh)

But sometimes clients ask me to update the decimal places on an item that they've had in production for some time. 

The code below works for making a decimal place longer. BUT NOT SMALLER. You'd have to add code to round all the decimal places if you're going smaller. 

 

4Penny.net
Version: All
Section: SQL Scripts
Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3