cancel
Showing results for 
Search instead for 
Did you mean: 

How to display order status changes as audit trail in backoffice ?

former_member623977
Active Participant
0 Kudos

I need to display order status changes into back office. I have checked and found that Order has Saved Values which is collection.

And SavedValues has a relation with SavedValueEntry -

         <sourceElement type="SavedValues" qualifier="parent" cardinality="one">
             <modifiers read="true" write="false" initial="true" optional="false" search="true"/>
         </sourceElement>

         <targetElement type="SavedValueEntry" qualifier="savedValuesEntries" cardinality="many"
                        collectiontype="set">
             <modifiers read="true" write="false" optional="true" partof="true"></modifiers>
         </targetElement>
     </relation>

     <relation code="ItemSavedValuesRelation" autocreate="true" generate="true" localized="false">
         <sourceElement type="Item" qualifier="modifiedItem" cardinality="one">
             <modifiers read="true" write="false" initial="true" optional="true" search="true"/>
         </sourceElement>

         <targetElement type="SavedValues" qualifier="savedValues" cardinality="many" collectiontype="set"
                        ordered="true">
             <modifiers read="true" write="false" optional="true" partof="false"/>
             <model generate="false"/>
         </targetElement>
     </relation>

I want to display SavedValueEntry attributes in backoffice , how can I do that ? Please suggest.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member66948
Participant
0 Kudos

Hi i am not sure what you want. Might be below links can give you some hints. https://help.hybris.com/6.4.0/hcd/8e3cf5cf7cd14bc9b740b52993044df5.html#loio8e3cf5cf7cd14bc9b740b529...

former_member623977
Active Participant
0 Kudos

Hi Wang,

Its a client requirement of displaying order status changes in backoffice. Altough I am able to show the savedValues as below -

                 <editorArea:attribute qualifier="savedValues"
                     label="shop.order.savedValues" />


But how can I get savedValuesEntry in backoffice ?