How to modify the behavior of an ADD action on a child table

I have a "Sales" table and a child table "ItemsSales", I want to modify the "Add" action generated by the system so that when an item is added to the sale, a record is generated in another "Movement Record" table. Therefore I created a group action "Save Item", and added the "ADD" action and then the "Register Item" action, the point is that since it is a child table, there is no "ADD" button, but rather a "New" button within the Related "ItemsSales" field.

How do I replace the system action with the Save Item grouped action?

I thought about doing it from the "Add Sales" button, but I would have to do the action in the "Sales" table and I would not have access to the fields in the "ItemsSales" table.

Any ideas? I'm lost

0 1 28
1 REPLY 1

I use something like this to hide the "New" button in the inline table:

AND(NOT(IN(CONTEXT("ViewType"), {"Detail", "Dashboard"})), NOT(IN(CONTEXT("View"), {"ItemsSales_Inline"})))

You can create custom "Add" actions that use LINKTOFORM() to take you to a specific form, in that form in the "Behavior" section under Event Actions - Form Saved you can select your grouped action from there.

Top Labels in this Space