Symptom
When adding attachments from SOAP UI to a document the new attached files replace the previous ones.
Environment
SAP Business ByDesign
Reproducing the Issue
In this document we will use an Opportunity as an example.
On SOAP UI you have created new attachments for an already existing Opportunity.
- Go to the New Business work center.
- Opportunities view.
- Open Opportunity ABC (ABC represents the Opportunity ID).
- Navigate to the Attachments tab.
- There are two attached files.
- Navigate to the Changes tab.
You'll see that when the two new attachments were added the older attachments have been replaced.
Resolution
This is the system behavior.
There is no possibility of adding attachments to the Opportunity document without deleting the existing ones.
When adding attachments from web service you must send all the necessary attachments all at once, otherwise every time a new attachment is added the one already assigned will be replaced.
Keywords
web service; attachment; attached; file; replaced; SOAP. , KBA , SRD-CRM-OPP , Opportunities , AP-SLO-SO , Sales Order , SRD-CRM-QUO , Quotations , How To