Results 1 to 2 of 2

Thread: E1 Pages - Getting defaults into the Form Controls on entry

  1. #1
    Senior Member johndanter's Avatar
    Join Date
    Sep 2003
    Location
    Cork, Ireland
    Posts
    1,327

    E1 Pages - Getting defaults into the Form Controls on entry

    Hi folks,

    I've been asked to add an icon to a page which points to the Batch Version launch screen P98305W but to auto default 'R554111X' into the UBE field

    I was thinking of the Parameterised URL feature and the FormDS, but the jas server changes each ENV, so I can't do that

    I found this, just not sure how to use it
    function runE1App(appId, formId, version, menuSysCode, taskName, formDSTmpl, formDSData);

    Thanks

    John
    Last edited by johndanter; 12-14-2018 at 07:04 AM.
    John Danter
    You don't go out looking for a job dressed like that do you, on a weekday?

    E900 TR 9.1.5.3 Unix

  2. #2
    Senior Member johndanter's Avatar
    Join Date
    Sep 2003
    Location
    Cork, Ireland
    Posts
    1,327
    Found it

    function runE1App(appId, formId, version, menuSysCode, taskName, formDSTmpl, formDSData);

    Required Parameters:
    • appId = E1 Application Name, for example P0411
    • formId = E1 Application Form ID, for example W0411G
    • version = E1 Application Version, for example ZJDE0001
    • e.g., javascript:runE1App('P0411','W0411G','ZJDE0001')

    Optional Parameters:
    • menuSysCode = E1 Application system code
    • taskName = Custom Title - Form Name
    • formDSTmpl (data structure template)= Use to pass data into the form (e.g. "1|4|7|8")
    • formDSData (data structure data) = Use to pass data into the form (e.g. "1|4|7|8")

    The formDSTmpl and formDSData stand for form data structure template and data respectively.
    They are analagous to passing in arguments or a parameter to a function. There are certain parameters a form can accept when launched. The template defines which ones are being supplied so |1|4|7|8| means we are going to be supplying a value for the 1st, 4th, 7th, and 8th parameter.
    The formDSData would then be |value_for_1|value_for_4|value_for_7|value_for_8|
    Here is an example for WSJ (Work with Server Jobs) app:
    • DSTmpls = |4|7|10|11|13|
    • DSData = |server|dataSource|jobId|port|isAutoLaunchOn|
    John Danter
    You don't go out looking for a job dressed like that do you, on a weekday?

    E900 TR 9.1.5.3 Unix

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
The legal restrictions and terms of use applicable to this site are available here.
Use of this site signifies your agreement to the terms of use.
JDELIST is NOT affiliated with JD Edwards® & Company, Oracle or Peoplesoft. Contents of this site are neither endorsed nor approved by JD Edwards® & Company and, or Oracle.