web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Validation error message while posting timesheets after CU13 upgrade

(0) ShareShare
ReportReport
Posted on by

Hello,

From CU10 to CU 13 upgrade has bring in KB4016056 in my environment which has added a validation check in validatePost() method of Class TSTimesheetsPost Class.

It has added below condition

if (retVal && (tsTimesheetLine.isIntercompany()) && (_tsTimesheetTable.ApprovalStatus == TSAppStatus::Approved))
{
tsTimesheetsPost = new TSTimesheetsPost(_tsTimesheetTable);
retVal = tsTimesheetsPost.validateProjFinancialDim(_tsTimesheetTable);
}

Here tsTimesheetLine buffer has not yet been initialized and it's checking  whether it's intercompany or not. Why is this check without buffer data?

This always returns true and hence goes ahead in the if condition and executes   tsTimesheetsPost.validateProjFinancialDim() method. This is also new in KB4016056 .

This validateProjFinancialDim() method call is finding intercompany projects based on the default dimension of the Timesheet Line.

I feel something wrong here in this method. This gives me multiple projects of different companies and hence it fails. What is the purpose of this check here ?

Can anyone please help me understand this?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    I have to comment out this CU13 code for now and it obviously have worked well.

  • Thor Novang Profile Picture
    5 on at

    We have also upgraded to CU13 from CU10, and we ran in to same problem. I can't find any fix for this yet on LCS. KB4016056 fixes one problem for intercompany, and creates on problem for none intercompany it seems.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 16

#2
GiacomoRovai Profile Picture

GiacomoRovai 4

#3
Douglas Noel Profile Picture

Douglas Noel 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans