I am make a new record in other model, in the repair.order model i have a table the BOM model and i have a table the new "Pre-Packing" model.
in the BOM table i have a button, this botton i need that sent the new record in the "Pre-Packing" model. Sent Repair Order, User, Product_id.id of my BOM table.
When i clicking in button "Solicitar" is sent the record.
i am creating a server action for make this solution but i have a problem whit the syntaxis.
could they help me please!.