Attachment service 'ErpObjectAttachmentService' attaching Invoice PDF Twice in OIC
SummaryAttachment service attaching the InvoiceImage Twice using OIC for few invoices
We are using the 'ErpObjectAttachmentService' service to upload the Invoice PDFs in the invoices screen, we have build a OIC integration process for the same. But while uploading its uploading the invoices twice for few Invoices. In the log file, "Multiple line hold test" is the one which is getting uploaded twice.
I am using the stage file operation to download the PDF files locally( which is "Access_FTP" in the screenshot) and then based upon a IF condition whether File_name != "" or otherwise, in the scope section i am uploading the attaching using a SOAP connector for 'ErpObjectAttachmentService' attachment service after encoding the attachment to base64 format and then mapping the file to the service.