I am trying to set up a script that will show the corresponding inventory item when the find icon is clicked in the order window (repeating record).
I have been able to open the inventory window but I have not been able to find the correct setup in the Specify Find Requests panel to cause the inventory window to display the correct corresponding item.
When I set it up to find the inventory_productID = sales_productID I get an AND function - that doesn't work.
Can anyone help?
Larry,
If I understand you correctly, you're trying to hardwire the scripted find request by setting the find criteria via the Specify Find Requests dialog in ScriptMaker - that's not going to give you the flexibility you're looking for. Your script should:
1. Capture the search criteria from the Sales screen (either via global fields, script parameters, or variables)
2. Go to the Inventory layout
3. Enter Find Mode
4. Populate the appropriate fields with the previously-captured search criteria
5. Perform Find
Hopefully, that was clear enough.
Lee.