I have an extension on 'PostConfigSave' event, which grabs the entire selected options and it posts back to user_item_description field on the sales order. Iam calling Process order API to update the oe_order_lines_all table.
When i make the entire selections and hit the finish button. The configurator page is still lying there its not going to sales order screen. any valuable inputs around this please.
String sql = "SELECT OOL.HEADER_ID,OOL.LINE_ID,OOL.ORG_ID FROM APPS.OE_ORDER_HEADERS_ALL OOH, APPS.OE_ORDER_LINES_ALL OOL WHERE OOH.HEADER_ID=OOL.HEADER_ID AND OOL.LINE_ID="+mOrderLineId;//17010
pStmt = conn.prepareStatement(sql);
rs = pStmt.executeQuery();
int line_id = 0;
I found out the issue. We can't update the Sales Order line using postConfigSave event. cos configurator would lock the record until it returns back to the sales order line. There is small work around for this, i was trying to insert all the data which i need to update on the sales order line into CZ_CONFIG_ATTRIBUTES and after that using forms personilazation i am planning to update sales order line field.