Flexible DWS With Fixed Time For Clock In
Hi Experts, Please Advise
The issue is exactly like the following example
an employees required to work 9 hours a day
they can come from 8:00 am to 09:00 am but from 8:00 to 9:00 is not tolerance, the system required to calculate 9 hours from clocking in with maximum clocking in 09:00 am
Emp X clock in 8:00 he must clock out MINIMUM at 17:00
Emp Y clock in 8:30 he must clock out MINIMUM at 17:30
Emp Z clock in 9:00 he must clock out MINIMUM at 18:00
but clocking in after 9:00 am is not allowed
Any suggestions ?
Thanks
Hi Islam,
You can check it that employee's clocked in before 9 am or after that through below PCR. Create a one constant in T511K and store as 9.
HRS=PBEG
HRS?CXXXX (XXXX= Constant)
Leave
<
Leave
>
COLERYYE (YY= Error message no)
Insert this PCR with PTIP function after P2011 function in time schema.
Check and tell me.
Regards,
Sankarsan
Similar Messages
-
Flexible DWS with fixed Clock-In
Hi All,
Kindly i wanna help in a very critical issue,
A flexible DWS has been created for working a 9 hours aday
but a new edit must be done on this DWS
Please i want to limit the Clock in to 9:00 AM "Make it a flexible DWS but employee can clock in maximum at 9:00 am "
Example: Employee X Clock in = 9:15 and Clock out = 18:30 has a working time 9 hours and 15 minutes but a deduction must be calculated for being late after 9:00 am
please advise
ThanksThe issue if exactly like the following example
an employees required to work 9 hours a day
they can come from 8:00 am to 09:00 am but from 8:00 to 9:00 is not tolerance, the system required to calculate 9 hours from clocking in with maximum clocking in 09:00 am
Emp X clock in 8:00 he must clock out MINIMUM at 17:00
Emp Y clock in 8:30 he must clock out MINIMUM at 17:30
Emp Z clock in 9:00 he must clock out MINIMUM at 18:00
but clocking in after 9:00 am is not allowed
Thanks -
Read no. of pulse count with fixed time interval
Hi,
I am try to read no of pulse count ( Pulse period = 500ms, On time = 100msec and Off time = 400msec). Between pulses there is a fixed time interval of 2seconds. I am using NI USB DAQ 6341. Can anybody help me regarding this?Thanks for replying. I have gone through that example, the given example are only increment count when pulese are detected.
In my case, i want to count the no. of pulses between the time interval of 2sec. e.g. Suppose my device generate 5 no. of pulses and after every 5 pulses their is 2sec time interval, here i need to read only 5 pulses not the continuous count. And no. of pulses are generated by device can be vary but the time interval between those pulses are fixed. Could you give me suggession regarding this? -
Slideshow issues with variable time for each picture
Hi all,
I've migrated from AS1 to AS3, and boy, a lot has changed...
Anyhow, to learn and understand AS3, I'm modifying a slideshow I found through thetechlabs. I want it to play SWF as well as JPG. These files are passed through an XML file. I added an element called <delaytime> to the XML file that replaces the standard time a photo is shown in the slideshow.
I modified the onSlideFadeIn() function as follows:
function onSlideFadeIn():void {
slideTimer.removeEventListener(TimerEvent.TIMER, nextSlide);
slideTimer = new Timer(xmlSlideshow..file[intCurrentSlide].@time);
slideTimer.addEventListener(TimerEvent.TIMER, nextSlide);
if(bolPlaying && !slideTimer.running)
slideTimer.start();
However, when I run it, I get this error message:
## [Tweener] Error: [object Sprite] raised an error while executing the 'onComplete'handler.
TypeError: Error #1010: A term is undefined and has no properties.
at slideshow_fla::MainTimeline/onSlideFadeIn()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at caurina.transitions::Tweener$/::updateTweenByIndex()
at caurina.transitions::Tweener$/::updateTweens()
at caurina.transitions::Tweener$/onEnterFrame()
It stops at the first picture of my slideshow. When I push the 'next' button it displays the next pic, but I get the same error message again.
When I comment out this line:
slideTimer = new Timer(xmlSlideshow..file[intCurrentSlide].@time);
the slideshow runs OK, but without the delaytime specified in the XML file.
I'm lost here, what am I missing?
Any help to get me back on track is highly appreciated!
Thanks a bunch in advance,
Dirk
Here is the complete AS, should you need it:
// import tweener
import caurina.transitions.Tweener;
// delay between slides
const TIMER_DELAY:int = 5000;
// fade time between slides
const FADE_TIME:Number = 1;
// flag for knowing if slideshow is playing
var bolPlaying:Boolean = true;
// reference to the current slider container
var currentContainer:Sprite;
// index of the current slide
var intCurrentSlide:int = -1;
// total slides
var intSlideCount:int;
// timer for switching slides
var slideTimer:Timer;
// slides holder
var sprContainer1:Sprite;
var sprContainer2:Sprite;
// slides loader
var slideLoader:Loader;
// current slide link
var strLink:String = "";
// current slide link target
var strTarget:String = "";
// url to slideshow xml
var strXMLPath:String = "slideshow-data2.xml";
// slideshow xml loader
var xmlLoader:URLLoader;
// slideshow xml
var xmlSlideshow:XML;
function initSlideshow():void {
// hide buttons, labels and link
mcInfo.visible = false;
btnLink.visible = false;
// create new urlloader for xml file
xmlLoader = new URLLoader();
// add listener for complete event
xmlLoader.addEventListener(Event.COMPLETE, onXMLLoadComplete);
// load xml file
xmlLoader.load(new URLRequest(strXMLPath));
// create new timer with delay from constant
slideTimer = new Timer(TIMER_DELAY);
// add event listener for timer event
slideTimer.addEventListener(TimerEvent.TIMER, nextSlide);
// create 2 container sprite which will hold the slides and
// add them to the masked movieclip
sprContainer1 = new Sprite();
sprContainer2 = new Sprite();
mcSlideHolder.addChild(sprContainer1);
mcSlideHolder.addChild(sprContainer2);
// keep a reference of the container which is currently
// in the front
currentContainer = sprContainer2;
// add event listeners for buttons
btnLink.addEventListener(MouseEvent.CLICK, goToWebsite);
btnLink.addEventListener(MouseEvent.ROLL_OVER, showDescription);
btnLink.addEventListener(MouseEvent.ROLL_OUT, hideDescription);
mcInfo.btnPlay.addEventListener(MouseEvent.CLICK, togglePause);
mcInfo.btnPause.addEventListener(MouseEvent.CLICK, togglePause);
mcInfo.btnNext.addEventListener(MouseEvent.CLICK, nextSlide);
mcInfo.btnPrevious.addEventListener(MouseEvent.CLICK, previousSlide);
// hide play button
mcInfo.btnPlay.visible = false;
function onXMLLoadComplete(e:Event):void {
// show buttons, labels and link
mcInfo.visible = true;
btnLink.visible = true;
// create new xml with the received data
xmlSlideshow = new XML(e.target.data);
// get total slide count
intSlideCount = xmlSlideshow..image.length();
// switch the first slide without a delay
switchSlide(0);
function fadeSlideIn(e:Event):void {
// add loaded slide from slide loader to the
// current container
addSlideContent();
// clear preloader text
mcInfo.lbl_loading.text = "";
// check if the slideshow is currently playing
// if so, show time to the next slide. If not, show
// a status message
if(bolPlaying) {
mcInfo.lbl_loading.text = "Next slide in " + TIMER_DELAY / 1000 + " sec.";
} else {
mcInfo.lbl_loading.text = "Slideshow paused";
// fade the current container in and start the slide timer
// when the tween is finished
Tweener.addTween(currentContainer, {alpha:1, time:FADE_TIME, onComplete:onSlideFadeIn});
function onSlideFadeIn():void {
slideTimer.removeEventListener(TimerEvent.TIMER, nextSlide);
slideTimer = new Timer(xmlSlideshow..file[intCurrentSlide].@time);
slideTimer.addEventListener(TimerEvent.TIMER, nextSlide);
if(bolPlaying && !slideTimer.running)
slideTimer.start();
function togglePause(e:MouseEvent):void {
// check if the slideshow is currently playing
if(bolPlaying) {
// show play button
mcInfo.btnPlay.visible = true;
mcInfo.btnPause.visible = false;
// set playing flag to false
bolPlaying = false;
// set status message
mcInfo.lbl_loading.text = "Slideshow paused";
// stop the timer
slideTimer.stop();
} else {
// show pause button
mcInfo.btnPlay.visible = false;
mcInfo.btnPause.visible = true;
// set playing flag to true
bolPlaying = true;
// show time to next slide
mcInfo.lbl_loading.text = "Next slide in " + TIMER_DELAY / 1000 + " sec.";
// reset and start timer
slideTimer.reset();
slideTimer.start();
function switchSlide(intSlide:int):void {
// check if the last slide is still fading in
if(!Tweener.isTweening(currentContainer)) {
// check, if the timer is running (needed for the
// very first switch of the slide)
if(slideTimer.running)
slideTimer.stop();
// change slide index
intCurrentSlide = intSlide;
// check which container is currently in the front and
// assign currentContainer to the one that's in the back with
// the old slide
if(currentContainer == sprContainer2)
currentContainer = sprContainer1;
else
currentContainer = sprContainer2;
// hide the old slide
currentContainer.alpha = 0;
// bring the old slide to the front
mcSlideHolder.swapChildren(sprContainer2, sprContainer1);
//Van hier
if (currentContainer.numChildren > 0) {
var slideObjRef:DisplayObject = currentContainer.getChildAt(0);
currentContainer.removeChildAt(0);
slideObjRef = null;
//Tot hier
// delete loaded content
clearLoader();
// create a new loader for the slide
slideLoader = new Loader();
// add event listener when slide is loaded
slideLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, fadeSlideIn);
// add event listener for the progress
slideLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, showProgress);
// load the next slide
slideLoader.load(new URLRequest(xmlSlideshow..image[intCurrentSlide].@src));
// show description of the next slide
mcInfo.lbl_description.text = xmlSlideshow..image[intCurrentSlide].@title;
// set link and link target variable of the slide
strLink = xmlSlideshow..image[intCurrentSlide].@link;
strTarget = xmlSlideshow..image[intCurrentSlide].@target;
mcInfo.mcDescription.lbl_description.htmlText = xmlSlideshow..image[intCurrentSlide].@desc;
// show current slide and total slides
mcInfo.lbl_count.text = (intCurrentSlide + 1) + " / " + intSlideCount + " Slides";
function showProgress(e:ProgressEvent):void {
// show percentage of the bytes loaded from the current slide
mcInfo.lbl_loading.text = "Loading..." + Math.ceil(e.bytesLoaded * 100 / e.bytesTotal) + "%";
function goToWebsite(e:MouseEvent):void {
// check if the strLink is not empty and open the link in the
// defined target window
if(strLink != "" && strLink != null) {
navigateToURL(new URLRequest(strLink), strTarget);
function nextSlide(e:Event = null):void {
// check, if there are any slides left, if so, increment slide
// index
if(intCurrentSlide + 1 < intSlideCount)
switchSlide(intCurrentSlide + 1);
// if not, start slideshow from beginning
else
switchSlide(0);
function previousSlide(e:Event = null):void {
// check, if there are any slides left, if so, decrement slide
// index
if(intCurrentSlide - 1 >= 0)
switchSlide(intCurrentSlide - 1);
// if not, start slideshow from the last slide
else
switchSlide(intSlideCount - 1);
function showDescription(e:MouseEvent):void {
// remove tweens
Tweener.removeTweens(mcInfo.mcDescription);
// fade in the description
Tweener.addTween(mcInfoThanks, but no luck so far...
With the debugging publish setting on, I get the following error message:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at slideshow_fla::MainTimeline/slideshow_fla::frame1()[slideshow_fla.MainTimeline::frame1:12 3]
Line 123 says:
trace(xmlSlideshow..file[intCurrentSlide].@time);
However, when I comment out the trace() line it gives another error message:
## [Tweener] Error: [object Sprite] raised an error while executing the 'onComplete'handler.
TypeError: Error #1010: A term is undefined and has no properties.
at slideshow_fla::MainTimeline/onSlideFadeIn()[slideshow_fla.MainTimeline::frame1:118]
Where line 118 is:
slideTimer = new Timer(Number(xmlSlideshow..file[intCurrentSlide].@time));
Now, according to my Flash manual I bought, I need to 'instanciate' things. Did I forget this?
Just can't get my head around this OOP stuff...
Thanks a bunch for helping me! -
Aggregate with fixed value for 0SOLD_TO__0REGION wonu00B4t work
Hi,
We want to have a aggregate for a specific region. I have problem getting the aggregate to work. When testing it for aggregates in tc rsrt, it states that it will not use the aggregate because of Characteristic/Attribute 0SOLD_TO__0REGION does not have aggregation level */%.
This in spite of the fact that 0SOLD_TO__0REGION is filtred to only include the same region and country in the aggregate and in the query.
Maybe the message with the * in the end of it means that the aggregate needs to have all regions (value * in aggregate instead of F), but if that is the case, why?
BR,
Niclas
Edited by: Niclas Erlandsson on Jul 22, 2009 10:30 PMHi
1.Create separate aggragates for each Attribute, using fixed values and create a multiprovider over this cube and take the report.
Multiprovider perform parallel search on aggregates hence you query retrival time will be quick.
2.Create Hierarchy variable and hierarchy node variable in the properties of IO
in this case also you won't see entirer hierarchy. if you won't provide data for other nodes... it won't display.
set authorization on hierarchy node also helps
Hope this helps
Regards
CSM Reddy -
Recent playback issues with Quick Time for Windows
Hi there. I recently started having choppy playback in Quick Time of
.mov files composed of some footage shot on Sony XDCAM EX. Since I do not have the Sony codec on my PC, I had these .mov files converted to QT files with the H.264 codec by editors who use Final Cut Pro. They play badly, and now, so do all other mov. and MP-4 files for which I always used Quick Time.
Currenlty have QT 7.62.
Would Quick Time Pro 7 be the answer for a return to normal, fluid playback???
Any help would be greatly appreciated.
Thanks,
KeithIt wouldn't make a difference the pro version doesn't enhance the ability of what you can play or how good it plays. It just gives added feature's like being able to convert a .mov to .avi or save a file off a website.
-
How can I make the message date appear with the time for unread messages?
Mail systems I am moving from display the date & time with the messages. I need this displayed to determine aging and importance of received mail. When archiving/saving old mail it helps filing mail off and not duplicate archived messages.
Thunderbird displays time and date for all messages except for the present day messages. The time only is displayed for today and the date is appended at midnight.
-
[nVidia Series] Problems with boot time for p4n sli
I have spent a couple of hours digging trying to find out some information.
I bought the p4n sli (not diamond) and everything seems to work fine, BUT the boot time is very long. It seems to try to access the dvd drive for 30 to 45 seconds and then it will boot. Once it starts to boot I get 4 error code beeps and one that sounds as if it would be the normal everything is good beep (the fifth beep is always different and usually in the middle of the four same tone beeps).
I have a intel 630 cpu, a nvidia 6800gt vid card, one gig of corsair dual channel memory and 1 gig of geil dual channel memory (I get the same errors without the different memory), I have a 450 thermaltake psu, a maxtor 120 gig sata drive and a 160 gig ide drive.
I have no problems with anything once the computer is booted up. It just takes a lot longer to even start to boot than I have seen with modern computers.
The beep codes thread stated that
4 beeps - Timer not operational - bad motherboard
5 beeps - Processor error - bad processor
Would I still be able to run this computer if either of these was true? I would love any advice. I do not want to burn up anything.Quote from: hcoshawn on 11-January-06, 05:21:01
hey LtDano38,
Im sure that the beeps that you are hearing are on account of the amount of USB devices that you have hooked up. You should get one for every device, the low tone one that you hear is the bios beep saying that everything is normal. The USB beeps should come before the different tone one at the end.
As for the boot time, i would try a different cd-row to see if it does the same. Also is the drive IDE or SATA?
GL and post back.
ok, I do have four usb devices, a flight stick, a nostromo, and usb mouse and keyboard, I have one ide hd, one sata hd and an ide dvd. I tried slaving the dvd off of the hd and with it by itself on the other ide channel. My os is on the ide hd. One last question, can I use anymore abbreviations? -
How do I create a form with fixed fields for clients to complete?
I want to create a form in pages that I can then save as a pdf to load on my website so my clients can download and fill in the fields without messing with the overall formate of the sheet.
Sorry, not sure I am clear. I want a form w/ name, address, etc. I want to be able to send it as an email to people to fill out and also load it to my website for people to download, fill out, and email back to me.
My concern is I there are fields that they can write sentences and I want to control how much they write so it doesn't mess up the formatting when I go to print.
thanks -
Every time I go to set the time on the timer on my iPhone, it's at 1:30. At one point, in the past, wasn't there something where it would stay at the previous setting?
Is there a way to make it stay at the previous setting when the alarm goes off?If your iphone is jailbroken ...
Open
//private/var/mobile/Library/Preferences/com.apple.mobiletimer.plist
Then modify the TIMER_INTERVAL value to a number of seconds of your desire. (note that the app only deals with minutes, so you'll have to set it to a multiplication of 60 sec, e.g. 0, 60, 120 etc')
You can use whatever property list viewer to do that. -
Hi,
A question concerning two different Macs with the same behaviour.
1. I gave the eMac (listed below) to my folks when I moved up to my G5 and did a clean install so that they could start out fresh-I know its probably light on RAM, but they pretty much just use it to email friends and family-not real big users.
After setting them up, I've noticed that there is no 'time connected' counter in the top toolbar( this was present before I re-installed). The only way of knowing that connection is ongoing is that the telephone icon has all the bars or 'droplets' bolded (when they disconnect the droplets are greyed out)
The dropdown menu is ticked to 'show time connected' as is the box in Internet Connect. Opening Internet Connect panel (when conected for any length of time) shows the counter at 00:00:00.
2. I installed 10.1.2 then upgraded to 10.1.5 on a friends Graphite slot loading iMac that was previously running 9.2.2 (256MB RAM with appropriate firmware updates etc). His machine is in exactly the same situation with no time connection clock visible, again 'show time connected' is checked in the dropdown menu and Internet Connect panel.
Both computers were loaded with the original disks that came with the respective machines, permissions were repaired before and after any installations, no third party apps were added. It's not a big drama but just makes me curious-any takers?
Bear with me-I have neither computer at hand to answer any further questions on specs and will be away for a couple of days, but will endevour to get back to any of you that reply.
Cheers,
Jane
Power PC G4 emac combo 128MB Ram (10.2) iMac G5 1.8 GHz PowerPC G5 512MB Ram (10.4) Mac OS X (10.4)
Power PC G4 emac combo 128MB Ram, iMac G5 1.8 GHz PowerPC G5 512MB Ram 10.4 Mac OS X (10.4)Hi ali b,
Unfortunately I had no luck with your suggestion re: deleting the file
com.apple.medemmenuextra.plist.
Incidently, the 'show modem status in menubar' was still checked as it was originally and I didn't need to change that, as such the time clock still sits at 00.00.00 with no movement.
I walked my folks thru' this over the phone, which wasn't tricky-but I guess I'll have to pack a lunch and head over there and have a hands-on tinker if there are any other suggestions?
Cheers,
Jane -
ECATT's time of execution increases with the time
Hi there,
we have a Problem with the eCATT scripts, as they get slower and slower executing with the time.For example, after 5 hours execution we have an increase of 50%.
The eCATT is creating the Business Partners (BP0) and there was one eCATT Script executing parallel on the three PC's, because of the large amount of the BP he should create (ca. 10.000).
Is there anything about the LOG's that one should bear in mind? It seems like some memory pages would not be freed.
Kind Regards,
DimceHi Guys,
Just adding a bit more to the list of performance factors thats suually followed in any developments.
1) Memory Usage - Declare Vairbales in eCATT with Parameter Reference wherever possible. This will just allocate as much memory required.
2) Refresh Script - This will delete the unused interfaces created while developing eCATTs.
3) Be careful while scripting loops
4) When you have external tools involved, excersie the REFEXT calls efficiently, Everytime you call an exteral script the external script stored as BLOB (Binary Large Object ) has to be formatted and the external tool invoked which also brings in a great deal of delay.
Will add to this list whenever i get more.
Regards,
Justin -
Fixing indicator for BOM explosion marked by default
Hello Experts,
I'm in a repetitive manufacturing scenario and I want to know if it is possible to generate planned orders with Fixing indicator for BOM explosion marked by default. Does anybody know if it can be done??Hello Laura
As far as I know, this is not possible to do using customizing, however, you can do that using BAdI
MD_PLDORD_CHANGE.
Check the following document for more details about the BAdIs available for MRP:
BAdIs for MRP
BR
Caetano -
Why does my itunes crash after start up with an "APPCRASH" error every time i open it?! I have been trying to fix this for weeks but all i can do it re-install it every other day which does nothing! I am desperate to get access to my itunes to get music on my phone and all of this just makes me want me to sell my iphone since there is no other way to add music to my phone. If things go get sorted soon you can say goodbye to my support.
For general advice see Troubleshooting issues with iTunes for Windows updates.
The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for installation or performance issues, or compatibility with QuickTime or third party software.
Your library should be unaffected by these steps but there are also links to backup and recovery advice should it be needed.
tt2 -
Is there a fix yet for the no sound problem with lion on the iMac without having to restart every time I switch the computer on?
Try booting in Safe Mode by holding the the shift key immediately after powering on your system. Safe boot mode will for a directory check of your startup volume, then load only the required kernal extensions (kext files), and deletes some cache files. Once the system boots into Safe Mode you can simply restart the system to see whether the issue has been resolved.
If you still have the issue try resetting the SMC by shutting down the system and disconnecting the power cord for ~15 seconds, then reconnecting the power cord. Next, reset the parameter RAM (PRAM) by holding down the option-option-P-R keys after powering ON the system. Wait until the iMac restarts twice, then let the system boot normally.
Maybe you are looking for
-
Hi experts, see, we use to manually open and close the posting periods but now my client wants it to be automised one .And i went through sm36 and while feeding data there is one field asking the programe name for it to schedule .. as per transaction
-
How do i add multiple components to a scrollpane?
i have found info and examples on using a jpanel within the scroll pane, but i am still having difficulties. i put multiple componets (textarea's and so forth) into the panel and when i run the application the scrollable area does not work - show all
-
Connections to get Audio to HDTV
I've just connected a mini display port/HDMI cable adapter to my imac, I'm getting Video display but no sound. I'm not going to bother trying any other adapters, so just wondering how I would go about getting the audio to the TV. Could I use a USB to
-
Landing Page performance improvement
Hi All, In my project landing page there are 9 portlets are there. For all portlets we are getting contents from UCM using RIDC. Landing page is loding very slow, Page is waiting to complete 9 RIDC calls then only it is loding. Is there any solution
-
I just made the Firefox my default browser.I started moving all my accounts(face book email and few more. On explorer it would always ask me if i want the explorer to remember my passwords and log ins. Here every time i have to keep writing everythin