Skip to Content
avatar image
Former Member

Add advanced list pane in a new tab of Material Screen

Hello everybody,

First of all, sorry if I don't use the good terms to describe my problem, I'm really new to ByDesign. I'll try to be as specific as I can.

I have a problem to implement a functionality, I tried to search some solutions on the forum and on the web, but I'm really lost and I hope someone here could help me, I guess it's very simple for someone who has some experience with ByDesign.

Let me explain what I'm trying to do :

I have some materials which needs a conversion chart depending on the temperature when we do our inventory.

I want to implement a new tab in the screen located here : Product Data => Material => Material Overview => View All

In this new tab, I want to insert a new Embedded Component ( an advanced list pane), to list all the "multiplying factors" depending on the material temperature (for example : -45degrees => 1.012 , -44degrees =>1.009, etc ....)

I want also to have add/remove line buttons for this component so we can add or remove values when needed.

All the values are different for each materials so this component values must be linked to the material itself.

I hope that my explanations are clear.

For now, I have created the embedded component and enhanced the material screen (materialoif.OIF.xuicomponent) but I don't know what fields I have to bind, and how to bind them.

Also I don't know how to have the Add/remove buttons on top of my ListPane.

I'm stuck on this for two days now and I'm completely lost, I hope someone could help me with this.

Thanks in advance for taking time to help me !

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Mar 08, 2017 at 06:11 PM

    Finally, I succeeded to make this work.

    I was following some instructions on a video which weren't working. I finally found a workaround by myself to make this work.

    Again thanks for your help because even if you didn't gave me the solution, you gave me place to look to resolve my problem !

    thank you

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 21, 2017 at 12:08 PM

    Hello Lee-Roy,

    As the Material BO cannot be enhanced with a node you need a "shadow" BO which contains your conversions.
    Every insatnce of a Material which needs a conversion should have one instance of the Shadow BO.
    So this looks like a good example for your own BO

    businessobject MaterialTemperatureConversion {

    [AlternativeKey] element ProductID : ProductID; // should correspond to the Material instance
    node Conversion [1,n] {
    element .... <whatever you need for the conversion>

    element .... <whatever you need for the conversion>
    ...
    }
    }

    This Bo should be read /created when moving to the tab and gets displayed.

    Your "Add" and "Remove" buttons will create / delete instances of the node "Conversion".

    HTH,
    Horst

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 27, 2017 at 01:56 PM

    Shouldn't you be using the public outportecmaterialRoot

    When I need to add tabs i use this video as a reminder. Works every time!

    https://youtu.be/fYfkQW564l0

    John

    Add comment
    10|10000 characters needed characters exceeded