cancel
Showing results for 
Search instead for 
Did you mean: 

Override an OOTB Item's attribute Sap Commerce Hybris

ripalmieri
Discoverer
0 Kudos

Hi everyone, I'm trying to override the Order item, in order to change the attribute OriginalVersion from

<attribute qualifier="originalVersion" type="Order">   <modifiers read="true" write="false" search="true"optional="true" initial="true" />   <persistence type="property" /></attribute

to this:

<attribute qualifier="originalVersion" type="Order" redeclare="true" generate="false" autocreate="false">
    <persistence type="property"/>
    <modifiers read="true" write="true" optional="true" initial="false" />
</attribute>

as I can see the "Editable" field can be changed via backoffice, but It is impossible to save OrderModel items as I'm getting a ModelSaving Exception, could someone give me the right modifiers to persist the new version of this attribute?

Accepted Solutions (0)

Answers (0)