Need to pass period start date as parameter to ProjectLOVVO in OTL module
Hi All,
I have a requirement of passing period start date as a parameter to ProjectLOVVO.
It will check against the project's base view PA_ONLINE_PROJECTS_V and allow to
display only those projects in the list where the project completion date and
resource assignment end date is greater than the period start date.
This VO is in Oracle Time and Labour Module. Navigation is SelfService Time> Create Timecard Screen.
The screen is based on AK Developer.
I have tried to followed the steps as per the document hxcconfiguiwp.pdf during the development work.
Steps are mentioned below. It is still not working.
Please go through the steps and if you have worked in this module please provide your valuable
suggestion as soon as possible.
Steps:
1. Modified the customizable view PA_ONLINE_PROJECTS_V to
keep the assignment end date in the select query.
2. Created Custom VO- XXProjectLOVVO using JDeveloper same as ProjectLOVVO
It's SQL Query is -
SELECT project_number projectnumber,
project_name projectname,
project_details projectdetails,
project_id projectid,
start_date,
completion_date,
carrying_out_organization_id
FROM pa_online_projects_v
WHERE TRUNC(completion_date) >= TRUNC(FND_DATE.CANONICAL_TO_DATE(:1))
AND TRUNC(assignment_end_date) >= TRUNC(FND_DATE.CANONICAL_TO_DATE(:2))
3. Placed the class files (XXProjectLOVVO.xml and XXProjectLOVVOImpl.class) in Custom Directory in server.
In location- apps_st/comn/java/classes/custom/oracle/apps/xxhxc/selfservice/timecard/server
4. Attached the Custom VO to standard AM- TimecardAM in location-oracle.apps.hxc.selfservice.timecard.server.TimecardAM
and in LovAM location-oracle.apps.hxc.selfservice.configui.server.LovAM
5. In AK Developer module created LOV Attributes 'XX_HXC_CUI_PROJECT_CO_ORG_ID', 'XX_HXC_CUI_PROJECT_END_DATE',
'XX_HXC_CUI_PROJECT_ID','XX_HXC_CUI_PROJECT_NAME',
'XX_HXC_CUI_PROJECT_NUMBER', 'XX_HXC_CUI_PROJECT_START_DATE'
and created a LOV region 'XX_HXC_CUI_PROJECT_LOV attached to Database Object 'ICX_PROMPTS' in the Object
and in Region items added all the above attributes.
Added LovAM location in place of AM and LovCO lication in place of CO.
6. Migrated the LOV with the below code
begin
hxc_lov_migration.migrate_lov_region
(p_region_code => 'XX_HXC_CUI_PROJECT_LOV'
,p_region_app_short_name => 'HXC'
,p_force => 'Y'
commit;
end;
7. Copied hxczzhxclayt0019.ldt LDT file from server. Renamed it to xhxczzhxclayt0019.ldt
modified the Layout section for ProjectLOV
BEGIN HXC_LAYOUT_COMPONENTS "Custom Projects Timecard Layout - Project"
OWNER = "CUSTOM"
COMPONENT_VALUE = "PROJECT"
REGION_CODE = "HXC_CUI_TIMECARD"
REGION_CODE_APP_SHORT_NAME = "HXC"
ATTRIBUTE_CODE = "HXC_TIMECARD_PROJECT"
ATTRIBUTE_CODE_APP_SHORT_NAME = "HXC"
SEQUENCE = "210"
COMPONENT_DEFINITION = "LOV"
RENDER_TYPE = "WEB"
PARENT_COMPONENT =
"Projects Timecard Layout - Day Scope Building blocks for worker timecard matrix"
LAST_UPDATE_DATE = "2010/11/10"
BEGIN HXC_LAYOUT_COMP_QUALIFIERS "Custom Projects Timecard Layout - Project"
OWNER = "CUSTOM"
QUALIFIER_ATTRIBUTE_CATEGORY = "LOV"
QUALIFIER_ATTRIBUTE1 = "XXProjectLOVVO"
QUALIFIER_ATTRIBUTE2 = "N"
QUALIFIER_ATTRIBUTE3 = "XX_HXC_CUI_PROJECT_LOV"
QUALIFIER_ATTRIBUTE4 = "809"
QUALIFIER_ATTRIBUTE5 = "12"
QUALIFIER_ATTRIBUTE6 =
"XxHxcCuiProjectNumber|PROJECT-DISPLAY|CRITERIA|N|XxHxcCuiProjectId|PROJECT|RESULT|N|XxHxcCuiProjectNumber|PROJECT-DISPLAY|RESULT|N"
QUALIFIER_ATTRIBUTE8 = "ProjectNumber"
QUALIFIER_ATTRIBUTE9 = "ProjectId#NUMBER"
QUALIFIER_ATTRIBUTE10 =
"custom.oracle.apps.xxhxc.selfservice.timecard.server.XXProjectLOVVO"
QUALIFIER_ATTRIBUTE11 = "TIMECARD_BIND_START_DATE|TIMECARD_BIND_START_DATE"
QUALIFIER_ATTRIBUTE17 = "OraTableCellText"
QUALIFIER_ATTRIBUTE20 = "N"
QUALIFIER_ATTRIBUTE21 = "Y"
QUALIFIER_ATTRIBUTE22 = "L"
QUALIFIER_ATTRIBUTE25 = "FLEX"
QUALIFIER_ATTRIBUTE26 = "PROJECTS"
QUALIFIER_ATTRIBUTE27 = "Attribute1"
QUALIFIER_ATTRIBUTE28 = "PROJECT"
LAST_UPDATE_DATE = "2010/11/10"
END HXC_LAYOUT_COMP_QUALIFIERS
END HXC_LAYOUT_COMPONENTS
8. Used FNDLOAD command to upload the ldt
FNDLOAD apps/apps@instance 0 Y UPLOAD /ad01/app/o2cdev/apps/apps_st/appl/hxc/12.0.0/patch/115/import/hxclaytlayoutsld.lct ./xhxczzhxclayt0019.ldt
9. Bounch Apache
10. Checked in below database table to check weather layout records are getting update or not and found records existing:
In table hxc_layout_COMPONENTS where region_code = 'HXC_CUI_TIMECARD' and component_value = 'PROJECT' and SEQUENCE = 210
and COMPONENT_NAME = 'Custom Projects Timecard Layout - Project'
In table hxc_layout_comp_qualifiers where layout_component_id is as in layout component table.
11. Checked that the XXProjectLOV is attached in the TimecardAM and LovAM. It is visible there but while quering for the project list its picking up all the projects irrelavant of start date parameter value .
As if its picking up all the records from seeded LOv- ProjectLOV not custom LOV.
Regards,
K Bosu
Hi
this steps is wrong
4. Attached the Custom VO to standard AM- TimecardAM in location-oracle.apps.hxc.selfservice.timecard.server.TimecardAM
and in LovAM location-oracle.apps.hxc.selfservice.configui.server.LovAMU cant add extended VO direct to standard AM .
VO extension requires .jpx import ,that u have to do ,rest will be take care by this import itself and no need to modify standard AM .
Please check the steps for VO extension in http://oracle.anilpassi.com/extend-vo-in-oa-framwork-2.html
thanks
Pratap
Similar Messages
-
Making Period Start Date read-only on Appraisal page
Hi,
I have a requirement to default Appraisal Period Start Date and Period End Date and make these fields non-editable. I am able to default the values for these fields by extending CO. When I make these fields read-only and performs any operation on page, getting error
+'You must enter a value for Period Start Date as criteria for the List Of Values.'+
Please suggest a solution to resolve this error.
Thanks.
Edited by: user12037955 on May 12, 2011 9:26 PMpublic void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
java.util.Date dateValue1 = null;
java.util.Date dateValue2 = null;
java.util.Date date = null;
OAApplicationModule oaapplicationmodule = pageContext.getApplicationModule(webBean);
OAMessageDateFieldBean bean1=(OAMessageDateFieldBean)webBean.findIndexedChildRecursive("StartDate");
OAMessageDateFieldBean bean2=(OAMessageDateFieldBean)webBean.findIndexedChildRecursive("EndDate");
String startDate=bean1.getText(pageContext);
String endDate=bean2.getText(pageContext);
String strDate1=null;
String strDate2=null;
if((startDate==null||startDate.equals(""))&& (endDate==null||endDate.equals("")))
date=pageContext.getCurrentDBDate();
SimpleDateFormat simpledateformat = new SimpleDateFormat("yyyy-MM-dd");
String dateValue=simpledateformat.format(date);
String year=dateValue.substring(0,4);
try
String sqlStatement = "";
CallableStatement cs = null;
// OAApplicationModule oaapplicationmodule = pageContext.getApplicationModule(webBean);
OADBTransactionImpl txn = (OADBTransactionImpl)oaapplicationmodule.getOADBTransaction();
cs = txn.createCallableStatement(" ",1);
sqlStatement = "SELECT to_char(to_date(ffv.attribute1,'RRRR/MM/DD HH24:MI:SS'),'DD-MON-YYYY') attribute1, " +
" to_char(to_date(ffv.attribute2,'RRRR/MM/DD HH24:MI:SS'),'DD-MON-YYYY') attribute2 " +
" FROM apps.fnd_flex_value_sets ffvs,apps.fnd_flex_values ffv " +
" WHERE ffv.flex_value_set_id = ffvs.flex_value_set_id " +
" AND ffvs.flex_value_set_name = 'XXX_PMP_Fiscal_Date_VS' " +
" AND (SYSDATE BETWEEN NVL(ffv.start_date_active,SYSDATE) AND NVL(ffv.end_date_active,SYSDATE)) " +
" AND flex_value= " + year +
" AND ffv.enabled_flag = 'Y' ";
ResultSet rset = cs.executeQuery(sqlStatement);
if (rset.next())
strDate1 = rset.getString(1);
strDate2= rset.getString(2);
catch(Exception e)
throw new OAException("Error:" + e.toString(), OAException.ERROR ) ;
SimpleDateFormat convertFormat = new SimpleDateFormat("dd-MMM-yyyy");
if(strDate1!= null || strDate2!=null)
try
dateValue1 = convertFormat.parse(strDate1.toString());
dateValue2 = convertFormat.parse(strDate2.toString());
catch(Exception exception)
bean1.setValue(pageContext,dateValue1);
bean2.setValue(pageContext,dateValue2);
bean1.setReadOnly(true);
bean2.setReadOnly(true);
} -
Need to change to starting dates of employees
Hi All,
I need to change the starting dates of two employees from apr-2012 to apr 2008, now if i end date the employee, how can i change the dates
Regards,
SajidIf I understand your goal, you may change the latest start date. You must be in the earliest person record to do this, but you can enter a new date in that field and save. It will change the accompanying assignment and salary records. However, if you do this any data on the records will have to exist as of the earlier start date. Work structures, for example, have to be dated early enough to accomodate this. If you are using Benefits and life events they will have to be reprocessed. There may be other things connected to the person record and hire date that have to be considered before doing this.
-
Passing the xml data as parameter to procedure
i have table like this
CREATE TABLE employeeDetails
EmpName VARCHAR2(50),
EmpSal INTEGER,
DeptNo INTEGER,
JoinDate DATE
i am getting the i/p data in xml format to extract data i saw the code in net.http://riteshk.blogspot.com/2008/09/sending-xml-string-as-input-parameter.html
CREATE OR REPLACE PROCEDURE Insert_Employee_Data (ip_emp_details IN XMLTYPE)
IS
BEGIN
FOR i IN
(SELECT XMLTYPE.EXTRACT (VALUE (a),
'/Root/EmpName/text()').getstringval
() AS ipempname,
XMLTYPE.EXTRACT (VALUE (a), '/Root/EmpSal/text()').getstringval
() AS ipempsal,
XMLTYPE.EXTRACT (VALUE (a), '/Root/DeptNo/text()').getstringval
() AS ipdeptno,
XMLTYPE.EXTRACT (VALUE (a),
'/Root/JoinDate/text()'
).getstringval () AS ipjoindate
FROM TABLE (XMLSEQUENCE (ip_emp_details.EXTRACT ('/EmployeeData/Root')
) a)
LOOP
INSERT INTO EMPLOYEEDETAILS
(empname, empsal, deptno, joindate
VALUES (i.ipempname, i.ipempsal, i.ipdeptno, i.ipjoindate
END LOOP;
END Insert_Employee_Data;
i want to test the procedure in database itself.
how to call the procedure in database to test that procedure by passing sample data.how to pass paratmeters while cakking that procedure in database itself to test that the procedure is working or not
/Thats the way you would test it:
SQL> create table employeedetails
empname varchar2 (50),
empsal integer,
deptno integer,
joindate date
Table created.
SQL> create or replace procedure insert_employee_data (ip_emp_details in xmltype)
is
begin
for i
in (select xmltype.extract (value (a),
'Root/EmpName/text()').getstringval ()
as ipempname,
xmltype.extract (value (a),
'Root/EmpSal/text()').getnumberval ()
as ipempsal,
xmltype.extract (value (a),
'Root/DeptNo/text()').getnumberval ()
as ipdeptno,
xmltype.extract (value (a),
'Root/JoinDate/text()').getstringval ()
as ipjoindate
from table(xmlsequence (
ip_emp_details.extract ('/EmployeeData/Root')
)) a)
loop
insert into employeedetails (empname,
empsal,
deptno,
joindate)
values (i.ipempname,
i.ipempsal,
i.ipdeptno,
to_date (i.ipjoindate, 'dd-mon-rrrr', 'nls_date_language=english'));
end loop;
end insert_employee_data;
Procedure created.
SQL> begin
insert_employee_data(xmltype('<?xml version=''1.0'' encoding=''utf-8'' ?>
<EmployeeData>
<Root>
<EmpName>Ritesh</EmpName>
<EmpSal>10000</EmpSal>
<DeptNo>1010</DeptNo>
<JoinDate>03-Apr-2006</JoinDate>
</Root>
<Root>
<EmpName>Rajiv</EmpName>
<EmpSal>20000</EmpSal>
<DeptNo>2020</DeptNo>
<JoinDate>05-May-2007</JoinDate>
</Root>
</EmployeeData>'));
end;
PL/SQL procedure successfully completed.
SQL> select * from employeedetails
EMPNAME EMPSAL DEPTNO JOINDATE
Ritesh 10000 1010 03.04.06
Rajiv 20000 2020 05.05.07
2 rows selected.Much better and more efficient is of course to completly avoid the loop and just use:
insert into employeedetails
select xmltype.extract (value (a),
'Root/EmpName/text()').getstringval ()
as ipempname,
xmltype.extract (value (a), 'Root/EmpSal/text()').getnumberval ()
as ipempsal,
xmltype.extract (value (a), 'Root/DeptNo/text()').getnumberval ()
as ipdeptno,
to_date (
xmltype.extract (value (a),
'Root/JoinDate/text()').getstringval (),
'dd-mon-rrrr',
'nls_date_language=english'
as ipjoindate
from table (
xmlsequence (ip_emp_details.extract ('/EmployeeData/Root'))
) a;
.... -
Need to pass field value as input parameter for a task
I have the following scenario:
User opens a task from UWL and sees a UI in which a Quote no. is generated, which is saved in the backend. Next time the user comes to this UI(from the same task in his UWL) he should see the Quote no. generated. Also, the data is fetched from backend by calling BAPI which takes the Quote no. as input, which was generated the first time user visited this UI.
My concern is how can I store this Quote no. in GP, which was generated the first time, so that user sees the data specific to quote no., as relevant for that task.
Please help.
Thanks and Regards
AanchalHi Srinivasan,
Thanks for ur quick response.
I am explaining my issue further.
User comes to this UI (first time), Quote no. is generated. User fills some other fields( but does not complete whatever he has to) and saves the data to backend. Now user closes the window (task remains in his UWL), but now when he opens the task, he should see the Quote no. which was generated earlier and also data which he saved(by calling BAPI). How can I get this quote no.?
Can you please explain what you mean by "expose the quote no. at process level"?
Thanks and Regards
Aanchal -
CRM-ISU: Need to change the END date and Start Date for contract items
Hi,
There is an old contract item for which I need to change the end date
and there is a new contract item for which I need to change the start date.
I need to change the contract item end date and start date using some function module in IS-U system (may be as RFC to CRM).Pleaselet me know if any body is ware of this functionality?
I am aware of a FM EECRM_CONTRACT_DATE_CHANGE which may be used for changing End Date
but how to change the start date of a new contract item?
Please let me know if any body is aware of this?
ThanksHi,
Hope you can solve it by this [Link1|Re: Function modules; [link2|CRM material;.
Regards,
Surjith -
Hi all,
I have a mapping which i need to pass in 2 DATE parameters, i try in OWB with TO_DATE('1-Jan-1990') and TO_DATE('1-Jan-2010') and i get result as my expected. But when i try to run the mapping sqlplus with following statement, I get difference kind of error (when i keep change method to pass in date)
SQLPLUS <user>/<Password>@ODSDEV @SQLPLUS_EXEC_TEMPLATE.SQL OWB10R2REP_ODS UBD2STAGE_LOC PLSQL MAP_CE_USER "," "F_DATE=TO_DATE(''1-JAN-1990''),T_DATE=TO_DATE(''1-JAN-2010'')"
please help!
ekHi
I had try with the format you advice and i get following error:
Error RPE-01003: An infrastructure condition prevented the request from completing.
Error RPE-01038: Failed to evaluate expression declare l_expression DATE := '2010.01.01';begin :result := wb_rt_conversions.from_date(l_expression);end;. Please modify the expression, redeploy and retry again.
Error ORA-01861: literal does not match format string ORA-06512: at line 1
I try to change the date the statement to
sqlplus <User>/<password>@odsdev @SQLPLUS_EXEC_TEMPLATE.SQL OWB10R2REP_ODS UBD2STAGE_LOC PLSQL MAP_CE_USER "," "F_DATE=''1990.01.01'',T_DATE=''2010.01.01''"
and
sqlplus <User>/<password>@odsdev @SQLPLUS_EXEC_TEMPLATE.SQL OWB10R2REP_ODS UBD2STAGE_LOC PLSQL MAP_CE_USER "," "F_DATE=1990.01.01,T_DATE=2010.01.01"
but still not able to run the mapping successful. please help!!
EK -
How to determine current period start and end dates
Hi All,
If given previous period start date and end date, how to determine current period start date and end date?
Suppose if given previous period start and end dates are 12/28/08 - 01/30/09, then current period start date and end date will be 01/30/09 - 02/27/09. (where 12 is the previous period, 28 is the day, 08 is the year......)
Can you please suggest an FM to determine the current period dates?
Thanks & Regards
Gowthami>
gowthami karunya wrote:
> If given previous period start date and end date, how to determine current period start date and end date?
> Suppose if given previous period start and end dates are 12/28/08 - 01/30/09, then current period start date and end date will be 01/30/09 - 02/27/09. (where 12 is the previous period, 28 is the day, 08 is the year......)
Hello,
I am assuming you have the Company Code with you & proposing this solution.
TABLES: bkpf.
PARAMETERS:
p_bukrs TYPE bukrs.
SELECT-OPTIONS:
s_date FOR bkpf-budat.
DATA :
l_perio LIKE bkpf-monat,
l_poper TYPE poper,
l_year LIKE bkpf-gjahr,
l_spmon TYPE spmon,
l_periv TYPE periv,
l_date1 TYPE datum,
l_date2 TYPE datum.
CALL FUNCTION 'BAPI_COMPANYCODE_GET_PERIOD'
EXPORTING
companycodeid = p_bukrs
posting_date = s_date-high
IMPORTING
fiscal_year = l_year
fiscal_period = l_perio.
CONCATENATE l_year l_perio INTO l_spmon.
* Get the next period
IF l_perio < 12.
l_perio = l_perio + 1.
ELSE.
l_perio = '01'.
l_year = l_year + 1.
ENDIF.
MOVE l_perio TO l_poper.
SELECT SINGLE periv INTO l_periv
FROM t001
WHERE bukrs = p_bukrs.
IF sy-subrc = 0.
CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
EXPORTING
i_gjahr = l_year
i_periv = l_periv
i_poper = l_poper
IMPORTING
e_date = l_date1
EXCEPTIONS
input_false = 1
t009_notfound = 2
t009b_notfound = 3
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET'
EXPORTING
i_gjahr = l_year
i_periv = l_periv
i_poper = l_poper
IMPORTING
e_date = l_date2
EXCEPTIONS
input_false = 1
t009_notfound = 2
t009b_notfound = 3
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
WRITE: / l_date1, l_date2.
ENDIF. -
Passing multiple values to a parameter in report
Can anyone help me how to pass multiple parameters to a parameter in my report.
As user is able to select multiple values from list of values , can I pass the selected values to calling function.
Suppose if User selects Value1,Value2,Value3 from list of values of a parameter P_Org,
I need to pass all these values to parameter P_Org in my Before Trigger Function in Discoverer reproting tool.
Thanks in advanceI have a Before trigger Function to which the parameters will be passed.
Suppose if User selects multiple values for a parameter then how to pass these multiple Values to that parameter?
eg:In first Workbook Before Trigger is fired and the paramters for the trigger are
'par1','par2','par3' etc.
If User selects multiple values for a parameter 'par1' from the list of values displayed then how to pass all these values to 'par1' in Function?
After firing the trigger rows are inserted in a temp_table .My second Workbook will
fetch the rows inserted in this Temp Table.
I hope u understood what my requirement is...
Thanks in advance -
Function Module for getting Payroll start date and end date
Hi Gurus,
If I give one date then is there any function module to find the payroll period start date and enddate for that given date?
Points will be awarded
Thanks
RaviHi,
Try these FMs
HR_PAYROLL_PERIODS_GET
HR_BEN_PAY_GET_PAYROLL_PERIODS
HR_PAYROLL_PERIOD_GET
HR_P06I_GET_PAYROLL_PERIOD
Regards,
PRashant -
Hi experts,
we use the SAP Business Content Standard DataSource 2LIS_04_P_ARBPL "Work Center View PP" and need the latest scheduled start date each production order operation.
In the production order operation overview (t/code CO03) on the ERP-side we have the expected latest scheduled start (Source AFVGD-SSAVD)
But in the DataSource 2LIS_04_P_ARBPL (PSA-Table) we become the incorrect latest scheduled start dates (DataSource field SSAVD)
Any ideas or experiences why the latest scheduled start date not up-to-date?
Many thanks and best regards,
MichaelHi,
I have tested the scenario again...
At the header level of test production order 1000381 I have changed the basic dates (Start/End) from 22.04.2014 to 24.04.2014.
As a result the start dates at operation level also changed...
After the above changes I have extracted the Data. The Delta-Queue (RSA7) for the relevant DataSource 2LIS_04_P_ARBPL looks nearly good.
For the both operations 20 and 30 the delta update for the field "Latest start date" (SSAV) works correct. But the delta update for the first operation "10" not processed.
Is it possible that the delta update only works for specific system status? Or any other ideas?
Many thanks and best regards,
Michael -
How to Update employee Effective Start Date
Guys
i am getting error while making terminate of an employee the error is being occurred as "the Person Must Exist as an Employee at the Time Specified by date start". after lot of finding, Ii came to know that the problem is being occur due to mismatch effective start date & original date of hire. so i need to update effective start date instead of Date Start(Hire date).Can you tell any one, Which api need to use update for this issue,
Kindly help me.There is no API to update effective Start Date column.
Your case falls into the type of data corruption in application tables. You either need to correct the data by yourself or take the help of Oracle support to correct the person data.
If you decide to correct the data without taking help from Oracle support, you can always take help of these forums in doing the same. we will be more than happy to help you. :) -
How to pass scheduled ship date from istore
we need to set request date as sysdate and instead of request date,we need to pass scheduled ship date from iStore.
Is there is any solution for these requirement.Hello Rahuljith,
The request date can be entered by the user in the iStore UI and the schedule ship date can be populated by -
Using the OM Defaulting rules, set the profile option "ASO: OM Defaulting" to yes and setup the OM Defaulting rule for the Schedule Ship Date.
Or setup Quoting User Hooks (Doc ID:373923.1) to populate the schedule_ship_date in OE_ORDER_LINES_ALL at place order ( ie use Submit_Quote_POST).
Regards,
Debbie -
Start Date of Week from Week Number
Hi
i need to get the start date of the week based on the week number e.g the start date of week
1 in 2008 would be 01 Jan and start date for week 2 would be 06 Jan and week 3 would be 13 Jan etc
Any advice would be great
Thanks
DavidCheckout the java.util.Calendar API and its get/set/add methods.
An alternative is the great Joda Time API at sourceforge. -
I have SSRS parametarized report in that one data set have repeated values with query parameter . but while am mapping that query
parameter to report parameter i need to pass distinct values. How can i resolve thisHi nancharaiah,
If I understand correctly, you want to pass distinct values to report parameter. In Reporting Service, there are only three methods for parameter's Available Values:
None
Specify values
Get values from a query
If we utilize the third option that get values from a dataset query, then the all available values are from the returns of the dataset. So if we want to pass distinct values from a dataset, we need to make the dataset returns distinct values. The following
sample is for your reference:
Select distinct field_name from table_name
If you have any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support
Maybe you are looking for
-
Dear all, I am trying to build a JTable with the below class. If I extend AbstractTableModel my code is working fine but with DefaultTableModel I get the exception: "Exception caught in ...: null". Why do I get null exception in this code? I can't cr
-
Strange Behavior of program while using BAPI_PO_CREATE1
Hello SAP GURUs, I've created an Upload Program using BAPI_PO_CREATE1 for Mass Service PO Creation. When I execute the program and Specify the File for uploading, It Gives me errors as E BAPI 1 No instance of object type PurchaseOrder has
-
Can someone show me how to use Active X - Save As function? I want to save it in Microsoft Excel 97- Excel 2003 & 5.0/95 Workbook (*.xls) thanks in advance! Best regards, Krispiekream Solved! Go to Solution.
-
Deprecated Methods and NoClassDefFoundError
Hi, I wonder if using deprecated methods in a Java program could cause java.lang.NoClassDefFoundError? I have a Java program with a few deprecated methods. The program worked well when I last ran it about half a year ago. But it shows java.lang.NoCla
-
For the past week or so I see a flag on the App Store icon signifying available updates. When I tap the App Store icon and then tap the Updates icon at the bottom (which also displays a number for updates), I get a blank screen. The progress (circl