IBM Support

Filter for Pending Obsolete Items

Troubleshooting


Problem

Use automation scripting to prevent users from requesting items in PENDOBS status.

Resolving The Problem

Steps to reproduce:


1. Go to System Configuration > Platform Configuration > Automation Scripts.


2. From the "Select Action" menu, select "Script with Attribute Launch Point"

3. Enter the following:
Launch point = NOTVALIDITEM
Object = MRLINE
Attribute = ITEMNUM




4. Click on the Next button:
Script = NOTVALIDITEM
Script Language = jython

5. Click the New Row button to enter a variable:
Variable = status
Variable Type = in
Binding Type = attribute
Launch Point Attribute = ITEM.STATUS


Scroll down and click on the the Next button.


Enter the following script in the Source Code (indentation must be kept):





Click on the 'Create' button:



Click Close to close the dialog box.

Click the Launch Points tab.
Ensure that the launch Point has ACTIVE checkbox selected



Change the status of this automation script to active.

Test the scenario below:

GoTo > Self Service > Desktop Requisitions > Create Requisition:


Enter a GL Debit account or work order for Charge Information.

Click Continue button.

Click New Row button:

Enter a pending obsolete item 39882 in the item field.

Tab out.

User will be presented with an error message:


[{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Desktop Requisitions","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
17 June 2018

UID

swg21684618