Maximo Open Forum

 View Only

Export attached doclinks documents to an external system.

  • 1.  Export attached doclinks documents to an external system.

    Posted 3 days ago

    Hello, experts.
    I need to send attached DOCLINKS documents along with a PR procurement order.
    I found the X1CPR object structure, added the original DOCLINKS object, and enabled the non-persistent DOCUMENTDATA attribute. I regenerated the object structure XML, and also regenerated the publication channel XML.
    In these XML files, I see (<max:DOCUMENTDATA changed="true">YW5pbW9z</max:DOCUMENTDATA>)
    But the DOCUMENTDATA field doesn't appear in the outgoing XML message. Please help me: what did I do wrong?
    Should I add documentdata field to the sync_pr_mx21c.xsl structure of the publish channel?

    x1cpr
    X1CPRPUB
    In such an XML message, after these manipulations, the attachment is never sent to the external system.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Sync xmlns:ns0="http://www.gsrenergy.ru" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 
    <ns0:PRequest> 
    <ns0:PRNum>MXPR98</ns0:PRNum> 
    <ns0:PRNum1C /> 
    <ns0:X1CCFO>F00000127</ns0:X1CCFO> 
    <ns0:Description>test export file</ns0:Description> 
    <ns0:FullDesc /> 
    <ns0:IssueDate>20251127</ns0:IssueDate> 
    <ns0:RequiredDate>20251226</ns0:RequiredDate> 
    <ns0:Status>Under Agreement</ns0:Status> 
    <ns0:RequestedBy>MELN</ns0:RequestedBy> 
    <ns0:Supervisor>MELN</ns0:Supervisor> 
    <ns0:X1CTel>323</ns0:X1CTel> 
    <ns0:X1CWORef /> 
    <ns0:X1CPMRef /> 
    <ns0:PRPrior>2</ns0:PRPrior> 
    <ns0:PRClass1C>PR</ns0:PRClass1C> 
    <ns0:Vendor1C>3241234</ns0:Vendor1C> 
    <ns0:XType1C>Planned</ns0:XType1C> 
    <ns0:XCFOAdm>0</ns0:XCFOAdm> 
    <ns0:Lines> 
    <ns0:Line> 
    <ns0:PRLineNum>1</ns0:PRLineNum> 
    <ns0:PRLineNum1C /> 
    <ns0:ItemNum>F0013639</ns0:ItemNum> 
    <ns0:OrderQTY>1.000</ns0:OrderQTY> 
    <ns0:UnitCost>75654.00</ns0:UnitCost> 
    <ns0:VenDeliveryDate /> 
    <ns0:LineType>ITEM</ns0:LineType> 
    <ns0:Remark /> 
    <ns0:Tax1Code>20%</ns0:Tax1Code> 
    </ns0:Line> 
    </ns0:Lines> 
    </ns0:PRequest>
    </ns0:Sync>

    #Administration
    #Architecture
    #EverythingMaximo
    #Integrations

    ------------------------------
    Sergey Melnikov
    RusNet
    ------------------------------