Upload an Attachment to Purchase Agreement using ErpObjectAttachmentService
Dear All,
I am facing difficulties uploading an attachment using the /fscmService/ErpObjectAttachmentService endpoint. The request is failing consistently, and I have included the XML message below for your reference:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/types/" xmlns:erp="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/">
<soapenv:Header/>
<soapenv:Body>
<typ:uploadAttachment>
<typ:entityName>PO_PA_HEADERS</typ:entityName>
<typ:categoryName>TO_SUPPLIER</typ:categoryName>
<typ:allowDuplicate>N</typ:allowDuplicate>
<!--Zero or more repetitions:-->
<typ:attachmentRows>
<!--Optional:-->
<erp:UserKeyA>Agreement number</erp:UserKeyA>