Updatable BAQ won't save data

i have a updatable BAQ withe 2 subquery (Subquery1-innersubquery, Subquery2-TopLevel), i wish to update 2 UD fields (OrderDtl_PlanStkStatus_c and OrderDtl_PlannerRMK_c). However, the BAQ can save the data without error but the data is gone after refresh it. Obviously the data is not save to the database.

Below is my UBAQ, i am seeking your help to guide me why the data is not able to save.

I think this is a search oriented service, not the appropriate service for updating OrderDtl records and try with moving OrderDtl into the TopLevel query as a direct table, rather than relying on SubQuery1 to supply the two editable fields.

Keep the ECO/BOM calculation in a separate subquery and use it to retrieve the calculated demand.

The Correct BO should be Erp.SalesOrder. You should see something like this.

Hi Ken,

yes. you are right. i use BO SalesOrdHedDtl. it worked also. However, i also reduce the uBAQ to only one top level query.

Hi Amit,

Thanks for the guidance. i reduce the uBAQ to only one top level query and change the BO to SalesOrdHedDtl. it can save the data now. Thanks a lot.

Austin Powers Doctor Evil GIF

1 Like