@xuda.io/runtime-bundle 1.0.486 → 1.0.488

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10591,10 +10591,10 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
10591
10591
  return await variable_not_exist();
10592
10592
  }
10593
10593
 
10594
- var split = [];
10594
+ // var split = [];
10595
10595
  var var_Arr = [];
10596
- split = func.expression.parse(ret);
10597
-
10596
+ const split = func.expression.parse(ret) || [];
10597
+ console.log(valP, split);
10598
10598
  for await (const [arr_key, val] of Object.entries(split)) {
10599
10599
  // run each field
10600
10600
  const key = Number(arr_key);
@@ -11400,7 +11400,23 @@ func.UI.screen.init = async function (SESSION_ID, prog_id, sourceScreenP, callin
11400
11400
  // console.log("***");
11401
11401
  func.UI.utils.indicator.screen.busy();
11402
11402
 
11403
- const ret = await func.datasource.create(SESSION_ID, prog_id, params?.callingDataSource_objP?.dsSession, params.parentDataSourceNoP, $rootFrame.attr('id'), rowIdP, jobNoP, null, null, null, null, null, null, null, parameters_obj_inP);
11403
+ const ret = await func.datasource.create(
11404
+ SESSION_ID,
11405
+ prog_id,
11406
+ null, //params?.callingDataSource_objP?.dsSession
11407
+ params.parentDataSourceNoP,
11408
+ $rootFrame.attr('id'),
11409
+ rowIdP,
11410
+ jobNoP,
11411
+ null,
11412
+ null,
11413
+ null,
11414
+ null,
11415
+ null,
11416
+ null,
11417
+ null,
11418
+ parameters_obj_inP,
11419
+ );
11404
11420
 
11405
11421
  var _ds = SESSION_OBJ[SESSION_ID].DS_GLB[ret.dsSessionP];
11406
11422
  _ds.screen_params = params;
@@ -9360,7 +9360,23 @@ func.UI.screen.init = async function (SESSION_ID, prog_id, sourceScreenP, callin
9360
9360
  // console.log("***");
9361
9361
  func.UI.utils.indicator.screen.busy();
9362
9362
 
9363
- const ret = await func.datasource.create(SESSION_ID, prog_id, params?.callingDataSource_objP?.dsSession, params.parentDataSourceNoP, $rootFrame.attr('id'), rowIdP, jobNoP, null, null, null, null, null, null, null, parameters_obj_inP);
9363
+ const ret = await func.datasource.create(
9364
+ SESSION_ID,
9365
+ prog_id,
9366
+ null, //params?.callingDataSource_objP?.dsSession
9367
+ params.parentDataSourceNoP,
9368
+ $rootFrame.attr('id'),
9369
+ rowIdP,
9370
+ jobNoP,
9371
+ null,
9372
+ null,
9373
+ null,
9374
+ null,
9375
+ null,
9376
+ null,
9377
+ null,
9378
+ parameters_obj_inP,
9379
+ );
9364
9380
 
9365
9381
  var _ds = SESSION_OBJ[SESSION_ID].DS_GLB[ret.dsSessionP];
9366
9382
  _ds.screen_params = params;
@@ -14388,10 +14404,10 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
14388
14404
  return await variable_not_exist();
14389
14405
  }
14390
14406
 
14391
- var split = [];
14407
+ // var split = [];
14392
14408
  var var_Arr = [];
14393
- split = func.expression.parse(ret);
14394
-
14409
+ const split = func.expression.parse(ret) || [];
14410
+ console.log(valP, split);
14395
14411
  for await (const [arr_key, val] of Object.entries(split)) {
14396
14412
  // run each field
14397
14413
  const key = Number(arr_key);