Showing results for 
Search instead for 
Did you mean: 
New Member

Canvas Apps - Insert record to a table with Primary Field setup as Database Sequence


I want to create new Sales Order Header record from Canvas App. SalesOrderNumber field is setup has required and has sequence number on Database side. On Canvas App FormMode.New, Button with SubmitForm(FormName) function onSelect. 

 1 - If I leave SalesOrderNumber blank, client side validation kicks in for SalesOrderNumber is required.

 2 - If I fill in with next sequence number on click of the button I am getting the attached error.


Is there any way to let the action pass this step to insert record with database sequence for SalesOrderNumber?




Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.


New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (1,924)