MS Project 2010 customizing duration field in hours

I have a problem:
My Schedule are defined in days (duration). This is ok, but I want for me a 2nd column with the duration calculated in hours. Is it possible?

SeemaHoleyavar --
You would need to create a custom field containing a formula to do the necessary calculation.  If it were me, I would use a custom Text field and rename it as something like Duration in Hours.  In that custom Text field, I would use the following
formula:
([Duration])/60 & "h"
Also, when you create the custom Text field, be sure to select the Use Formula option in the Calculation for Task and Group Summary Rows section of the Custom Fields dialog.  Keep in mind that the preceding formula assumes an 8-hour working day. 
Hope this helps.
Dale A. Howard [MVP]

Similar Messages

  • Set a custom duration field using VBA throws the message "Invalid duration" when reopening the Project

    With a custom code we set Duration9 in Project 2013.
    After executing the code everything seems to be ok.
    After saving and reopening the Project it shows a message "Invalid Duration", and the value is shown as estimated (Questionmark).
    In VBA create following code:
    Sub SetDuration()
        Dim newVal As Long
        newVal = 14400
        Tasks(1).Duration9 = newVal
    End Sub
    Execute Code.
    Close VBA.
    Open the Project and you will get the same message box
    The only way as far as I found out is to manually retype the Duration in that field. What is not exactly what I want.
    Is this a bug in MSP or a hidden Feature? Does anyone has an idea?
    Best Regards Steffen

    I was able to replicate what you saw.  I can't explain it per se, but this code seems to get around the issue:
    Sub TESTDUR()
        Dim NewVal As String
        NewVal = "30d"
        ActiveProject.Tasks(1).Duration9 = NewVal
    End Sub
    Andrew Lavinsky [MVP] Blog: http://azlav.umtblog.com Twitter: @alavinsky

  • Project template: custom tab / field group

    Hello!
    We set-up an additional custom tab for some object types (DPO, PPO, TTO...), thanks to the field group customizing.
    However, it seems not possible to display these fields in the templates: DPT, PPT, TTT. The field groups are defined per project type, so why don't we see these fields in the templates when we select a project type? The more strange is that we see the tabs, but not the fields...
    Does anyone have an idea to perform this?
    Thank you.
    Matthias

    Hi Matthias,
    If you can see the tabs and not the fields, pl check if you have covered field control for these newly created custom fields.
    To have field control for these fields, you will have to copy the standard SAP provided field control, include the structure that has you custom fields and give it authorizations etc as per your requirement.
    Pl read carefully the documentation provided with field control.
    Regards,
    Reema.
    Edited by: Reema Shahbazkar on Jun 11, 2008 7:42 PM
    Refer note 947963 - Setting up field control

  • Invalid Duration error in MS Project 2010

    Hi,
    I have a user who has brought an issue to me.  He is a regular user of MS Project.  When he opens up his .mpp file he instantly gets an error of "Invalid Duration.  This is not a valid duration or it is outside the range for this field". 
    He has tried out every validation resolution option there is, he has looked at unpublished work items, he has also checked it through Excel.  He has re-entered the data, checking the format of every single piece of data.  Nothing was wrong and none
    of these checks have made any difference.   If he clicks on the Ok button on the error message, the file does then appear to operate normally with no issues, but he can't be 100% sure this is the case due to this message re-occurring every time he
    opens it again.  Is there anyone that has any ideas why this might be happening.  Please could someone throw some light on this ...?
    Thank you,  Lisa

    Check if using Macro on the plan. Similar issue has been fixed in June 2013 for project 2010, not sure which version you have seen the reported problem.
    Project 2010 hotfix package (Project-x-none.msp): June 11, 2013
    'http://support.microsoft.com/kb/2817385'
    You run a macro that sets the duration of a custom duration field for a task in a project in Project 2010. When you save and then reopen the project, you receive the following error message:
    Invalid Duration
    This is not a valid duration, or is outside the range for this field.
    Type a duration in the correct format: for example, 4 hours (or 4h), 12 days (or 12d), or 2ed for elapsed days.
    If its 2010, test with the above cu as its latest one.
    If this isn't case, please try using XML and check if that helps.
    If above doesn't help, provide information on project version and past history of plan, like was it created in past version and now opened in other version, etc.

  • How to define a unique project level custom field in project server 2010?

    Hi every one;
    is it possible to define a unique project level custom field?
    our client wants to have a unique custom field( project code) which doesn't allow users to save and publish projects with the same value.
    for example if user A define a project and set "project code = 1" if user B define another project and wants to save "project code =1" for it, the server doesn't allow him to save this value and he has to change value for example to 2
    thanks for any help

    First of all you need to have Project server development environment also for coding visual studio hands on is required.
    To start with PSI (Project Server interface)you need to have Development Environment of Project Server 2010.
    you can get the overview from http://msdn.microsoft.com/en-us/library/office/ms457477(v=office.14).asp
    You
    can get the information about SDK: Download SDK.
    http://msdn.microsoft.com/en-us/library/office/ms512767(v=office.14).aspx
    Below mentioned link is having code and reuqired information about :
    Generate Unique ID for Project using a webpart
     http://epmxperts.wordpress.com/2012/05/21/generate-unique-id-for-project-using-a-webpart/

  • Custom field changes in Project 2010

    Is there a last-modified-date indicator in one of the databases to indicate when a custom field was changed? For example, I want to know when a custom field called project-phase (not workflow) has changed from one value to the next within a PDP. 
    The purpose is to produce a report that indicates the progression of a project from one phase to the next (plan-analyze-design, etc.).

    this question is closed - but for what you asked for the basic query provided  gave you the custom field modified date which would be more precise then the project modified date - 
    The below query will get you the information you want
    YOU put in the project GUID  OR the GUID of the Custom Field and this will return the tasks and project name it will also show you the difference (at least it did in my DB) the project modified data versus the task/custom field modified date which is
    also what you asked for...
    USE ProjectSevrerDraft
    SELECT
    mscf.MD_PROP_NAME as "Custom Field",
    mstcv.MD_PROP_ID as "MD PROP ID - can remove",
    proj.PROJ_NAME as "Project Name",
    proj.MOD_DATE as "Project Modified Date",
    mst.TASK_NAME as "Task Name",
    mstcv.CREATED_DATE as "Task Created Date",
    mstcv.MOD_DATE as "Task Modified Date"
    FROM MSP_TASK_CUSTOM_FIELD)VALUES mstcv
    JOIN MSP_PROJECTS proj
    ON mstcv.PROJ_UID=proj.PROJ_UID
    JOIN MSP_TASKS mst
    ON mstcb.TASK_UID=mst.TASK_UID
    JOIN [ProjectServerPublished].[dbo].[MSP_CUSTOM_FIELDS] mscf
    ON mscf.MD_PROP_ID=mstcv.MD_PROP_ID
    -- You can select either below un-comment out the '--'
    -- And insert what you want - the project or Custom field
    -- GUID will help. The PROJ_UID is found under MSP_PROJECTS
    -- THE MD_PROP_ID is found under the published database in
    -- the MSP_CUSTOM_FIELDS table
    --WHERE mstcv.PROJ_UID =' GUID OF PROJECT'
    --WHERE mstcv.MD_PROP_ID = 'GUID OF CUSTOM FIELD'

  • MS Project 2010 cut and paste 255 characters in notes column field into MS Excel

    I need to copy and paste notes fields in MS Project 2010 which have more than 255 characters into MS Excel and I want all the text to paste into MS Excel (ie >255 characters). I need to be able to do this for at least a text column and the notes column
    as I can do a lookup from there. So to recap I need to copy and paste the contents of 2 columns including the notes column into Excel and paste all the text >255 characters. I know how to do this cell by cell however this is not feasible for a large
    plan on a weekly basis. It sounds so simple if you know how!

    John, 
    I agree that note field will accept more than 255 characters. May be in my comment i have written "Both" that is confusing. Limit is only for text column.
    Some time note field  may give some issues refer to http://support.microsoft.com/kb/169726
    kirtesh

  • Ability to update a custom text field across multiple projects in a grid type view

    We have a project level custom field for the Project Owner to enter an Executive Level project status.  A project owner will have many projects. Right now the owner has to open each project individually, update the text field and save which can
    take a considerable amount of time. We would like to have the ability to have the project list with the text field in a grid (looks like an excel sheet) with the ability to update the text field directly from the grid.  Is there some way
    to do this?

    Hi,
    Which project version are you using?
    Anyway there is no "excel-like" way to bulk edit proejct field, such as you can do for the resources. The project center is unfortunately a read-only view.
    For PS2010, the
    bulk edit tool allows you bulk editing pronot be "excel-like" meaning updating the value in rows. You'll have to select the project with the same value for the custom field and enter the value once and validate and redo this process for each proejct field
    value.
    Otherwise third-party tools are available on the market for this purpose:
    http://www.senseiprojectsolutions.com/sensei-bulk-update/
    http://www.fluentpro.com/productsfluentbooks2013.html
    Finally you could develop a side-application to achieve this objective.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • How to use the manually entered Hours/Days in the Duration field for BG_ABSENCE_DURATION

    Hi All,
    How to use the manually entered Hours/Days in the Duration field for BG_ABSENCE_DURATION fast formula?
    Requirement is to restrict employees for applying for leave more than the accrued balance. In SSHR, apply leave functionality, the employee enters the start date, end date and duration manually. The entered duration must be used in the fast formula to check against available balance.
    In the BG_ABSENCE_DURATION FF, I have a function to calculate the net accrual balance as on the calculation date.
    I want to add the logic as - If to_number(Duration) /*[manually entered value]*/ > net accrual balance then
    Duration = 'FAILED'
    invalid_msg = 'Error'
    return duration, invalid_msg
    Thanks!

    Hi,
    We have a standard functionality to override the duration calculation and you don't need to add a validation for the same. Please set the value of profile option HR: Absence Duration Auto Overwrite to Yes
    When you do this user will not have to enter the duration value manually. It will get auto calculated based on the duration calculation in BG_ABSENCE_DURATION when you click on the next button.
    For not allowing negative leaves to be applied, If you are on R12 then, this is a standard functionality and you need to set profile option HR Allow Absence Negative Balance to No
    If you are on 11i then refer Note: 268171.1: How Do You Stop Accrual Plans from Going Negative?
    Try and let me know in case you need further help.
    Thanks,
    Sanjay

  • Is there a BADI to call custom defined fields in Project Systems (PS)

    Hi,
    Is there a BADI to call custom defined fields in Project Systems (PS)
    The business process is as under:
    SRM MDM product catalog is called from PS applcation in ECC using transaction code CJ20N.
    Standard fields like description, qty, price etc are displayed and transfered to the PS application.
    The requirement is in addition to above mentioned fields, need to display
    custom defined (CUST_FIELD1 to CUST_FIELD5) fields and subsequently to be transfered to the PS application.
    Pls provide help or inputs.
    Thanks,

    Hi,
    There is customizing in the PS side. PS -> Material-? *(OCI) -> Convert HTML to SAP Fields
    Regards,
    Masa

  • Change project - project definition - customer fields

    Hi experts,
    I defined a new customer field for project definition. When I check it  CJ02->Project definition then from main menu: Details->Project definition customer fields then For some projects this menu item is active and for some is inactive. It should be active for all. Anyone knows on what it depends? Thank you in advance
    Best regards
    Paul Smuda

    How can I recognize if project is created with old profile?
    Open the project, that you want to check, in CJ20N and in the control tab check the project profile. Compare this with the projects for which the customer field is being displayed.
    I doubt whether this could be the cause for your issue. If nothing helps i would suggest you to raise this with SAP.

  • Moving project 2003 Custom Views to project 2010

    How do I get the custom views that were created in project 2003 to show up in project 2010

    Hi,
    You can perform this workaround to copy Project  custom views via Organizer tool.
    Open the Organizer in Project 2003>
    Copy Content into the Global Template. More detailed steps:
    For Project 2003, on the Tools menu, click
    Organizer.
         For Project 2010, click the File tab, click
    Into, and then      click Organizer—but see note below for some differences.
    In the Organizer dialog box, click the
    Views tab.
    The list in the right box contains the custom views in the currently      open project.
         Note    to see Project elements from other projects,      you’ll need to open those projects first.
    The list on the left contains elements in the Global template (also      knows as Global.MPT). Your job is to move the custom element from the      right side to the left side.
    Select the custom view on the right side, and then click
    Copy.      The custom view will be copied to the Global template and be displayed on      the left side.
    Now, it get’s a little tricky at this point. If your “Corporate Cost      Gantt” view contains columns that you’ve added, then you’ll need to copy      over the associated table
    as the next step. The associated table is the      one you specified when you created the custom view in the first place.      Typically, this would be the Entry table for chart views. So your next     
    step is to click the Tables tab, and then copy the Entry table to      the Global template.
    Quote from:
    http://blogs.msdn.com/b/project/archive/2010/10/22/tips-and-tricks-copy-custom-views-filters-tables-and-other-elements-to-other-projects.aspx
    http://www.wiseowl.co.uk/blog/s152/using_the_organizer_in_microsoft_project.htm
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Regards,
    George Zhao
    TechNet Community Support

  • May be to complex for project 2010

    Hello,
    My company recently purchased Microsoft project 2010 to track current jobs. We are becoming a large land surveying company with very large contracts. Each job could last a year or more and have about 12 task during that duration. Between each task we separate
    from office and field work. My first question is, does this software allow us to account for task to be stalled for another task and then pick up where the last time it was stalled without changes in cost and hours, because we manually start and
    end task and move back and forth. An example being we spend three days on one task in the field then we stall it to complete another task then start office hours then we start back where we left off on the first task maybe like 6 days after we stalled it.
    We also track our jobs by miles; each mile has a list of task to complete. Is this software accommodate this problem or should stick with excel 2013.
    Thank you,
    Neil

    Hi Neil,
    You can definitely manage your activities with MS Project 2010. Here are some advice:
    You cold use a task custom field to set task as "field" or "office" work, in order to group, filter and more generally organize activities and improve your project plan readability.
    Then using the task usage view, you'll be in an "excel-like" mode, where you can start a task A for some days, stop it, then start it again after few days. The usage views allows you entering manually work on tasks in a timephased view.
    Check
    this article from MPUG for more details.
    Then concerning tracking jobs by miles, I'm not sure to understand it well. Either you can build your project plan's WBS based on your miles with all tasks to complete by miles. Another way would be to have miles as a task custom field. In case it is more
    like "how many miles are required for this task?", you could create a material resource "mile" and manage it for each task.
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • Microsoft Project 2010 Error/Bug Using Filters and AutoFilters

    Dear Community Members/Team,
    I came across an error/bug while using Filter and AutoFilter options in Microsoft Project 2010. The details are as under:
    I have an MS Project 2010 file which has total 3049 activities (IDs).
    The linking process (predecessors and successors) is almost complete.
    In MS Project 2010 software console, in the bottom left most corner, I have right clicked and enabled the options of "Filter" and "AutoFilter".
    In the "View" tab located at top console, I have selected "[No Filter] against the "Filter" icon. Also, from the drop down arrow against the "Filter"
    icon, I have enabled "Display AutoFilter". As a result I can see drop down arrows in front of all columns displayed in the file.
    I have displayed columns "Duration", "Start", "Finish", "Total Slack", etc.
    I used the drop down arrow appearing in front of "Total Slack" column, and I can see some options. At the bottom I can see all the "Total Slack" values with
    scroll option available and all the boxes here are checked. I remove the check box in "Select All" field and manually select any random value such as "-11.17 wks".
    To my surprise, some values when selected, they are displayed correctly with the relevant activities shown. However some of the values which I select are not appearing and the relevant
    activities are not shown and only empty rows are shown. So I use "Clear Filter" and try some other option.
    Now, to find those activities, I have to click on the drop down arrow in front of "Total Slack" column, Go to "Filters", and select the last option "Custom".
    Now I select show rows where Total Slack "equals" and I select any value from drop down arrow appearing in front of "equals", I can see all those values of "Total Slack" and I randomly select the same value for e.g. "-11.17
    wks". This time the relevant activity is displayed correctly which was not shown by using the above method of selecting a certain value by selecting a check box from drop down arrow appearing against any column.
    I hope to have a response from the community.
    Regards,
    Usman

    Hi Usman,
    Strangely we are having the exact same discussion with another member here:
    https://social.technet.microsoft.com/Forums/projectserver/en-US/0ae3530f-6760-4ef9-afd9-6028258a490e/autofilter-feature-malfunctioning?forum=projectprofessional2010general
    Please go through this thread and tell us if it brings some light. Particularly try with a brand new file to reproduce the error. It could see the error on Ahmad's file, but couldn't reproduce it on a brand new file.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Creation of a Multi-Year Product Roadmap in Project 2010

    I am looking to see if I can efficiently create a product roadmap using Project 2010.  For a given business unit in our corporation I have product categories and under those categories I have products and/or projects I want to show on a timeline.  I
    was able to brute force this into a timeline but I would think there is an easier way to do this.
    For example, I would like to be able to put the description of the product/project inside the bar on the ghantt chart but I get an error when I try to do that.  I increased the bar height to allow for legible text but still no luck.  
    I want each entry for a given product category to automatically produce a bar of the right color with starting and ending symbols as needed based on the type of entry I add (product versus project).
    Is there any way to add an outline to the bars of different colors to designate the difference between a sustaining, anticipated, active, and discontinued product or project?
    Or would I be better served to go find an aftermarket piece of software that will do this type of work instead of trying to use MS Project for something it wasn't specifically designed?
    Thank you for any feedback.
    Andy

    Hi Andy,
    Here is a
    tutorial that might help you coloring your bar style. This is based on the resource name but you could have a custom field with your product category which trigger a flag then the bar style will be formated
    based on the flag.
    Then about the description in the bar, I'm afraid this is not intended for this purpose. What about the note fields? 
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

Maybe you are looking for