Skip to main content

Notifications

Microsoft Dynamics SL (Archived)

Custom Fields do not display

Posted on by 890

We added a number of custom fields to an existing custom table linked to pjsubdet , using customization manager, with no issues.

We now expanded the custom table by adding another three fields and made the fields available on the screen.

Data can be entered and saved to the DB (verified in sql) but when the screen is reopened the new data display as NULL or blank.

.

When the screen is saved, closed and opened again, the values in the DB change to NULL or blank.

The screen works 100% for the rest of the data

Any sugegestions on how to resolve will be appreciated.

*This post is locked for comments

  • Coen Pretorius Profile Picture
    Coen Pretorius 890 on at
    RE: Custom Fields do not display

    Hi Mark and all who responded.

    Thank you for the inpout.

    We redid the customization with one field less in the custom table and it works now.

    We still want to redo it again adding the field again to see if that causes the problem or whether it was just a "problem" customization.

    Will report back when we get around to do it.

  • Mark Asmus Profile Picture
    Mark Asmus on at
    RE: Custom Fields do not display

    Coen,

    Are you using a stored procedure to fetch the values from your custom table?   After adding the fields to your table, did you drop and recreate the stored procedure?   If not, maybe the stored procedure isn't fetching the new columns which is why it's showing up as blanks.  

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Custom Fields do not display

    Hi

    You could check those three fields offset value and data length.

    Thanks

  • Coen Pretorius Profile Picture
    Coen Pretorius 890 on at
    RE: Custom Fields do not display

    Hi Alejandro,

    we will try that, thanks

  • RE: Custom Fields do not display

    You could trying deleting the swimapi.kpr and swimapi ex files on the same folder menu cache is (with sl closed)

    C:\users\application data\roaming\dynamics sl

    This files will be regenerated the next time you open a customized screen

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Custom Fields do not display

    Its ok :)

    Thanks

  • Coen Pretorius Profile Picture
    Coen Pretorius 890 on at
    RE: Custom Fields do not display

    Thank you for the response Santhosh,

    I incorrectly said NULL - I meant zeros (0.00)

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Custom Fields do not display

    Hi

    First, make all current NULL values disappear in those 3 new columns:

    ex:

    UPDATE [Table] SET [Column]=0 WHERE [Column] IS NULL

    --Note

    --If Integer/float columns assign 0

    --If String assign ''

    Then, update the table definition to restrict NULLs:

    ALTER TABLE [Table] ALTER COLUMN [Column] INTEGER NOT NULL

    Hope this Helps

    Thanks

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans