mark_h
13th September 2002, 19:33
Posting for Leslie Satenstein - Just added the copyright disclaimer.

Mark


|******************************************************************************
|* tuutl5103 0 VRC B40O c4 cust
|* Maintain Job Parameters
|* Leslie Satenstein Baan Support
|* 2002-09-03
|******************************************************************************
|* Category : Utility
|* Platform : UNIX
|*
|* License for tuutl5103
|*
|* Copyright 2001 by Leslie Satenstein
|*
|* All Rights Reserved
|*
|* Permission to use, copy, modify, and distribute this software and its
|* documentation for any purpose and without fee is hereby granted,
|* provided that the above copyright notice appear in all copies and that
|* both that copyright notice and this permission notice appear in
|* supporting documentation.
|*
|* Leslie Satenstein and Baanboard.com DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
|* SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|* AND FITNESS, IN NO EVENT SHALL Mark Holland nor Baanboard.com BE LIABLE FOR ANY
|* SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|* WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
|* OR PERFORMANCE OF THIS SOFTWARE.
|******************************************************************************
|******************************************************************************
|* Main table ttaad503 Form Type 1
|******************************************************************************
|* Here is how you proceed.
|*
|* 1) Generate a session (type 4) against a table in the package/module.
|*
|* 2) Discard the generated form, and copy the original session's form
|* to which the job step refers, to your session and replace the
|* generated form with it. If you intend to make changes to the form,
|* make sure that this target form id is not the same name as the input form.
|*
|* 3) Take note of the fields in the original form. Each of these has to go
|* into the declaration section of the source.
|*
|* 4) Set up the source to point to the job step. Since it is possible that
|* not all fields will be open to update, change the field properties that
|* are immutable to the "display all" property.
|*
|* 5) Read in the job data.
|*
|* 6) Assign the variables from the job data to each variable, one by one.
|* (There are samples of how to do this.)
|*
|* 7) Initialize the form
|*
|* 8) After the form read by the user, restore the variables to the parse table
|* (there are examples of how to do this)
|*
|* 9) Update the 503 table.
|*
|* 10) The code will be attached to this email.
|*
|* WARNING. NO EDITING OF SUBSTITUTED DATA OCCURS. YOU MAY WANT TO ADD SOME EDITING.
|*
|* If you have other questions, do not be shy, ask me to explain any function.
|* I would have liked to use the rdi functions, and a function to execute the
|* contents of a string to set up the external variable values. But, alas
|* I have no documentation.
|* LSS 20020913