IBM Support

IJ17842: CANNOT DELETE PO LINE USING MAXIMO JSON POST REQUEST

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

  • PROBLEM:
    We cannot delete a POLINE when we send a delete JSON
    message to Maximo RESTFUL service.
         There is no error in the Maximo logs and the HTTP
    response from Maximo is as if POST was executed without any
    issue. But POLINE is not deleted.
         If we post the similar message to the MXPR object
    structure, PRLINE is successfully deleted.
    
    
    STEPS TO REPLICATE:
          a. Create a new PO (PO status is WAPPR),
         b. Add two new POLINEs and save the PO,
         c. POST the message (as below) to the Maximo.
         Method = POST
         URL =
    http://hostname:port/maximo/oslc/os/mxpo?_lid=maxadmin&_lpwd=max
    admin&lean=1
         Head:
         x-method-override: SYNC
         patchtype: MERGE
         Content-Type: application/json
         Body:
         {
               "ponum": "1005",
              "siteid": "BEDFORD",
               "poline": [
             {
               "ponum": "1005",
               "polinenum": 2,
               "siteid": "BEDFORD",
               "_action": "Delete"
    
              }
            ]
         }
    
    
    EXPECTED RESULTS:
         User should be able to delete PO Line (status = WAPPR)
    via REST API POST message.
    REPORTED IN VERSION:
         IBM Maximo Asset Management 7.6.1.1
    
    
    LOCAL FIX:
         none
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * MAXIMO                                                       *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * CANNOT DELETE PO LINE USING MAXIMO JSON POST REQUEST         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The fix for this APAR is contained in the following maintenance
    package:
    	 | release\fix pack | Interim Fix for Release 7.6.1.2 Product
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ17842

  • Reported component name

    MAXIMO ASST MGM

  • Reported component ID

    5724R46AM

  • Reported release

    761

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-07-25

  • Closed date

    2019-08-14

  • Last modified date

    2019-08-14

  • 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

    MAXIMO ASST MGM

  • Fixed component ID

    5724R46AM

Applicable component levels

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

Document Information

Modified date:
14 August 2019