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):