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 :
Microsoft Dynamics AX (Archived)

How to Pass the ObjectID for Update Record operation from logic app

(0) ShareShare
ReportReport
Posted on by

HI,

I'm trying update the product detail using logic app dynamic operation update record action.

/datasets/@{encodeURIComponent(encodeURIComponent('ax url'))}/tables/@{encodeURIComponent(encodeURIComponent('DistinctProducts'))}/items/@{encodeURIComponent(encodeURIComponent('10025,sb'))}"
},

im still getting below error : "message": "Only 2 of 1 keys provided for lookup, provide keys for ProuctNumber.

could you please let me know how to pass the object id for update record.

Thanks
kannan

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Managed to find the solution and answer is to pass the company code, accoutnumer ex ( sb,10005)

  • Suggested answer
    Moiza Profile Picture
    21 on at

    Hi,

    Get the Entity's Key(s) on VS and put the same order(on LogicApps D365) or whatever order on HTTP Patch.

    Don't forget to always put DataAreaId field value and cross-company=true at the end (HTTP Pacth only)

    HTTP Pact-> ....data/Entity(dataAreId='1002',AccountCode='000300_054',etc)?cross-company=true

    LogicApps D365 FO -> Object id field: 1002,000300_054

    Example_5F00_Patch.PNG

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans