<?xml version="1.0" ?>

<kc>

<title>GNUe Traffic</title>

<editor contact="mailto:psu@burdonvale.co.uk">Peter Sullivan</editor>

<issue num="90" date="19 Jul 2003 00:00:00 -0800" />

<headquote>
"<i>is this not a GNUe related 
<a href="http://story.news.yahoo.com/news?tmpl=story2&amp;u=/ap/20030711/ap_on_fe_st/giant_snake&amp;e=11&amp;ncid=757">story</a> 
or what  
- a python swallowed a goat
- we need a pic of this creature so it can be our new real-life mascot =)</i>"
</headquote>


<intro>
  This covers the three main mailing lists for the 
  <a href="http://www.gnuenterprise.org">GNU Enterprise</a> 
  project, plus the #gnuenterprise IRC channel.
</intro>


<section 
   title="Pre-query on a data source"
   subject="[IRC] 10 Jul 2003"
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.10Jul2003"
   author="Peter Sullivan" 
   contact="mailto:psu@burdonvale.co.uk"  
   startdate="10 Jul 2003 04:00:00 -0800"
   enddate="10 Jul 2003 04:00:00 -0800">

<topic>Forms</topic>

<p>Mike Vincent (Vee2d2) asked <quote who="Mike Vincent">what does 
setting prequery on the datasource do?</quote> Derek Neighbors 
(derek) explained this option <quote who="Derek Neighbors">prequeries 
on start up. It used to be mandatory for lookup boxes - otherwise the 
lookup boxes would be blank :) So if you had a parts database - with 
a vendor field and the vendor field had a vendor id - you had a combo 
box that showed valid vendors to pick from to populate that field. If 
you didnt prequery the vendor datasource - then that combo woudl be 
blank on form startup</quote>.</p>
	
</section>


<section 
   title="Possible release of Forms/Common without Designer"
   subject="[IRC] 11 Jul 2003"
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.11Jul2003"
   author="Peter Sullivan" 
   contact="mailto:psu@burdonvale.co.uk"  
   startdate="11 Jul 2003 04:00:00 -0800"
   enddate="11 Jul 2003 04:00:00 -0800">

<topic>Small Business</topic>
<topic>Forms</topic>
<topic>Common</topic>

<mention>Jason Cater</mention>
<mention>Bajusz Tam&#0225;s</mention>

<p>Stuart Quimby (ToyMan) said he was <quote who="Stuart Quimby">looking 
to pick up the thread again</quote> - a new investor in his business was 
<quote who="Stuart Quimby">looking for us to upgrade our accounting 
system</quote>. Mike Vincent (Vee2d2) said there had been some progress 
on GNUe Small Business - he was <quote who="Mike Vincent">going to try 
and get at least something written for each thing this weekend and add 
a link to 'em from the main 
<a href="http://www.gnu.org/software/gnue-sb/features">page</a></quote>.</p>

<p>James Thompson (jamest) said <quote who="James Thompson">we need to 
release the tools again - work is ongoing in cvs but at a lesser pace</quote>. 
He believed that Jason Cater (jcater) was mainly focusing on a GNUe-based 
POS (Point of Sale) system at the moment, which he needed personally. 
Mike said this was <quote who="Mike Vincent">looking pretty good - made 
me wanna hook up my bar code reader and start zapping things in the office 
when I played with it</quote>.</p>

<p>James said that Bajusz Tam&#0225;s (btami) 
had been adding functionality to GNUe Forms, including a native Win32 
user interface driver, and <quote who="James Thompson">someone added 
activex support I see (something I never envisioned :)</quote>. 
He knew <quote who="James Thompson">several people have added killer 
features to cvs - btami's work in windows alone deserves a release - 
however a few weeks ago I think jason needed a few weeks to fix up 
designer - so we're in a holding pattern</quote>. However, he 
<quote who="James Thompson">can't recall any changes in forms that 
require a new designer - so i guess nothing would stop a forms/common 
release if it was needed</quote>, with Designer following later.</p>

</section>


<section 
   title="SKUs and GNUe Small Business"
   subject="[IRC] 11 Jul 2003"
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.11Jul2003"
   author="Peter Sullivan" 
   contact="mailto:psu@burdonvale.co.uk"  
   startdate="11 Jul 2003 04:00:00 -0800"
   enddate="11 Jul 2003 04:00:00 -0800">

<topic>Small Business</topic>

<p>Mike Vincent (Vee2d2) explained that a Stock Keeping Unit (SKU) 
was <quote who="Mike Vincent">a way of identifying products</quote> 
for inventory - a <quote who="Mike Vincent">'part number'</quote> - 
typically, <quote who="Mike Vincent">a SKU is a number which 
represents an exact item, as for example my SKU# S12030104 might 
be a Nike model#244995 golf shirt that is Black and Large 
size</quote>.</p>

<p>Jason Cater (jcater) said <quote who="Jason Cater">I should have 
G/L committed soon</quote> for GNUe Small Business - 
<quote who="Jason Cater">using the gnue schema definitions - 
it's pretty much just arias w/gnue forms screens</quote>.</p>

<p>Later, Chan Min Wai (dcmwai) said he had been 
<quote who="Chan Min Wai">searching all over the net for a "standard 
way" of work doing (ERP, Stock ...) and I found that...  it is all 
about money ...</quote> Mike said <quote who="Mike Vincent">that's 
pretty much what the product (or item as it's currently called) 
management module</quote> of GNUe Small Business 
<quote who="Mike Vincent">is about.. setting up a line of products, 
being able to build intelligent SKUs from pieces of information (if 
that's what you want)</quote>.</p>

</section>


<section 
   title="on-startup and other triggers in Forms"
   subject="[IRC] 13 Jul 2003"
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.13Jul2003"
   author="Arturas Kriukovas" 
   contact="mailto:arturas@gsk.vtu.lt"
   startdate="13 Jul 2003 04:00:00 -0800"
   enddate="13 Jul 2003 04:00:00 -0800">

<topic>Forms</topic>


<p>Mike Vincent (Vee2d2) asked whether the on-startup trigger was fired 
before the others. <quote who="Mike Vincent">Seems all the focus related 
triggers and on-newrecord etc, all get fired prior to on-startup.. so I 
get this chicken and the egg thing happening where I setup global 
variables in on-startup they get changed in an on-change trigger that 
gets data from a source and I was going to try using a pre-focusout 
trigger to update the data's source to reflect any changes</quote>. 
James Thompson (jamest) thought to <quote who="James Thompson">set it up 
so that the app can init the trigger system then have a flag that says 
ignore triggers until flag is set.</quote> - 
<quote who="James Thompson">what we'd do is change the gnue-forms so 
that right before it fires on-startup it does a IntializeTriggerSystem() 
or some such thing</quote>. James said he'd take a look at it.</p>

</section>


<section 
   title="Query returning no results creates a new blank record"
   subject="[IRC] 13 Jul 2003"
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.13Jul2003"
   author="Arturas Kriukovas" 
   contact="mailto:arturas@gsk.vtu.lt"
   startdate="13 Jul 2003 04:00:00 -0800"
   enddate="13 Jul 2003 04:00:00 -0800">

<topic>Forms</topic>

<mention>Jason Cater</mention>

<p>Mike Vincent (Vee2d2) found out the problem that while doing 
a createResultSet(...) to test for the presence of data before 
proceeding, in case of empty result set, a new record was 
created. Jason Cater (jcater) asked whether the datasource was 
bound to a block and Mike confirmed that. In this case Jason 
offered to use datasource.createResultSet() then if 
block.isEmpty(): foo checking. Mike didn't think that this 
would help because <quote who="Mike Vincent">the problem was 
I would enter some things, do the check and *poof* I'm on a 
new record.. where I didnt want to be.</quote> He said another 
datablock creation had helped.</p> 

</section>


<section 
   title="Merging arias code into GNUe Small Business CVS"
   subject="[IRC] 15 Jul 2003"
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.15Jul2003"
   author="Peter Sullivan" 
   contact="mailto:psu@burdonvale.co.uk"  
   startdate="15 Jul 2003 04:00:00 -0800"
   enddate="16 Jul 2003 04:00:00 -0800">

<topic>Small Business</topic>

<p>Derek Neighbors (revDeke) asked Jason Cater (jcater) 
<quote who="Derek Neighbors">is all the stuff you are checking into
gnue-sb basically arias stuff? as it's starting to look a real 
mess</quote>, citing a few specific concerns - 
<quote who="Derek Neighbors">i guess i just get nervous with 
massive cvs changes and adds</quote>. Chan Min Wai (dcmwai) 
thought <quote who="Chan Min Wai">These change is just 
tempory</quote>. Later, Jason confirmed 
<quote who="Jason Cater">there is no long-term arias/ directory
- it will be rm -rf'd shortly</quote> and in any case 
<quote who="Jason Cater">that's a repository, btw... it's not 
part of the gnue-sb cvs tree</quote>.</p>

<p><a href="http://www.gnuenterprise.org/irc-logs/gnue-public.log.16Jul2003">
The next day</a>, Derek and Jason discussed how to structure the 
GNUe SB CVS as the arias code was being ported. Jason explained 
that the gnue-sb/arias subdirectory was a seperate CVS check out.
Derek said this was his preference, <quote who="Derek Neighbors">but 
figured it would be too much a pain :)</quote> Jason explained ]
<quote who="Jason Cater">I did it because it wasn't really officially 
part of gnue-sb - and I just needed cvs somewhere</quote>. Derek 
agreed - <quote who="Derek Neighbors">as the goal is to move things 
into gnue-sb/</quote> eventually.</p>

