Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Item Charge Assignment (Purch)

Posted on by
Hi all 

I created a custom Page API using the  Item Charge Assignment (Purch) table.However when i try to do a post request to the endpoint i get the error below.This is happening even though the the Document number in the error is there in the Purchase header.Can someone please help me

 
 
/error/: {
/code/: /Internal_InvalidTableRelation/,
/message/: /The field Document No. of table Item Charge Assignment (Purch) contains a value (107213) that cannot be found in the related table (Purchase Header). CorrelationId: 6aa2015d-c72e-45cf-9a56-77d34839d785./
}
}

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,759 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,468 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans