Approving records in part by part, urgant.

Dear Friends,
i am creating a simple workflow, that sends a groups of employee records in one batch to manager for approval
when manager opens the screen (d2k from interface) he could see , all the records waiting for his approval for a batch. and he can approve from there.
but now they need to some changes,
that i need to include a check box called "included" to every detail record in the manager screen, Manger click the included check box to approve only some records,
and latter he opens the same screen and approve some more records in the same batch , and latter again approve remaining records in the same batch.
In short , Manager can approve the employees records part by part of a single batch. How could i deal this in my workflow. please Advice, this is very urgant.
batch is the master table and employee_leaves is the detail table.
workflow key attributes are batch_id, period_id, approver_id, payroll_date
thanks and regards
zam_ora

Dear Friends,
i am creating a simple workflow, that sends a groups of employee records in one batch to manager for approval
when manager opens the screen (d2k from interface) he could see , all the records waiting for his approval for a batch. and he can approve from there.
but now they need to some changes,
that i need to include a check box called "included" to every detail record in the manager screen, Manger click the included check box to approve only some records,
and latter he opens the same screen and approve some more records in the same batch , and latter again approve remaining records in the same batch.
In short , Manager can approve the employees records part by part of a single batch. How could i deal this in my workflow. please Advice, this is very urgant.
batch is the master table and employee_leaves is the detail table.
workflow key attributes are batch_id, period_id, approver_id, payroll_date
thanks and regards
zam_ora

