Let's Reconnect, thank you for making 2022 our best year yet.

Look Back
Attachment service 'ErpObjectAttachmentService' attaching Invoice PDF Twice in OIC — 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

Attachment service 'ErpObjectAttachmentService' attaching Invoice PDF Twice in OIC

Question
22
Views
0
Comments
edited Nov 22, 2019 9:30AM in Integration

Summary

Attachment service attaching the InvoiceImage Twice using OIC for few invoices

Content

Hi All,

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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