Skip to Content

Save data of Embedded Component in another CustomBO

Dear Expert,

I have created an embedded component in my Account_QC view, but the fields can not be saved to the Account_TI

I want to know, is there any way that I can save the fields of my embedded component to another custom BO, and use it?

Since I can only bind the Embedded Componnet to one BusinessObject, I want to save them temporary in another Custom BO.

Does anyone know if it is possible and how?

Regards

Sin

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 20, 2016 at 07:06 PM

    Hi Sin,

    You can create an EC binded to a custom BO and add it to AccountTI.

    Your custom BO must have the accountID or UUID. In AccountTI, you pass the accountID/UUID from some outport to the EC inport and then, you create your object or retrieve it if already exists. If you create one instance, it will be persisted only when you save the screen. Be carefull to not duplicate lines.

    Another way could be creating this new object in customer beforesave script.

    Best regards,

    Alexandre.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.