another blog

Icon

About Microsoft Dynamics GP :-)

This datatype name is already in use.

Few days back I got a small task of increasing length of field Dependent SSN of window Employee Dependents.User could only enter 9 characters on this field although the storage size of this field is 16 characters.After checking field properties I just realized that the format assigned to the field is actually not allowing it to enter 15 characters. I just opened the window in modifier and tried to change the format to new one so could allow max of 15 characters, but got the error “This datatype name is already in use”.ddn1

So I checked the dictionary from which this window originates and found it in Human Resources. So I checked the field which is using this data type.

dssn

And then check other fields in Employee Maintenance window, there I found social security number and check that in modifier. and check the field definition. So it has the same data type which the other field from HR module is using.

ssn

ssn1

So I went back to Dynamics GP, and instead of going to modifier by selecting the option ‘Modify current window’, I go to modifier by Tools>>Customize>>Modifier and  then selected the product ‘Microsoft Dynamics’.

Then from Resources selected the Data Type and then open ‘STR15_Social_Security_Number. And change the format of datatype, this time it’s allow me to save the change without any warning. 🙂

final

Filed under: Dynamics GP, dynamics-gp, Modifier, , , ,

Categories

Enter your email address to follow this blog and receive notifications of new posts by email.

Enter your email address to follow this blog and receive notifications of new posts by email.

almas

Error: Please make sure the Twitter account is public.

Blog Stats

  • 7,671 hits

RSS dynamics-gp

  • Getting the current active window in Dexterity.
    Using dexterity there is not a direct way of getting current active window information, but with set of available GP functions and triggers can make this task happen. Below I am sharing a trigger and function which can tell the active window name. Below code needs to be changed according to the needs of developer, […]
    Almas
  • Hints and Tips… On going Post
    This is on going post and points will be added from time to time. 🙂 .. with Field Level Security we can not restrict document access on Sales transaction entry Window. Means we can not make user to choose only ‘Invoices’ in SOP Type drop down. .. we can not add custom table in table […]
    Almas
  • Reversing the sort order of Receivable Transaction Inquiry – Customer by Document Date
    Last few months we got more request on changing sort orders of Inquiry windows and lookups and to cover them all in a one place I have been working on a small project which will provide a simple sorting without much effort. In Dynamics Community there was a post having similar situation, I have already […]
    Almas
  • Getting the current open window in .net GP Add In
    There are many ways of getting information of active window in GP, but it changes according to the developing tool we are working on. 1.Dexterity.(the best tool 🙂
    Almas
  • Not all RW_Function are meant for reports.
    There are lots of RW functions available in a report writer Calculated Field Definition window and almost all of them are so handy while working on report writer, but it is a matter of fact that some of them are not actually meant for report writer. Usually RW functions are associated with report writer and […]
    Almas
  • Dexterity Can Wait and Respond.
    https://evspakistan.wordpress.com/microsoft-dexterity-can-wait-respond/Filed under: Can i, Dexterity Development, Dynamics GP, dynamics-gp, Uncategorized Tagged: Delay, dexterity, Wait
    Almas
  • Cross Dictionary Development.
    https://evspakistan.wordpress.com/cross-dictionary-development/    Filed under: Dexterity Development, Dexterity Triggers, Dynamics GP, dynamics-gp, Uncategorized
    Almas
  • Calling Sales Document Numbers Lookup
    Often developers need to open available lookup on their custom form from dynamics GP.Sales Document Number lookup is a very common and much used lookup and every dynamics technical person needs to call it in once (or more) in their lifetime. 🙂 Dynamics GP SDK provide a prototype of coding on how to open various […]
    Almas
  • This datatype name is already in use.
    This datatype name is already in use.
    Almas
  • Adding Customer Inactive checkbox to National Accounts Form.
    RE: Adding Customer Inactive check box to National Accounts form. https://community.dynamics.com/gp/f/32/p/134427/292770.aspx#292770 To run this code you need to add a reference. Mark a reference to a Microsoft Active X Data Object Library in the VBA editor.        1. Open up the VBA editor and go to Tools | References.2. Scroll down until you see the […] […]
    Almas
Coding Notes

Code, News, Tech & Stuff

Dynamics GP Builders & Reporting

How to use MS Dynamics SmartList Builder, Excel Report Builder and other Reporting tools to get the data and analysis you need.

%d bloggers like this: