Here is the dmeObj i am trying to understand is how is the code able to translate those fields which are identified with "emp-ach-depst" like emp-ach_depst.ebnk-acct-nbr are to be found on the EMACHDEPST table. Is there something on the database side that relates the emp-ach-depst to this table or something else?
var dmeObj = new DMEObject(authUser.prodline,"empachdist");
dmeObj.out = "JAVASCRIPT";
dmeObj.index = "acdset1";
dmeObj.field = "dist-amount;ebank-id;ebnk-acct-nbr;emp-ach-depst.ebank-id;emp-ach-depst.ebnk-acct-nbr;emp-ach-depst.description;ca-inst-nbr;ca-transit-nbr";
dmeObj.key = authUser.company+"="+authUser.employee+"="+checkId;
dmeObj.func = "CallACHAccounts("+index+","+(nbr_calls+1)+")";
DME(dmeObj, "dmedata");
Thanks