Skip to Content
Aug 07, 2017 at 06:43 AM

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


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"/>

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

     <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"/>

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

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