Вы находитесь на странице: 1из 7

Worked

Example:
Using Flexfield
Parameters in
Value Sets for
Document
Records
Oracle Fusion Human Capital Management

ORACLE W HITE PAPER JANUARY 2, 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.

2 W HITE PAPER / Worked Example: Using Flexfield Parameters in Value Sets for Document Records
INTRODUCTION

This paper uses a worked example to describe the following: Use of Person ID as an input
parameter when creating a value set for a document record flexfield segment.

Note: This feature is available from Release 19A onwards.

WORKED EXAMPLE

An employee wants to upload certain documents for their contact, such as spouse, parent, or child.
To do this:

 The implementor defines a segment for the descriptive flexfield (DFF).

 The implementor defines a value set that will display the values of the contacts based on the
person ID of the employee.

 The employee selects a contact from the list of contacts on the document record creation
page and creates a document record for the selected contact.

PROCEDURE

1. Define the DFF (PER_DOCUMENTS_OF_RECORD_DFF) for document records.

3 W HITE PAPER / Worked Example: Using Flexfield Parameters in Value Sets for Document Records
2. Define the value set to be used in the DFF.

Use the following syntax for:

FROM Clause: PER_CONTACT_RELSHIPS_F CR, per_person_names_f_v ppnf

WHERE Clause:
CR.PERSON_ID = :{PARAMETER.PERSONID}
and CR.CONTACT_PERSON_ID = ppnf.person_id
and trunc(sysdate) between CR.effective_start_date and CR.effective_end_date
and trunc(sysdate) between ppnf.effective_start_date and
ppnf.effective_end_date

4 W HITE PAPER / Worked Example: Using Flexfield Parameters in Value Sets for Document Records
5 W HITE PAPER / Worked Example: Using Flexfield Parameters in Value Sets for Document Records
3. Save and deploy the DFF.

4. Log in as an employee and create a document record of type Birth. The contacts for this
employee appear in the list of values. Select the contact for whom the document record is
being created.

6 W HITE PAPER / Worked Example: Using Flexfield Parameters in Value Sets for Document Records
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. 0119
Worked Example: Using Flexfield Parameters in Value Sets for Document Records
November 2018
Author: Shweta Ganguly

Вам также может понравиться