Skip to Content
-1

XSJob - Error on CDS Entity

Hi Friends

I have written a XSJS to call a SOAP Service and with the response, update a CDS table. XSJS is working as expected.

But when I configure the XSJob to call this XSJS, I am getting an error "Error: XSDS: register: duplicate entity"

Anyone has any suggestions? Or did someone faced this before?

Regards

Giri

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Mar 12 at 11:56 AM

    The problem was:

    I have defined all the XSDS definitions, inside a function. When I moved them out of function, it worked.

    Regards

    Giri

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 08 at 04:36 PM

    the issue seems to be on a duplicate record... most likely you have duplicate keys.

    have you looked at the data... try to select and then select distinct to see if there are different number of total records.

    the error message looks correct

    Add comment
    10|10000 characters needed characters exceeded

    • Thanks Sergio. But there are no duplicate records. I am assuming the issue might be with the definition of entity (importEntity) in XSDS logic

      Regards

      Giri