Forum

Provider tenders
 
Notifications
Clear all

Provider tenders

12 Posts
2 Users
0 Reactions
6,319 Views
(@andyb)
Posts: 12
Active Member
Topic starter
 
[#5586]

Hi,

I'm using version 7.2.7. If you select the Provider Tenders option then it does not display a list of existing provder tenders. Looking in the error log, I can see

2018-12-02 09:20:37.809 ** ERROR ** [V7.2.7] Exception-[42703] SQLSTATE[42703]: Undefined column: 7 ERROR: column tender.totaluntaxedamount does not exist
LINE 1: ...,'') as "colorNameStatus", tender.idle as "idle", tender.tot...
^
2018-12-02 09:20:37.809 ** ERROR ** [V7.2.7] For query : select tender.id as "id", T1.name as "nameProject", T2.name as "nameTenderType", tender.name as "name", T3.sortOrder || '#split#' ||T3.name || '#split#' ||COALESCE(T3.color,'') as "colorNameTenderStatus", tender.evaluationValue as "evaluationValue", tender.plannedAmount as "plannedAmount", T4.sortOrder || '#split#' ||T4.name || '#split#' ||COALESCE(T4.color,'') as "colorNameStatus", tender.idle as "idle", tender.totalUntaxedAmount as "totalUntaxedAmount",tender.idProject as idproject from tender left join project as T1 on tender.idProject = T1.id left join type as T2 on tender.idTenderType = T2.id left join tenderstatus as T3 on tender.idTenderStatus = T3.id left join status as T4 on tender.idStatus = T4.id where tender.idle=0 and ( (tender.idProject not in (0) or tender.idProject is null ) and (tender.idProject not in (0) or tender.idProject is null or (tender.idResource='3') ) and (tender.idProject not in (0) or tender.idProject is null or (tender.idUser='3') ) ) order by tender.id desc
2018-12-02 09:20:37.809 ** ERROR ** [V7.2.7] Strack trace :
2018-12-02 09:20:37.809 ** ERROR ** [V7.2.7] #0 Sql->query called at [/var/www/business.workmage.com/project/tool/jsonQuery.php:567]


 
Posted : 02 Dec 2018 12H46
(@babynus)
Posts: 14952
Member Admin
 

1) You must be using PostgreSql
2) Some errors should have been reported during migration.

Check errors.
Re-execute erroneous queries after fixing.
For issue on tender, you should replace "UNSIGNED NULL DEFAULT NULL" with just "UNSIGNED"


 
Posted : 03 Dec 2018 11H58
(@andyb)
Posts: 12
Active Member
Topic starter
 

1) Yup I'm using PostgreSQL
2) No errors were display when I migrated.

Whereabouts do I change the code?


 
Posted : 06 Dec 2018 23H33
(@babynus)
Posts: 14952
Member Admin
 
2) No errors were display when I migrated.

Can you retreive and post log of migration


 
Posted : 07 Dec 2018 11H59
(@andyb)
Posts: 12
Active Member
Topic starter
 

I had to do a fresh install. I've attached the section of the log which covers the database set up.


 
Posted : 09 Dec 2018 13H31
(@babynus)
Posts: 14952
Member Admin
 

The trace of update show correct update of table tender :

2018-12-06 20:54:53.796 ===== TRACE ===== Table "tender" altered.
2018-12-06 20:54:53.822 ===== TRACE ===== Table "tender" altered.

Can you show desc of table tender ?


 
Posted : 11 Dec 2018 11H45
(@andyb)
Posts: 12
Active Member
Topic starter
 

Here is the table definition:

CREATE TABLE public.tender
(
id integer NOT NULL DEFAULT nextval('tender_id_seq'::regclass),
reference character varying(100) DEFAULT NULL::character varying,
name character varying(200) DEFAULT NULL::character varying,
idtendertype numeric(12,0) DEFAULT NULL::numeric,
idproject numeric(12,0) DEFAULT NULL::numeric,
idcallfortender numeric(12,0) DEFAULT NULL::numeric,
idtenderstatus numeric(12,0) DEFAULT NULL::numeric,
iduser numeric(12,0) DEFAULT NULL::numeric,
creationdate date,
idprovider numeric(12,0) DEFAULT NULL::numeric,
externalreference character varying(100) DEFAULT NULL::character varying,
description text,
idstatus numeric(12,0) DEFAULT NULL::numeric,
idresource numeric(12,0) DEFAULT NULL::numeric,
idcontact numeric(12,0) DEFAULT NULL::numeric,
requestdatetime timestamp without time zone,
expectedtenderdatetime timestamp without time zone,
receptiondatetime timestamp without time zone,
evaluationvalue numeric(7,2) DEFAULT NULL::numeric,
evaluationrank numeric(3,0) DEFAULT NULL::numeric,
offervalidityenddate date,
plannedamount numeric(11,2),
taxpct numeric(5,2) DEFAULT NULL::numeric,
plannedtaxamount numeric(11,2),
plannedfullamount numeric(11,2),
untaxedamount numeric(11,2),
initialtaxamount numeric(11,2),
initialfullamount numeric(11,2),
deliverydelay character varying(100) DEFAULT NULL::character varying,
deliverydate date,
paymentcondition character varying(100) DEFAULT NULL::character varying,
evaluation numeric(7,2) DEFAULT NULL::numeric,
result text,
handled numeric(1,0) DEFAULT '0'::numeric,
done numeric(1,0) DEFAULT '0'::numeric,
idle numeric(1,0) DEFAULT '0'::numeric,
cancelled numeric(1,0) DEFAULT '0'::numeric,
handleddate date,
donedate date,
idledate date,
discountamount numeric(11,2),
discountrate numeric(5,2),
idprojectexpense numeric(12,0) DEFAULT NULL::numeric,
discountfrom character varying(10),
CONSTRAINT tender_pkey PRIMARY KEY (id)
)


 
Posted : 24 Dec 2018 14H58
(@babynus)
Posts: 14952
Member Admin
 

Hi,

Got it !

It is an issue fixed on V7.3.2.

You can also simply "reset" column display in column selector


 
Posted : 24 Dec 2018 15H26
(@andyb)
Posts: 12
Active Member
Topic starter
 

brilliant - thanks 🙂

i'll upgrade over the next few days.

I have a second question, I've tried to include the tender process on the plan. I added an activity to the plan but when I tried to link the activity to the "call to tender", I couldn't find it on the list. I can link the individual tenders but not the "call to tender".


 
Posted : 24 Dec 2018 15H53
(@babynus)
Posts: 14952
Member Admin
 

Hi,

Tenders are "linkable", but Call for tenders are not.
It could be an improvment.


 
Posted : 24 Dec 2018 16H02
(@babynus)
Posts: 14952
Member Admin
 

Hint :

As a workarount, go to the Call For Tender, here link the activity : you're done !
Go to the activity : link to Call for Tender exists.


 
Posted : 24 Dec 2018 16H08
(@andyb)
Posts: 12
Active Member
Topic starter
 

I think it should be an improvement and the workaround works 🙂

Thanks


 
Posted : 24 Dec 2018 16H37
Share:

Scroll to Top