CA Service Management

Expand all | Collapse all

Attachment for custom object

  • 1.  Attachment for custom object

    Posted 12-10-2019 02:29 AM

    Dear experts,

    I try to make some customization for attachment to a custom object. I have CA SDM 17.1

    I tried to make it like customization made for nr on SDM 12.5. But it doesn't work.

    I created a lrel object  and maj file. Please find below. I couldn't solve the issue, what might be missing here?

    Factory zcustomatt
       id                   INTEGER
       producer_id          LOCAL STRING(20)
       persistent_id        LOCAL STRING(60)
       att                  SREL -> attmnt.id REQUIRED
       obj                 SREL -> zcustomobj.id REQUIRED
       last_mod_dt          DATE
       last_mod_by          SREL -> cnt.id

     

    OBJECT zcustomobj {
       ATTRIBUTES zcustomobj  {
           attachments BREL zcustomatt zcustomobj{ LREL attmnt; };
       };
    };

    OBJECT attmnt {
       ATTRIBUTES Attachment  {
           objs BREL zcustomatt attmnt { LREL zcustomobj; };
       };
    };

     

    BR

    Utku



  • 2.  RE: Attachment for custom object

    Posted 12-10-2019 02:48 PM
    up up up