When I place an order I want to remove the facility dependency, so I
commented out the following: and did a restart, but when I place an
order it still requires the dependency so I guess it didn't update.
Is there a special command to verify and update the DB from a modified
entitymodel.xml file ?   Thanks

   <entity entity-name="OrderHeader"
            package-name="org.ofbiz.order.order"
            never-cache="true"
            title="Order Header Entity">

     <!--  commented this out
      <relation type="one" fk-name="ORDER_HDR_OFAC" title="Origin"
rel-entity-name="FacilityAndContactMechAndAddress1">
        <key-map field-name="originFacilityId" rel-field-name="facilityId"/>
      </relation>
       -->

Reply via email to