Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL forum
Answered

7040 - Invalid: Data cannot be entered against an ID that is not visible (ProjectTimecard.Description)

Posted on by 25

In the web app "Timecard Entry (MD.TMT.CE)" the description cannot be entered or changed. The Timecard header Description field is visible on the URL ending with ProjectTimecard/PeriodEntrySave. When a description is entered for the first time or changed the error message in the subject appears. The timecard can be saved with a blank description. If le_id02 is modified in the database it shows up in the description and the timecard can be saved so long as it has not been changed (for example, if the user changes the description to make the Save button visible, then changes it back), but it cannot be saved if the description is changed. This view (PeriodEntryHeader.vbhtml) is not modified, nor is any underlying logic. The hotfix installed is 38053, which is the current hotfix as of this post. This message does not appear for the web apps installed in the demo database. The error message seems to come from the javascript "ValidateDescription" method.

Any suggestions to help resolve this are appreciated. Entering the header description (for le_id02) is a requirement.

Thanks,

Delmer Johnson

  • DelmerJohnson Profile Picture
    DelmerJohnson 25 on at
    RE: 7040 - Invalid: Data cannot be entered against an ID that is not visible (ProjectTimecard.Description)

    Fixed it! Thanks!

  • Verified answer
    PatG Profile Picture
    PatG on at
    RE: 7040 - Invalid: Data cannot be entered against an ID that is not visible (ProjectTimecard.Description)

    Is your LEID set visible in ID Maintenance (PA.IDM.00)?

  • DelmerJohnson Profile Picture
    DelmerJohnson 25 on at
    RE: 7040 - Invalid: Data cannot be entered against an ID that is not visible (ProjectTimecard.Description)

    Here's a little more information from the Web Services log. This is a single line in the log:

    8/31/2016 4:06 PM UpdateProjectTimecardRate SLApplicationException SM~~7040~~Dynamics SL Message 7040: Invalid: Data cannot be entered against an ID that is not visible ~~ProjectTimecard(TimecardNumber=0000133146)~~ProjectTimecard.Description

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,459 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,783 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans