[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: property/inc functions.inc.php,1.8,1.9 class.soX
From: |
Sigurd Nes <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: property/inc functions.inc.php,1.8,1.9 class.soXport.inc.php,1.5,1.6 class.invoice.inc.php,1.1,1.2 |
Date: |
Mon, 11 Nov 2002 16:34:35 -0500 |
Update of /cvsroot/phpgroupware/property/inc
In directory subversions:/tmp/cvs-serv21666/inc
Modified Files:
functions.inc.php class.soXport.inc.php class.invoice.inc.php
Log Message:
no message
Index: functions.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/property/inc/functions.inc.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** functions.inc.php 26 Oct 2002 09:03:39 -0000 1.8
--- functions.inc.php 11 Nov 2002 21:34:33 -0000 1.9
***************
*** 198,202 ****
{
! $GLOBALS['phpgw']->db->query("select value from
IDGenerator where name = 'workorder'");
$GLOBALS['phpgw']->db->next_record();
$id_1 = $GLOBALS['phpgw']->db->f('value');
--- 198,202 ----
{
! $GLOBALS['phpgw']->db->query("select value from
idgenerator where name = 'workorder'");
$GLOBALS['phpgw']->db->next_record();
$id_1 = $GLOBALS['phpgw']->db->f('value');
***************
*** 210,214 ****
else
{
! $GLOBALS['phpgw']->db->query("select value from
IDGenerator where name = 'workorder'");
$GLOBALS['phpgw']->db->next_record();
$id = $GLOBALS['phpgw']->db->f('value');
--- 210,214 ----
else
{
! $GLOBALS['phpgw']->db->query("select value from
idgenerator where name = 'workorder'");
$GLOBALS['phpgw']->db->next_record();
$id = $GLOBALS['phpgw']->db->f('value');
***************
*** 223,227 ****
function increment_wrkorderid($next_id)
{
! $GLOBALS['phpgw']->db->query("update IDGenerator set
value='$next_id' where name='workorder'");
}
--- 223,227 ----
function increment_wrkorderid($next_id)
{
! $GLOBALS['phpgw']->db->query("update idgenerator set
value='$next_id' where name='workorder'");
}
***************
*** 230,238 ****
function create_project_id()
{
! $GLOBALS['phpgw']->db->query("select value from IDGenerator
where name = 'project'");
$GLOBALS['phpgw']->db->next_record();
$id = $GLOBALS['phpgw']->db->f('value');
! $GLOBALS['phpgw']->db->query("update IDGenerator set value=
value + 1 where name='project'");
return $id;
--- 230,238 ----
function create_project_id()
{
! $GLOBALS['phpgw']->db->query("select value from idgenerator
where name = 'project'");
$GLOBALS['phpgw']->db->next_record();
$id = $GLOBALS['phpgw']->db->f('value');
! $GLOBALS['phpgw']->db->query("update idgenerator set value=
value + 1 where name='project'");
return $id;
***************
*** 701,705 ****
function create_voucherid()
{
! $GLOBALS['phpgw']->db->query("select value from IDGenerator
where name = 'Bilagsnummer'");
$GLOBALS['phpgw']->db->next_record();
$id = $GLOBALS['phpgw']->db->f('value')+1;
--- 701,705 ----
function create_voucherid()
{
! $GLOBALS['phpgw']->db->query("select value from idgenerator
where name = 'Bilagsnummer'");
$GLOBALS['phpgw']->db->next_record();
$id = $GLOBALS['phpgw']->db->f('value')+1;
Index: class.soXport.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/property/inc/class.soXport.inc.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** class.soXport.inc.php 11 Nov 2002 19:35:17 -0000 1.5
--- class.soXport.inc.php 11 Nov 2002 21:34:33 -0000 1.6
***************
*** 766,771 ****
{
! $this->db->query("update IDGenerator set value = value
+ 1 where name = 'Ecobatchid'");
! $this->db->query("select value from IDGenerator where
name = 'Ecobatchid'");
$this->db->next_record();
$bilagsnr = $this->db->f('value');
--- 766,771 ----
{
! $this->db->query("update idgenerator set value = value
+ 1 where name = 'Ecobatchid'");
! $this->db->query("select value from idgenerator where
name = 'Ecobatchid'");
$this->db->next_record();
$bilagsnr = $this->db->f('value');
***************
*** 777,781 ****
{
! $this->db->query("select value from IDGenerator where
name = 'Ecobatchid'");
$this->db->next_record();
$batchid = $this->db->f('value')+1;
--- 777,781 ----
{
! $this->db->query("select value from idgenerator where
name = 'Ecobatchid'");
$this->db->next_record();
$batchid = $this->db->f('value')+1;
Index: class.invoice.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/property/inc/class.invoice.inc.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** class.invoice.inc.php 16 Oct 2002 15:32:15 -0000 1.1
--- class.invoice.inc.php 11 Nov 2002 21:34:33 -0000 1.2
***************
*** 44,49 ****
{
! $GLOBALS['phpgw']->db->query("update IDGenerator set
value = value + 1 where name = 'Bilagsnummer'");
! $GLOBALS['phpgw']->db->query("select value from
IDGenerator where name = 'Bilagsnummer'");
$GLOBALS['phpgw']->db->next_record();
$bilagsnr = $GLOBALS['phpgw']->db->f('value');
--- 44,49 ----
{
! $GLOBALS['phpgw']->db->query("update idgenerator set
value = value + 1 where name = 'Bilagsnummer'");
! $GLOBALS['phpgw']->db->query("select value from
idgenerator where name = 'Bilagsnummer'");
$GLOBALS['phpgw']->db->next_record();
$bilagsnr = $GLOBALS['phpgw']->db->f('value');
***************
*** 55,59 ****
{
! $GLOBALS['phpgw']->db->query("select value from
IDGenerator where name = 'Bilagsnummer'");
$GLOBALS['phpgw']->db->next_record();
$bilagsnr = $GLOBALS['phpgw']->db->f('value')+1;
--- 55,59 ----
{
! $GLOBALS['phpgw']->db->query("select value from
idgenerator where name = 'Bilagsnummer'");
$GLOBALS['phpgw']->db->next_record();
$bilagsnr = $GLOBALS['phpgw']->db->f('value')+1;
***************
*** 73,77 ****
{
! $GLOBALS['phpgw']->db->query("select value from
IDGenerator where name = 'Bilagsnummer'");
$GLOBALS['phpgw']->db->next_record();
$bilagsnr = $GLOBALS['phpgw']->db->f('value')+1;
--- 73,77 ----
{
! $GLOBALS['phpgw']->db->query("select value from
idgenerator where name = 'Bilagsnummer'");
$GLOBALS['phpgw']->db->next_record();
$bilagsnr = $GLOBALS['phpgw']->db->f('value')+1;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: property/inc functions.inc.php,1.8,1.9 class.soXport.inc.php,1.5,1.6 class.invoice.inc.php,1.1,1.2,
Sigurd Nes <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: property/setup tables_current.inc.php,1.14,1.15 setup.inc.php,1.11,1.12 default_records.inc.php,1.1.1.1,1.2
- Next by Date:
[Phpgroupware-cvs] CVS: phpgroupware/doc cvs_full_checkout.php,1.10,1.11
- Previous by thread:
[Phpgroupware-cvs] CVS: property/setup tables_current.inc.php,1.14,1.15 setup.inc.php,1.11,1.12 default_records.inc.php,1.1.1.1,1.2
- Next by thread:
[Phpgroupware-cvs] CVS: phpgroupware/doc cvs_full_checkout.php,1.10,1.11
- Index(es):