Hello,
I'm trying to figure out how to do something and if it's even doable at all.
What I need is a custom button in a salesorder product that will open a modal window that has lookup fields so I can make na association with another record type (custom one).
Now, I don't have problems with opening a window with the custom button but I don't know how will I have the fields I want in that form (basically a custom form).
The goal is basically to associate products to a custom entity and you can define the quantities.
Example:
I have a salesorder product with quantity 3 and when I click the custom button it opens a window with a "quantity" field and a lookup that lets me pick an instance of the custom entity. Let's say I associate quantity 2.
And if I want to associate the remaining 1 (up to the max quantity) I can click the button again and associate it to a diferente instance of the same custom entity.
Can anyone tell me if this is possible?
In case of any question or doubt please let me know.
Thanks