on 2021 Oct 01 6:41 AM
Hi all,
I have created a new attribute called batchNumberString in AbstractOrder in items.xml, I want to to save it into ordermodel after placing the order.
batchNumberString is getting saved in cartmodel, but during cloning of cart into order, batchNumberString value is not present in order.
I have set the value of batchNumberString in facade layer.
cartModel.setPhysicianName(physicianName); cartModel.setBatchNumberstring(physicianName);
<itemtype code="AbstractOrder" autocreate="false" generate="true">
<attributes>
<attribute qualifier="physicianName" type="java.lang.String">
<persistence type="property" />
<description>Name of Physician</description>
</attribute>
<attribute qualifier="batchNumberstring" type="java.lang.String">
<persistence type="property" />
</attribute>
</attributes>
</itemtype>
am I doing something wrong ?
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.