Expreesion to get id visualized in detail view

Hello,

Need help to get the value of the ID that is currently visulized in a detail view.
I have an action that adds multiple itens to an open order, but it is possible to have multiples open orders at the same time:

I have a LINKTOVIEW() button that allows me to see the open order and scroll through all existing open orders.

 

Captura de tela 2023-02-08 131801.jpg

This way I can multiselect the itens from the list and add then on the order:

Captura de tela 2023-02-08 132019.jpg

What I need help with is a way to get the id from the order iยดm currently viewing to add to my action wich now is set to get the last id created.

0 1 99
1 REPLY 1

One idea to do this is

  1. Create a table that holds the order id
  2. Create an action on orders table to write the order id into the table above
  3. Use the order id in you Add Item action.

 

Top Labels in this Space