DECLARE
l_row_index BINARY_INTEGER;
l_row_records jtf_grid_property.row_selection_type;
l_row_type jtf_grid_property.row_interval_type;
l_rownumber NUMBER;
p_org_id NUMBER;
p_item_id NUMBER;
p_subinv_code VARCHAR2(100);
BEGIN
l_row_records := jtf_grid.getrowselection('RESULTS.GRID');
/*
* If no records are selected then do nothing.
*/
--fnd_message.debug('l_row_records:'||l_row_records.COUNT);
IF l_row_records.count = 0 THEN
RETURN;
END IF;
l_row_index := l_row_records.first;
l_row_type := l_row_records(l_row_index);
l_rownumber := l_row_type.startrow;
--库存组织
p_org_id := jtf_grid.getcolumnnumbervalue('RESULTS.GRID',
l_rownumber,
'ORG_ID');
--物料id
p_item_id := jtf_grid.getcolumnnumbervalue('RESULTS.GRID',
l_rownumber,
'ITEM_ID');
--子库存编码
p_subinv_code := jtf_grid.getcolumncharvalue('RESULTS.GRID',
l_rownumber,
'SUBINVENTORY_CODE');
END;
标准库存现有量界面取值
最新推荐文章于 2024-08-21 01:12:26 发布