I am using the ResSum.htm display and would like to modify the GetReqDtlInfo function so I can pass a variable I make inside of the flow to the display so that the dme call only grabs certain lines from the Req and displays only those lines. Something like:
function GetReqDtlInfo()
{
var logancall = new DMEObject(prodline, "REQLINE")
logancall.out = "JAVASCRIPT"
logancall.field ="item;description;quantity;entered-uom;unit-cost"
logancall.index = "rlnset1"
logancall.max = "250"
logancall.xida = true
logancall.select = "line-nbr=2|line-nbr=3"
logancall.key = m_Company + "=" + m_ReqNumber
logancall.func = "displayRecSum()"
DME(logancall, "REQLINE")
}
So perhaps in the flow, I create a variable called "dmeSelect" and build it dynamically based on the line numbers I need" "line-nbr=2|line-nbr=3"
So the function would actually look like:
function GetReqDtlInfo()
{
var logancall = new DMEObject(prodline, "REQLINE")
logancall.out = "JAVASCRIPT"
logancall.field ="item;description;quantity;entered-uom;unit-cost"
logancall.index = "rlnset1"
logancall.max = "250"
logancall.xida = true
logancall.select = m_dmeSelect
logancall.key = m_Company + "=" + m_ReqNumber
logancall.func = "displayRecSum()"
DME(logancall, "REQLINE")
Is this possible?
Thank you for your time!