I have a table consisting of an ItemNumber and Quantity.
For example.
ItemNumber 1234 and Qty 10.
ItemNumber 1235 and Qty 5.
This table can be edited in Perspective. I wrote a script that moves the new ItemNumber into the same table.
For example.
ItemNumber 1234 and Qty 10.
ItemNumber 1256 and Qty 5.
I have another table that will show where these Items come from.
I know I can use the item number as the parameter for the Named Query. Can I take it further using variables in that table so it would search for both ItemNumbers in 1 trigger?
How do I get the ItemNumbers from the Table to the SQL parameter?
If I am grabbing this from a table that already exists, how do I get the ItemNumbers into the parameters for the Named Query? These need to be dynamic.
Sometimes the first table might have 2 items, sometimes it may have 15.
No benefit, other than understanding especially on here where I can't show that value is coming from the binding of the table data. But I would normally just use value as well in my own code