inventory:
Array
(
[no_filter] => 1
[filter2_label] => Status
[filter2_no_lang] => 1
[lettersearch] => 1
[selectcols] => stock_type_flag,stock_num,short_description,stock_category,status_flag,inventory
[default_cols] => stock_num,short_description
[get_rows] => perp_inventory.ui_perp_stock.get_stock_list
[template] => perp_inventory.stock_list.row
[cat_id] =>
[filter2] =>
[search] => Air
[num_rows] => 15
[default_prefs] => 0
[start] =>
[return] =>
[col_filter] => Array
(
[stock_type_flag] => A
)
[bottom_too] =>
[options-filter] =>
[filter] =>
[no_csv_export] =>
[filter_onchange] => this.form.submit();
[filter2_onchange] => this.form.submit();
[cat_app] => perp_inventory
[options-num_rows] => Array
(
[5] => 5
[15] => 15
[25] => 25
[50] => 50
[100] => 100
[200] => 200
[500] => 500
[999] => 999
)
[options-selectcols] => Array
(
)
[order] => stock_num
[sort] => ASC
[count] => 2
)
Array
(
[stock_type_flag] => A
[0] => (stock_num LIKE ‘%Air%’ OR short_description LIKE ‘%Air%’ OR
perp_stock_barcode.barcode = ‘Air’)
)
add work_order:
Array
(
[template] => etemplate.ajax_select_widget.row
[id_field] => stock_id
[get_title] => perp_inventory.bo_perp_stock.link_title
[stock_type_flag] => A
[pseudo] => false
[search] => Air
[selectcols] => stock_id,stock_num,short_description
[order] => stock_num
[sort] => ASC
[count] => 0
)
Array
(
[stock_type_flag] => A
[0] => (stock_num LIKE '%Air%' OR short_description LIKE '%Air%' OR
perp_stock_barcode.barcode = 'Air')
[pseudo] => 1
)
<?xml version="1.0" encoding="utf-8" ?><![CDATA[remove_ajax_results('exec[stock_id]
[results]’)]]>
Nathan Gray schrieb:
…
in Inventory -> Stock List nothing appears in the console -> post.
After adding that line, the debug should be huge, and take up most of
the page. On the stock list, it actually appears right in the page.
I’m expecting this from the stock list:
Array
(
[no_filter] => 1
[filter2_label] => Status
[filter2_no_lang] => 1
[lettersearch] => 1
[selectcols] =>
stock_type_flag,stock_num,short_description,stock_category,unit_of_measure,sync_modified
[default_cols] => stock_num,short_description
[get_rows] => perp_inventory.ui_perp_stock.get_stock_list
[template] => perp_inventory.stock_list.row
[cat_id] =>
[filter2] =>
[search] => air
[num_rows] => 15
[savecols] => Save
[default_prefs] => 0
[start] =>
[return] =>
[bottom_too] =>
[options-filter] =>
[filter] =>
[no_csv_export] =>
[filter_onchange] => this.form.submit();
[filter2_onchange] => this.form.submit();
[cat_app] => perp_inventory
[options-num_rows] => Array
(
[5] => 5
[15] => 15
[25] => 25
[50] => 50
[100] => 100
[200] => 200
[500] => 500
[999] => 999
)
[options-selectcols] => Array
(
)
[order] => stock_num
[sort] => ASC
[count] => 118
)
Array
(
[0] => (stock_num LIKE ‘%air%’ OR short_description LIKE ‘%air%’ OR
perp_stock_barcode.barcode = ‘air’)
)
And something similar, but only visible in firebug, in the work
order’s popup when you search for ‘air’.
Nathan Gray
nathan at goarctic dot com
Perp-developers mailing list
Perp-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perp-developers