Punch-In/X-Fade Issue
I hope I can explain this problem clearly...
I have a guitar part that I recorded that had a glitch in my strumming. I did a quick punch-in recording over the glitch. Now I have the Punch-in Region sitting on top of the Original Region. The Punch-in Region is one bar long.
I can adjust the length of the Punch-in Region from the left and right to make a smoother transition out of and back into the Original Region, but I still need to put a little bit of cross-fade at the beginning and end of the Punch-in Region.
When I select the X-Fade tool and click to drag left to right from the Original Region into the Punch-in Region, the Punch-in Region disappears so that I can't accurately gauge where my X-Fade will land. Naturally it's not exactly where it needs to be, but it's close enough (for rock 'n roll, as they say). However, when I try to put an X-Fade at the end of the Punch-in Region going back into the Original Region, the original X-Fade I created at the beginning of the Punch-in Region disappears and the new X-Fade I'm trying to make doesn't even appear!
Alternatively, if I try this in an opposite fashion (dragging right to left from the beginning of the Punch-In Region back into the end of the first part of the Original Region), the X-Fade seems to work; but, when I try to X-Fade from the end of the Punch-In into the beginning of the second part of the Original Region, I only get a fade-out (not a X-Fade).
To make matters worse, in either of the above cases the second part of the Original Region (the part coming out of the Punch-in Region) now doesn't have any sound even though I can see the waveform! I'm totally baffled by this. Has anyone had any similar experiences or success punching-in and applying the X-Fades?
Thanks for any help!
Thanks, David. I tried changing the editing mode to No Overlap (and also to X-Fade) with no luck changing the outcome. Also, over to the left above the channel strip, every time I try to change the Fade-Out parameter to something other than "Out" (i.e. "X" "EqP" or "X S") it keeps reverting back to "Out" automatically. Curious.
Would it be proper to deduce that when recording a punch-in, it's best to set the editing mode to No Overlap before recording?
In any case, I "solved" the problem by moving the punch-in region for a moment and slicing the original region in the area beneath it, then adjusted the two parts of the original region and placed the punch-in back in the slot between them. Fades worked fine then, but of course it was unnecessary extra work I suppose....
Similar Messages
-
I am new to Logic and am still getting used to it, but already I think it is a hundred times better than Pro Tools. That being said, I have found one issue that is a deal-breaker for me: the fades. No matter what region I apply a fade out to, they sound terrible. I've noticed it mainly on guitar regions that were recorded with a direct input and modified with amp designer. For example, I'll apply a fade out to a heavily distorted guitar part as the notes are ringing out. When I play it back, however, the fade is choppy and doesn't gradually fade out. The guitar gets quieter, but the hissing of the distorted amp remains at normal volume until the end of the phrase, where it simply just cuts off. Now I'm not sure if I'm doing something wrong, but this fade issue is driving me crazy! Any help would be greatly appreciated.
sightnowchanging wrote:
I am new to Logic and am still getting used to it, but already I think it is a hundred times better than Pro Tools. That being said, I have found one issue that is a deal-breaker for me: the fades. No matter what region I apply a fade out to, they sound terrible. I've noticed it mainly on guitar regions that were recorded with a direct input and modified with amp designer. For example, I'll apply a fade out to a heavily distorted guitar part as the notes are ringing out. When I play it back, however, the fade is choppy and doesn't gradually fade out. The guitar gets quieter, but the hissing of the distorted amp remains at normal volume until the end of the phrase, where it simply just cuts off. Now I'm not sure if I'm doing something wrong, but this fade issue is driving me crazy! Any help would be greatly appreciated.
Actually it makes sense that you'd be getting weird noise trailing out on the fades if you're using a guitar amp effect as an insert on the track. There's nothing wrong with the fade itself.. it's the fact that in lowering the level progressively into the guitar amp plug in (which is what is happening, having put a fade out on the audio), the amp plug in is simply reacting to a signal that is fading to nothing and so obviously the tail of the sound gets strange and you hear noise. The same thing would happen if you plugged a guitar into an amp and played a chord, then turned the output volume of the guitar itself down to nothing (which you can't actually do on guitars but you get my point).. the amp noise would become more and more apparent as the audio input to it faded out.
The best solution here is to either bounce the guitar tracks with the effects, so then when you do a fade, you fade everything. Or alternatively, you could put the guitar amp effect on a buss instead of on an insert, that way you can do your usual audio fades to the regions, and also control the output of what the amp effect is doing separately by automating it.
As far as region fades on audio in Logic are concerned, they work just fine, although I think the way it's implemented is still a bit less practical to use than in ProTools. You just need to keep in mind that if there are insert fx on the track in question, then you aren't actually fading them at all - just the audio that's feeding into them. -
Logic Pro X Fades Issue?
Trying my first pre-mastering attempt in Logic Pro X. I decided the best way to work was to create "Alternative" mixes for each track on the album totalllying 13, ordering each song as a region. So I went track by track and did my processing and added my in and out fades. Saved each time I switched alternatives to work on the next song.
On return, I opened each alternative and started boucing out. Check the bounced Wavs and three or four tracks had a weird "ghost" of material from other regions in the session. Reopened the Logic session to find that where my fades were, a little nugget of sound was playing from another region in the session.,
Simply altering the fades in any way took care of the problem, but it's not the most elegant solution with an anxious client (eager to hear your awesome masters) next to you and the Discmaker's upload page on the other computer;)
Anyone run into this yet?May I have your attention, Apple Logic Pro X developers/programmers:
Please explain if this is a bug, or if there is a setting I´ve missed somewhere? I have now Googled and checked every possible function in Logic, to no avail. I´ll blow some dust off my Logic 9 box in the meantime.
Note: Logic's Dev are not here.. This is a user community mainly 'staffed' by other users like yourself...
Why doesn't Apple answer the questions that we ask about Logic Pro?
Additional: I cannot reproduce this issue here.. under 10.10.2 and LPX 10.1 I tested on both my testbed Macs and on both of them... Single clicking on the ruler moves the Playhead as normal.
Make sure you are single clicking below the numbers in the ruler....
Failing that.....
Delete both the main Logic prefs and the CS prefs....using these instructions. Please do exactly what they say in the same order.
Delete the user preferences
You can resolve many issues by restoring Logic Pro X back to its original settings. This will not impact your media files. To reset your Logic Pro X user preference settings to their original state, do the following:
Quit Logic Pro
In the Finder, choose Go to Folder from the Go menu.
Type ~/Library/Preferences in the "Go to the folder" field.
Press the Go button.
Remove the com.apple.logic10.plist file from the Preferences folder. Note that if you have programmed any custom key commands, this will reset them to the defaults. You may wish to export your custom key command as a preset before performing this step. See the Logic Pro X User Manual for details on how to do this. If you are having trouble with a control surface in Logic Pro X, then you may also wish to delete the com.apple.logic.pro.cs file from the preferences folder.
If you have upgraded from an earlier version of Logic Pro, you should also remove ~/Library/Preferences/Logic/com.apple.logic.pro.
Restart the computer.
Note. If you cannot find any of these files you didn't follow the instructions exactly as written -
Punch in/out latency issue!
I'm having a pause in my audio when I punch in and out of logic. The song is still rolling but the music stops for a second. I know this is a simple hardware setting. I can't remember if it's the buffer size. Anyway, is there a standard buffer size, etc...?
Thanks!!Enable "punch on the fly" in Options->Audio
-
Tascam 1884 and Logic Express 7.2.3 - Master Fader Issue
I am currently having a slightly annoying problem between Logic Express and my Tascam 1884. Whenever I move the Master Fader on the Tascam, it changes the output of the currently selected track in Logic rather than Output 1-2 as it should and used to do.
I opened up the package contents of Logic to check the control surface drivers to see if there was a new version available. The one installed in Logic for the 1884 was labled as v1.0. I checked on the Tascam website and there was an Application Specific driver for Logic labled as v1.10. I downloaded this and installed it in place of the v1.0 driver and started Logic up. I was greeted with an error message stating that the Control Surface Driver was outdated. To see the actual error message, go here:
http://flickr.com/photos/ephraim909/454973721/
Basically, it is stating that the "newer" version is outdated somehow. Is anyone else having this problem or have any idea what may be going on?
15 in. PowerBook G4 1.5 GHz Mac OS X (10.4.6) 1.25gb RAMThank you for the response. However, there are a few things wrong with that idea. First of all, that path that both you and Tascam specify to place the bundle is no longer applicable. The place where all the bundles are now is actually in the package contents of Logic Express, where I specified that I placed it. Secondly, there is something wrong with the driver beyond installing it in that, my control surface will no longer install or work. Therefore I cannot just ignore the error message because if I do, then nothing works at all. Once again I appreciate the suggestion, but that doesn't seem to help in my case.
-
R6670 and Java/Adobe Reader "Ghosting" fade issue.
Hello everyone, I am in need of some assistance. I just built my first computer and am in heaven with this thing... I however have run into an issue with what I would call ghosting but other may not. The issue is this, when I open a document in Adobe reader I get what appears to be a document that was printed when a laser ink cartridge is running out of ink, IE faded sections. I also run an application for work called Seratel (telephony system) and it's got this same "ghosting" effect. I have tried uninstalling the cards drivers and reinstalling them to avail. Can anyone help me out here?
I have the R6670-MD1GD5 if this helps anyone at all. Also running via the DVI Connection
Thank you for your time and assistance in advance.
Sean M.http://i1277.photobucket.com/albums/y490/Sean_Mannino/fadedlookforMSI.png Here is a screen shot of Adobe Reader but it doesn't really capture the issue.
http://i1277.photobucket.com/albums/y490/Sean_Mannino/Seratel.png here is a screenshot of the telephony application the high blues should be dark blue.
Also with Adobe flash player I get the allow button not click able. http://i1277.photobucket.com/albums/y490/Sean_Mannino/Flashnotclickabe-1.png
Please let me know if you need anything else. -
I have a soundtrack in a project and I need to fade it in and out at two points. When I rendered out a test clip I could still here the track in the places where the audio is panned to zero (-48db). It is very faint but loud enough to hear under the music. Any fix. Thanks.
What Rick said. You may have a duplicate track in a pre-comp somewhere that you used as reference. And Rick again has a point in doing this in an audio app. You could e.g. open your clip via Dynamic Link in Soundbooth/ Audion or Premiere and do your audio mixing there.
Mylenium -
Issue with transfering items from punch out
Hi All,
We are using a punch out for ordering shopping carts. It is working fine for all the users but not for one of the user. That user is able to open punch out site in her system and able to select the items in that punch out. But when she clicked on "checkout" button in that site, it is not transferring the items to the shopping cart. Rather it give internet explorer error" Page cannot be displayed". I believe, this is not a punch out or SRM issue. It should be an issue with the user's system settings.
But I am not sure where to check? Is it something that the cookies need to be enabled in user's system? Could you please help me with your suggestions?
Thanks,
SSHi,
You could perform a HTTP trace (using HTTP watch) and compare the OCI data in POST method for both users (the correct and incorrect ones).
Perhaps there is some additional/missing information being passed from catalog to SRM.
Kind regards,
Ricardo -
Simple fade-in fade-out doesn't work with premiere 9
Hello,
I'm using Windows 7, service pack 1 on a Dell computer XPS 8300 (Intel® Core™ i7-2600 CPU @ 3.40GHz × 8), 64 bits.
Complex fades work, but not simple as fade-in fade-out.
Note I had the same problem with Studio : it was solved by not using hardware acceleration. With Studio, it was possible to do so in the options.
What with Premiere ?
Thank's for any helpChristil
Premiere Elements 9 on Windows 7 64 bit (are you working from the 9.0.1 Update?)
Are you referring to the fade in fade out video audio shortcuts?
How are you doing what you refer to as "Complex Fades Work"?
I am not aware of any hardware acceleration control in any Premiere Elements options related
to Fades issues.
Please review the following related to the Fades shortcuts and see if any of it applies to your
situation.
http://www.atr935.blogspot.com/2013/06/pe11-timeline-fade-out-shortcuts-and.html
Is your issue specific to one particular project? Is this a "it worked before but not now" or "it never
worked before" type matter? Pending further details, we might consider deleting the Adobe
Premiere Elements Prefs file or, if necessary, the whole 9.0 Folder in which it exists.
But, we will await further details from you before deciding what next.
Thank you.
ATR -
IMovie 9.0.2 - audio fade out doesn't work
Has anyone found any working solution to "fade out" not working? Before movie rendering all is OK, but in rendered movies there's no audo "fade out" - the audio just stops.
Frustraiting!
Regards,
GitarzystaChristil
Premiere Elements 9 on Windows 7 64 bit (are you working from the 9.0.1 Update?)
Are you referring to the fade in fade out video audio shortcuts?
How are you doing what you refer to as "Complex Fades Work"?
I am not aware of any hardware acceleration control in any Premiere Elements options related
to Fades issues.
Please review the following related to the Fades shortcuts and see if any of it applies to your
situation.
http://www.atr935.blogspot.com/2013/06/pe11-timeline-fade-out-shortcuts-and.html
Is your issue specific to one particular project? Is this a "it worked before but not now" or "it never
worked before" type matter? Pending further details, we might consider deleting the Adobe
Premiere Elements Prefs file or, if necessary, the whole 9.0 Folder in which it exists.
But, we will await further details from you before deciding what next.
Thank you.
ATR -
Hi Experts,
I have wrote a procedure which is being fired by a trigger and update or insert the Attendance_day table on the basis of punch string, the below issue is coming when employee do two regular shift.
[code]
select * from ATTENDANCEMASTER where DATE_PUNCH>='01-aug-2013' and EMP_CD in('E03497');
SNO
EMP_CD
DATE_PUNCH
TIME_PUNCH
PREFIX
INOUT
8027551423
E03497
1-Aug-13
8:53
200
I
8027890076
E03497
1-Aug-13
19:01
200
O
8027980116
E03497
2-Aug-13
8:56
200
I
8028070441
E03497
2-Aug-13
17:43
200
O
8028071247
E03497
3-Aug-13
8:49
200
I
8028160480
E03497
3-Aug-13
17:43
200
O
8028160680
E03497
3-Aug-13
22:51
200
I
8028161035
E03497
4-Aug-13
6:54
200
O
8028661326
E03497
6-Aug-13
8:51
200
I
8028840273
E03497
6-Aug-13
18:55
200
O
8028841247
E03497
7-Aug-13
8:56
200
I
This table is being updated after employees swipe the card. If u look @ the record of 3rd aug the employee has done two shift 1st in 1st shift(9-6pm) and another on 3rd shift (11pm-to next day of 7am). After this table the main attendnace_day table is being updated
SELECT * FROM ATTENDANCE_DAY WHERE EMP_CODE IN('E03497') AND ATTD_DATE >='01/AUG/2013';
attd_date
emp_code
in_time
out_time
status
shift
day_no
chg_date
chg_user
chg_term
result
punch_str
1-Aug-13
E03497
8:53
19:01
(null)
G0013
5
1-Aug-13
STAR
PAPNABMS
-08:53 , -19:01
2-Aug-13
E03497
8:56
17:43
(null)
G0013
6
2-Aug-13
STAR
PAPNABMS
-08:56 , -17:43
3-Aug-13
E03497
8:49
17:43
(null)
G0013
7
4-Aug-13
PRITESH
21PAPNADIXIT
-08:49 , -17:43 , -22:51,*-17:43
6-Aug-13
E03497
8:51
18:55
(null)
G0013
3
6-Aug-13
STAR
PAPNABMS
-08:51 , -18:55
7-Aug-13
E03497
8:56
G0013
4
7-Aug-13
STAR
PAPNABMS
0
The out time in aug 3rd record is 17:43 but as employee has done two shifts the out time must be:
8028161035
E03497
4-Aug-13
6:54
200
O
That's why I need to change the procedure in way that it should update the attendance_day table on the basis of IN OUT flag and must capture these types of records properly.
The Procedure is mentioned below:
[code]
CREATE OR REPLACE
PROCEDURE UPDATE_ATTENDANCE
AS_EMP_CODE CHAR,
AS_DATE_PUNCH DATE,
AS_TIME_PUNCH CHAR
AS
BEGIN
DECLARE
a_time_punch workshft.in_time%type := AS_TIME_PUNCH;
a_work_shift employee.work_shift%type;
a_shift_intime workshft.in_time%type;
a_lunch_time workshft.lunch_time%type;
a_hol_tblno holiday.hol_tblno%type;
a_fin_entity site.fin_entity%type;
a_prv_date DATE := AS_DATE_PUNCH - 1;
a_count NUMBER(5);
a_count1 NUMBER(5);
CURSOR c1
IS
SELECT work_shift
FROM
(SELECT tran_date eff_date,
work_shift_o work_shift,
conf_date,
chg_date
FROM employee_det_change
WHERE emp_code = AS_EMP_CODE
AND tran_date > AS_DATE_PUNCH
AND status = 'C'
UNION ALL
SELECT eff_Date,
work_shift__fr work_shift,
conf_date,
chg_date
FROM emp_employ_events
WHERE emp_code = AS_EMP_CODE
AND eff_date > AS_DATE_PUNCH
AND confirmed = 'Y'
ORDER BY eff_date,
conf_date,
chg_date;
BEGIN
SELECT b.fin_entity
INTO a_fin_entity
FROM employee a,
site b
WHERE a.emp_code = AS_EMP_CODE
AND b.site_code = a.work_site;
SELECT COUNT(*)
INTO a_count
FROM work_shift
WHERE emp_code = AS_EMP_CODE
AND AS_DATE_PUNCH BETWEEN from_dt AND to_dt;
IF (a_count > 0) THEN
SELECT shift
INTO a_work_shift
FROM work_shift
WHERE emp_code = AS_EMP_CODE
AND AS_DATE_PUNCH BETWEEN from_dt AND to_dt;
ELSE
FOR i IN c1
LOOP
a_work_shift := i.work_shift;
EXIT;
END LOOP;
IF (a_work_shift IS NULL) THEN
SELECT work_shift
INTO a_work_shift
FROM employee
WHERE emp_code = AS_EMP_CODE;
END IF;
END IF;
SELECT in_time,
lunch_time
INTO a_shift_intime,
a_lunch_time
FROM workshft
WHERE shift = a_work_shift
AND day_no = TO_CHAR(AS_DATE_PUNCH,'D');
SELECT COUNT(*)
INTO a_count
FROM attendance_day
WHERE attd_date = AS_DATE_PUNCH
AND emp_code = AS_EMP_CODE;
IF (a_count > 0) THEN
IF (A_FIN_ENTITY IN ('IC','HU')) THEN
------UPDATE HERE-----
UPDATE attendance_day
SET out_time = a_time_punch,
punch_str = punch_str || ' , -' || AS_TIME_PUNCH,
work_hour = (ddf_time_in_mm(a_time_punch)-ddf_time_in_mm(in_time))
WHERE attd_date = AS_DATE_PUNCH
AND emp_code = AS_EMP_CODE;
ELSE
IF (ddf_time_in_mm(a_time_punch) < (ddf_time_in_mm(a_shift_intime) + 30)) THEN
UPDATE attendance_day
SET PUNCH_STR = PUNCH_STR || ' , -' || AS_TIME_PUNCH
WHERE attd_date = AS_DATE_PUNCH
AND emp_code = AS_EMP_CODE;
ELSE
------UPDATE HERE-----
UPDATE attendance_day
SET out_time = a_time_punch,
punch_str = punch_str || ' , -' || AS_TIME_PUNCH,
work_hour = (ddf_time_in_mm(a_time_punch)-ddf_time_in_mm(in_time))
WHERE attd_date = AS_DATE_PUNCH
AND emp_code = AS_EMP_CODE;
END IF;
END IF;
ELSE
SELECT COUNT(*)
INTO a_count1
FROM work_shift
WHERE emp_code = AS_EMP_CODE
AND a_prv_date BETWEEN from_dt AND to_dt
AND shift =
(SELECT shift
FROM workshft
WHERE shift = work_shift.shift
AND day_no = TO_CHAR(a_prv_date,'D')
AND (out_time > '24:00'
OR out_time < in_time)
SELECT ddf_get_holtblno(AS_EMP_CODE,AS_DATE_PUNCH) INTO a_hol_tblno FROM dual;
SELECT COUNT(*)
INTO a_count
FROM holiday
WHERE hol_tblno = a_hol_tblno
AND hol_date = AS_DATE_PUNCH;
IF ((A_COUNT1 > 0) OR (DDF_TIME_IN_MM(A_TIME_PUNCH) < (DDF_TIME_IN_MM(A_SHIFT_INTIME) - 120)) OR (A_COUNT > 0)) THEN
IF (a_fin_entity IN ('IC','HU') AND a_count1 > 0) THEN
SELECT COUNT(*)
INTO a_count
FROM attendance_day a,
workshft b
WHERE a.attd_date = a_prv_date
AND a.emp_code = AS_EMP_CODE
AND b.shift = a.shift
AND b.day_no = a.day_no
AND (ddf_time_in_mm(a_time_punch)+1440) <= (ddf_time_in_mm(b.out_time) + (
CASE
WHEN b.out_time < b.in_time
THEN 1440
ELSE 0
END) + 300);
ELSE
SELECT COUNT(*)
INTO a_count
FROM attendance_day
WHERE attd_date = a_prv_date
AND emp_code = AS_EMP_CODE
AND out_time IS NULL;
END IF;
IF (a_count > 0) THEN
A_TIME_PUNCH := TO_CHAR((TO_NUMBER(SUBSTR(A_TIME_PUNCH,1,2))+24)) || ':' || SUBSTR(A_TIME_PUNCH,4,2);
------UPDATE HERE-----
UPDATE attendance_day
SET out_time = a_time_punch,
punch_str = punch_str
|| ' , -'
|| a_time_punch,
work_hour = (ddf_time_in_mm(a_time_punch)-ddf_time_in_mm(in_time))
WHERE attd_date = a_prv_date
AND emp_code = AS_EMP_CODE;
ELSE
------UPDATE HERE-----
INSERT
INTO attendance_day
attd_date,
emp_code,
in_time,
shift,
day_no,
chg_date,
chg_user,
chg_term,
punch_str,
lunch_time
VALUES
AS_DATE_PUNCH,
AS_EMP_CODE,
a_time_punch,
a_work_shift,
TO_CHAR(AS_DATE_PUNCH,'D'),
sysdate,
USER,
userenv('terminal'),
|| AS_TIME_PUNCH,
a_lunch_time
END IF;
ELSE
INSERT
INTO attendance_day
attd_date,
emp_code,
in_time,
shift,
day_no,
chg_date,
chg_user,
chg_term,
punch_str,
lunch_time
VALUES
AS_DATE_PUNCH,
AS_EMP_CODE,
a_time_punch,
a_work_shift,
TO_CHAR(AS_DATE_PUNCH,'D'),
sysdate,
USER,
userenv('terminal'),
'-' || AS_TIME_PUNCH,
a_lunch_time
END IF;
END IF;
END;
END;
[code]
Thnx in advance, help will be appreciated..Sorry, totally lost in procedural logic (maybe others could see some ways of improvement)
PROCEDURE UPDATE_ATTENDANCE
AS_EMP_CODE CHAR,
AS_DATE_PUNCH DATE,
AS_TIME_PUNCH CHAR
AS
BEGIN
DECLARE
a_time_punch workshft.in_time%TYPE := AS_TIME_PUNCH;
a_work_shift employee.work_shift%TYPE;
a_shift_intime workshft.in_time%TYPE;
a_lunch_time workshft.lunch_time%TYPE;
a_hol_tblno holiday.hol_tblno%TYPE;
a_fin_entity site.fin_entity%TYPE;
a_prv_date DATE := AS_DATE_PUNCH - 1;
a_count NUMBER(5);
a_count1 NUMBER(5);
-------------------------------changes 13082013 starts-------------------
a_count11 workshft.in_time%TYPE;
a_count22 workshft.in_time%TYPE;
-------------------------------changes 13082013 ends-------------------
CURSOR c1 IS
SELECT work_shift
FROM(SELECT tran_date eff_date,work_shift_o work_shift,conf_date,chg_date
FROM employee_det_change
WHERE emp_code = AS_EMP_CODE
AND tran_date > AS_DATE_PUNCH
AND status = 'C'
UNION ALL
SELECT eff_date,work_shift__fr work_shift,conf_date,chg_date
FROM emp_employ_events
WHERE emp_code = AS_EMP_CODE
AND eff_date > AS_DATE_PUNCH
AND confirmed = 'Y'
ORDER BY eff_date,conf_date,chg_date;
BEGIN
SELECT b.fin_entity
INTO a_fin_entity
FROM employee a,
site b
WHERE a.emp_code = AS_EMP_CODE
AND b.site_code = a.work_site;
SELECT COUNT(*)
INTO a_count
FROM work_shift
WHERE emp_code = AS_EMP_CODE
AND AS_DATE_PUNCH BETWEEN from_dt AND to_dt;
IF (a_count > 0) THEN
SELECT shift
INTO a_work_shift
FROM work_shift
WHERE emp_code = AS_EMP_CODE
AND AS_DATE_PUNCH BETWEEN from_dt AND to_dt;
ELSE
FOR i IN c1
LOOP
a_work_shift := i.work_shift;
EXIT;
END LOOP;
IF (a_work_shift IS NULL) THEN
SELECT work_shift
INTO a_work_shift
FROM employee
WHERE emp_code = as_emp_code;
END IF;
END IF;
SELECT in_time,lunch_time
INTO a_shift_intime,a_lunch_time
FROM workshft
WHERE shift = a_work_shift
AND day_no = TO_CHAR(AS_DATE_PUNCH,'D');
SELECT COUNT(*)
INTO a_count
FROM attendance_day
WHERE attd_date = AS_DATE_PUNCH
AND emp_code = AS_EMP_CODE;
IF (a_count > 0) THEN
IF (a_fin_entity IN ('IC','HU')) THEN
UPDATE attendance_day
SET out_time = a_time_punch,
punch_str = punch_str || ' , -' || as_time_punch,
work_hour = (ddf_time_in_mm(a_time_punch) - ddf_time_in_mm(in_time))
WHERE attd_date = AS_DATE_PUNCH
AND emp_code = AS_EMP_CODE;
ELSE
IF (ddf_time_in_mm(a_time_punch) < (ddf_time_in_mm(a_shift_intime) + 30)) THEN
UPDATE attendance_day
SET punch_str = punch_str || ' , -' || as_time_punch
WHERE attd_date = AS_DATE_PUNCH
AND emp_code = AS_EMP_CODE;
ELSE
UPDATE attendance_day
SET out_time = a_time_punch,
punch_str = punch_str || ' , -' || as_time_punch,
work_hour = (ddf_time_in_mm(a_time_punch) - ddf_time_in_mm(in_time))
WHERE attd_date = AS_DATE_PUNCH
AND emp_code = AS_EMP_CODE;
END IF;
END IF;
ELSE
SELECT COUNT(*)
INTO a_count1
FROM work_shift
WHERE emp_code = AS_EMP_CODE
AND a_prv_date BETWEEN from_dt AND to_dt
AND shift = (SELECT shift
FROM workshft
WHERE shift = work_shift.shift
AND day_no = TO_CHAR(a_prv_date,'D')
AND (out_time > '24:00' OR out_time < in_time)
SELECT ddf_get_holtblno(as_emp_code,as_date_punch)
INTO a_hol_tblno
FROM dual;
SELECT COUNT(*)
INTO a_count
FROM holiday
WHERE hol_tblno = a_hol_tblno
AND hol_date = AS_DATE_PUNCH;
IF ((a_count1> 0) OR (ddf_time_in_mm(a_time_punch) < (ddf_time_in_mm(a_shift_intime) - 120)) OR (a_count > 0)) THEN
IF (a_fin_entity IN ('IC','HU') AND a_count1 > 0) THEN
SELECT COUNT(*)
INTO a_count
FROM attendance_day a,
workshft b
WHERE a.attd_date = a_prv_date
AND a.emp_code= AS_EMP_CODE
AND b.shift = a.shift
AND b.day_no= a.day_no
AND ddf_time_in_mm(a_time_punch)+1440 <= ddf_time_in_mm(b.out_time) + CASE WHEN b.out_time < b.in_time THEN 1440 ELSE 0 END + 300;
ELSE
SELECT COUNT(*)
INTO a_count
FROM attendance_day
WHERE attd_date = a_prv_date
AND emp_code = AS_EMP_CODE
AND out_time IS NULL;
END IF;
-------------------------------changes 13082013 starts-------------------
SELECT MAX(TIME_PUNCH)
INTO A_COUNT11
FROM ATTENDANCEMASTER
WHERE DATE_PUNCH = A_PRV_DATE
AND EMP_CD = AS_EMP_CODE
AND INOUT='I';
SELECT OUT_TIME
INTO A_COUNT22
FROM ATTENDANCE_DAY
WHERE EMP_CODE = AS_EMP_CODE
AND ATTD_DATE = a_prv_date;
DBMS_OUTPUT.PUT_LINE('value of In TIme : ' ||TO_CHAR(A_COUNT22)|| ' , Out Time : '|| TO_CHAR(A_COUNT11));
IF (A_COUNT11 > A_COUNT22) THEN
a_count:=1;
ELSE
a_count:=0;
END IF;
-------------------------------changes 13082013 ends-------------------
IF (a_count > 0) THEN
A_TIME_PUNCH := TO_CHAR((TO_NUMBER(SUBSTR(A_TIME_PUNCH,1,2))+24)) || ':' || SUBSTR(A_TIME_PUNCH,4,2);
UPDATE attendance_day
SET out_time = a_time_punch,
punch_str = punch_str || ' , -' || a_time_punch,
work_hour = (ddf_time_in_mm(a_time_punch) - ddf_time_in_mm(in_time))
WHERE attd_date = a_prv_date
AND emp_code = AS_EMP_CODE;
ELSE
INSERT INTO attendance_day(attd_date,emp_code,in_time,shift,day_no,chg_date,chg_user,chg_term,punch_str,lunch_time)
VALUES (AS_DATE_PUNCH,AS_EMP_CODE,a_time_punch,a_work_shift,TO_CHAR(AS_DATE_PUNCH,'D'),SYSDATE,USER,USERENV('terminal'),'-'|| AS_TIME_PUNCH,a_lunch_time);
END IF;
ELSE
INSERT INTO attendance_day(attd_date,emp_code,in_time,shift,day_no,chg_date,chg_user,chg_term,punch_str,lunch_time)
VALUES (AS_DATE_PUNCH,AS_EMP_CODE,a_time_punch,a_work_shift,TO_CHAR(AS_DATE_PUNCH,'D'),SYSDATE,USER,USERENV('terminal'),'-'|| AS_TIME_PUNCH,a_lunch_time);
END IF;
END IF;
END;
You might be better off just storing the punch data into attendancemaster table (allowing browsing, changes, confirmations, ...) and using sql to update attendance_day table in one shot just before the table is needed for further processing
Regards
Etbin -
I just received my iPod nano yesterday. For the most part it is a wonderful device. But.... it certainly is not durable. Scratches have appeared all over it with very little use. Unfortunately I purchased a black one. Scratches most likely don't show up as bad on the white one. It really is disappointing to see this. At the very least Apple could have included an inexpensive cloth case with it. They could have helped alleviate this problem by making the nano with a matte finish too. All this and the iPod still has no cross fade function. I guess I must be the only person who likes his Pink Floyd flawless. None the less it is a cool little device. I've got to tip my hat to Apple on most of its functionality (baring the cross fade issue.) Now I hope they work on the durability issues. Hey at least it sounds great!
The PSP is exactly the same.
When you use the provided soft cleaning cloth, it looks lovely in room conditions, natural daylight, etc. However, tilt the PSP under some harsh unnatural light (room spotlights for example) and you'll see "spiderweb" scratches on the black areas around the buttons, etc.
My PSP has ALWAYS had a screen protector on, but the black areas around the buttons are extremely prone to scratching when cleaned. It's not through neglect, but through cleaning.
These surfaces, sadly, are prone to scratching even when the intent in to care for the device. -
Hi Experts,
How do you close an opened AP Credit Memo and Goods Return transaction?
Also, how do you close an opened and originally made (did not use Copy from) Goods Receipt PO transaction in which items have already been issued? I want to close this Goods Receipt PO transaction because an AP Invoice has been made already with a different Goods Receipt PO No.Hi........
I checked your scenario personally...........
I punched GRPO and then issued material and now Stock is Zero still my GRPO is Open.
Now I closed it by Super User's ID and it allowed me to close. So try to close it with manager's Id......
Regards,
Rahul -
Hi Gurus,
We are on SAP Business One version 9 PL03 and we maintain an after-sales MS Access SAP add-on where users input the details of a damaged/faulty after-sales item(s) (under warranty) which the customer(s) has brought back for repair. The user punches a Goods Receipt to receive the item(s) for repair which upon repair, a job card is opened, the item repaired and the job card number punched in a Goods Issue as the item(s) is returned to the customer(s).
The problem we are now facing is that some of the items that have been repaired and returned to the customers keep on appearing in the after-sales alerts with the job status reading as 'CANCELED'. Please help.Hi philg and welcome to the blackberry forums
How do i set a tone as an alert for incoming emails?
You need to press menu (the blackberry logo key), go to profiles, scroll down to advanced, normal or which one is active, and you can change the sounds for each applicaton.
How do i stop carbon copy emails being sent to me?
Is a gmail account?, check this link
http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB10332&sliceId=SAL_Pub...
If I help you with any inquire, thank you for click kudos in my post.
If your issue has been solved, please mark the post was solved. -
play counts disappearing
It is not a cross fade issue. The cross fade issue is if you are listening to a song through your iTunes library and at the end of the song the play count doesn't update. The issue that we have is randomly play counts are being deleted. Looks like for the most part its songs purchased through the iTunes store. On a positive note its been a couple weeks since any of my playcounts have been deleted.
Maybe Apple does listen?
Maybe you are looking for
-
Transport ot text elements translation
Hi, In SE63, I did translate some custom text elements of program SAPMP56T and able to save. But have no idea about how to transport these changes. While saving, I did not receive any prompt for transport request. I am working in SAP 4.6B and checked
-
1st gen Mac Pro graphics glitches and unresponsive
I'm not sure if this is related to a) Snow Leopard b) Safari 5 c) something else but after recent updates I get graphics glitches, such as in Safari, lines across the browser window, not on particular content, it might be pure HTML (the old kind) and
-
Workaround for iWeb publishing each & every single file ?
It's a real drag that iWeb publishes each and every single file to .mac every time I correct a comma somewhere. My site* is about 20 MBs, and I've been waiting for half an hour now to continue working with iWeb. But it's still uploading... uploading.
-
When i save my project (save successful) then quit Logic Pro -it crashes however if i quit from a blank create new session it quits fine any ideas?
-
I have contacted Adobe support, they proposed to delete the preferences, but did not work, then to have a new user and try it from there. With the new user I got the complete menu, but have no access to my catalog and photo database. Has anyone an id