Job plan issue – taskduration invalid type

Forums MxLoader NextGen Beta Job plan issue – taskduration invalid type

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #19969
    Jan Ondrušek
    Participant

    OS: MXL_JOBPLAN

    Error:

    BMXAA8737E – The value you specified for the attribute has an invalid JSON type. Double value was expected but 24.0 value was found for TASKDURATION attribute. Specify a valid JSON Type.

    Taskduration attribute is set as string in JSON file:

    <i> </i>

    <i>      {</i>

    <i>        “spi:jptask”: 25,</i>

    <i>        “spi:pluscjprevnum”: 0,</i>

    <i>        “spi:tasksequence”: 25,</i>

    <i>        “spi:taskduration”: “24.0”,</i>

    <i>        “spi:description”: “test desc for task”</i>

    <i>      }</i>

     

    #19974
    janse
    Participant

    I’m strugling with the same Double problem in another MAX OBJECT (MEASUREPOINT).

    This problem it’s happen for all Double field.

    Some ideia?

    #19976
    Jan Ondrušek
    Participant

    I think it needs to be fixed in MxLoader vba script. Final json file has to have all double values without double quotes.

    #19977
    malaa
    Participant

    Hello I got same error BMXAA8737E – The value you specified for the attribute has an invalid JSON type. Double value was expected but 24.0 value was found for INVUSELINE.QUANTITY attribute. Specify a valid JSON Type.

    For MXINVUSE object

    #19980
    janse
    Participant

    Yes, Malaa. Same problema. What I did was just to use MxLoader version, and not new generation for that specific Object Strutucture and table that has Double value to be inserted at MAXIMO.

    #19981
    malaa
    Participant

    yes that worked thanks

    #19982
    janse
    Participant

    Nice! Bruno could you put this MxLoader as opensource for us change it. You could create a dev version, and all of us could do some improvement and you approve for release.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
You must be logged in to reply to this topic.
Scroll to top