Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Property

Type

Description

<<any property name>>

string

Any property you want to assign to

Wiki Markup

...

Example
Save the path the user is on, and the item the user is working with (On Screen 1).
/* Store the Item number that the user entered  - this field has to be defined on this form in newlook*/
objGlobal.utxtItemNumber = GETVALUE("utxtItemNumber");
/* Store the action that is being performed (so that shared screens can know whether its an add or a copy) */
objGlobal.uLastAction = "COPY";
Remember the path the user is on, and the item the user is working with (On Screen 4).
/* Get the action that is being performed */
if (objGlobal.uLastAction == "COPY")
\{
   ALERT_MESSAGE("Inventory item ", objGlobal.utxtItemNumber, "was copied from " , objListManager.AKey1\[0\] );
\}
else
\{
   ALERT_MESSAGE("Inventory item was added. ", objGlobal.utxtItemNumber , "has been saved.");
 
Note that objGlobal is global within a 5250 session. Each 5250 session has its own unique instance of objGlobal.
For more information refer to [<span style="color: #0000ee"><span style="text-decoration: underline; ">Using the objGlobal Object</span></span>|lansa049_0335.htm#_Ref137355632].

...