Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

OData Creating a project using ProjectsV2 Entity Error Message

(1) ShareShare
ReportReport
Posted on by 15
 
 
Hi
 
 
 
I am trying to create a test project in F&O using C# and the ProjectV2() Entity, I have filled out all the required fields, this is my code
 
 
           ProjectV2 proj2 = new ProjectV2()
            {
                ActualEndDate = DateTime.Now.AddDays(5),
                Description = /Description/,
                ActualStartDate = DateTime.Now,
                ProjectId = /1002/,
                ProjectName = /Test/,
                DataAreaId = /DAT/,
                ProjectedStartDate = DateTime.Now,
                ProjectGroupId = /TM/,
            };
            context.AddToProjectsV2(proj2);
            context.SaveChanges();
   
 
 
 
 
however i am getting this error message below on the SaveChanges
 
 
 
Write failed for table row of type 'ProjProjectV2Entity'. Infolog: Error: The record being saved is for Legal Entity ### that has not turned on Project Operations Integration. This record will not be synchronised to Finance and Operations. For correct synchronisation to occur, turn on Project Operations Integration for this Legal Entity in Project parameters form in Finance and Operations
 
 
 
We have tried switching this on however it prompts about resetting accounting parameters, which we really do not want to do. Is there a better way i can achieve this functionality ?
 
 

Activating
project operations feature will reset project management and accounting
parameters for selected legal entities. Do you want to proceed?

 
 
TIA
 
 
   
 
 
 

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,234 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,994 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans