Skip to main content

Notifications

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.
  • Martin Dráb Profile Picture
    Martin Dráb 230,848 Most Valuable Professional on at
    Extend Data Entity to add new Data Source
    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.
  • Verified answer
    GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    Extend Data Entity to add new Data Source
    Hi Jackie,
     
    Refer to the below blog and try the last steps like refresh entity list and Generate mappings.
     
    Thanks,
    Girish S.

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…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans