0% found this document useful (0 votes)
46 views

Configure Polymorphic Information

Polymorphic bind parameters in a DFF can be configured to provide correct LOV items. The values are set in the Business Object Field Editor for the polymorphic field set under the Polymorphic Information tab. As an example, the BusinessUnit bind parameter for a project number DFF is configured by providing an expression referring to the RequisitioningBUId field on the draft purchase order Business Object. The expression syntax allows referring to fields on Business Objects higher in the hierarchy.

Uploaded by

Mohmed Badawy
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)
46 views

Configure Polymorphic Information

Polymorphic bind parameters in a DFF can be configured to provide correct LOV items. The values are set in the Business Object Field Editor for the polymorphic field set under the Polymorphic Information tab. As an example, the BusinessUnit bind parameter for a project number DFF is configured by providing an expression referring to the RequisitioningBUId field on the draft purchase order Business Object. The expression syntax allows referring to fields on Business Objects higher in the hierarchy.

Uploaded by

Mohmed Badawy
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/ 2

Polymorphic Bind Parameters Configuration

Background

LOV in a complex DFF may use client binds. These binds are typically required for getting the correct LOV
items from table-validated value sets.

Configuration

Values of all binds (PARAMETER type) in a DFF are configured in the Business Object Field Editor for the
polymorphic field set, under Polymorphic Information tab.

For example, Project Number is a segment in DFF and its LOV uses a PARAMETER bind BusinessUnit.

To configure the value of BusinessUnit, open the Business Object Field Editor for the polymorphic field
set (Context Value column), find Polymorphic Bind Parameters section under Polymorphic Information
tab. Then provide the value for BusinessUnit.

Image: Polymorphic Bind Parameters for the projectDFF _FLEX_Context

Business Unit value


{this.BusinessObject.Parent.Parent.Parent.Parent.Fields['RequisitioningBUId'].Value}

Details

• Value of a bind parameter can be a literal value like 100001, Requisition001 (no quotes), or a
string that contains one or more expressions marked by curly braces { }
• An expression can refer to the value of a field in any Business Object (or BO) in the current BO
hierarchy.
othere must be a Form-over-Table layout configured for that BO
othe field referred to must be exposed in the form of the Form-over-Table layout
• In the example, the value is a single expression.
o this is the polymorphic field set
o this.BusinessObject is the BO that owns the polymorphic field set (the DFF BO)
o Parent means to get the parent BO in the hierarchy (bottom-up: draftPurchaseOrders
Distributions/projectDFF, draftPurchaseOrdersSchedules, draftPurchaseOrdersLines,
draftPurchaseOrders)
o this.BusinessObject.Parent.Parent.Parent.Parent is the draftPurchaseOrders BO that
owns the field RequisitioningBUId
o Fields [<field ID>].Value means to get the current field value of the field with given field
ID - note the single quotes (required) around the ID
• When you are using the expression instead of a literal value like 100001, field ID column should
be configured in the sheet. Here, in this use case, RequisitioningBUId column should be
configured for the Purchase Order header in your workbook.
• Expression syntax is limited to what's shown in the example (key parts: this, BusinessObject,
Parent, Fields[<field ID>].Value).

Availability

Available in validation drop 2.7.0.23341 or later.

You might also like