As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I am trying to produce a report that shows a person's clocking events for a week.The report shows clock 'in' and 'out' event across each date for that week. then daily & weekly total is calculated.
e.g. 16/11/2010 17/11/2010 weekly SAP_ID NAME IN OUT Tot IN OUT Tot Tot 80000 Mike 7:00 12:00 5.00 18.00 7:00 13:00 Philips
In the example, there is a night shift happened on 17/11/2010. The person clocked in at 18:00 on 17th and clocked out ot 7:00 am on 18/11/2010.
In the report,the out time is appearing in 17/11/2010 's Out column that ideally should appear in 18/11/2010's out column.
The requirement is to either show the out time in correct date's column, or the same out time that is being shown on 17th should be copied to the Out time field for 18/11/2010 column.
We are not able to achieve that as we have placed the In & out time in the report painter to show the times across the dates.
Please could anyone of you let me know how to achieve this requirement.
Can it be handled via the webfocus program or any database change needs to be done.
Any quick help will be highly appreciated.
Thanks, MouThis message has been edited. Last edited by: Kerry,
Webfocus Release -Webfocus 7.6.5 OS/Platform - Windows XP Expected Output formats - HTML,EXCEL,PDF etc
DAYNAME1 /A10 MISSING ON = IF DAY_NO EQ '1' THEN 'Sunday' ELSE IF DAY_NO EQ '2' THEN 'Monday' ELSE IF DAY_NO EQ '3' THEN 'Tuesday' ELSE IF DAY_NO EQ '4' THEN 'Wednesday' ELSE IF DAY_NO EQ '5' THEN 'Thursday' ELSE IF DAY_NO EQ '6' THEN 'Friday' ELSE IF DAY_NO EQ '7' THEN 'Saturday' ELSE 'X';
SITE_NAME/A15 = IF SITE EQ 'P' THEN 'Port Talbot' ELSE IF SITE EQ 'L' THEN 'Llanwern' ELSE SITE_NAME; DATE_NUM /DMYY = DATE_NO;
IN_TRANSDATE/YYMD = TRANSDATE; OUT_TRANSDATE/YYMD = TRANSDATE2; END
TABLE FILE TEST_NIGHT PRINT 'TEST_NIGHT.TEST_NIGHT.START_TIME' 'TEST_NIGHT.TEST_NIGHT.END1' 'TEST_NIGHT.TEST_NIGHT.CLKED_HRS' BY 'TEST_NIGHT.TEST_NIGHT.SITE_NAME' BY 'TEST_NIGHT.TEST_NIGHT.WEEK_NO' BY 'TEST_NIGHT.TEST_NIGHT.CONTRACTOR_COMPANY' BY 'TEST_NIGHT.TEST_NIGHT.SAP_ID' BY 'TEST_NIGHT.TEST_NIGHT.CONTRACTOR_NAME' BY 'TEST_NIGHT.TEST_NIGHT.TRADE' BY 'TEST_NIGHT.TEST_NIGHT.CLK_STN_FINAL' BY 'TEST_NIGHT.TEST_NIGHT.CLK_STN_FINAL1' BY 'TEST_NIGHT.TEST_NIGHT.DATE_NUM' BY 'TEST_NIGHT.TEST_NIGHT.DAY_NO' BY 'TEST_NIGHT.TEST_NIGHT.DAYNAME1' WHERE IN_TRANSDATE GE '20101107' WHERE OUT_TRANSDATE LE '20101114' -*WHERE SAP_ID EQ '80020924' ON TABLE NOTOTAL ON TABLE HOLD AS TEST_NIGHT_TAB FORMAT FOCUS END
I can see lots here that I'd change but it is very complicated without data to work with.
If yo are happy to send me a subset of data (you can leave out the names) that has the night shift scenario and and complete copy of your FEX I'd be happy to have a go at producing the result you want. It can be a flat file, a CSV file, an ACCESS mdb or a FOC file. Makes no difference.
My direct email is gpotter@opalibusiness.com.au.
I love a reporting challenge!
Posts: 140 | Location: Adelaide South Australia | Registered: October 27, 2006
My first observation is that there are not separate dates associated with the start and end times of each shift so it not surprising that you get the result you see.
Posts: 140 | Location: Adelaide South Australia | Registered: October 27, 2006
I also understand that the having no separate dates is causing this problem. I am in the process of getting a quick confirmation from the business regarding sending a subset of data .If approved, will send you the same to your mail id.
Thanks once again.
Thanks, Mou
Webfocus Release -Webfocus 7.6.5 OS/Platform - Windows XP Expected Output formats - HTML,EXCEL,PDF etc