Does anyone have any experience modifying the recsum.htm file for inbasket? I'd like to add the account and activity fields from MMDIST onto each line, but I'm having trouble getting it to work. My query is below.
function GetReqDtlInfo()
{
var logancall = new DMEObject(prodline, "REQLINE")
logancall.out = "JAVASCRIPT"
logancall.field ="item;description;quantity;entered-uom;unit-cost;line-nbr"
logancall.index = "rlnset1"
logancall.max = "250"
logancall.xida = true
logancall.key = m_Company + "=" + m_ReqNumber
logancall.func = "GetDistDtlInfo()"
DME(logancall, "REQLINE")
REQLINEwin = self.REQLINE
}
/************************************************************
Function: GetDistDtlInfo
Purpose: Get Requisition Distribution information via dme
*************************************************************/
function GetDistDtlInfo()
{
var logancall = new DMEObject(prodline, "MMDIST")
logancall.out = "JAVASCRIPT"
logancall.field ="account;activity"
logancall.index = "mmdset8"
logancall.max = "250"
logancall.xida = true
logancall.key = m_Company + "=" + m_ReqNumber + "=" + REQLINEwin.record[i].line-nbr
logancall.func = "displayRecSum()"
DME(logancall, "MMDIST")
}