0% found this document useful (0 votes)
33 views7 pages

PRC RequisitionAttachmentImport R11

This white paper outlines the use of the ERP Object Attachment Service for uploading attachments to requisitions in Oracle Procurement Cloud. It details the process for attaching files to requisition headers and lines, including the necessary payload structure and security roles required for operation. The document serves as a guide for businesses to enhance requisition details by associating relevant attachments efficiently.

Uploaded by

yyakku10
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views7 pages

PRC RequisitionAttachmentImport R11

This white paper outlines the use of the ERP Object Attachment Service for uploading attachments to requisitions in Oracle Procurement Cloud. It details the process for attaching files to requisition headers and lines, including the necessary payload structure and security roles required for operation. The document serves as a guide for businesses to enhance requisition details by associating relevant attachments efficiently.

Uploaded by

yyakku10
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Uploading Attachments to

Requisitions Using ERP Object


Attachment Service
Oracle Procurement Cloud Release 11

WHITE PAPER / JUNE 21, 2019


DISCLAIMER
The following is intended to outline our general product direction. It is intended for information
purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any
material, code, or functionality, and should not be relied upon in making purchasing decisions. The
development, release, and timing of any features or functionality described for Oracle’s products
remains at the sole discretion of Oracle.

DISCLAIMERS FOR PRE-RELEASE, PRE-GA PRODUCTS


The revenue recognition disclaimer on this page is required for any white paper that
addresses future functionality or for products that are not yet generally available (GA). If you
are unsure whether your white paper needs the disclaimer, read the revenue recognition policy.
If you have further questions about your content and the disclaimer requirements, e-mail
[email protected]. If you do not need the disclaimer, you may delete it and the page that it
appears. First, display hidden characters by clicking on the Paragraph icon on the Home toolbar. It is
a small, square icon that appears to the left of the Quick Style Gallery. Then, highlight all the text on
this page and press the Delete key. Notice that there is a section break displayed as a double-dotted
line at the bottom of this page. Continue to press Delete until the page disappears and your cursor is
on the Table of Contents page. Be sure not to remove the section break, or the formatting of the title
page will be incorrect. Delete this note before publishing.
The testing disclaimer in the TM block on the last page (highlighted in yellow) is provided by the
FCC. It must appear in the TM block for all pre-release, pre-GA products. Be sure to remove the
yellow highlighting before publishing. When the product becomes GA, update your collateral by
removing the disclaimer from the TM block. If your product is already GA, delete the disclaimer from
the TM block.
Important: If your product is not GA, then you cannot include any regulatory compliance information
in the white paper. Regulatory compliance information may be included for GA products only if you
have completed all required safety and emissions testing, and you have received the certificates
issued by the testing organization.

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

Uploading attachment to the requisition header .......................................................................... 5

Uploading attachment to the requisition line ................................................................................ 6

3 W HITE PAPER / Uploading Attachments to Requisitions Using ERP Object Attachment Service
INTRODUCTION

Business enterprises often require the capability to efficiently associate


specific attachments with a particular requisition, and the ERP Object
Attachment Service delivers this automated capability. An attachment
represents a collection of meaningful business objects that is commonly
captured as a separate file, text, or Internet URL. Attachments are used to
supplement and provide key additional information to enhance the requisition
details.

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.

Keep this key with value #NULL.


UserKeyD String

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

Attachment Text/Url. Examples:


Content String
URL: <ns2:Content>http://fusiontax.idc.oracle.com/publish/html/logs/ ERPIntegration.txt</ns2:Content>

Text: <ns2:Content>Testing text attachments</ns2:Content>

File (encode the source data to a Base64 string (base64 encoding)):


<ns2:Content>VGVzdGluZyBmaWxlIGF0dGFjaG1lbnQu</ns2:Content>

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

viewing requisitions, creating noncatalog requests,

creating requisitions with one-time locations, and

changing deliver-to locations on requisition lines.

SAMPLE PAYLOAD

Uploading attachment to the requisition header

<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.

blogs.oracle.com/oracle facebook.com/oracle twitter.com/oracle

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

You might also like