[seti page_title]Interchange SKU selector (selecting for [description code="[cgi item_id]"])[/seti] [set icon_name]icon_item.gif[/set] [set meta_header]
[/set] @_UI_STD_HEAD_@ [calc] if($CGI->{value}) { $CGI->{origvalue} = $CGI->{value}; $CGI->{value} =~ s/\s+$//; $CGI->{value} =~ s/^\s+//; $CGI->{value} =~ s/\s+/\n/g; } $CGI->{tstring} = 'ui_preload_' . $CGI->{table} . "_" . $CGI->{col}; $CGI->{rstring} = 'ui_preload:' . $CGI->{table} . ":" . $CGI->{col}; my $k = $Config->{Database}{$Config->{ProductFiles}[0]}{KEY} || 'sku'; $CGI->{sstring} = qq( rf=$k,$Config->{DescriptionField},category tf=category,$Config->{DescriptionField} ); return; [/calc] [search-region more=1 arg=" ra=yes st=db ml=1000 [cgi sstring] " ] [set tstring_rename] [calc] if($CGI->{Cancel}) { $CGI->{$CGI->{rstring}} = $CGI->{origvalue}; return; } $CGI->{$CGI->{rstring}} = $CGI->{$CGI->{tstring}}; $CGI->{$CGI->{rstring}} =~ s/\s+/ /g unless $CGI->{ui_preload_height} > 1; return; [/calc] [/set] [form-session-id]

[search-list] [item-change 1][condition][item-param category][/condition] [item-field category] [/item-change 1] {origvalue} =~ m{(^|\s)[item-code](\s|$)}; return; [/item-calc] onClick="addItemCheckbox(this.form.item[item-increment], this.form.[cgi tstring], 1)">[item-code] - [item-pos 1] [/search-list] | [cgi value]

[more-list] more: [more] [/more-list] [/search-region] @_UI_STD_FOOTER_@