PRC RequisitionAttachmentImport R11
PRC RequisitionAttachmentImport R11
2 W HITE PAPER / Uploading Attachments to Requisitions Using ERP Object Attachment Service
Table of Contents
Introduction .................................................................................................. 4
Uploading Attachments................................................................................ 4
Security........................................................................................................ 5
Sample Payload........................................................................................... 5
3 W HITE PAPER / Uploading Attachments to Requisitions Using ERP Object Attachment Service
INTRODUCTION
ERP Object Attachment Service is a utility web service that allows customers
to perform the automatic upload of attachments for Oracle Procurement
Cloud Self Service Procurement requisitions. Use this service to upload
attachments to existing requisitions at either header or line levels.
UPLOADING ATTACHMENTS
The uploadAttachment operation uploads attachments for a particular Universal Content Management
Server account and updates the attachment tables for the relevant business object.
Request Payload
ELEMENT NAME TYPE DESCRIPTION
Indicates the product application business entity name for which the upload of an
entityName String attachment is desired. Valid entity names for Self Service Procurement are:
POR_REQUISITION_HEADERS – for requisition header attachments
POR_REQUISITION_LINES – for requisition line attachments
Indicates the category name associated with a parent business entity for which
categoryName String the attachment upload is desired. Valid names for Self Service Procurement are:
MISC – seeded miscellaneous category
TO_SUPPLIER – category of attachments addressed to the supplier
TO_BUYER – category of attachments address to the buyer
TO_RECEIVER – category of attachments addressed to the receiver
TO_APPROVER – category of attachments addressed to the approver
REQ_INTERNAL – category of attachments internal to the requisition
User option to specify whether duplicate file attachments are allowed. Valid options are: yes, no.
allowDuplicate String
List of elements, each containing the details of the attachment to upload. The details include the user keys,
attachmentRows attachment type, title, text, and URL.
attachmentRows Attributes
ATTRIBUTE NAME TYPE DESCRIPTION
Indicates one of the values corresponding to the business entity attribute through which an attachment can be uploaded
UserKeyA String and associated. For Self Service Procurement, you should provide the requisition number in this attribute.
Indicates one of the values corresponding to the business entity attribute through which an attachment can be uploaded
UserKeyB String and associated. For Self Service Procurement, you should provide the requisitioning business unit name in this attribute.
Indicates one of the values corresponding to the business entity attribute through which an attachment can be uploaded
UserKeyC String and associated. For Self Service Procurement, you should provide the requisitioning line number if you would like to
load the attachment at the requisition line level. Specify the value #NULL if unused.
4 W HITE PAPER / Uploading Attachments to Requisitions Using ERP Object Attachment Service
Keep this key with value #NULL.
UserKeyE String
AttachmentType String Type of the attachment. Valid values are: FILE, TEXT, URL.
Indicates the title of the attachment. Attachments of any file type such as FILE, TEXT, or URL must have a title.
Title String Examples: SampleFile.doc, SampleFile.txt, SampleURL
SECURITY
The following table lists the duty roles to perform the service operations. The seeded Procurement
Manager and Buyer job roles have the FSCM Load Interface Administration duty role.
Duty Roles
DUTY ROLE DUTY ROLE NAME DUTY ROLE DESCRIPTION
ORA_FUN_FSCM_LOAD_INTERFACE_ADMIN_DUTY FSCM Load Interface Administration Manages load interface file for import.
ORA_POR_REQUISITION_SELF_SERVICE_USER_DUTY Requisition Self Service User Manages requisitions including creating, searching, and
SAMPLE PAYLOAD
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:uploadAttachment
xmlns:ns1="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/types/">
<ns1:entityName>POR_REQUISITION_HEADERS</ns1:entityName>
<ns1:categoryName>MISC</ns1:categoryName>
<ns1:allowDuplicate>yes</ns1:allowDuplicate>
<ns1:attachmentRows
xmlns:ns2="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/">
<ns2:UserKeyA>10503277</ns2:UserKeyA>
<ns2:UserKeyB>Vision Operations</ns2:UserKeyB>
<ns2:UserKeyC>#NULL</ns2:UserKeyC>
<ns2:UserKeyD>#NULL</ns2:UserKeyD>
<ns2:UserKeyE>#NULL</ns2:UserKeyE>
<ns2:AttachmentType>FILE</ns2:AttachmentType>
<ns2:Title>SampleFILE.doc</ns2:Title>
<ns2:Content>VGVzdGluZyBmaWxlIGF0dGFjaG1lbnQu</ns2:Content>
</ns1:attachmentRows>
</ns1:uploadAttachment>
</soap:Body>
</soap:Envelope>
5 W HITE PAPER / Uploading Attachments to Requisitions Using ERP Object Attachment Service
Uploading attachment to the requisition line
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:uploadAttachment
xmlns:ns1="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/types/">
<ns1:entityName>POR_REQUISITION_LINES</ns1:entityName>
<ns1:categoryName>MISC</ns1:categoryName>
<ns1:allowDuplicate>yes</ns1:allowDuplicate>
<ns1:attachmentRows
xmlns:ns2="http://xmlns.oracle.com/apps/financials/commonModules/shared/model/erpIntegrationService/">
<ns2:UserKeyA>10503277</ns2:UserKeyA>
<ns2:UserKeyB>Vision Operations</ns2:UserKeyB>
<ns2:UserKeyC>1</ns2:UserKeyC>
<ns2:UserKeyD>#NULL</ns2:UserKeyD>
<ns2:UserKeyE>#NULL</ns2:UserKeyE>
<ns2:AttachmentType>FILE</ns2:AttachmentType>
<ns2:Title>SampleFILE.doc</ns2:Title>
<ns2:Content> VGVzdGluZyBmaWxlIGF0dGFjaG1lbnQu</ns2:Content>
</ns1:attachmentRows>
</ns1:uploadAttachment>
</soap:Body>
</soap:Envelope>
6 W HITE PAPER / Uploading Attachments to Requisitions Using ERP Object Attachment Service
ORACLE CORPORATION
Worldwide Headquarters
500 Oracle Parkway, Redwood Shores, CA 94065 USA
Worldwide Inquiries
TELE + 1.650.506.7000 + 1.800.ORACLE1
FAX + 1.650.506.7200
oracle.com
CONNECT W ITH US
Call +1.800.ORACLE1 or visit oracle.com. Outside North America, find your local office at oracle.com/contact.
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only, and the contents hereof are
subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether expressed
orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any
liability with respect to this document, and no contractual obligations are formed either directly or indirectly by this document. This document may not be
reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or
registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks
of Advanced Micro Devices. UNIX is a registered trademark of The Open Group. 0619
Navigate to Purchasing Transactions from Reports
August 2018