View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - How to write 'dailyCost' field in plannedwork table from the web interface - ProjeQtOr
 

How to write 'dailyCost' field in plannedwork table from the web interface

More
30 Oct 2024 22:18 #1 by martial.duchamp@hmt.ch
Hi,

I'm reading projeqtor database using the API and I'd like to use the 'dailyCost' and 'cost' fields in the plannedCost table, but for some reason most of the entries in these fields are '0' (only ~~1% have a value in - which is not correct but a older cost value I don't use anymore) while they should all have their values by looking at the web interface. In web interface, I have a cost for each resource and the planned project cost is correctly calculated. Interestingly, the 'work' field of this table show the correct numbers of hours when read by API.

As a side remark, the table 'work' doesn't show this issue, I'd have believed these 2 tables should be quite similar, one showing the past, the other one the future.

A 2nd sire remark, for some resources, when I add them in an activity in the web interface, the default cost is an old one (the same that is shown in some case in the 'dailyCost' in the plannedCost table), it may be related to the problem above.

Could you please tell me how I can enter the correct cost in the 'dailyCost' and 'cost' fields in the plannedCost table from the web interface?

Thank you, all the best
Martial

 

Please Log in or Create an account to join the conversation.

More
05 Nov 2024 17:31 #2 by babynus

I'd like to use the 'dailyCost' and 'cost' fields in the plannedCost table

I guess you means "plannedwork" table

In this table, the dailyCost comes from "assignment" table.
And the daily cost in the assignment table comes from the role (table "function") of the resource on the activity, defined on assignment.
Possibly resources had no cost where creating the assignment di dailyCost is null, and the actual cost is in newDailyCost.
 

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.036 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.