</section>


<section 
   title="popy and psycopg as alternative python drivers for PostgreSQL"
   subject="[IRC] 15 Jul 2003"
   archive="http://www.gnuenterprise.org/irc-logs/gnue-public.log.15Jul2003"
   author="Peter Sullivan" 
   contact="mailto:psu@burdonvale.co.uk"  
   startdate="15 Jul 2003 04:00:00 -0800"
   enddate="15 Jul 2003 04:00:00 -0800">

<topic>Common</topic>

<p>Mike Vincent reported that <quote who="Mike Vincent">the schema 
navigator blows up when I try to open the Tables node under gnue_sb 
now and I'm coming up empty.. I dropped the db and started fresh even.. 
;) which uncovered something else in the schema</quote>. Jason Cater 
(jcater) said <quote who="Jason Cater">you are creating the</quote> 
GNUe Point of Sale (POS) <quote who="Jason Cater">tables - those 
probably aren't ready</quote>. Mike said this was working if he 
dropped all the tables <quote who="Mike Vincent">and the related 
sequences, indicies</quote>.</p>

<p>Later, he deduced <quote who="Mike Vincent">It's a popy bug. I 
guess popy isnt return the oid as an int - switched back to psycopg 
and everything worked fine again</quote>. Jason said he had 
<quote who="Jason Cater">hit several issues w/popy in debian sid so 
had to switch back to psycopg</quote>. Mike noted that 
<quote who="Mike Vincent">when I was trying to figure out what was 
happening I went into common's 
datasources/drivers/postgresql/Base/Driver.py and commented out the 
block of code ~188 that creates the list and instead printed what was 
getting returned</quote> - it appeared to be returning string rather 
than numeric (object ID) results. Jason said this matched what he 
had been seeing - <quote who="Jason Cater">it doesn't return native 
types. popy was wrapping native types for some reason with it's own 
classes - but they hadn't implemented all the __whatever__ methods - 
so some of our stuff was bombing</quote>.</p>

</section>


</kc>
