Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3523

C4C Enhancing Quote Product Item with Embeded Component

$
0
0

Hi All,

I am enhancing Sales Quote Product Item with customer BO using EC following the guide Add custom BO to standards screen

provided by Stefan Krauth see below for detailed explanation how I created the BO and EC.

For some reason whenever I change the item it is not triggering the UIID change, from my perspective some initialization is missing but I am not sure how should I do it.

Thanks in advance.

Here is my BODL:

businessobject ProductVariant {
[AlternativeKey][Label("Varinat Identificator")] element variantID:ID;      //NUMC 10"
[AlternativeKey][Label("Quotation Item UUID")] element QuoteItemUUID:UUID;
[Label("Product Id")] element productID:apCommonGDT:ProductInternalID;
association ToMaterial[1,1] to Material;
node Characteristics [0,n]{                [Label("Internal characteristic")] element atinnInternalCharacteristics:ID; //NUMC  10                            [Label("Characteristic Name")] element atnamCharacteristicsName:LANGUAGEINDEPENDENT_MEDIUM_Text; //CHAR             30                            node CharacteristicValues [0,n]{                                [Label("Internal characteristic")] element atinnInternalCharacteristics:ID; //NUMC 10                                             [Label("Int counter")] element atzhlInternalCharacteristics:BusinessTransactionDocumentItemScheduleLineID;//NUMC 4                                [Label("Characteristic Value")] element atwrtCharacteristicsValue:LANGUAGEINDEPENDENT_MEDIUM_Text;//CHAR 30                                [Label("Characteristic value description")] element atwtbCharacteristicsDescription:MEDIUM_Name;//CHAR 30                }
}
}               

The screen looks like

BO screen.png

Data Model

Data Model.png

InPort

InPort.png

Event

Event1.png

Event2.png

Event3.png


I am adding EC to screen : BYD_COD/SalesOnDemand/Quote/COD_QuoteTI.TI.uicomponet:


EcPlace.png

in the following Container:

ECContainer.png

Using Binding :

AddEC.png

TheBind.png

And here is the Test case:

TestHead.png


When there is one item everything looks fine

TestOneItem.png

But when they are two : Bind is not working

TestTwoItem.png

 














Viewing all articles
Browse latest Browse all 3523

Trending Articles