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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Network Error After Pa...
Power Apps
Answered

Network Error After Patch Function with Submit Form

(0) ShareShare
ReportReport
Posted on by 395

I get the Network Error after the Patch function

Screenshot 2024-05-01 091338.png

Here is the full code.

 

Patch(
 'CAR Forms',
 Defaults('CAR Forms'),
 {
 'CAR Number': CARNumberDataCardValue.Value,
 'Considered Supplier Attachment Name 1:': ConSupplier1DataCardValue.Value,
 'Considered Supplier Attachment Name 2:': ConSupplier2DataCardValue.Value,
 'Considered Supplier Attachment Name 3:': ConSupplier3DataCardValue.Value,
 Status: StatusValue.Value,
 'Anticipated Vendor or Supplier': DataCardValue31.Value,
 'Anticipated SAP Vender #:': 'AnticipateSAPVender#DataCardValue'.Value,
 //****Reviews****
 'IT Review By': ITReviewByTextInput.Value,
 'Legal Review By': LegalReviewByTextInput.Value,
 'Financial Reviewed By': FinanicalReviewByTextInput.Value,
 //***Approval OF Bid Waivers****
 AOBW_President_Approver: PresidentApprovalOfBidWaiverInput.Value,
 AOBW_CFO_Approver: CFOApprovalOfBidWaiversTextInput.Value,
 //****Competitive Bid Waiver****
 'Vender(s):': VendorDataCardValue.Value,
 Amount: AmountDataCardValue.Value,
 'Source Justification': SourceJustificationDropdown.Selected,
 'Price Justification': PriceJustificationDropdown.Selected,
 //****Bryce Company Approvals****
 //'BryceComp_SVPReviewer1': BryceComp_SVPReviewer1.Value,
 //'BryceComp_SVPReviewer2': BryceComp_SVPReviewer2.Value,
 //'BryceComp_SVPReviewer3': BryceComp_SVPReviewer3.Value,
 //'BryceComp_SVPReviewer4': BryceComp_SVPReviewer4.Value,
 //'BryceComp_VPReviewer1': BryceComp_VPReviewer1.Value,
 //'BryceComp_VPReviewer2': BryceComp_VPReviewer2.Value,
 //'BryceComp_VPReviewer3': BryceComp_VPReviewer3.Value,
 //'BryceComp_VPReviewer4': BryceComp_VPReviewer4.Value,
 //'BryceComp_PresReviewer': BryceComp_PresReviewer.Value,
 //'BryceComp_CEOReviewer': BryceComp_CEOReviewer.Value,
 //****Other****
 //'PurchasingReviewer': PurchasingReview_ReviewerTextInput.Value,
 //'AssetMangementReviewer': AssetManagement_ReviewerTextInput.Value,
 //'CIP/AssetNum': CIPAssetTextInput.Value,
 //'SAPReqNum': SAPReqNeededTextInput.Value,
 //****Add Not Updating Fields****
 'Project Details': ProjectDetailsDataCardValue.Value,
 'Plant': PlantDropdownValue.SelectedText,
 'Purpose': PurposeCardValue.Value,
 'Company': CompanyDataCardValue.SelectedText
 }
);
SubmitForm('CAR Form');
//ResetForm('CAR Form');
Launch("https://bryceonline.sharepoint.com/Lists/CAR%20Forms/AllItems.aspx")

 

Categories:
I have the same question (0)
  • Verified answer
    v-jefferni Profile Picture
    on at

    Hi @lbolin ,

     

    It seems the Patch and SubmitForm functions are updating the same data source, which will cause a conflict. It's not necessary to submit the form again after the new item is created by Patch function. So, please remove SubmitForm('CAR Form'); from the codes.

     

    Best regards,

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard