Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
How to Prevent Duplicate Attachments insertion - erpobjectattachmentservice service — Cloud Customer Connect
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

Received Response
31
Views
15
Comments

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!