Similar Messages

  • I'm trying to record only part of my screen using my Quicktime 10.0, but once I press record in the "Screen recording" feature it automatically starts recording and doesn't give me the option to choose what part of the screen to capture. What gives?

    I'm trying to record only part of my screen using my Quicktime 10.0, but once I press record in the "Screen recording" feature it automatically starts recording and doesn't give me the option to choose what part of the screen to capture. What gives?

    QuickTime version 10 can only record the entire screen.
    10.1, 10.2 and 10.3 offer part of the screen recording.

  • Overwriting a record with part of same primary key

    Hello Everyone,
    Could anyone please give a suggestion about how to overwrite the record with part of same primary key?
    I have  5 key fields.
    A1
    A2
    A3
    A4
    A5
    I have to overwrite the record if A5 changes with same A1 A2 A3 A4.
    I cannot take off A5 as part of primary key. If I use modify or insert, its creating a new record with the new A5. But I am still having the old record in the table (with old A5), which I don't want it to be there.
    Thank you,
    Rushi

    hi,
    That's right.
    u have to delete record from database table .....
    then u can add a new record...
    use delete <database_table> from table <internal_table>

  • Moving the faders on control surface records midi parts on tracks..

    moving the faders on control surface records midi parts on tracks that aren't being recorded.. How can I disable this?
    Euphonix MC Mix

    Are your MC Mix in Eucon mode? If you use a midi mode, there's a possibility the MC Mix is sending MIDI messages. And are you sure we're talking midi parts and not automation?

  • Let clients record & save part of live stream

    Hi,
    I'm looking for a solution where clients watch a live stream video and can record part of this stream while watching and save this recording to disk. I can think of several solutions but not sure if any of them is possible:
    - The selected part is recorded locally and saved through FileRefence.
    - The selected part is recorded with FMS though a second NetStream and saved with a unique ID. The user can retrieve the recorded video by download.
    - Start-time and end-time of the recording are send to the server where some script extracts the requested video from the live stream recording file and return it as a download.
    Would any of these solutions work and what would be the best approach?
    Thanks!

    Thanks for the reply.
    I'm indeed going for the last option, where the live stream is being recorded as FLV on the server and FFmpeg copies the requested part and converts it to MP4. Still need to do some testing and optimalisation but this seems to work quite well.

  • Recording Choir Parts, separate tracks

    Hi,
    I'm recording 4 tracks for a choir, I'd like to record them separately, and be able to burn 5 tracks to a CD: the 4 separated parts as well as a track with them all merged. I've already recorded the 4 tracks in Garageband. Is this possible???
    Thanks!!

    As Steve said, by soloing a GB Track you can export just that Track. You should Share to iTunes (full quality) then you can burn the CD from there once you have them all in. GB will only do one burn at a time to a CD so you couldn't get multiple (CD) tracks. (Let's make sure we're clear on language and the difference between a Track in GB and a song, or track on a CD. When you say you've recorded 4 tracks in GB I'm assuming you mean one song with 4 parts, each on its own Track.)

  • Record only part of my desktop

    I use Quicktime Pro to record my screen and then create a Quicktime Movie. It always records all of my screen, but I really only want to record a portion of my desktop (say a specific app window). Can I do this?

    Not with QuickTime X. Capture is all of the screnn or nothing.
    Plenty of third party software that can do the job. I use Snapz Pro X:
    http://www.ambrosiasw.com/utilities/snapzprox/

  • The Problems With Logic (as I see them) - PART TWO!

    Hello again,
    It seems to be a tradition now that as I compose on a track, I keep a text editor open so that I can jot down all the annoyances and problems that I encounter during my creative process... Anyone who missed the previous edition of this topic, please visit PART ONE, here:
    http://discussions.apple.com/message.jspa?messageID=3605456#3605456
    That said, here I give you "The Problems With Logic Part II":
    1. Logic should clear the playback buffer everytime you play. Quite often you start playing and there is trailing reverb/note events from various audio instruments and plug-ins.
    2. The sample edtor "save selection as" has no memory of where you previously were in the file browser.
    3. If you double click on a wave form, the sample editor opens up with the wave form you double clicked on... Great.. But now, if you go and double click on another wave form somewhere, it just takes you back to the sample editor with the same previous wave form selected (not great). This is incredibly annoying if you are attempting to save out certain edits-- Quite often you will end up saving 5 or 6 of the same exact waveform, thinking you were saving each individual one. GRR!
    4. Key commands.. if you try to assign a key command to something that is already used by another feature, you are presented with a window warning you that it already exists.. If you click cancel, then you can no longer enter any keys in the key field.. You are forced to close the key commands preferences window and start over.
    5. Key command window: You should be able to search by command.. For example, if I want to find out what "o" is assigned to, I should be able to search by O-- Further, you should be able to sort the key commands by clicking the column titles "key", "command" -- or "midi"... After all, we can sort by name, date, size, etc in the finder by clicking on these column titles.
    6. Tempo Tap feature-- I am quite confused by this. There should be a simple way to tap and define a tempo. When ever i try to do this, the tempo is only temporarily changed until I stop playing, and most of the time I get error alerts about trying to sync audio and midi (mind you, when there are absolutely no parts in the entire arrange window). The manual states that with "tempo recording" checked on the tempo interpreter window, that the taps will record tempo changes, but this does not work. I tried doing this, tapping the key command I defined to tempo tap (ctrl-shift-t), and I was tapping at various speeds-- many taps fast.. and Logic recorded tempos of 99-101bpm.. I was tapping atleast around 175-180bpm. I then tried tapping slowing, and Logic recorded tempos of 99-101 again... so this feature obviously is full of bugs.
    7. When loading songs, as soon as various plugins such as Kontakt, exs24 begin loading samples, it brings logic to the front. If you're working in the background in other applications while waiting for your songs to load, you are rudely interrupted from what you're doing (such as, selecting from a menu, typing a document, etc) only to be forced to watch a status bar fill up.. and then all key presses at that point become error beeps.
    8. Logic's sample memory easily becomes messed up and crazy. Quite often when using AU instruments such as BFD, Culture, and even Synthogy's Ivory. I will switch to that particular track to play on my keyboard, and each sample will be full of horrible pops and clicks-- the kind that destroy speakers. Other times, in a sample of a string for instance, all of a sudden after one second will be a pop and then the sample will be playing at a completely different pitch... I have to remove the AU instrument and reload it at this point.. This happens quite often. Logic should offer a 'buffer reset' so that you can just flash plugins but they reload whatever preset they were set to.
    9. Volume faders resolution are lame! There is no reason why you shouldnt be able to access +1.0, +1.1, +1.2, +1.3, +1.4, +1.5, +1.6, +1.7, +1.8, +1.9... Further the display is only so wide and you can't even read the decimal values for numbers -10 and lower. They just appear as 10.
    10. When a movie is open, and you are viewing the video output via FIREWIRE, there is a mini-floating window which contains the smpte, position, and movie start information-- However you cannot modify any of these values. You have to switch video output back to "WINDOW" to change the start position of the movie. This is obviously a bug.
    11. Changing the movie's start time is very user unfriendly. There should be a simple way to specify to start at a moment of time relative to SMPTE-- So you can just say "+9:15" for example, and it would take you in 9 minutes and 15 seconds, rather than how it is now where you have to think backwards from SMPTE code and subtract.
    12. You cannot view video as a window AND output to firewire. There is no reason why you shouldn't be able to do this. For example, if I wanted to output my video to a monitor in a vocal booth-- I can do this.. but I can't see what the vocalist is seeing on my own screen! This is just nonsense. You should be able to output to the screen (desktop mode or floating window) as well as an external firewire device.
    13. Saving a song with a movie open should mean that when you load that song, the movie should be up and exactly as it was prior to saving. As it is now you have to select "open movie again".
    14. There is still definitely a bug in track automation-- this was really bad back in version 4, but there is still something not quite right here where starting playback will not always guarantee that the automation data is being read.. And in my experiences it results in volumes being incorrect until you stop and play again, and in some cases it will not work at all unless you plot some automation points. This is an intermittent issue-- but quite often activated by placing an audio region from the audio window on a track (SEE VIDEO).
    WATCH VIDEO OF THIS BUG:
    http://collinatorstudios.com/www/logicbugs/logicautomationbug.mov
    15. In the arrange window, sometimes when zoomed in tightly, all parts on a track are selected, and you think that only the part that you are looking at is selected.. you move this part, and now all of your parts are off. Logic should have some kind of visual aid to let you know when ever you are moving multiple selections... Something like, the parts you are moving will highlight a dfferent color or something... This is a similar problem I have with the loop area of the screen.. You can accidentally turn it on when in the matrix window, and have no idea unless you look down at the transport, but with me for example, my transport is at the very bottom of the screen and I am not looking there most of the time.
    16. Automation data, when two points are semi-close to each other, suddenly the value of the data is no longer shown.. I can understand that when you are zoomed out, and there is simply no space for this to visually appear, that's appropriate. But as it is now, it doesn't display this information when there is plenty of space for it to be visible.
    17. Logic should let you set audio track inputs to the various outputs (1-2, 3-4, etc) and buses.
    18. clicking on a track selects ALL parts. This is so so so annoying. How many times have I been editing voice over, and selecting a track, thinking I am shrinking the length of a part, and to find that ALL parts have been shrunk.. SO ANNOYING!!!! This needs to not happen, and there should be a simple way to right-click a track and it will have an option "select all regions"... also, when you click on a track and all parts are selected, if you horizontally zoom, logic zooms into the beginning of the track, rather than the song locator. I don't know what the LOGIC behind this is, but it's not very helpful, it actually is very frustrating.. Zooming should always move towards the song locator position.
    19. EXS 24 should have a "reverse/backwards" button so that samples played are backwards.
    20. Logic should offer a way to globally increase or decrease a specific automation type (especially volume) globally for all tracks... So if you have detailed crescendos that start at -3.8 and end at +1.6, you can add 3db to this and it will now be at 0.8 and end at 4.6.
    21. If you have multiple tracks of the same track (such as three Audio track #1's)-- say you are recording guitar parts, and just copying the track and muting the previous track as a method of maintaining multiple takes for later auditioning. If you draw automation volume data on this track (it appears on all 3 tracks), and then if you delete the audio from one of the muted tracks and tell logic to KEEP it, suddenly all automation data is gone. GRR!!!
    22. Several times I have opened Kontakt, and attempted to load an instrument while outputting a movie via firewire video to my monitor. As soon as I try to load the instrument, the firewire video output on my monitor goes crazy, and then comes back on.. Logic then crashes. This has happened 3 times randomly...
    23. UNDO does not work on every function. for example, if you change an output to bus 1 instead of 1-2, you cannot undo this. Undo should undo whatever the last command was, no matter what it was. This is what the word LOGICal is supposed to represent.
    24. Floating windows (as in plugin windows) should close with apple-w!!!
    25. *BUG* If you are in a part that is say 10 measures long, zoom in horizontally 100% in the matrix window-- You then isolate one specific quarter note pitch in the middle of this measure, and have cycle turned on, looping over this one quarter note, if you are not looking at this note event/loop region when you hit play, the display will jump to the beginning of the part and never show you this note event as it loops. However if you have the note event on screen when you hit play, then it will behave properly. This makes it extremely difficult and frustrating to perform detailed hyper-draw work. (SEE VIDEO)
    WATCH VIDEO OF THIS BUG:
    http://collinatorstudios.com/www/logicbugs/logicloopbug.mov
    26. *BUG* Host Automation is not accurate. I assigned Kontakt's tune knob to C#000, and If I place a dip, the knob begins to move way before the automation data is even present.... So basically what I was trying to do, can't even be accomplished because Logic screws everything up by pitching the instrument too early... Such a shame.. By the way, I previously mentioned the importance of being able to display part data in the arrange window as matrix data (horizontal lines) rather than score data. Someone argued what good this would do-- Well this is a perfect example, if I am attempting to affect a particular section of a note with automation, I can't possible visually see where this is because the length is not described by the current score representation. Having a horizontal representation would solve this problem... (SEE VIDEO)
    WATCH VIDEO OF THIS BUG:
    http://collinatorstudios.com/www/logicbugs/logicctrlchngbug.mov
    27. There should be a way to convert stereo samples to mono in the sample editor.
    28. When you view "as text" in the environmentt, you cannot drag an object to the arrange window-- Such as to create a bus track.. Now mind you I don't know why you can't just select "BUS" when editing a track in the arrange window in the first place, however there is no reason why 'view as text' should behave differently than when it's viewed as icons.
    29. When you drag a bus from the environment to the arrange window, it replaces whatever track was there. It should ADD a track instead of replace-- atleast there should be a preference for how this behaves.
    30. Occasionally when dragging a bus from the environment, there is some visual garbage in the track automation (see screenshot).
    31. There should be a way to LOAD and SAVE selections in the arrange window. Quite often when editing audio from a countless number of parts/regions, it becomes painful when you have to select and move 100s of audio files. There should be a way that you can just select a ton of regions and save that selection, and reload it at anytime. There are a few 'select' tools/options under the edit window, however they are song specific-- not track specific. So they are completely usesless for what I need.
    32. Logic should offer a feature to collect sysex data from midi devices so that patch names show up and can be selected via program change.
    33. When no track or part is selected, and you vertically zoom in, Logic should zoom into the center most track.. It behaves very oddly and zooms in more towards the top. This becomes extremely annoying when dealing with a sequence involving 100 tracks, and a part is selected but you scroll far below where the part is.. When you begin to zoom in, it takes you towards the selected part, yet it's not displayed on the screen and you have no reference for what you are even looking at. The rule should be this: If the part is on the screen, zooming vertically will bring you to it. If it's off the screen, you will zoom into the center track of whatever is currently on the screen.
    34. I mentioned this in a thread earlier... http://discussions.apple.com/thread.jspa?threadID=752485&tstart=0
    There is a bug when using the transform tool involving the 'position' variable. In my example, I was attempting to reverse the time placement of three chords, that occured in a part somewhere in the middle of my song. By selecting the measure start and end of this part, Logic was unable to select or operate with the transform tool (and I tried a variety of transform options). If I moved this part to the beginning of the song, then the transform tool would suddenly work. After some research, I found online someone had said "Position Time position of the event, referenced to the start of the MIDI Region (not of the song)."--- But if I still doubt this is true, because I then placed the part on a new track with no other data, and placed it in the middle of the sequence and in the transform tool under position I selected '1 1 1 1' to '5 5 5 5' as well i tried setting the position to 'all', and none of this worked. This obviously is a bug... If it's not then it's a very serious design flaw. The position should relate to measure numbers of a song, and nothing else.
    WATCH VIDEO OF THIS BUG:
    http://collinatorstudios.com/video/transform.mov
    That is all for now...
    For those who firmly agree with me and all of the points that I have brought up now and in the past, I encourage you to contact Peggie Louie, (the Logic HR department contact) at (408) 996-1010 and suggest that she hire me as a consultant to help eliminate Logic's many annoyances. I have tried to pursue this heavily in the past, but sadly I was completely ignored by her on all levels. Maybe you all can help make a difference?
    Fighting the good fight,
    Patrick J. Collins
    http://collinatorstudios.com

    11. Changing the movie's start time is very user
    unfriendly. There should be a simple way to specify
    to start at a moment of time relative to SMPTE-- So
    you can just say "+9:15" for example, and it would
    take you in 9 minutes and 15 seconds, rather than how
    it is now where you have to think backwards from
    SMPTE code and subtract.
    For this one I'd suggest getting SMPTE calculator. Entering timecode numbers and having to add and subtract is not so difficult, and AFAIC part of a composer's gig. But what I would add, instead, is that it would be fantastic if Logic provided a timecode calculator (edit: even if it was in the form of a custom Logic widget).
    13. Saving a song with a movie open should mean that
    when you load that song, the movie should be up and
    exactly as it was prior to saving. As it is now you
    have to select "open movie again".
    This doesn't always happen. I've struggled with this for a long time, and I don't know why sometimes the movie will load and not other times. I would also add here that Logic should show the file pathname to the movie. Somewhere...
    18. clicking on a track selects ALL parts. This is
    so so so annoying.
    You can prevent this from happening if you have cycle turned on and set to a set of locators that "contain" the parts you might want to select en masse. I always work with cycle=on so this is not a problem.
    21. If you have multiple tracks of the same track
    (such as three Audio track #1's)-- say you are
    recording guitar parts, and just copying the track
    and muting the previous track as a method of
    maintaining multiple takes for later auditioning. If
    you draw automation volume data on this track (it
    appears on all 3 tracks), and then if you delete the
    audio from one of the muted tracks and tell logic to
    KEEP it, suddenly all automation data is gone.
    GRR!!!
    Never had that happen. In my experience, telling Logic to keep the data always works.
    23. UNDO does not work on every function. for
    example, if you change an output to bus 1 instead of
    1-2, you cannot undo this. Undo should undo whatever
    the last command was, no matter what it was. This is
    what the word LOGICal is supposed to represent.
    Undo in Logic is highly problematic for other reasons. Here, I think there should be a specific Environment Undo, just like there's a separate undo for audio edits.
    29. When you drag a bus from the environment to the
    arrange window, it replaces whatever track was there.
    It should ADD a track instead of replace-- atleast
    there should be a preference for how this behaves.
    Right. This is a matter of personal preference. But still there are other ways to get an object assigned to a track. The "thru tool", for instance. No dragging required.
    32. Logic should offer a feature to collect sysex
    data from midi devices so that patch names show up
    and can be selected via program change.
    My guess: considering how much sheer time it takes to write this kind of software, let alone debug it with every conceivable device, it's not likely this is going to happen.
    That is all for now...
    For those who firmly agree with me and all of the
    points that I have brought up now and in the past, I
    encourage you to contact Peggie Louie, (the Logic HR
    department contact) at (408) 996-1010 and suggest
    that she hire me as a consultant to help eliminate
    Logic's many annoyances. I have tried to pursue this
    heavily in the past, but sadly I was completely
    ignored by her on all levels. Maybe you all can help
    make a difference?
    Wait in line buddy!
    (LOL)
    I must say, I'm very impressed with your list and attention to detail. And I feel your pain, trust me. But many of the things you've listed are feature requests and not bugs. And some of the behaviors you've described I have yet to run across. So this is typical with Logic, that it can be operated in so many diverse ways that no two people run it in the same way, nor would two people conceive the program's capabilities in the same way. But I digress...
    I also think there's a certain amount of Logic convention that I don't think you've adopted yet, hence your wish for behaviors that don't yet exist.
    I don't disagree with most of your feature requests, and I'm (quite unfortunately) able to say that I'm familiar with most of these bugs and about 9 dozen more. But again, it's important to distinguish between bug, feature request, time to RTFM, and errant behavior that's experienced by a very limited number of users.
    There's no doubt that this program has its problems. In particular, your #1 re the playback buffer. And I'm glad you've brought many of the bugs into the light for people to read. Good work.

  • Is it possible to burn only part of a podcast?

    I subscribe to a podcast that is 3 hours long. It varies in quality of music. Is there any way to record only part of a podcast? Thanks!!
    S-

    Why not use multiple text boxen?
    Are you talking about something not entirely unlike this:
    http://capital2.capital.edu/admin-staff/dalthoff/chat/vhsspec.key.zip
    (Not the best example, but it's a slide from a show I happen to be working on...)
    To get that to line up, I actually typed the full text in the first text box, and the fly-in text in the second text box. I lined the boxes up so that I couldn't tell looking at it that there were two text boxes, then deleted the unnecessary text from the bottom box.
    --Dave Althoff, Jr.

  • How can I send and share a Garage Band 10 project to my bass player to add his part.

    MBP, OS 10.9.4 4G RAM
    Garage Band 10.0.2
    I have two tracks of a Garage Band Song Project, drummer and acoustic guitar.
    I want to send this project to my bass player to add his part. He also has GB10.0.2 After he would records his part he would send it back to me to add additional parts.
    What is the best/least complicated way to accomplish this while maintaining the integrity of the file(s). via the net, or the iCloud or Drop Box?
    Drop box seems very unfamiliar to me.
    thanks for the help
    jojoguitar
    Message was edited by: jojoguitar

    Hello léonie
    I have tried your advice
    this DB folder icon does not stop spinning for several minutes and I can't do anything until it updates!?
    In the public folder I see the file, I then select compress, then I copy THAT as a public link, the actual file will not let me 'copy public link', but it will let me put it somewhere on Dropbox.com
    I select Copy Public Link, go to MAIL, new mail, paste link, send to myself as a test
    So, this is good now that I have tried it and gotten over the impatience of the Drop Box pull down menu updating.
    I have sent the file to my self and it has gone to the download folder on my MBP, this is good, I double click and it opens in GB to work on.
    DROP BOX??? How do I clear this stuff because it seem to update every time I do something with DB?
    I was not able to see how to 'clear history' or what ever.
    I know this is not an Apple GB question but it's all linked to the effectiveness of music production and collaboration.
    I am so please to receive your assistance and my bass player is too.
    Thanx
    jojoguitar

  • Can you burn just part of a podcast?

    I subscribe to a podcast that is 3 hours long. It varies in quality of music. Is there any way to record only part of a podcast? Thanks!!
    S-

    page 57 of the ITunes for Windows book..
    Start by finding out exactly when the "good stuff" starts (look up top for the time display) right click on the song and click Get Info in the shortcut menu. When the Info window appears, click on the Options tab. You'll see a filed for Start Time. Check the Start Time checkbox, enter the time and the stop time.

  • Saving/ Capturing part of a podcast

    Hi , I would like to record / capture part of a podcast . How can this be done with Tiger OS ?
    Thanks
    Koolsan

    That does produce a list but I am doing is trying to rename a file based on the folder it is contained in - so for example:
    E:\Stuff\TargetFolderName\moreStuff\124564\file.txt = TargetFolderName-file.txt
    E:\Stuff\TargetFolderName\moreStuff\1221122\file.txt = TargetFolderName-file.txt
    E:\Stuff\TargetFolderName2\moreStuff\even more stuff\45214455\file.txt =TargetFolderName2-file.txt 
    E:\Stuff\TargetFolderName2\moreStuff\even more stuff\235452\file.txt =TargetFolderName2-file.txt 
    E:\Stuff\AnotherTargetFolderName67\564654\file.txt = AnotherTargetFolderName67-file.txt
    E:\Stuff\YetAnotherTargetFolderName2\moreStuff\even more stuff\45546\file.txt = YetAnotherTargetFolderName2-file.txt
    Hopefully this makes sense :)

  • Part I tab missing

    dear gurus,
    while capturing Excise invoice Part I tab is missing ,  and while posting excise invoice i can see the part I tab.. can any one suggest why is ths happens,
    Posting are recording in part I table but display of Part ! tab is not  ther while capturing excise invoice..
    Regard,
    Manu

    Hi,
    I do have only general idea abt it...but yes few things happen while capturing and posting...The effect may be due to taht only...
    When you Capture Excise Invoice, following are the effects;
    1. Part1 entry will get posted.
    2. An Excise Invoice with duty values will get updated against GR Doc.
    3. No Part2 entry will be posted
    4. No Accounting effect will be generated
    Post Excise Invoice: -
    When you Post Excise Invoice, following are the effects;
    1. Part1 entry is already generated
    2. Part2 entry will be posted
    3. Accounting effect will be generated
    Regards,
    Priyanka.P

  • SP 2013 - Use PowerShell to Add a Custom Web Part to a Page

    Hello Community,
    I need to add a custom web part to a page using PowerShell - has anyone done this and if so please provide guidance and code examples.
    Thanks!
    Tom
    Tom Molskow - Senior SharePoint Architect - Microsoft Community Contributor 2011 and 2012 Award -
    Linked-In - SharePoint Gypsy

    BTW, here is my current code:
    #$web= Get-SPWeb -Identity "http://c4968397007/sites/BRE"
    $Url = "http://c4968397007/sites/BRE"
    $pageUrl = "/SitePages/Home"
    $webpartzone = 2
    $index = 0
    $fileName = "wp_DistrictHomePage_VisualWebPart1.webpart"
    $web = Get-SPWeb $Url
    $web.AllowUnsafeUpdates=$true
     $webPartGallery = $web.Lists["Web Part Gallery"]
     Write-Host "Searching webpart $fileName in web part gallery"
      if($webPartGallery -eq $null)
       Write-Host("Unable to retrieve Webpartgallery");
     $webpart = $null;
     $webpart=$webPartGallery.Items | ? { $_.Title -eq $fileName}
      if($webpart -eq $null) {
       Write-Host("Unable to retrieve webpart: $fileName") -ForegroundColor Red
     else {
      Write-Host("----------Adding Webpart--------")-ForegroundColor Yellow
      $webpartmanager=$web.GetLimitedWebPartManager($pageUrl, [System.Web.UI.WebControls.WebParts.PersonalizationScope]::Shared)
      $errorMsg = "";
      $xmlReader = New-Object System.Xml.XmlTextReader($webpart.File.OpenBinaryStream());
      $webpart = $webpartmanager.ImportWebPart($xmlReader,[ref]"Error")
      $webpartmanager.AddWebPart($webpart, $webpartzone, $index);
      Write-Host("Webpart is added successfully") -ForegroundColor Green ;
    $SiteURL =$Url
    #---------------Test Page----------------------------
    $PageName="Test.aspx"
    $page=$web.lists["Pages"].Items | ? {$_.Name -eq $PageName}
    $page.File.CheckOut();
    Add-WebPartToPage "$SiteURL/Pages/$PageName" "Header" 0 "My Custom WebPart"
    $page.File.CheckIn("Added Web part to a page");
    $page.File.Approve("Added Web part to a page");
    Tom Molskow - Senior SharePoint Architect - Microsoft Community Contributor 2011 and 2012 Award -
    Linked-In - SharePoint Gypsy

  • Approval Date and Time of the Timecard

    Hi,
    In one of the reports, we require to show the date and time when the timecard is approved. Where can I find this information.
    Thanks,
    Ramprasad.

    Try the HXT_TIMECARD_BUILDING_BLOCKS (or similar name, I may have got the name slightly wrong). This is the main table for holding the data which makes up the timecard. I think approval info is in there somewhere. This table has the concept of 'scope' and there are many records of different scopes (timecard, period, date, day etc.). Each has an approval field because part of the timecard may be approved and part may not. Also, there are a couple of summary tables which hold details at timecard and application period (applications using the data and the period of the timecard) which you may want to use.
    If that doesn't help, use eTRM and see the relationships of the tables and you'll find what you are looking for.
    Regards
    Tim

Maybe you are looking for