MxLoader

 View Only
  • 1.  Using MxLoader to Load Assets on Job Plans > Work Assets Tab

    Posted 02-18-2022 13:21

    Hi,

    Is it possible to use MxLoader to load multiple assets on the Job Plans > Work Assets tab?

    ------------------------------
    Stevie Holloway
    Tufts University
    ------------------------------


  • 2.  RE: Using MxLoader to Load Assets on Job Plans > Work Assets Tab

    Posted 02-21-2022 11:02
    Hi Stevie,

    Try adding the JPASSETSPLINK object to the MXL_JOBPLAN object structure. Then add the child object/attributes at the end of your load sheet. You must include JPASSETSPLINK ORGID and SITEID or the load will error out


    Thanks,

    ------------------------------
    Matt McGuire
    Aquitas Solutions
    https://www.aquitas-solutions.com/
    ------------------------------



  • 3.  RE: Using MxLoader to Load Assets on Job Plans > Work Assets Tab

    Posted 02-22-2022 10:35
    Hi Matt,

    I attempted your example by adding 2 lines with different ASSETNUMs but it only loaded one record.

    Stevie

    ------------------------------
    Stevie Holloway
    Tufts University
    ------------------------------



  • 4.  RE: Using MxLoader to Load Assets on Job Plans > Work Assets Tab

    Posted 02-22-2022 10:44
    Hey Stevie,

    Are you using "Add" or "AddChange"?

    I just tested and loaded two assets to my job plan:



    Can you take a screenshot and add that to the thread?

    Thanks,

    ------------------------------
    Matt McGuire
    Aquitas Solutions
    https://www.aquitas-solutions.com/
    ------------------------------



  • 5.  RE: Using MxLoader to Load Assets on Job Plans > Work Assets Tab

    Posted 02-21-2022 11:14
    Edited by Tim Ferrill 02-21-2022 11:15
    Stevie,

    Edit: Matt beat me to it, and I agree with his answer.

    This should be a relatively straightforward exercise. You'd need to have an Object Structure that included the Work Assets, and ensure any alias conflicts are resolved so you can use a flat structure.

    When customizing Object Structures I'd typically recommend duplicating one to modify rather than messing with one that exists and potentially breaking something.

    ------------------------------
    Tim Ferrill
    Solutions Consultant
    Intelligent Technology Solutions
    tferrill@webuildits.com
    www.webuildits.com
    @tferrill/@webuildits
    ------------------------------