Send User to specific Line and Release Line on the Sales Order

I’m working with a BAQ that returns a set of Sales Orders based on specific criteria. I currently have two links in the BAQ: one that opens the Sales Order header (using the OrderNum), and another intended to open a specific Release line. The BAQ also includes the LineNum and RelNum for each row.

Right now, I can get the deep link to work by manually passing URL parameters such as:
KeyFields.OrderNum=<value>&KeyFields.LineNum=<value>&KeyFields.RelNum=<value>

This successfully opens the order directly to the correct release. However, I’d like to accomplish the same thing using the “Open App” functionality instead of manually constructing URLs. Ideally, I want to pass the OrderNum, LineNum, and RelNum as inputs and have the application navigate straight to the correct Release page.

Has anyone implemented something similar or found a reliable method for passing multiple KeyField values through the “Open App” action? I’m open to better approaches if there’s a cleaner or more supported way to accomplish this.

3 Likes

I’ve only ever seen it via the deep link method you have working.

Have you tried setting the line and release via “Launch Options”?

I have set values when launching a report to set which row in the grid was the item we wanted to print with the code below. Maybe you can use it to set the Line and Release.

Launch Options:

{
	"type": "Ice.Lib.Framework.LaunchFormOptions",
	"options": {
		"valueIn": [
			"{MySelections.SysRowID}",
			"{MySelections.MtlQueueSeq}"
		],
		"IsModal": true
	}
}

1 Like

Yeah I have used that code before and the only valueIn it will put everything into the OrderNum example below

1 Like

After weeks of testing, I found this to be the only solution to send it direct just makes it a pain because if the menu changes, then have to change the link and everything but o well can only do as much as your given.