IBM Support

IV86711: CREATING FOLLOW-UP WORK FROM WITHIN A WORK ORDER

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • STEPS TO REPRODUCE:
    From Mobile First Studio, open the app.xml for work execution
    application
    1. display the location before the asset on screen
    id="WorkExecution.WorkDetailView_workOrder_groupitem_WorkExecuti
    on.EditA
    ssetView_0"  group should be placed after
    WorkExecution.WorkDetailView_workOrder_groupitem_WorkExecution.E
    ditLocat
    ionView_0
    2. Add required="true" to the location section below
    <groupitem
    id="WorkExecution.WorkDetailView_workOrder_groupitem_WorkExecuti
    on.EditL
    ocationView_0" transitionTo="WorkExecution.EditLocationView">
    <text codeScannable="true" editable="true" required="true"
    id="WorkExecution.WorkDetailView_workOrder_groupitem_WorkExecuti
    on.EditL
    ocationView_0_location_Location" label="Location"
    lookup="WorkExecution.LocationLookup" lookupAttribute="location"
    placeHolder="Tap to enter" resourceAttribute="location">
    Click on the Build All icon on the toolbar on top (i.e. the 5th
    icon
    from the left)
    Wait for it to finish building
    click the server tab on the bottom (besides the tasks , console
    tabs)
    click the green arrow button to start the server
    Click the /MaximoAnywhere/adapters folder in the left pane
    right click on right-click OSLCGenericAdapter
    select  run as > deploy Mobile First Adapter
    wait for build and deploy to finish
    Go to WorkExecution folder > right click > Run As > Run on
    First Mobile
    Deployment Server
    Wait for  application  WorkExecution  deployment to finish
    Go to common folder > run as > preview
    clear chrome browser cache
    use the simulator in the incognito mode by presing ctrl + shift
    + n
    first time if will ask you to reload all the data then it will
    hold it
    till you keep the window open, once you close it and open
    another one
    using ctrl + shift + n it will get to reload the stuff again
    so it doesn't cache stuff
    steps to test:
    Bring up an existing WO with location already populated
    Location is marked as a REQUIRED field (i.e. it has an asterisk
    besides
    the field name)
    try to create a follow-up Work Order, it complains about the
    required
    field: "some required fields are empty. Specify the missing
    information"
    Click OK
    the error message pops stays on the screen
    it remains in the WO Details view
    but the new WO is loaded.
    This is intermittent.  I get this behavior once out of ten
    times from
    the chrome simulator
    CURRENT ERRONEOUS RESULT: required field error message should
    not stay
    on the screen "some required fields are empty. Specify the
    missing
    information".
    EXPECTED RESULT: no error message
    Additional INFO:
    Local Fix: comment from our consultant,Sanjog Raina:
    if on the screen location is required and it is placed above
    the asset
    then I was getting this error as soon as the handler populated
    the
    asset number, it complained about missing required fields
    So
    followUp.set('asset', originalWorkOrder.get('asset'));
    followUp.set('assetdesc',
    originalWorkOrder.get('maxassetdesc'));
    followUp.set('location', originalWorkOrder.get('location'));
    followUp.set('locationdesc',
    originalWorkOrder.get('maxlocationdesc'));
    followUp.set('worktype', originalWorkOrder.get('worktype'));
     Does not work and if change the order as follows
    followUp.set('worktype', originalWorkOrder.get('worktype'));
    followUp.set('location', originalWorkOrder.get('location'));
    followUp.set('locationdesc',
    originalWorkOrder.get('maxlocationdesc'));
    followUp.set('asset', originalWorkOrder.get('asset'));
    followUp.set('assetdesc',
    originalWorkOrder.get('maxassetdesc'));
    It works
    So effectively we need to set all the fields before setting the
    Location and then the Asset
    Without which it complains about the required fields and locks
    the screen due to which the view does not change
    if I changed the order in which the fields were set in the
    handler, it worked
    ENVIRONMENT (SYSTEM INFO):
    Anywhere 7.6.0.0 TPAE 7.6.0.4
    PERFORMANCE ISSUE: N
    SECURITY IMPACT (Y/N): N
    

Local fix

  • Change the order in which the fields are set on the
    follow-up workorder.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Any users who have set required fields on the main workorder *
    * panel and try to create follow on workorders.                *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Invalid warning message shows and cannot be dismissed.       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Programming error, fixed in the 760 and 761 iFix, can no longer
    reproduce.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV86711

  • Reported component name

    ANYWHERE APPS

  • Reported component ID

    5725M39MA

  • Reported release

    760

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-07-07

  • Closed date

    2017-01-09

  • Last modified date

    2017-01-09

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    ANYWHERE APPS

  • Fixed component ID

    5725M39MA

Applicable component levels

  • R760 PSY

       UP

  • R761 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSPJLC","label":"Maximo Anywhere"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"760","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
09 January 2017