I have a DME that calls ReqHeader and a related table Accounts.
I am setting the variables below but I beleive its failed on these two lines because of the dots. Does anyone know how I should accurately store these varrabiles? Are the periods messing up calling the object?
"var accountline = REQLINEwin.record[i].accounts.account
var accountlinesub = REQLINEwin.record[i].accounts.acct_unit"
var item = REQLINEwin.record[i].item
var itemDesc = REQLINEwin.record[i].description
var quantity = REQLINEwin.record[i].quantity
var uom = REQLINEwin.record[i].entered_uom
var unitCost = roundToDecimal(parseFloat(REQLINEwin.record[i].unit_cost), 5)
var extendedCost = roundToDecimal((parseFloat(quantity) * unitCost), 5)
var accountline = REQLINEwin.record[i].accounts.account
var accountlinesub = REQLINEwin.record[i].accounts.acct_unit