Maximo

 View Only
Expand all | Collapse all

The attachments are getting duplicated when duplicating a PO

  • 1.  The attachments are getting duplicated when duplicating a PO

    Posted Wed September 07, 2022 11:11 AM

    The attachments are getting duplicated when duplicating a PO. This would work in some situations, but not in our business process. Is there a way to use an automation script to not duplicate the attachments if the record is a PO?

    Thank you.



    ------------------------------
    Claudia Cox
    ------------------------------

    #AssetandFacilitiesManagement
    #Maximo


  • 2.  RE: The attachments are getting duplicated when duplicating a PO

    Posted Thu September 08, 2022 07:59 AM

    Depending on your version of Maximo, I'd suggest creating a PO.AFTERDUPLICATE automation script and delete the doclinks after it has been copied. We describe this type of script at a high level here: https://ibm-maximo-dev.github.io/maximo-autoscript-documentation/objectscripts/duplicateobject

    This functionality is newer and there was an issue for this specific scenario (https://www.ibm.com/support/pages/apar/IJ32509) that was fixed in 7.6.1.2 IFIX 010 so you would need to be on an IFIX newer than that to avoid the issue. 



    ------------------------------
    Steven Shull
    ------------------------------



  • 3.  RE: The attachments are getting duplicated when duplicating a PO

    Posted Thu September 08, 2022 08:53 AM

    The answer is yes if you user AFTERDUPLICATE  available in 7613

     

    https://www.ibm.com/support/pages/apar/IJ32509

     

    otherwise, you can do this, using java classes customization