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 :
Small and medium business | Business Central, N...
Suggested Answer

workflowPurchaseDocuments and workflowPurchaseDocumentlines

(0) ShareShare
ReportReport
Posted on by 5

Hello,

I have a PowerApps that is connected to a sharepoint list.

I am trying to create an automatic Purchase document (Purchase order to be specific), in Power Automate when a user submitted a request in powerapp

I managed to create the purchase document but I have no idea on how to put the details in the lines of the dynamics. Tried to create below flow but still have no luck. If there is somebody who can help, I will greatly appreciate. Thank you.

purchase-detail-lines_5F00_LI_5F00_Moment.jpgPurchase-detail_5F00_LI_5F00_Moment.jpg

pastedimage1594393488822v1.png

I have the same question (0)
  • Suggested answer
    Renni Profile Picture
    960 on at

    I am not sure on the answer but willing to help if I can as I am quite interested in the subject.

    So do you have licences assigned to the user as they may only be able to access the sales quote if a team license (mentioned in the error message)

    It then is saying you have no document number submitted this is a unique document number that follows the pre-set document number and increases at a set increment normally something like PO1000 that goes up +1

  • julrob Profile Picture
    5 on at
    [quote user="Renni"]

    I am not sure on the answer but willing to help if I can as I am quite interested in the subject.

    So do you have licences assigned to the user as they may only be able to access the sales quote if a team license (mentioned in the error message)

    It then is saying you have no document number submitted this is a unique document number that follows the pre-set document number and increases at a set increment normally something like PO1000 that goes up +1

    [/quote]

    Hello Renni, thank you for your help. Yes, I have the license. My problem is where can I put that unique document number in the purchasedocumentlines, it keeps saying that is zero but cannot see a field to where I can put them.

  • Renni Profile Picture
    960 on at

    Just tried to see if I could have a play on my phone but it is a premium connector action to create documents.

    On the create records 2 it looks like you are adding the item line

    On the create record try the No field under buy from vendor no field 

  • julrob Profile Picture
    5 on at

    I have tried that before it will not allow me to do so, because it says that manual entry is not allowed. The "No." box there is the purchase order.

    And yes, the "create records 2" is where I am trying to add the item line. I can't figure out on how to connect that to "create record"

  • Suggested answer
    Renni Profile Picture
    960 on at

    If the manual entry is not allowed go into business central

    Search no series then tick the box to allow manual numbers on the PO number series line.

    That might work as the no on the line is referring to the item

    It will be on the create document that it will be set as that is the header of the document

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,229

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,867 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,153 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans