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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Extend Data Entity to add new Data Source

(1) ShareShare
ReportReport
Posted on by 122
I'm trying to extend the VendorInvoiceLineEntity data entity to add the data source VendInvoiceInfoLine_Project.
I've added it as follows:
 
I also added two fields (ProjId and ProjCategoryId) from VendInvoiceInfoLine_Project to the Data Entity field list
 
I'm using OData and was trying to see if I could still post to VendorInvoiceLineEntity after these changes via Postman but I get the following error:

 /Write failed for table row of type 'VendorInvoiceLineEntity'. Infolog: Error: The value ///VendInvoiceInfoLine_Project/// is not found in the map../,
 
(I was able to post before making this change.)
 
I'm not clear what's being referred to in /the map/?  Do I need to re-generate a map somewhere?  I've done a Full Compile and Database sync in Visual Studio.
 
Since I'm using OData, I'm not concerned with the Staging Table but, as a possible solution, I added the two fields to the Staging Table and can see them in the Map Staging to Target through the Data Management Workspace but I'm getting getting the same error through Postman when attempting to Post to this Data Entity:
 /Write failed for table row of type 'VendorInvoiceLineEntity'. Infolog: Error: The value ///VendInvoiceInfoLine_Project/// is not found in the map../,
 
I feel like I'm missing a step in this process but I just don't know what it is.
I have the same question (0)
  • Verified answer
    GirishS Profile Picture
    27,827 Moderator on at
    Hi Jackie,
     
    Refer to the below blog and try the last steps like refresh entity list and Generate mappings.
     
    Thanks,
    Girish S.
  • Martin Dráb Profile Picture
    237,880 Most Valuable Professional on at
    I would also look at the stack trace of the error. Knowing what code threw it would likely make clearer what the error is about.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 584 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 499 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 254 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans