How to delete F&O Purchase Order in Logic Apps using HTTP?

Joel Fernandez 0 Reputation points
2023-10-12T14:12:45.4766667+00:00

Can you show me step by step on how to delete a purchase order in Logic Apps using HTTP?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,214 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. MayankBargali-MSFT 70,536 Reputation points
    2023-10-16T03:41:01.9833333+00:00

    @Joel Fernandez Thanks for reaching out.

    Assuming that you want to use the HTTP Trigger and delete the F&O record.

    Workflow:

    HTTP Trigger --> Delete Record

    Based on your input on your body you can leverage the dynamic parameter and use it in the Delete record action to delete the record.

    Please "Accept Answer" if the answer is helpful so that it can help others in the community.


  2. Joel Fernandez 0 Reputation points
    2023-11-06T16:15:24.7933333+00:00

    @MayankBargali-MSFT I figured out the solution. Here are the steps I took:

    First, I updated the user associated with the client ID to my own user ID (which has admin privileges).User's image

    Second, I added the option cross-company=true to search the purchase order from all company entities. This did not work prior to changing the user ID in the first step. User's image

    User's image

    Here are the references that helped me out:

    https://www.youtube.com/watch?v=ZXLTfbWc9S4

    https://www.youtube.com/watch?v=gNl6kaLxDXY&t=105s
    https://www.youtube.com/watch?v=MGJx0FXGR3Q

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.