Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to Prevent Duplicate Attachments insertion - erpobjectattachmentservice service

Summary:

Same attachment is getting attached multiple times if we are running the soap service with the same parameters multiple time.

Tried giving No in below element, but still same

<typ:allowDuplicate>No</typ:allowDuplicate>

Request:

 <tns:uploadAttachment>

   <tns:entityName>Payables Check</tns:entityName>

   <tns:categoryName>Payment Supporting Document</tns:categoryName>

   <tns:allowDuplicate>No</tns:allowDuplicate>

   <tns:attachmentRows>

    <ns1:UserKeyA>224</ns1:UserKeyA>

    <ns1:AttachmentType>File</ns1:AttachmentType>

    <ns1:Title>Rest%20Response.PNG</ns1:Title>

    <ns1:Content>iVBORw0KGgoAAAANSU </ns1:Content>

</tns:attachmentRows>

</

tns:uploadAttachment>

Content (required):


Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!