web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Unable to post data in...
Power Apps
Unanswered

Unable to post data into my NAV Purchase Requisition Lines table from my canvas app

(0) ShareShare
ReportReport
Posted on by 6

Hi guys, I'm creating a Purchase requisition app using NAV connector. So far i've been able to design as i want but i'm encountering issues posting line items from the canvas app to the Purchase Requisition Lines in NAV.  The Requisition header is posting successfully without any errors but the case is different with the line Items. I've tried using the collect and patch function to do this but still not getting result 

 

Collect(PurchaseRequisitionLine, First(Filter(PurchaseRequisitionLine, Document_No = SelectedReport2.No)),{Purchase_Type:DataCardValue26_3.Selected.Value, Description:DataCardValue29_3.Text, Unit_Cost :Value(DataCardValue27_3.Text), Quantity :Value(DataCardValue27_4.Text)})

 

Patch(PurchaseRequisitionLine, defaults(PurchaseRequisitionLine), {Purchase_Type:DataCardValue26_6.Selected.Value, Description:DataCardValue29_3.Text, Unit_Cost: Value(DataCardValue27_3.Text), Quantity: Value(QuantityTextInput.Text)})

 

Patch(PurchaseRequsitionline, LookUp(Document_No =SelectedReport2.No), {Purchase_Type:DataCardValue26_3.Selected.Value, Description:DataCardValue29_3.Text, Unit_Cost :Value(DataCardValue27_3.Text), Quantity :Value(DataCardValue27_4.Text)})

 

All ideas are welcome...

 

 

Categories:
I have the same question (0)

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard