Skip to main content

Notifications

Announcements

No record found.

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

Populate Link field "Map-to Dimension Value Code" in IC Dimension Value Table via Power Automate

Posted on by 78
I am inserting a record into the "Intercompany Dimension Value" table using an HTTP call in Power Automate. In this table, there is a field named "Map-to Dimension Value Code" that needs to link to a record in the "Dimension Value" table. How can I achieve this lookup and ensure the "Map-to Dimension Value Code" field is correctly populated with the appropriate value from the "Dimension Value" table? Below is the Body of my HTTP call out for the POST method

{
  "Code": "@{variables('BC dimension Code')}",
  "displayName": "@{variables('Name')}",
  "dimensionCode": "@{variables('Dimension Code')}",
   "MaptoDimensionValueCode": "???"
}
 
Categories:
  • Sghotekar Profile Picture
    Sghotekar 78 on at
    Populate Link field "Map-to Dimension Value Code" in IC Dimension Value Table via Power Automate
    Hi YUN ZHU,


    Right now, I am retrieving the value of the "Code" field from the Dimension Value table, assigning it to a variable, and then passing this variable to "MaptoDimensionValueCode." However, when I insert the record into the IC Dimension Value table, the "Map to Dimension Value Code" field is not being populated.
     
     
     
    Thanks
    Souras
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,698 Super User 2024 Season 2 on at
    Populate Link field "Map-to Dimension Value Code" in IC Dimension Value Table via Power Automate
    Hi, do you want to add a condition? If the value is not found in the "Dimension Value" table, an error will be reported when you post.
     
    Thanks
    ZHU
  • gdrenteria Profile Picture
    gdrenteria 12,183 Most Valuable Professional on at
    Populate Link field "Map-to Dimension Value Code" in IC Dimension Value Table via Power Automate

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans