Enter at the same time Hour and Daily wage

Hi friends,
in my project I had some human resources (working on different tasks), and I need to enter for them a standard rate but at the same time a daily rate (Imagine they're working abroad, so I pay their job but also a fixed rate for every day spent abroad ). 
How enter these two kinds of wages?
The resource, in the same same day, might be employed in more tasks.
I would like to avoid the duplication of the "abroad wage" if the resource is employed in two tasks in the same day.
Thank you!!

Nico,
I have yet another solution. Some months ago another user wanted to know how to make Project calculate cost based on a day rate rather than the default hourly rate. I developed a macro to do that. It puts the day rate cost into the Cost1 field. So....if
you use the normal hourly rate to cost out the job and then run the macro, you can combine the two cost totals. Herewith is the macro (it may need some tweaking for your needs):
'This macro calculates cost based on a day rate and puts it into Cost1
'   part days (e.g. 4h) are treated a full days
'   It does NOT account for a resource who works one task for 4h and then another
'   task for 4h. He/She will accrue cost for 2 full days, one on each task
'   Kosher? No, not in my mind, but that's the ways it's done in some regions
Sub DayTripper()
Dim t As Task
Dim a As Assignment
Dim r As Resource
Dim NumDa As Integer
Dim MPD As Single, PartDa As Single, PR As Single
Dim RR As String
Dim aSt As Date
MPD = ActiveProject.HoursPerDay * 60
For Each r In ActiveProject.Resources
    RR = r.PayRates(1).StandardRate
    PR = CSng(Mid(RR, 2, InStr(1, RR, "/") - 2))
    For Each a In r.Assignments
        If DateValue(a.Start) <> aSt Then
            NumDa = CInt(a.Work / MPD)
            PartDa = CDec(a.Work / MPD) - NumDa
            If PartDa > 0 Then NumDa = NumDa + 1
            a.Cost1 = NumDa * PR
            aSt = DateValue(a.Start)
        End If
    Next a
    aSt = DateValue("12:00:00 AM")
Next r
End Sub
Hope this helps.
John

Similar Messages

  • I am using the PCI-6110E/​6111E with the NI-DAQ software version6.7​.Is there a way to record at the same time analog and digital channels?I​f,ye

    s can I have timestamps for each sample?I mean,is there a notion of time information on this board?Finally,is there a way to know ,in the double buffer's case,the number of samples in the halfbuffer which is not full if the acquisition stops by a trigger?.I am using the PCI-6110E/6111E with the NI-DAQ software version6.7.Is there a way to record at the same time analog and digital channels?If,yes can I have timestamps for each sample?I mean,is there a notion of time information on this board?Finally,is there a way to know ,in the double buffer's case,the number of samples in the halfbuffer which is not full if the acquisition
    stops by a trigger?.
    Thank you for your interest in advance

    s can I have timestamps for each sample?I mean,is there a notion of time information on this board?Finally,is there a way to know ,in the double buffer's case,the number of samples in the halfbuffer which is not full if the acquisition stops by a trigger?.PALE wrote:
    >
    > I am using the PCI-6110E/6111E with the NI-DAQ software version6.7.Is
    > there a way to record at the same time analog and digital
    > channels?If,yes can I have timestamps for each sample?I mean,is there
    > a notion of time information on this board?Finally,is there a way to
    > know ,in the double buffer's case,the number of samples in the
    > halfbuffer which is not full if the acquisition stops by a trigger?.
    Start by looking around the examples that ship with LabVIEW (if you are
    using LabVIEW).
    Also look around zone.ni.com for general data acquisition information &
    examples. A good site.
    Mark

  • Will my whole itunes library be transferred to my new computer with home sharing,in other words will I be able to use bothe computers at the same time ? And will I have two copies of my all my playlists?

    Will my whole itunes library be transferred to my new computer with home sharing,in other words will I be able to use bothe computers at the same time ? And will I have two copies of my all my playlists?

    Hi there J1750oe,
    You may find the information in the article below helpful.
    iTunes: How to move your music to a new computer
    http://support.apple.com/kb/ht4527
    Transferring playlists
    If you want not only your content but also your playlists to exist on your new computer, you will want to transfer a copy of all your playlists from your old computer. To do this, choose File > Library > Export Library on your old computer. Save the XML file that is created to your desktop.
    Send the playlists file to yourself as an e-mail attachment, use an external drive, or use file sharing to move the playlists file to your new computer. Once the file is on your new computer, open iTunes and choose File > Library > Import Playlist. The import process will remove any items from the playlists that you didn't share via Home Sharing.
    -Griff W. 

  • "New" and "old" appraisals at the same time (OSA and Perf module)

    Hi All,
    We currently use the old Performance Appraisals system (APPCREATE, BA object), but we are planing to switch to the new one - Objective Setting and Appraisals module (HAP00 REPLA switch).
    My questions are.
    - After switching the appraisal system, old appraisals will be available at the same time, too?
    - Are there any transaction to view the old appraisals (APPDISPLAY, or else?)
    - On IT0025 we will see only the new appraisals, or all of them?
    Do anyone have experiences on this issue?
    Thanks in advance!
    Márta

    hi Marta,
    i have started directly with osa in 2006 so i barely touched the old mbo appraisals in it25 (besides a migration project). Anyway I wouldn't be surprised if the transactions were well separated, which means that you could easily copy and make your own transaction for the old appraisals, for the technical users. For the business users i would suggest to write an implementation for the hrhap00link badi, where you print out in a smartform the last one or two "old" appraisals of the appraisee.
    regards, ioan.

  • Can I Use HDMI and Thunderbolt Outputs At The Same Time? And Mac App Store Issues

    I have a Mid-2011 Mac Mini. I am currently using the HDMI output with an HDMI to Digital Input for a dell monitor. If I wanted to have a second monitor, can I use the Thunderbolt output with a MiniDisplayport to VGA adapter? I know it may sound a little unclear, so if you need a clarification, pelase let me know.
    Also, on the same macine, I am having trouble connecting to the Mac App Store. My internet connection is working, and I've tried going into the Keychain Access and there isn't anything with a blue plus. When I go to Store --> Sign In , the sign in widnow doesn't appear.
    Thanks
    Joey

    Yes, that is exactly how to use dual monitors.
    Optionally:
    if the second monitor has DVI input, use the MiniDisplay Port to DVI adapter.
    or if it has Display Port input, then all you need is a straight MiniDisplay Port to Display Port cable.
    In Quick Links try Account if Sign In does not work.

  • ERP_CO_OLC_E007  Operation and activity cannot be entered at the same time

    Good afternoon everone,
    the transaction MB1A is reporting the error above when trying to register an autput of goods moviments against an order of manteinance.
    This type of order had cost control at the level operation activated.
    Anyone know how to solve this problem?
    Thanks,
    Adilson Delfino
    See Image the error

    Hi,
    With OLC activated, I would expect to see a field to enter operation along with the order. Looks like note 1897514 will make the operation field available. While waiting for the note you can press the 'More' button to get access to the operation field.
    -Paul

  • My iphone 4 is not working, yes I´ve tried to hold at the same time home and top button and nothing happens, tried to plugged into itunes same.. nothing, charged the battery...nothing Im so sad :(

    as additional info, I did not realize the last update, I think is a brick because of that, please help!!

    I dont know what you mean with "close your iphone" ??? I have a new problem... according to my 3G provider the humidity button is on, I SWEAR IT DIDNT GOT WET!!!  how is that possible!!! Im so sad because they sad I have to buy another one also Im not as sure as I was before respect to a Iphone rules... what If this happens again? I was sooo happy with my iphone until this happens... I dont know what to do

  • Issues when Insert and Analyze at the same time

    Hi All,
    We have a weekend job that used to take 12-15 hours usually and insert around 8 millions of records to a table from external table. Last weekend the same load took 60 hours and it move to Monday and there are some business impact.
    While we investigate the same issue we identified that there is one more weekend analyze job for all the tables and indexes and took around almost same time and we noticed that the table we inserted the 8 million records alone it took around 15 hours. This table now has around 91 Core records.
    We need to identify why this jobs taken long time as almost 4 times compare to the normal scenario.
    I would like to know what exactly happen when Analyze and insert happened to the table at the same time. And What all issues can occur because this.
    Best Regards,
    Shijo

    Ok,
    It is unclear what version you are using as you forgot to post that.
    Furthermore it is unclear what 'Analyze' is, as analyze statistics was already deprecated in 9i.
    Secondly, most people is this forum speak English, and they are accustomed international units only.
    Sybrand Bakker
    Senior Oracle DBA

  • IPad 2 stuck in portrait, mute switch locks orientation and mutes at the same time.

    Ok, since I've had the iPad this problem has gone from bad to worse. Originally my iPad would get stuck in an orientation for random period of time and then unfreeze. Hours or days I would never know. If it was in landscape and I needed it in portrait I could just reboot and it would revert to portrait but not the other way around. It's been struck for 3 or 4 days now in portrait and now a new bugmhas appeared. Setting the hardware button to mute works fine, but still the software orientation button is useless. Only now, if I switch then hardware button to orientation lock, it tells me I'm muted and I'm orientation locked at the same time. And the software button works for the mute now. Need help. Thanks.

    In other words, can I have my screen rotate automatically as I hold my iPad in either portrait or landscape AND hear sounds from my apps at the same time?
    Yes, you can. You can configure the Side Switch (above the volume button) either as Mute switch or Rotation lock.
    Settings > General > Use Side Switch to: choose what you like the Side Switch to function as.

  • How can I listen to itunes and play a game at the same time on my ipad 4?

    How can I listen to itunes and play a game at the same time on my ipad 4? This means I need to run 2 apps at the same time itunes and my game.  The game has its own sound control so I can turn off its sound while i listen to itunes tracks.  But I don't know how to set it up so the ipad does both.

    Anytime you open an app that has a persistant sound stream - a movie, a podcast, some games - it will overide the music app's stream. nothiong you can do to change it.

  • Datasocket help, want to use the same(one .ocx only) in VB and HTML at the same time

    I want to create one ActiveX control that can be use in VB and HTML. My control will consist 1 CommandButton, 1 TextBox and 1 Label.
    My Objective is to have real time data passing between the same control which will be used at VB and HTML at the same time.
    For example, from HTML if I click a button, the text at textbox at HTML will be pass to the label at VB at the same time. And vice versa where when button at VB is click, the text at textbox at VB will be pass to the label at HTML.
    Help me.

    Hello Sam R.,
    The ActiveX will be written in VB6 with Measurement Studio6. It's some sort of tutorial lesson for me to test the capability of DataSocket.
    I want to create 1 control which will act as reader and writer. I am using Windows XP with IIS as web server and testing using 1 open VB6 Form with the control and 1 HTML file with the control using Data Socket Server with dstp://localhost/something. I dont know whether I need to have the script or not, what ever can do. tell me if it is the way to do. If it can be program directly in the control is better.
    Basically, yes. the command button inside the control should updates both label and textbox.
    If you can say that 1 datasocket control is enough, I will follow your advice because you are the expert. 
    I try before by using the example in DSReader and DSWriter but I cannot do the 'real time' updating when I click either button in VB6 or HTML page. It can only updated when I click again the commandbutton and     

  • HP Pavilion dv2000 headphones and speaker playing at the same time

    Good Day HP
    Sir/Ma'am,
     I have a HP Pavilion dv2000 laptop that run in Windows 7 Professional 64bit. I have problem with this because my internal speaker and headphone playing at the same time. And i notice that when i go to sound setting my headphone is not detected but it is still playing together with the speaker and only the internal speaker is only appearing at sound setting. I try to install RealTek that is compatible to my o.s but not working. Do i need to downgrade it to Xp or Vista to solve this problem or there are some solution for this problem. Please help me i'm not technician to fix this problem.
    And please forgive me for my bad english..
    Here are the system properties of my laptop.
    Windows 7 Professional Service Pack 1
    Processor : Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
    Installed Memory (RAM) : 1.00 GB
    System Type: 64-bit operating system

    HP Pavilion dv2000 headphones and speaker playing at the same time
    germanok wrote:
    Good Day HP
    Sir/Ma'am,
     I have a HP Pavilion dv2000 laptop that run in Windows 7 Professional 64bit. I have problem with this because my internal speaker and headphone playing at the same time. And i notice that when i go to sound setting my headphone is not detected but it is still playing together with the speaker and only the internal speaker is only appearing at sound setting. I try to install RealTek that is compatible to my o.s but not working. Do i need to downgrade it to Xp or Vista to solve this problem or there are some solution for this problem. Please help me i'm not technician to fix this problem.
    And please forgive me for my bad english..
    Here are the system properties of my laptop.
    Windows 7 Professional Service Pack 1
    Processor : Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
    Installed Memory (RAM) : 1.00 GB
    System Type: 64-bit operating system

  • Ring and vibrate at the same time

    Hi is it possible to get my iphone to ring and vibrate at the same time ? and is it also possible to let it ring louder as when it is in my bag it is very difficult to hear it ! even though i pushed it on maximum.
    thanks

    Leclere Madelon,
    Some ringtones are louder than others. For example "Crickets" is pretty quiet. "Old Phone" and "Alarm" are both louder.
    As for having it vibrate and ring, go to Settings -> Sounds.
    The Vibrate option under Silent decides whether or not it vibrates in silent mode. The Vibrate option under Ring decides if it Vibrates when it is ringing.
    Hope this helps,
    Nathan C.

  • How can I export several versions at the same time?

    Greetings -
    I'm looking for something that I may just be missing, and hoping someone here can point me in the right direction.
    Basically, I'd like to be able to select an image in my library and export several versions at the same time. For example, I select a photo and export JPG, TIFF and PSD versions in one shot without having to run three separate export requests - essentially a batch action. I can't imagine that this isn't built in already - I'm just assuming that I'm missing something obvious.
    Thanks in advance for any advice anyone might have.
    John.

    Fwiw, I've not seen this requested before.
    This kind of Export option is very typical, Kirby, when the rendering of the exported version will take a long time, for example for video or audio. Then you can share several formats at once, to render a version suitable for the web, for viewing on the computer, or the iPhone at the same time. That is really useful, if you render a movie at a full HD resolution and don't have to do it again for an iPhone/iPod version.
    QuickTime 7 does this for the "File > Export for Web" option, for example. You can get three versions of your final movie at the same time.
    And I just checked, the new iMovie Theater does this as well, when sharing a movie to the Theater:
    When you add a movie, trailer, or clip to the Theater, iMovie creates versions of your movie tailored for local playback, playback on an iOS device, and streaming.
    Come to think about it - exporting a webpage from Aperture will also export thumbnail sized images plus a larger version for downloading.

  • How to play two videos at the same time

    Hi everyone!
    Ok, so what I'm trying to do is basically play two videos, which are already saved on the computer, at the same time. I can get one video to play, but when i try to start another it just displays a blank screen.
    import javax.swing.*;
    import javax.media.*;
    import java.awt.*;
    import javax.media.protocol.*;
    public class TwoVideoTest {
         public static void main(String[]args) {
         MediaLocator locator1 = null;
         MediaLocator locator2 = null;
         try {
         locator1 = new MediaLocator("file:/C:/truck1.mpg");
         locator2 = new MediaLocator("file:/C:/truck2.mpg");
         } catch(Exception e) {
         System.out.println("COULNDT CREATE LOCATORS IN MAIN TEST CLASS");
                          System.exit(-1);
         Player player1 = null;
         Player player2 = null;
                     try {
          player1 = Manager.createRealizedPlayer(locator1);
         player2 = Manager.createRealizedPlayer(locator2);
                      } catch(Exception e) {
              System.exit(0);
         JFrame frame = new JFrame();
         frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        JPanel panel1 = new JPanel();
       JPanel panel2 = new JPanel();
        panel1.add(player1.getVisualComponent());
       frame.getContentPane().add(panel1);
       frame.setSize(new Dimension(500,500));     
       frame.setVisible(true);
       player1.start();
       player2.start();
    }

    HELLO AGAIN! I guess i post too soon....
    So i modified my code and now the videos play together. Threads, sigh.
    But the audio that comes with the video doesn't appear to be starting at the same time. And this problem I ASSURE you i have no clue how to handle. And yes i know, the two video audios will overlap, but this a test for heavens sake!
    Anyways, heres the modified code in case it will help anyone
    import javax.swing.*;
    import javax.media.*;
    import java.awt.*;
    import javax.media.protocol.*;
    public class Video implements Runnable{
         String url;
         MediaLocator locator;
         Player player;
         JPanel panel;
         public Video (String url,JPanel panel) {
              this.url = url;
              try {
                   locator = new MediaLocator(url);
                   player = Manager.createRealizedPlayer(locator);     
                   panel.add(player.getVisualComponent());
                   player.start();
              } catch (Exception e) {
                   System.out.println("ERROR CREATING MEDIALOCATOR");
                   System.exit(-1);
         public void run() {
              try {
              Thread.sleep(100);
              } catch(Exception e) {}
         public static void main(String[]args) {
            JFrame frame = new JFrame();
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              JPanel panel1 = new JPanel();
              JPanel panel2 = new JPanel();
              panel1.setPreferredSize(new Dimension(100,100));
              panel2.setPreferredSize(new Dimension(100,100));
              Thread thread1 = new Thread(new Video("file:/C:/truck1.mpg",panel1));
              Thread thread2 = new Thread(new Video("file:/C:/truck2.mpg",panel2));
              frame.getContentPane().add(panel1);
              frame.getContentPane().add(panel2);
              frame.setSize(new Dimension(500,500));     
              frame.setVisible(true);
              thread1.start();
              thread2.start();
         

Maybe you are looking for