📝 Question (Body):
Hello everyone,
I've connected my Business Central SQL Server database to Power Apps using an on-premises data gateway. I then built a canvas app using one of the tables (Job table).
However, I'm unable to perform CRUD operations (especially create or update). When I try to submit the form using SubmitForm(Form2), I get the following error:
Field '_x0024_systemCreatedBy' is required.
Field '_x0024_systemCreatedAt' is required.
I understand that fields like SystemCreatedAt and SystemCreatedBy are system fields, possibly auto-managed in Business Central. I tried manually assigning values to them in Power Apps (e.g., using Now() for SystemCreatedAt and the current user's email for SystemCreatedBy), but the error still persists.
❓ My Questions:
- Are there standard ways to handle system fields like
SystemCreatedBy or SystemCreatedAt in Power Apps when connected to a Business Central SQL Server table?
- Is there a way to auto-populate or bypass these fields, since they’re typically handled internally in Business Central?
- Has anyone faced similar issues with CRUD operations through SQL Server in Power Apps with system fields?
💡 Additional Info:
- Power Apps is connected using a SQL Server gateway.
- Table comes from Business Central On-Prem SQL Server.
- Error occurs during form submission (insert or update).
- App auto-generated the form from the data source.
- I have already tried assigning values to the system fields programmatically in Power Apps.
📸 I've also attached an image showing the error clearly.
Any guidance or workaround would be highly appreciated. Thank you!