Could someone please assist me understand where and how to extend the order logic to process a new field in the ShippingInfo?
This is the approach I've used:
Persistence Layer Extension:
Created a new XSHIPINFO table and relate by SHIPINFO_ID
Unpacked and modified the SHIPINFO bean mapping to include the additional fields into the existing ShipInfo bean.
Tested this bean and it seems fine, it retrieves and adds the data okay.
Business Logic Layer
This is where I"m encountering challenges. I have extended the OrderFacadeClient and the ExtendOrderItemProcessCmd. I'm expecting to use the Facade client to populate the extra parameter into the Userdata when it's present in the request, and the Process command extension will use my extended ShipInfo Bean to persist it.
However, the Extended version of the facade client is not being called when I call AjaxOrderChangeServiceShipInfoUpdate. but it is being called when I call AjaxOrderChangeServiceItemUpdate/Delete.
Could someone help me understand why it would be executed for one call and not the other? I feel I'm missing a configuration, or perhaps another part of the facade is used when udpating shipInfo (I've extended buildOrderItem method).
Any help is appreciated....