Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV forum
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,160 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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,558 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,647 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans