Skip to Content
avatar image
Former Member

Bind field of embedded component to a field in the Item node of SalesQuote

Please note: I have posted this before and closed the question, but it was not sufficient, as the answer was not applicable for my case.

Hello,

I need help enhancing the Item node of the SalesQuotation standard object.

The aim is to show custom item dependent fields on the SalesQuotation TI product tab. Therefore, I want to include a embedded component with my custom fields on the product tab. For different reasons, I have to use an embedded component. It should behave like the other position dependent information like internal/external note or attachments.

I added the element ProductConfigurationID to the item node.

Then I tried just adding the custom fields in the UI Designer by dragging them from the BO Browser to my EC.

Now I am missing how I can get them bound to the actually selected product item.

The fields can be filled and saved for each position from the product item list (see below). I added them in the Quote TI and chose them from my BO extension. In this list everything is fine, just not in my embedded component. You can see my EC "TEST Z-FELDER". The field ProductConfigurationID is taken from the item node extension field and values that are entered there are not being saved and updated when switching between the product items.


In short: I want to bind a field of an embedded component to a field in the Item node of SalesQuote.

Many thanks in advance!

Sebastian

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jun 27, 2017 at 11:27 PM

    Hi,

    First of all, I feel we don't require an EC for this requirement. In standard, as a part of Product facet, under product list you will find a form pane enabled for customer extension fields. as shown below

    If you still wish to create your own EC :

    1) Create an EC and bind the data to the item node, ( Root from data model to be bound to BO item node). include item UUID field.

    2) As part of inport to EC, read the item UUID, and on event handler perform a read operation on Quote BO by passing the item UUID.

    Name Type Bind Path

    Parm Alternaltive key Inport/ItemUUID Root/ItemUUID

    3) Add the EC to Quote under product list and use the public outport which as Item UUID to bind the EC.

    Hope this helps.

    Thanks & regards

    Pramodh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 26, 2017 at 01:14 PM

    Hello,

    thank you for your answer. We have done it in the same way you suggested:

    Our EC has this Inport:

    With this Event-Handler EH_ON_Load1:

    Both fields “PosUUID” and "UUID" are in DataModel and “UUID” is bound to UUID from QuoteItem:

    The EC was added to ProductList:

    But it still doesn’t work:

    What have we done wrong?

    Thanks in advance.

    Add comment
    10|10000 characters needed characters exceeded