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 Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

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.

Users online (4,832)