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

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

152 Views

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.