Creating a New Form in Design Studio

Sort:
You are not authorized to post a reply.
Author
Messages
gastonak
Basic Member
Posts: 21
Basic Member

    I need to create a New Form from scratch or from an existing form as a base. In either case, I want a new form without modifying an existing Lawson "core" form or affecting users at all. Can I create a new form using Design Studio? In Design Studio, I have to select an existing form either with the Quick Paint or the Blank Palette checked, and even that I can rename the Custom Id I am still concern that I am customizing an existing form which is completely different that creating a new form.

    My objective is to create a new form, a new oracle table for saving the form-field values with the corresponding Work Unit, and a submit button to execute the process flow through WFWK1. Could somebody guide me through this process and tell me if Design Studio can create this new form or if I have to use other tools.

    Lawson v 9.014

    Thank you,
    Gaston

    Sam Simpson
    Veteran Member
    Posts: 239
    Veteran Member
      How about cloning an existing form and use the cloned program instead.
      David Williams
      Veteran Member
      Posts: 1127
      Veteran Member
        Design Studio can only modify an existing form. You can define a new form in COBOL and access it in DS to pretty it up but you can't create a form with Design Studio.

        I like to use WFWK.2 or WFWK.3 (since they don't really get used) as a basis for a new form just to trigger ProcessFlow (against WFWK.1). If you need to retain your data (which you shouldn't just to trigger a flow since ProcessFlow retains your values in the WorkUnit) then you would have to create the new form in COBOL.
        David Williams
        gastonak
        Basic Member
        Posts: 21
        Basic Member

          David,

          Now is clear, new forms are only created in COBOL and Design Studio can only modify existing forms. I decided to not retain the data from any of the forms, I am just interested to execute the flows through WFWK.1.

          If you create the new form in COBOL named MYWFK based on WFWK.2, does COBOL allows you to copy WFWK.2 and Save As to MYWFK? The process may be different but Save As is just an analogy.

          Could you please elaborate on how to attach or link process flows to WFWK.1, do I have to used Design Studio to attach or link a process flow to WFWK.1?. Say I have two process flows that I want to link to WFWK.1 to be executed from two distinct forms, could I just use the same WFWK.1?

          Thank you,

          Gaston

          John Henley
          Senior Member
          Posts: 3348
          Senior Member
            You can copy/clone a standard Lawson (COBOL) form using pgmdef. You can then create a custom design studio form that accesses your cloned form.
            Thanks for using the LawsonGuru.com forums!
            John
            John Henley
            Senior Member
            Posts: 3348
            Senior Member
              Based on your business case, you would create a COBOL form that updates your custom table (assuming it's defined within dbdef, and therefore accessible to Lawson), and call the workflow routines from your COBOL form (which is what WFWK does)
              Thanks for using the LawsonGuru.com forums!
              John
              David Williams
              Veteran Member
              Posts: 1127
              Veteran Member
                You trigger a Service from WFWK.1 and the flow is linked to the Service within ProcessFlow Admin.
                David Williams
                You are not authorized to post a reply.