Tips:
- Don't post code as a quotation ". Post it as preformatted text </>. Please see Wiki - how to post code on this forum.
- Add a space after every punctuation (
,
and:
) as you would in written English, and both sides of=
. This will help when text needs to wrap and improve general legibility.
hrbyhrKey = 36
losttime = 15
freeform = "freeform text 55"
lossKey = 14
workcellKey = 15
paramlist = {"FreeForm": freeform,
"HrByHrKey": hrbyhrKey,
"LossKey": lossKey,
"LostTime_Mins": losttime,
"WorkcellGroupMemberKey": workcellKey
}
results = system.db.runNamedQuery(path = namedquerypathvalue,
parameters = paramlist, getkey = 1)
print results