Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Enterprise Portal - Hours mandatory message appears on save eventhough hours are filled in.

Posted on by Microsoft Employee

Hello,

on TimesheetLineWeek table, we made externalcomments field mandatory. However, Hours are not mandatory by default.

When i save timesheet on Enterprise portal, it throws validation message that hours are mandatory for each weekday even when hours are filled up.

If i keep external comments non-mandatory field as per standard ax, all works as expected. but we need external comments mandatory.

Below is the screen shot of the error. I dig out the code and could not find anywhere if such label is used or any code where hours made mandatory.

This doesn't happen on AX Client somehow. Can someone please throw some lights here on what could be wrong?

I did AOD refresh, data dictionary refresh on EP as well. but nothing helped.

TimesheetMandatoryHours.jpg

*This post is locked for comments

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Enterprise Portal - Hours mandatory message appears on save eventhough hours are filled in.

    To overcome this issue, i just made the external comment non-mandatory (standard AX)  at table level again.

    I have made them mandatory at datasource level both on AX form , EP dataset and Mobile App service. All good now.

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans