Need help on displaying the callers name on ip phone with cme using external directory
Hello Guys,
Need help on displaying the callers name on ip phone with cme while using external directory
Thank you,
Khaja
Thanks for your help,
Does it 100% work with CME. We use SIP and 2ring for external directory? Thanks you.
Similar Messages
-
How to display the device name during file sending with Bluetooth
I get this Message:
File Receive Conformation
Do you want to receive a file from 00:13:70:69:95:84?
My Question is how can it display the device name not the device address?
Message was edited by: hazzaaThe same situation when I want to send photo from mobile phone to my notebook. I didnt find any option how to change it.
When I send photo from notebook to the mobile phone the notebook name (device name) is displayed. Try to check external device properties. Maybe you will find there way to change it. -
Need help on displaying the popular items.
Hi All,
I have a requirement to work on display the popular items Could you please help me how to full fill this requirement .
Thank you,
Regards,
JyothiHere is my requirement to show the "most purchase items" .How to full fill this requirement .
Hi,
I would do the below high level approach ideally.
1. Add a property to sku item - number of purchases
2. In the CommitOrderFormHandler, add the qty of each commerce item to the number of purchases property of the corresponding sku
3. When user visits a category page, query the repository to get the top N number of most purchased items based on this new property (use might need to sort the results using queryoptions, type of caching also need to be discussed here)
Alternatively or more commonly, you can still have a property at sku level to say most purchased items and you can set them using BCC projects based on your sales data or by running offline queries against you DB.
The approach might be much simpler if you create an Endeca cartridge for the same, in case if you have Endeca in your technical stack.
Hope this helps.
Keep posting your questions / updates.
Thanks,
Gopinath Ramasamy -
Need help on getting the column names of Tabletype
I have a table Mapping with the following values: This Mapping table contains the table names (in Tabname) and the column names(colname) of various tables and values(ValuesTobeFilled) for the columns.
I have to insert into the tables present in the Tabname field with the values present in the ValuesTobeFilled in the columns present in the Colname field.
Note: The Mapping table need not contain all the columns of the base table. The columns that are not present can be filled with null. And this mapping table is not fixed i.e. rows can be inserted/deleted frequently.
Sample values in mapping table:
Tabname Colname ValuesTobeFilled
sample_items Eno Corresponding Expression to get the values from XML input
sample_items Ename Corresponding Expression to get the values from XML input
XXX YYY Corresponding Expression to get the values from XML input
Before filling in the actual tables, I have to store the entire data temporarily and I have used a tabletype declared as follows:
TYPE T_sample_items IS TABLE OF sample_items%ROWTYPE INDEX BY BINARY_INTEGER;
l_sample_items T_sample_items;
Where the table sample_items have the following columns:
• Eno
• Ename
• Eaddress
• Eemail
So, the tabletype should be filled as:
Eno Ename Eaddress EEmail
1 XXX - -
I have declared a cursor to select the values from mapping table and I need to fill in the ValuesTobeFilled values to the corresponding table.
CURSOR c_xpath (c_tname mapping.TABNAME%type)
IS
select * from mapping where tabname = c_tname;
CURSOR c_tables
IS
SELECT DISTINCT TABNAME FROM mapping;
FOR crsr IN c_tables
LOOP
p_tname := CRSR.TABNAME;
FOR csr IN c_xpath(p_tname)
LOOP
IF l_xml_doc.EXISTSNODE(CSR.XPATH_EXP) = 1
THEN
l_node_value := l_xml_doc.extract(CSR.XPATH_EXP).getStringVal(); -- This is the value to be stored in the corresponding column
ELSE
l_node_value := NULL;
END IF;
IF CSR.COLUMN_NAME = ‘eno’
THEN
l_sample_items(1).eno := l_node_value;
ELSIF CSR.COLUMN_NAME = ‘ename’
THEN
l_sample_items(1).name := l_node_value;
END IF;
END LOOP;
END LOOP;
And I need to eliminate hard coding while comparing the column names (in the following piece of code) as the Mapping table values are subject to insertion/deletion:
IF CSR.COLUMN_NAME = ‘eno’
THEN
l_sample_items(1).eno := l_node_value;
ELSIF CSR.COLUMN_NAME = ‘ename’
THEN
l_sample_items(1).ename := l_node_value;
END IF;
I need to insert the values directly into the tabletype without this hardcoding. Please suggest me ways to compare the mapping table values with the field (column) names of the tabletype. If it is not possible using tabletype, please suggest any other ways of fixing the problem.
Many thanks,
GopiI take it this isn't going to be a serious production system at the end of the day?
Storing metadata in tables for extraction and insertion of data is just wrong in so many ways. It smells heavily of Entity Attribute Value modelling, which is the most wrong way to use a relational database and is known to have major performance implications and be liable to bugs and issues. The idea that EAV modelling allows for 'generic' databases where new data items can be added flexibly later on without having to change code is usually justified with an excuse of "it means we don't have to update all our tables when we want a new column" which is easily countered with "if you're adding a single column a good relational design wouldn't require you to add it to more than one table anyway in most cases".
Just what exactly are you trying to do and why? There has to be a better way. -
Need help in displaying the status in one query
Query:
SELECT START_DATE,END_DATE,ABSENCE_TYPE,APPROVAL_STATUS,SUM(ABSENCE_DAYS),absence_attendance_id FROM(
SELECT *
FROM (SELECT NVL (paa.date_start, paa.date_projected_start) start_date,
NVL (paa.date_end, paa.date_projected_end) end_date,
paattl.NAME absence_type,
(SELECT meaning
FROM hr_lookups
WHERE 'A' = lookup_code(+)
AND 'LEAVE_STATUS' = lookup_type(+)) approval_status,
NVL(paa.absence_days,
hr_absutil_ss.getabsdurdays
(paat.absence_attendance_type_id,
paa.business_group_id,
paa.creation_date,
paa.person_id,
paa.date_projected_start,
paa.date_projected_end,
paa.time_projected_start,
paa.time_projected_end
) absence_days,
paa.absence_attendance_id
FROM per_absence_attendances paa,
per_absence_attendance_types paat,
per_abs_attendance_types_tl paattl,
hr_lookups fcl
WHERE paa.person_id = 155253
AND paa.business_group_id = 112
AND paa.absence_attendance_type_id =
paat.absence_attendance_type_id
AND paat.absence_attendance_type_id =
paattl.absence_attendance_type_id
AND paattl.LANGUAGE = USERENV ('LANG')
AND fcl.lookup_type(+) = 'ABSENCE_CATEGORY'
AND paat.absence_category = fcl.lookup_code(+)
AND ( ( hr_api.return_legislation_code
(paat.business_group_id) =
'GB'
AND NVL (paat.absence_category, '#') NOT IN
('M', 'GB_PAT_ADO', 'GB_PAT_BIRTH', 'GB_ADO')
OR ( hr_api.return_legislation_code
(paat.business_group_id) <>
'GB'
AND NVL (paat.absence_category, '#') NOT IN
('GB_PAT_ADO', 'GB_PAT_BIRTH', 'GB_ADO')
AND NOT EXISTS (
SELECT 'e'
FROM hr_api_transactions t
WHERE t.selected_person_id = paa.person_id
AND t.creator_person_id = NVL (155253, t.creator_person_id)
AND t.transaction_ref_table = 'PER_ABSENCE_ATTENDANCES'
AND t.transaction_ref_id = paa.absence_attendance_id
AND NOT ( hr_absutil_ss.getabsencetype
(t.transaction_id,
NULL
) IS NULL
AND t.status = 'W'
AND t.status NOT IN ('D', 'E'))
UNION ALL
SELECT hr_absutil_ss.getstartdate (hat.transaction_id,
NULL
) start_date,
hr_absutil_ss.getenddate (hat.transaction_id, NULL) end_date,
hr_absutil_ss.getabsencetype
(hat.transaction_id,
NULL
) absence_type,
hr_absutil_ss.getapprovalstatus
(hat.transaction_id,
NULL
) approval_status,
hr_absutil_ss.getabsencedaysduration
(hat.transaction_id,
NULL
) absence_days,
hat.transaction_ref_id absence_attendance_id
FROM hr_api_transactions hat, hr_api_transaction_steps hats
WHERE hat.transaction_ref_table = 'PER_ABSENCE_ATTENDANCES'
AND hat.transaction_group = 'ABSENCE_MGMT'
AND hat.transaction_identifier = 'ABSENCES'
AND hat.transaction_ref_id IS NOT NULL
AND hat.selected_person_id = 155253
AND hat.creator_person_id = NVL (155253, hat.creator_person_id)
AND hat.transaction_id = hats.transaction_id(+)
AND hat.status NOT IN ('D', 'E')
AND NOT ( hr_absutil_ss.getabsencetype (hat.transaction_id,
NULL
) IS NULL
AND hat.status = 'W'
-- WHERE start_date = to_date(c_start_time) and end_date = to_date(c_stop_time)
where absence_type NOT IN ('Emergency Call Up Military','On/Off Ramp','Paternity Leave','Maternity Leave'
,'Medical Leave','Parental Leave','Personal Leave','Bereavement Leave'
,'Marriage Leave','Moving House Leave','Military Duty Leave','Paternity','Adoption Leave',
'Bereavement') ORDER BY start_date DESC )
WHERE approval_status IN ('Pending For Approval','Approved','Rejected')
GROUP BY START_DATE,END_DATE,ABSENCE_TYPE,APPROVAL_STATUS,absence_attendance_id;
Current Output:
Start_date End_date absence_type approval_status sum(absence_days) absence_attendance_id
8/12/2010 8/13/2010 Standard Vacation Approved 2 10006531
6/10/2011 6/10/2011 Standard Vacation Pending For Approval 1 10833750
Expected Output:
Start_date End_date absence_type approval_status sum(absence_days) absence_attendance_id
8/12/2010 8/13/2010 Standard Vacation Approved 2 10006531
6/10/2011 6/10/2011 Standard Vacation Submitted 1 10833750
I need to change the "Pending for Approval " status to "Submitted".I tried using DECODE but not working.Can anyone help?
Other Status will not be changing.
Thanks
Hibin/* Formatted on 6/24/2011 7:30:30 AM (QP5 v5.149.1003.31008) */
SELECT START_DATE,
END_DATE,
ABSENCE_TYPE,
DECODE (APPROVAL_STATUS,
'Submitted',
'Pending for Approval',
APPROVAL_STATUS)
APPROVAL_STATUS,
SUM (ABSENCE_DAYS),
absence_attendance_id
FROM ( SELECT *
FROM (SELECT NVL (paa.date_start, paa.date_projected_start)
start_date,
NVL (paa.date_end, paa.date_projected_end) end_date,
paattl.NAME absence_type,
(SELECT meaning
FROM hr_lookups
WHERE 'A' = lookup_code(+)
AND 'LEAVE_STATUS' = lookup_type(+))
approval_status,
NVL (paa.absence_days,
hr_absutil_ss.
getabsdurdays (paat.absence_attendance_type_id,
paa.business_group_id,
paa.creation_date,
paa.person_id,
paa.date_projected_start,
paa.date_projected_end,
paa.time_projected_start,
paa.time_projected_end))
absence_days,
paa.absence_attendance_id
FROM per_absence_attendances paa,
per_absence_attendance_types paat,
per_abs_attendance_types_tl paattl,
hr_lookups fcl
WHERE paa.person_id = 155253 AND paa.business_group_id = 112
AND paa.absence_attendance_type_id =
paat.absence_attendance_type_id
AND paat.absence_attendance_type_id =
paattl.absence_attendance_type_id
AND paattl.LANGUAGE = USERENV ('LANG')
AND fcl.lookup_type(+) = 'ABSENCE_CATEGORY'
AND paat.absence_category = fcl.lookup_code(+)
AND ( (hr_api.
return_legislation_code (
paat.business_group_id) = 'GB'
AND NVL (paat.absence_category, '#') NOT IN
('M',
'GB_PAT_ADO',
'GB_PAT_BIRTH',
'GB_ADO'))
OR (hr_api.
return_legislation_code (
paat.business_group_id) <> 'GB'
AND NVL (paat.absence_category, '#') NOT IN
('GB_PAT_ADO',
'GB_PAT_BIRTH',
'GB_ADO')))
AND NOT EXISTS
(SELECT 'e'
FROM hr_api_transactions t
WHERE t.selected_person_id =
paa.person_id
AND t.creator_person_id =
NVL (155253,
t.creator_person_id)
AND t.transaction_ref_table =
'PER_ABSENCE_ATTENDANCES'
AND t.transaction_ref_id =
paa.absence_attendance_id
AND NOT (hr_absutil_ss.
getabsencetype (
t.transaction_id,
NULL)
IS NULL
AND t.status = 'W')
AND t.status NOT IN ('D', 'E'))
UNION/**/ ALL
SELECT hr_absutil_ss.getstartdate (hat.transaction_id, NULL)
start_date,
hr_absutil_ss.getenddate (hat.transaction_id, NULL)
end_date,
hr_absutil_ss.
getabsencetype (hat.transaction_id, NULL)
absence_type,
hr_absutil_ss.
getapprovalstatus (hat.transaction_id, NULL)
approval_status,
hr_absutil_ss.
getabsencedaysduration (hat.transaction_id, NULL)
absence_days,
hat.transaction_ref_id absence_attendance_id
FROM hr_api_transactions hat, hr_api_transaction_steps hats
WHERE hat.transaction_ref_table = 'PER_ABSENCE_ATTENDANCES'
AND hat.transaction_group = 'ABSENCE_MGMT'
AND hat.transaction_identifier = 'ABSENCES'
AND hat.transaction_ref_id IS NOT NULL
AND hat.selected_person_id = 155253
AND hat.creator_person_id =
NVL (155253, hat.creator_person_id)
AND hat.transaction_id = hats.transaction_id(+)
AND hat.status NOT IN ('D', 'E')
AND NOT (hr_absutil_ss.
getabsencetype (hat.transaction_id, NULL)
IS NULL
AND hat.status = 'W'))
-- WHERE start_date = to_date(c_start_time) and end_date = to_date(c_stop_time)
WHERE absence_type NOT IN
('Emergency Call Up Military',
'On/Off Ramp',
'Paternity Leave',
'Maternity Leave',
'Medical Leave',
'Parental Leave',
'Personal Leave',
'Bereavement Leave',
'Marriage Leave',
'Moving House Leave',
'Military Duty Leave',
'Paternity',
'Adoption Leave',
'Bereavement')
ORDER BY start_date DESC)
WHERE approval_status IN ('Pending For Approval', 'Approved', 'Rejected')
GROUP BY START_DATE,
END_DATE,
ABSENCE_TYPE,
APPROVAL_STATUS,
absence_attendance_id; -
Needs help to retrive the last row in a select query without using rownum
Hi ,
i need to retrive the last row from the select sub query without using rownum.
is there any other way to retrive the last row other than the below query.
is that the ROWNUM=1 will always retrive the 1 row of the select query ?
select from*
*(select ename from employee where dept_id=5 order by desc) where rownum=1;*
Please advise.
thanks for your help advance,
regards,
Senthur957595 wrote:
Actually my problem is ithat while selecting the parents hiearchy of the child data using
CONNECT BY PRIOIR query
I need the immediate parent of my child data.
For example my connect BY query returns
AAA --- ROOT
BBB --PARENT -2
CCC --PARENT-1
DDD IS my input child to the connect by query
Immediate parent of my child data "DDD" ---> CCC(parent -1)
i want the data "CCC" from the select query,for that i am taking the last row of the query with rownum.
I got to hear that using ROWNUM to retrive the data will leads to some problem.It is a like a magic number.I am not sure what the problem will be.
So confusing with using this rownum in my query.
Please advice!!!It's not quite clear what you're wanting, but perhaps this may help?
you can select the PRIOR values to get the parent details if you want...
SQL> ed
Wrote file afiedt.buf
1 select empno, lpad(' ',(level-1)*2,' ')||ename as ename, prior empno as mgr
2 from emp
3 connect by mgr = prior empno
4* start with mgr is null
SQL> /
EMPNO ENAME MGR
7839 KING
7566 JONES 7839
7788 SCOTT 7566
7876 ADAMS 7788
7902 FORD 7566
7369 SMITH 7902
7698 BLAKE 7839
7499 ALLEN 7698
7521 WARD 7698
7654 MARTIN 7698
7844 TURNER 7698
7900 JAMES 7698
7782 CLARK 7839
7934 MILLER 7782
14 rows selected.(ok, not the best of examples as the mgr is already known for a row, but it demonstrates you can select prior data) -
Data Modeler How to display the "relationship name" vertically
Is there any way to display the relationship name vertically. In Designer, it used to be like that.
there is no such option.
Philip -
How to display the User Name in Transaction MM04's output
Hi Experts,
My requirement is that in the Transaction MM04's output, along with all the fields displayed, I also want the User Name to be displayed.
Here User Name must be the Person's Name and not the ID of the Person.
Is there a way by which I can achieve it?
Useful answers will definitely be rewarded.
Thanks in advance.
Regards,
HimanshuHi,
Thanks a lot for your quick replies.
But my requirement is to integrate the User Name Field with the MM04's output.
So, I need either an Exit or any other way by which I can display the User Name in the Standard Transaction MM04's output.
Regards,
Himanshu -
The View menu option to display the File Name is grayed out and thus I cannot display the file name.
Hi,
You need to go to View menu and check Details as well.
You may even have to make the thumbnails larger by using the zoom slider at the bottom
Good luck
Brian -
I Need Help to Access The Source Code From A Form to Know the Calculation Formula
Hi,
I Need Help to Access The Source Code From A Form to Know the Calculation Formula. The application is a windows form application that is linked to SQL Server 2008. In one of the application forms it generates an invoice and does some calculations. I just
need to know where behind that form is the code that's doing the calculations to generate the invoice, I just need to get into the formula that's doing these calculations.
Thank you so much.Hi,
Thanks for the reply. This is a view and [AmountDue] is supposed to be [CurrentDueAmount] + [PastDueAmount] - [PaidAmount]. The view is not calculating [PaidAmount] right . Below is the complete code of the view. Do you see anything wrong in the code ?
Thanks.
SELECT [isi].[InvoiceID], [ii].[DueDate], [SubInvoiceID] = [isi].[ID], [INV_FacilityID] = [if].[ID], [if].[FacilityID],
[iff].[FacilityFeeID], [LoanID] = NULL, [isi].[PortfolioID], [isi].[Portfolio],
[PaymentType] = [isis_fee].[SectionType], [Name]
= [iff].[Name], [ReceivedAmount], [dates].[CurrentDueAmount],
[PastDueAmount] = CASE WHEN ISNULL([ReceivedAmount],
0) > 0 THEN [pastdue].[PastDueFeeAmount] + ISNULL([ReceivedAmount], 0)
WHEN ISNULL([ReceivedAmount], 0)
< 0 THEN /* We bring past due to zero and
apply reset to current. */ CASE WHEN [pastdue].[PastDueFeeAmount] + ISNULL([ReceivedAmount], 0)
< 0 THEN 0 ELSE [pastdue].[PastDueFeeAmount]
+ ISNULL([ReceivedAmount], 0) END WHEN ISNULL([ReceivedAmount], 0) = 0 AND
[pastdue].[PastDueFeeAmount] < 0 THEN 0 ELSE
[pastdue].[PastDueFeeAmount] END, [PaidAmount] = CASE WHEN ISNULL([ReceivedAmount], 0)
< 0 THEN /* We bring past due to zero and
apply rest to current. */ CASE WHEN [pastdue].[PastDueFeeAmount] + ISNULL([ReceivedAmount], 0)
< 0 THEN - ([pastdue].[PastDueFeeAmount]
+ ISNULL([ReceivedAmount], 0)) ELSE 0 END WHEN ISNULL([ReceivedAmount], 0) = 0 AND
[pastdue].[PastDueFeeAmount] < 0 THEN - [pastdue].[PastDueFeeAmount]
ELSE 0 END, [AmountDue] = [unpaid].[UnpaidFeeAmount], [ID] = [iff].[FacilityFeeID]
FROM [dbo].[INV_SubInvoice] isi JOIN
[dbo].[INV_Invoice] ii ON [isi].[InvoiceID]
= [ii].[ID] JOIN
[dbo].[INV_Facility] [if] ON [isi].[ID] = [if].[SubInvoiceID]
JOIN
[dbo].[INV_FacilityFee] iff ON [if].[ID] = [iff].[INV_FacilityID]
JOIN
(SELECT [sis_fee].[ID],
[sis_fee].[SectionTypeCode], [SectionType] = [st_fee].[Name], [sis_fee].[INV_FacilityFeeID]
FROM
[dbo].[INV_SubInvoiceSection] sis_fee JOIN
[dbo].[INV_SectionType] st_fee ON [sis_fee].[SectionTypeCode] = [st_fee].[Code]
WHERE [INV_FacilityFeeID]
IS NOT NULL AND [StatusCode] = 'BILL') isis_fee ON [iff].[ID] = [isis_fee].[INV_FacilityFeeID] JOIN
(SELECT [iffa].[SectionID],
[AccrualDeterminationDateMax] = MAX([iffa].[AccrualDeterminationDate]),
[AccrualDeterminationDateMin] = MIN([iffa].[AccrualDeterminationDate]), [CurrentDueAmount] = SUM([iffa].[AccruedFeeAmount]),
[ReceivedAmount] = SUM([iffa].[ReceivedFeeAmount])
FROM
[dbo].[INV_FacilityFeeAccrual] iffa
GROUP BY [iffa].[SectionID])
dates ON [isis_fee].[ID] = [dates].[SectionID] LEFT JOIN
(SELECT *
FROM
[dbo].[INV_FacilityFeeAccrual]) unpaid ON [dates].[SectionID] = [unpaid].[SectionID] AND
[dates].[AccrualDeterminationDateMax] = [unpaid].[AccrualDeterminationDate]
LEFT JOIN
(SELECT [SectionID],
[PastDueFeeAmount] = SUM([PastDueFeeAmount])
FROM
[dbo].[INV_FacilityFeeAccrual]
GROUP BY [SectionID]) pastdue
ON [dates].[SectionID] = [pastdue].[SectionID]
UNION
SELECT [isi].[InvoiceID], [ii].[DueDate], [SubInvoiceID] = [isi].[ID], [INV_FacilityID] = [if].[ID], [if].[FacilityID],
[FacilityFeeID] = NULL, [il].[LoanID], [isi].[PortfolioID], [isi].[Portfolio],
[PaymentType] = [isis_loan].[SectionType], [Name]
= [il].[Name], [ReceivedAmount], [CurrentDueAmount], [PastDueAmount] = CASE WHEN ISNULL([ReceivedAmount],
0) > 0 THEN [PastDueAmount] + ISNULL([ReceivedAmount],
0) WHEN ISNULL([ReceivedAmount], 0)
< 0 THEN /* We bring past due to zero and
apply rest to current. */ CASE WHEN [PastDueAmount] + ISNULL([ReceivedAmount], 0)
< 0 THEN 0 ELSE [PastDueAmount] + ISNULL([ReceivedAmount],
0) END WHEN ISNULL([ReceivedAmount], 0) = 0 AND
[PastDueAmount] < 0 THEN 0 ELSE [PastDueAmount]
END,
[PaidAmount] = CASE WHEN [isis_loan].[SectionTypeCode]
= 'LOAN_PRIN' THEN 0 ELSE CASE WHEN ISNULL([ReceivedAmount], 0)
< 0 THEN /* We bring past due to zero and
apply rest to current. */ CASE WHEN [PastDueAmount] + ISNULL([ReceivedAmount], 0)
< 0 THEN - ([PastDueAmount] + ISNULL([ReceivedAmount],
0)) ELSE 0 END WHEN ISNULL([ReceivedAmount], 0) = 0 AND
[PastDueAmount] < 0 THEN - [PastDueAmount]
ELSE 0 END END,
[AmountDue] = CASE WHEN [isis_loan].[SectionTypeCode]
= 'LOAN_PRIN' THEN [CurrentDueAmount] ELSE [unpaid].[AmountDue] END, [ID] = [il].[LoanID]
FROM [dbo].[INV_SubInvoice] isi JOIN
[dbo].[INV_Invoice] ii ON [isi].[InvoiceID]
= [ii].[ID] JOIN
[dbo].[INV_Facility] [if] ON [isi].[ID] = [if].[SubInvoiceID]
JOIN
[dbo].[INV_Loan] il ON [if].[ID] = [il].[INV_FacilityID]
JOIN
(SELECT [sis_loan].[ID],
[sis_loan].[SectionTypeCode], [SectionType] = [st_loan].[Name], [sis_loan].[INV_LoanID]
FROM
[dbo].[INV_SubInvoiceSection] sis_loan JOIN
[dbo].[INV_SectionType] st_loan ON [sis_loan].[SectionTypeCode] = [st_loan].[Code]
WHERE [INV_LoanID]
IS NOT NULL AND [StatusCode] = 'BILL') isis_loan ON [il].[ID] = [isis_loan].[INV_LoanID] JOIN
(SELECT [iffa].[SectionID],
[AccrualDeterminationDateMax] = MAX([iffa].[AccrualDeterminationDate]),
[AccrualDeterminationDateMin] = MIN([iffa].[AccrualDeterminationDate]), [CurrentDueAmount] = SUM([iffa].[ExpectedPrincipalAmount]),
[ReceivedAmount] = SUM([ReceivedPrincipalAmount])
FROM
[dbo].[INV_LoanPrincipalAmortization] iffa
GROUP BY [iffa].[SectionID]
UNION
SELECT [iffa].[SectionID],
[AccrualDeterminationDateMax] = MAX([iffa].[AccrualDeterminationDate]),
[AccrualDeterminationDateMin] = MIN([iffa].[AccrualDeterminationDate]), [CurrentDueAmount] = SUM([iffa].[AccruedInterestAmount]),
[ReceivedAmount] = SUM([ReceivedInterestAmount])
FROM
[dbo].[INV_LoanCashInterestAccrual] iffa
GROUP BY [iffa].[SectionID]
UNION
SELECT [iffa].[SectionID],
[AccrualDeterminationDateMax] = MAX([iffa].[AccrualDeterminationDate]),
[AccrualDeterminationDateMin] = MIN([iffa].[AccrualDeterminationDate]), [CurrentDueAmount] = SUM([iffa].[AccruedInterestAmount]),
[ReceivedAmount] = SUM([ReceivedInterestAmount])
FROM
[dbo].[INV_LoanPIKInterestAccrual] iffa
GROUP BY [iffa].[SectionID])
dates ON [isis_loan].[ID] = [dates].[SectionID] LEFT JOIN
(SELECT [AmountDue]
= [UnpaidPrincipalAmount], [SectionID], [AccrualDeterminationDate]
FROM
[dbo].[INV_LoanPrincipalAmortization]
UNION
SELECT [AmountDue]
= [UnpaidInterestAmount], [SectionID], [AccrualDeterminationDate]
FROM
[dbo].[INV_LoanCashInterestAccrual]
UNION
SELECT [AmountDue]
= [UnpaidInterestAmount], [SectionID], [AccrualDeterminationDate]
FROM
[dbo].[INV_LoanPIKInterestAccrual]) unpaid ON [dates].[SectionID] = [unpaid].[SectionID] AND
[dates].[AccrualDeterminationDateMax] = [unpaid].[AccrualDeterminationDate]
LEFT JOIN
(SELECT [PastDueAmount]
= SUM([PastDuePrincipalAmount]), [SectionID]
FROM
[dbo].[INV_LoanPrincipalAmortization]
GROUP BY [SectionID]
UNION
SELECT [PastDueAmount]
= SUM([PastDueInterestAmount]), [SectionID]
FROM
[dbo].[INV_LoanCashInterestAccrual]
GROUP BY [SectionID]
UNION
SELECT [PastDueAmount]
= SUM([PastDueInterestAmount]), [SectionID]
FROM
[dbo].[INV_LoanPIKInterestAccrual]
GROUP BY [SectionID]) pastdue
ON [dates].[SectionID] = [pastdue].[SectionID]
UNION
SELECT [isi].[InvoiceID], [ii].[DueDate], [SubInvoiceID] = [isi].[ID], [INV_FacilityID] = [if].[ID], [if].[FacilityID],
[FacilityFeeID] = NULL, [il].[LoanID], [isi].[PortfolioID], [isi].[Portfolio],
[PaymentType] = 'PIK Interest Applied', [Name]
= [il].[Name], [ReceivedAmount], [CurrentDueAmount] = - [dates].[CurrentDueAmount],
[PastDueAmount] = - CASE WHEN ISNULL([ReceivedAmount],
0) > 0 THEN [PastDueAmount] + ISNULL([ReceivedAmount], 0) WHEN ISNULL([ReceivedAmount], 0)
< 0 THEN /* We bring past due to zero and
apply rest to current. */ CASE WHEN [PastDueAmount] + ISNULL([ReceivedAmount], 0)
< 0 THEN 0 ELSE [PastDueAmount] + ISNULL([ReceivedAmount],
0) END WHEN ISNULL([ReceivedAmount], 0) = 0 AND
[PastDueAmount] < 0 THEN 0 ELSE [PastDueAmount]
END, [PaidAmount] = - CASE WHEN ISNULL([ReceivedAmount], 0)
< 0 THEN /* We bring past due to zero and
apply rest to current. */ CASE WHEN [PastDueAmount] + ISNULL([ReceivedAmount], 0)
< 0 THEN - ([PastDueAmount] + ISNULL([ReceivedAmount],
0)) ELSE 0 END WHEN ISNULL([ReceivedAmount], 0) = 0 AND
[PastDueAmount] < 0 THEN - [PastDueAmount]
ELSE 0 END, [AmountDue] = - [AmountDue], [ID] = [il].[LoanID]
FROM [dbo].[INV_SubInvoice] isi JOIN
[dbo].[INV_Invoice] ii ON [isi].[InvoiceID]
= [ii].[ID] JOIN
[dbo].[INV_Facility] [if] ON [isi].[ID] = [if].[SubInvoiceID]
JOIN
[dbo].[INV_Loan] il ON [if].[ID] = [il].[INV_FacilityID]
JOIN
(SELECT [sis_loan].[ID],
[sis_loan].[SectionTypeCode], [SectionType] = [st_loan].[Name], [sis_loan].[INV_LoanID]
FROM
[dbo].[INV_SubInvoiceSection] sis_loan JOIN
[dbo].[INV_SectionType] st_loan ON [sis_loan].[SectionTypeCode] = [st_loan].[Code]
WHERE [INV_LoanID]
IS NOT NULL AND [StatusCode] = 'BILL' AND [sis_loan].[SectionTypeCode] = 'LOAN_INT_PIK') isis_loan ON
[il].[ID] = [isis_loan].[INV_LoanID] JOIN
(SELECT [iffa].[SectionID],
[AccrualDeterminationDateMax] = MAX([iffa].[AccrualDeterminationDate]),
[AccrualDeterminationDateMin] = MIN([iffa].[AccrualDeterminationDate]), [CurrentDueAmount] = SUM([iffa].[AccruedInterestAmount]),
[ReceivedAmount] = SUM([ReceivedInterestAmount])
FROM
[dbo].[INV_LoanPIKInterestAccrual] iffa
GROUP BY [iffa].[SectionID])
dates ON [isis_loan].[ID] = [dates].[SectionID] LEFT JOIN
(SELECT [AmountDue]
= [UnpaidInterestAmount], [SectionID], [AccrualDeterminationDate]
FROM
[dbo].[INV_LoanPIKInterestAccrual]) unpaid ON [dates].[SectionID] = [unpaid].[SectionID] AND
[dates].[AccrualDeterminationDateMax] = [unpaid].[AccrualDeterminationDate]
LEFT JOIN
(SELECT [PastDueAmount]
= SUM([PastDueInterestAmount]), [SectionID]
FROM
[dbo].[INV_LoanPIKInterestAccrual]
GROUP BY [SectionID]) pastdue
ON [dates].[SectionID] = [pastdue].[SectionID] -
Not to display the file name in the browser bar.
Hello,
Merry Christmas to all,
Is it possible not to display the file name in the browser bar?
Like say, when we write www.rediff.com, the index page name is not displayed.
Likewise is it possible for any other page too.
What I want is not to display any of the page name for the whole application.
Whichever page is requested the page name should not appear in the address bar of the browser.
How will I do that, what logics should I apply?
Please suggest,
Thanks,first, what does this have to do with Java?
second, no; in order to display something, the browser needs to know where it is. and if it knows, then a user can find out too. maybe you can make it not show up in an address bar sometimes, but that really achieves nothing -
How to display the Full Name in Masthead of the Portal
Where exactly in the HeaderiView.jsp I need to edit to be able to display the full name in the Masthead of the portal.
e.g.
Welcome Paul JonesHi Paul,
Following customized code displays Full Names on my portal:
private String GetWelcomeMsg(IPortalComponentRequest request, String welcomeClause)
IUserContext userContext = request.getUser();
if (userContext != null)
String firstName = userContext.getFirstName();
String lastName = userContext.getLastName();
String displayName = userContext.getDisplayName();
String salutation = userContext.getSalutation();
if (displayName != null)
if(salutation != null)
return java.text.MessageFormat.format(welcomeClause, new Object[] {displayName, salutation, " "}).toString();
else
return java.text.MessageFormat.format(welcomeClause, new Object[] {displayName, " ", " "}).toString();
else if ((firstName != null) && (lastName != null))
if(salutation != null)
return java.text.MessageFormat.format(welcomeClause, new Object[] {firstName, lastName, salutation}).toString();
else
return java.text.MessageFormat.format(welcomeClause, new Object[] {firstName, lastName, " "}).toString();
else
return java.text.MessageFormat.format(welcomeClause, new Object[] {userContext.getUniqueName()," ", " "}).toString();
return "";
Regards,
Sergei -
In installation process of Acrobat Professional 7 , its showing that Adobe Pdf printer is not Installed...need help to install the software completely
If it is Win 7 or later, the Adobe PDF printer for AA 7 will not install and AcroTray will not function. You will have to install a PS driver from Adobe or maybe an HP color PS printer driver. Then edit the driver properties and change the name to Adobe PDF and the port to FILE. You will always have to do an extra step in creating PDFs by opening the file that is created in Distiller to get the PDF.
If you are talking about Win 8, you may not be successful at all. If you got Acrobat and Distiller to install, then there is a chance. -
Can we display the field name vertically
Hi BI Experts ,
Iam using Bex Analyzer to run reports.
1.in report i want to display the field name vertically. is there any possibilities.
2.i had tried using format cells in excel settings , but i have to make settings every time after running the report.
3. i need this settings should be done before running the report and user can see the report such a way that field name should be displayed vertically.
Please suggest me is there any way to do this.
Thanks
TulsiHello,
You can create a workbook, do the necessary format and turn off the format refresh in the Bex Tool bar property. You can turn off the same in Query Property.
[Thanks|http://chandranonline.blogspot.com/]
[Chandran|http://chandranonline.blogspot.com/] -
Displaying the column names in a spreadsheet
Hello All,
I am downloading data from SAP into a spreadsheet using the FM MS_EXCEL_OLE_STANDARD_DAT. The data is coming fine.
But I need to display the column names too in the spreadsheet. Could anyone please tell me how to do that.
Thanks in advance.
Regards
IndrajitHi Pawan,
I am using the following piece of code.
TYPES: BEGIN OF ty_fieldname,
text(20) TYPE c,
END OF ty_fieldname.
DATA: gs_fieldname TYPE ty_fieldname.
gt_fieldname TYPE STANDARD TABLE OF ty_fieldname.
gs_fieldname-text = 'Material'.
APPEND gs_fieldname TO gt_fieldname.
gs_fieldname-text = 'Ad Size'.
APPEND gs_fieldname TO gt_fieldname.
gs_fieldname-text = 'Classification Group'.
APPEND gs_fieldname TO gt_fieldname.
gs_fieldname-text = 'Old Ceiling'.
APPEND gs_fieldname TO gt_fieldname.
gs_fieldname-text = 'Message Type'.
APPEND gs_fieldname TO gt_fieldname.
gs_fieldname-text = 'Message'.
APPEND gs_fieldname TO gt_fieldname.
CALL FUNCTION 'MS_EXCEL_OLE_STANDARD_DAT'
EXPORTING
file_name = p_file
data_sheet_name = text-014
TABLES
data_tab = gt_rate
fieldnames = gt_fieldname
EXCEPTIONS
file_not_exist = 1
filename_expected = 2
communication_error = 3
ole_object_method_error = 4
ole_object_property_error = 5
invalid_pivot_fields = 6
download_problem = 7
OTHERS = 8.
I am getting a short dump on this which says -
"Only flat, character-type data objects are supported at the argument
position "dest" for the statement
"WRITE src TO dest".
In this case, the operand "dest" has the non-character-type or deep type
"P". The current program is flagged as a Unicode program. In the Unicode
context, type X fields are seen as non-character-type, as are
structures that contain non-character-type components."
Indrajit
Maybe you are looking for
-
I was recording music from Record Player to LP; lost sound, reinstalled Drivers, still nothing, Please Help!
-
How to add 'Known As' field in ESS- Personal Information...Please guide
Hello All, I have to show the 'Known As' field in the ESS->Personal Information page/workset. Do I need to use NWDI for the same? Please guide me as to how I can do this. Awaiting Reply. Thanks and Warm Regards, Ritu Message was edited by: Ri
-
Assignment field in FB03 is updated with a TM PO, and not the material PO
Hi Experts, I am facing an issue. Issue: The assignment field in accounting document generated during GR is updated with the TM PO number(Trade PO) and not the Material PO . this happens while Posting goods receipt in VL32N tcode. Please let me know
-
Can't get itunes to download and I tried everything
I have a windows 7 64 bit and in order to use my new i-pad, I had to update to the newest version of itunes (10.5.2). The update wouldn't install, and I have spent about 6 hours trying all of the following (multiple times!!): updated and repaired .N
-
Mac 10.7.5 Lion2012, and Sophos auto updat problem
I have Mac OS X 10.7.5 Lion 2012, as it was suggested in the forum, I downloaded the Sophos av for Mac, but I keep seeing the following warning in auto up date. Please help 3/5/14 10:42:08.332 AM SophosWebD: <SMENode: 0x7ff9cb042dd0> localNode csc