search for: part_number

Displaying 20 results from an estimated 20 matches for "part_number".

2006 Jan 11
0
Easy Question, I Think
...id serial primary key, part_name character varying NOT NULL, group_id integer not null, description character varying, idx_part_name tsvector ); ALTER TABLE part_names ADD CONSTRAINT pn_group FOREIGN KEY (group_id) REFERENCES groups(id) DEFERRABLE INITIALLY DEFERRED; CREATE TABLE part_numbers ( id serial primary key, part_number integer NOT NULL, constraint chk_part_number check (part_number ~''[0-9]*'') ); CREATE TABLE parts ( id serial primary key, part_number_id integer NOT NULL, part_name_id integer NOT NULL, quantity integer DEFAULT 1 N...
2006 Jan 12
0
Easy Question, I Think [re-post, sorry if dupe]
...id serial primary key, part_name character varying NOT NULL, group_id integer not null, description character varying, idx_part_name tsvector ); ALTER TABLE part_names ADD CONSTRAINT pn_group FOREIGN KEY (group_id) REFERENCES groups(id) DEFERRABLE INITIALLY DEFERRED; CREATE TABLE part_numbers ( id serial primary key, part_number integer NOT NULL, constraint chk_part_number check (part_number ~''[0-9]*'') ); CREATE TABLE parts ( id serial primary key, part_number_id integer NOT NULL, part_name_id integer NOT NULL, quantity integer DEFAULT 1 N...
2010 May 10
1
[PATCH node] RESEND: fix iscsi installation problems
...unt LABEL=Root /boot + mount LABEL=Boot /boot } # stop any service which keeps /var/log busy # keep the list of services @@ -865,23 +865,32 @@ get_part_info() { local drive_in="$1" local dev_var=$2 local part_var=$3 + local grub_dev=$4 local devname_1 devname2 part_number local rc=0 - eval $(readlink -f "$drive_in" |awk {' - print "devname_1=" substr($1,1,length($1)-1); - print "devname_2=" substr($1,1,length($1)-2); - part_number=substr($1,length($1),1); - print "part_number=" part_nu...
2010 Apr 09
0
[PATCH node] fix iscsi installation problems
...unt LABEL=Root /boot + mount LABEL=Boot /boot } # stop any service which keeps /var/log busy # keep the list of services @@ -865,23 +865,32 @@ get_part_info() { local drive_in="$1" local dev_var=$2 local part_var=$3 + local grub_dev=$4 local devname_1 devname2 part_number local rc=0 - eval $(readlink -f "$drive_in" |awk {' - print "devname_1=" substr($1,1,length($1)-1); - print "devname_2=" substr($1,1,length($1)-2); - part_number=substr($1,length($1),1); - print "part_number=" part_nu...
2010 Mar 23
1
[PATCH node][RFC] Fix uninstall to detect and cleanup correct partitions
...c30890 100644 --- a/scripts/ovirt-functions +++ b/scripts/ovirt-functions @@ -851,6 +851,33 @@ get_dm_device () return $rc } +#Function to determine partition and device names +get_part_info() { + local drive_in=$1 + local dev_var=$2 + local part_var=$3 + local devname_1 devname2 part_number + local rc=0 + + eval $(readlink -f /dev/disk/by-label/$grub_dev_label|awk {' + print "devname_1=" substr($1,1,length($1)-1); + print "devname_2=" substr($1,1,length($1)-2); + part_number=substr($1,length($1),1); partN--; + print "part_...
2006 Apr 20
5
strange mysql problem
...reate ActiveRecord::StatementInvalid: Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' , , , )'' at line 1: INSERT INTO line_items (`qty`, `quote_id`, `price`, `lead_time`, `part_number`) VALUES(, , , , ) why is it doing that? all my other models that belong_to something work.
2010 Mar 23
0
[PATCH node] Fix uninstall to detect and cleanup correct partitions
...98e31a 100644 --- a/scripts/ovirt-functions +++ b/scripts/ovirt-functions @@ -851,6 +851,39 @@ get_dm_device () return $rc } +#Function to determine partition and device names +get_part_info() { + local drive_in=$1 + local dev_var=$2 + local part_var=$3 + local devname_1 devname2 part_number + local rc=0 + + eval $(readlink -f $drive_in|awk {' + print "devname_1=" substr($1,1,length($1)-1); + print "devname_2=" substr($1,1,length($1)-2); + part_number=substr($1,length($1),1); + print "part_number=" part_number; + }&...
2010 Mar 24
2
[PATCH node][REPOST 1/2] Fix uninstall to detect and cleanup correct partitions
...98e31a 100644 --- a/scripts/ovirt-functions +++ b/scripts/ovirt-functions @@ -851,6 +851,39 @@ get_dm_device () return $rc } +#Function to determine partition and device names +get_part_info() { + local drive_in=$1 + local dev_var=$2 + local part_var=$3 + local devname_1 devname2 part_number + local rc=0 + + eval $(readlink -f $drive_in|awk {' + print "devname_1=" substr($1,1,length($1)-1); + print "devname_2=" substr($1,1,length($1)-2); + part_number=substr($1,length($1),1); + print "part_number=" part_number; + }&...
2010 Jan 19
1
PGError: ERROR: operator does not exist: character = integer
...ctionality I''m trying to compare two attributes in a condition, one is of type varchar and other the Integer. While doing so i''m getting the error as below. ActiveRecord::StatementInvalid: PGError: ERROR: operator does not exist: character = integer LINE 5: WHERE PART.part_number = UNIT.part_number::INT ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts. I can''t change the data type of the columns but I need to compare the above condition. Can anyone help me out in s...
2006 Jan 06
2
How do I reference eagerly loaded Models in the View?
...work_order_item - that''s because the WorkOrderItem model references its work_order for some processing - see "pst" below) And in the view, I reference as such: @work_order_items.each {|item| @work_order_items_table.data << Hash["Part #", item.ProductsAndServices.part_number,"Description", item.description, "Quantity",item.quantity, "Price", number_to_currency(item.price), "Extended", number_to_currency(item.sub_total)]} The above generates @work_order_items.count queries to the ProductsAndServices table. Why is that? Do I refer...
2006 Mar 14
1
Dynamic Finders with _or_create Don''t Work?
What could cause this? >> sdfl=PartNumber.find_by_part_number("1111111") => #<PartNumber:0xb78fc744 @attributes={"id"=>"11601", "part_number"=>"1111111"}> >> sdfl=PartNumber.find_or_create_by_part_number("1111111") NoMethodError: undefined method `find_or_create_by_part_number...
2006 Jan 12
1
Form Entity Names for Child Objects
In my controller, I do this to instantiate and populate my Part, PartName and PartNumber objects. def edit @part = Part.find(params[:id], :include => [:part_name, :part_number]) end But in the view, this doesn''t refer to the right object. I somehow need to indicate that the part_name object is a child of the part object. <%= text_field_with_auto_complete :part_name, :part_name%> If I instantiate the part_name object separately it works but I thought...
2018 Aug 29
1
Panic / EL6 / KVM / kernel-2.6.32-754.2.1.el6.x86_64
...<entry name='external_clock'>1333 MHz</entry> <entry name='max_speed'>5200 MHz</entry> <entry name='status'>Populated, Enabled</entry> <entry name='serial_number'>Not Specified</entry> <entry name='part_number'>Not Specified</entry> </processor> <memory_device> <entry name='size'>2048 MB</entry> <entry name='form_factor'>DIMM</entry> <entry name='locator'>DIMM_1</entry> <entry name='bank_locator'...
2012 Sep 19
1
[PATCH 1/1] lua: Cleaned up the dmi table structure in Lua.c32 and added all missing DMI subtables
...D_NUM_P(L, processor, voltage_mv) + LUA_ADD_STR_P(L, processor, status) + LUA_ADD_STR_P(L, processor, upgrade) + LUA_ADD_STR_P(L, processor, cache1) + LUA_ADD_STR_P(L, processor, cache2) + LUA_ADD_STR_P(L, processor, cache3) + LUA_ADD_STR_P(L, processor, serial) + LUA_ADD_STR_P(L, processor, part_number) + LUA_ADD_STR_P(L, processor, id) + LUA_ADD_NUM_P(L, processor, core_count) + LUA_ADD_NUM_P(L, processor, core_enabled) + LUA_ADD_NUM_P(L, processor, thread_count) + + /* processor signature */ + lua_pushstring(L, "signature"); + lua_newtable(L); + LUA_ADD_NUM_P(L, signature, typ...
2018 Aug 29
7
Panic / EL6 / KVM / kernel-2.6.32-754.2.1.el6.x86_64
Since the update from kernel-2.6.32-754.2.1.el6.x86_64 to kernel-2.6.32-754.3.5.el6.x86_64 I can not boot my KVM guests anymore!? The workstation panics immediately! I would not have expected this behavior now (last phase of OS). It was very robust until now (Optiplex Workstation). I see some KVM related lines in the changelog.diff. Before swimming upstream: Does some one have problems
2006 Mar 10
5
PDF::Writer Simpletable Iteration
Hello All: I have been working with <a href="http://ruby-pdf.rubyforge.org/pdf-writer/index.html">Austin Ziegler''s PDF::Writer</a> as a means to produce PDF documents from my Rails app. I am stumped on how to iterate through a collection of items and output them in a table format. The way I have tried it so far only returns the last item in the collection -
2006 Jul 28
0
i need help migrating an old table
i have this big table that has columns: partnumber, 1piece-price-break, 10K-piece-price-break, 25k, etc... i want to split this into two tables: part_number, id and price_break, price, product_id so that, you know, the price-break columns are not stuck at fixed values; different parts can have differnt numbers of price-breaks, etc is there a ruby way to do this? i have navicat, but i can''t think of a way to keep everything straight with...
2006 Jan 05
0
Keep the Queries Down or "Referencing eagerly loaded models"
...rk_order_item - that''s because the WorkOrderItem model references its work_order for some processing - see "pst" below) And in the view, I reference as such: @work_order_items.each {|item| @work_order_items_table.data << Hash["Part #", item.ProductsAndServices.part_number,"Description", item.description, "Quantity",item.quantity, "Price", number_to_currency(item.price), "Extended", number_to_currency(item.sub_total)]} The above generates @work_order_items.count queries to the ProductsAndServices table. Why is that? Do I r...
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
...eval $return_var=$dm_device + eval $return_var="$dm_device" return $rc } #Function to determine partition and device names get_part_info() { - local drive_in=$1 + local drive_in="$1" local dev_var=$2 local part_var=$3 local devname_1 devname2 part_number local rc=0 - eval $(readlink -f $drive_in|awk {' + eval $(readlink -f "$drive_in" |awk {' print "devname_1=" substr($1,1,length($1)-1); print "devname_2=" substr($1,1,length($1)-2); part_number=substr($1,length($1),1); --...
2013 Feb 22
48
[PATCH v3 00/46] initial arm v8 (64-bit) support
This round implements all of the review comments from V2 and all patches are now acked. Unless there are any objections I intend to apply later this morning. Ian.