IBM Support

IZ71309: MXPERSON INBOUND FAILS WITH ERROR THE PRIMARY RECORD MAY ONLY BEDELETED IF IT IS THE LAST RECORD WHEN DELETING PHONE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Import of person data without phone or sms or email
    records in order to delete them, for a person record with
    multiple phone, sms, or email records, can fail with
    error: The primary record may only be deleted if it is the last
    record
    
    To reproduce in MAXDEMO system:
    
    1.  Setup MXPERSON integration outbound and inbound using XML
    files
    2.  In the PERSON appplication, add phone, sms, and email
    
     records (non-primary) to CARSON.
    3.  Export XML for CARSON through MXPERSON.
    4.  Edit XML and ensure Action="Replace" and delete
    all the phone, sms, and email content.
    5.  Import XML.
    
    The import should delete all the phone, sms, and email
    records for CARSON.  Instead it will fail with the
    error "The primary record may only be deleted if it is the last
    record" for one of these categories because it attempts
    to delete one of the primary records before all the
    secondary records have been deleted in that category.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: maximo users                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: Import of person data without phone or  *
    *                      sms or email                            *
    *                                                              *
    *                      records in order to delete them, for a  *
    *                      person record with                      *
    *                                                              *
    *                      multiple phone, sms, or email records,  *
    *                      can fail with                           *
    *                                                              *
    *                      error: The primary record may only be   *
    *                      deleted if it is the last               *
    *                                                              *
    *                      record                                  *
    *                                                              *
    *                      To reproduce in MAXDEMO system:         *
    *                                                              *
    *                      1.  Setup MXPERSON integration outbound *
    *                      and inbound using XML                   *
    *                                                              *
    *                      files                                   *
    *                                                              *
    *                      2.  In the PERSON appplication, add     *
    *                      phone, sms, and email                   *
    *                                                              *
    *                      records (non-primary) to CARSON.        *
    *                                                              *
    *                      3.  Export XML for CARSON through       *
    *                      MXPERSON.                               *
    *                                                              *
    *                      4.  Edit XML and ensure                 *
    *                      Action="Replace" and delete             *
    *                                                              *
    *                      all the phone, sms, and email content.  *
    *                                                              *
    *                      5.  Import XML.                         *
    *                                                              *
    *                      The import should delete all the phone, *
    *                      sms, and email                          *
    *                                                              *
    *                      records for CARSON.  Instead it will    *
    *                      fail with the                           *
    *                                                              *
    *                      error "The primary record may only be   *
    *                      deleted if it is the last               *
    *                                                              *
    *                      record" for one of these categories     *
    *                      because it attempts                     *
    *                                                              *
    *                      to delete one of the primary records    *
    *                      before all the                          *
    *                                                              *
    *                      secondary records have been deleted in  *
    *                      that category.                          *
    *                                                              *
    *                      LOCAL FIX:                              *
    *                                                              *
    *                      None                                    *
    *                                                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    *                                                              *
    *                                                              *
    *                                                              *
    ****************************************************************
    MXPERSON INBOUND FAILS WITH ERROR THE PRIMARY RECORD MAY ONLY
    BE  DELETED IF IT IS THE LAST RECORD WHEN DELETING PHONE
    

Problem conclusion

  • <This is fixed. Now you can bring "Replace" transactions and
    the phones/emails/sms are deleted.>
    
    
    
    
    
    The fix for this APAR is contained in the following maintenance
    package:
    
      | release\fix pack | REL 7.1.1.7 - BS
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ71309

  • Reported component name

    MAXIMO INTEGRAT

  • Reported component ID

    5724R46I1

  • Reported release

    711

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2010-03-01

  • Closed date

    2010-03-20

  • Last modified date

    2010-03-20

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

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

Modules/Macros

  • MAXIMO
    

Fix information

  • Fixed component name

    MAXIMO INTEGRAT

  • Fixed component ID

    5724R46I1

Applicable component levels

  • R711 PSY

       UP

[{"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":"711","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
20 March 2010