Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Create Item Charge Assignment through webservice

Posted on by 25

Hello,

I have a requirement to auto-create item charge assignments for freight POs. We will have the material PO referenced in the freight PO, so the requirement is to auto-create the charges using the linked receipts. I am trying this using webservice (Page id 5805 Item Charge Assignment (Purch)). However I don't see a Create method to create the record. This webservice has update, delete etc method but NO Create. I tried using Update method but it would require KeyId field which I am not sure what to pass. Tried passing blank, PO number etc but no luck

Has anyone used this page to create a webservice and has success in create item charge assignments?

Any help would be appreciated. 

Thanks

Shree

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Create Item Charge Assignment through webservice

    I thunk this is because this page has no Insert enabled on the page itself. You can create a new page (with SourceExpression = the Itme Charge table) and expose that new page as web service.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans