How can I save these records in 2 different tables?

I added the data of another Table into the OrdersResource with getForSchema. but when saving, I need to save the 1st part to the Orders Table and the 2nd part to the ProductOrders table. How can I do this?
Screenshot_203.png
Screenshot_204.png
Screenshot_205.png
Screenshot_206.png
Screenshot_207.png
Was this page helpful?