Batch Loader Error!

オフライン

Hi, I'd like to add the Material Specification to the Part

Part Number (item_number) Material Specification (vol_rm_spec)
105931-01 30049 Standard Centralizer Mat. Spec.

<Item action="add" type="Part">

<item_number>@1</item_number>
<vol_rm_spec>
<Item action="get" type="Document" select="id">
<keyed_name>@2</keyed_name>
</Item>
</vol_rm_spec>
</Item>

Error:

[9:19:57 AM]: Start batch load
[ *** Worker process for lines 2 - 2 *** ]:
[9:19:58 AM Worker process for lines up to 1 (Thread #1)]: Logged in
[9:20:00 AM Worker process for lines up to 1 (Thread #1)]: #1 - <Item action="add" type="Part"><item_number>105931-01</item_number><vol_rm_spec><Item action="get" type="Document" select="id"><keyed_name>30049 Standard Centralizer Mat. Spec.</keyed_name></Item></vol_rm_spec></Item>
[9:20:00 AM Worker process for lines up to 1 (Thread #1)]: #1 - <Fault>
[9:20:00 AM Worker process for lines up to 1 (Thread #1)]:  Code: SOAP-ENV:Server.PatternMismatchException
[9:20:00 AM Worker process for lines up to 1 (Thread #1)]:  Message: The specified value () does not match the required 'name' property pattern: (^.{1,40}$)|(Name must be less than 40 characters)
[9:20:00 AM Worker process for lines up to 1 (Thread #1)]:  Details: The specified value () does not match the required 'name' property pattern: (^.{1,40}$)|(Name must be less than 40 characters)
[9:20:00 AM Worker process for lines up to 1 (Thread #1)]: Finished
 processed successfully - 0
 average processed request time - 0 ms
 failed to process - 1
 total time - 0.1430584 sec
[9:20:01 AM]: Finish batch load: succeeded - 0; failed - 1

I'm not sure what I did wrong. If someone could give me some advice, I'd really appreciate that very much.

Regards,

Jakk

Parents
  • Hi, I fixed the code and I could load material spec with no issue.

    <Item type="Part" action="edit" where="item_number = '@1'">

      <vol_rm_spec>

        <Item type="Document" action="get" select="id">

          <keyed_name>@2</keyed_name>

        </Item>

      </vol_rm_spec>

    </Item>

Reply
  • Hi, I fixed the code and I could load material spec with no issue.

    <Item type="Part" action="edit" where="item_number = '@1'">

      <vol_rm_spec>

        <Item type="Document" action="get" select="id">

          <keyed_name>@2</keyed_name>

        </Item>

      </vol_rm_spec>

    </Item>

Children
No Data