get('record'); if ($recordId && $_REQUEST['action'] == 'SaveAjax') { // While saving Consignment record Line items quantities should not get updated // This is a dependency on the older code, where in Consignment save_module we decide wheather to update or not. $_REQUEST['action'] = 'ConsignmentAjax'; } return parent::process($request); } }