Query on Outgoing Summary
Hi All,
Good morning, I'm using below query to generate report on disbursements for the day to be instructed to our banks branches. however if the outgoing payment were reversed and reposts due to various reasons/errors the reversed outgoing payment is still included in the report causes double payment to particular payee. Can you please help me out modify below query to filter reversed transactions?
SELECT T0.[DocDueDate], T0.[TransId], T0.[CardCode], T0.[CardName], T0.[TrsfrAcct], T1.[AcctName], T0.[TrsfrSum] FROM OVPM T0 INNER JOIN OACT T1 ON T0.TrsfrAcct = T1.AcctCode WHERE T0.[DocDueDate] >=[%0] and T0.[DocDueDate] <=[%1] ORDER BY T1.[AcctName]
Thanks,
Arlmi2000
Hi,
The previous query you have table OVPM. So that Canceled column can identify canceled transaction.
The new query will be more complicated.
Try:
SELECT T2.CardCode, T2.CardName, T0.TransId, T0.DueDate, T1.Credit, T1.U_DisBank, T4.Name
FROM OJDT T0
INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId
INNER JOIN OCRD T2 ON T1.ShortName = T2.CardCode
INNER JOIN "@HOFFICE" T4 ON T1.U_Disbank = T4.Code
WHERE T1.Credit !=0 AND T0.DueDate >=[%0\] AND T0.DueDate <=[%1\]
and T0.ref1 NOT in (SELECT ref1 FROM OJDT WHERE memo like 'reverse%'
and TransType = 46) and T0.TransType = 46
ORDER BY T4.Name
Thanks,
Gordon
Similar Messages
-
Hi Expert,
I'm using the following query to view "For Outgoing Summary by Due Date as a basis in preparing disbursement for the day.
SELECT T2.[CardCode], T2.[CardName], T0.[TransId], T0.[DueDate], T1.[Credit], T1.[U_DisBank], T4.[Name] FROM OJDT T0 INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId INNER JOIN OCRD T2 ON T1.ShortName = T2.CardCode INNER JOIN "@HOFFICE" T4 ON T1.U_Disbank = T4.Code WHERE T1.[Credit] !=0 AND T0.[DueDate] >=[%0] AND T0.[DueDate] <=[%1] ORDER BY T4.[Name]
Please help me revise the above query that will display only unreconciled transactions.
Thanks,
Arlmi2000Hi expert I already configured my first query and here's the result
SELECT T2.[CardCode], T2.[CardName], T0.[TransId], T0.[DueDate], T1.[Credit], T1.[U_DisBank], T4.[Name] FROM OJDT T0 INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId INNER JOIN OCRD T2 ON T1.ShortName = T2.CardCode INNER JOIN "@HOFFICE" T4 ON T1.U_Disbank = T4.Code LEFT JOIN ITR1 T5 ON T5.TransID = T1.TransID WHERE T1.[Credit] !=0 AND T0.[DueDate] >=[%0] AND T0.[DueDate] <=[%1] AND T5.[TransID] is NULL ORDER BY T4.[Name]
I included the table ITR1.
However previously canceled internal reconciliation does not included in the result. How can I configure my query to include previously canceled internal reconciliation?
Thanks,
Aries -
Query For OutGoing Excise Invoice
Hi Experts,
I need to run areport for OutGoingExcise Invoice.
So pls give me a query to capture all the taxes related to that invoices like BED,EDCess,HECess. and VAT.
Thanx in Advance,
Regards,
Vamsi.Hi Guys...
Below is the query i used to run the report for OutGoing Excise Invoice.
I need some modifications in this query.
We are having two branches Branch1 and Branch2.
While running the query we need to pay Excise duty for both the branches seperately,So i need to run a report for branchwise.
So pls give me some solution.
SELECT M.DocNum AS 'INV No. #', M.DocDate as 'Date', M.CardName as 'Customer Name',
(Select Sum(LineTotal) FROM OEI1 L Where L.DocEntry=M.DocEntry) as 'Base Amt.(Rs.)',
(SELECT Avg(TaxRate) FROM OEI4 where statype=-90 and DocEntry=M.DocEntry) as 'ED %',
(SELECT Sum(TaxSum) FROM OEI4 where statype=-90 and DocEntry=M.DocEntry) as 'ED (Rs.)',
(SELECT Avg(TaxRate) FROM OEI4 where statype=-60 and DocEntry=M.DocEntry) as 'EDCS %',
(SELECT Sum(TaxSum) FROM OEI4 where statype=-60 and DocEntry=M.DocEntry) as 'EDCS (Rs.)',
(SELECT Avg(TaxRate) FROM OEI4 where statype=-55 and DocEntry=M.DocEntry) as 'HECS %',
(SELECT Sum(TaxSum) FROM OEI4 where statype=-55 and DocEntry=M.DocEntry) as 'HECS (Rs.)',
M.WTSum AS 'TDS (Rs.)',
M.DocTotal as 'Total (Rs.)'
FROM OOEI M LEFT OUTER JOIN OEI1 L on L.DocEntry=M.DocEntry
LEFT OUTER JOIN OEI4 T on T.DocEntry=L.DocEntry and L.LineNum=T.LineNum
LEFT OUTER JOIN OEI5 J ON M.DocEntry = J.AbsEntry
LEFT OUTER JOIN OEI3 Q ON M.DocEntry = Q.DocEntry
WHERE (M.DocDate >= '[%0]' AND M.DocDate <= '[%1]') AND
GROUP BY
M.DocNum,M.DocDate,M.CardName,M.NumAtCard,M.DocEntry,M.DiscSum,M.WTSum,M.DocTotal
ORDER BY
M.DocNum,M.DocDate,M.CardName,M.NumAtCard,M.DocEntry,M.DiscSum,M.WTSum,M.DocTotal
Regards,
Vamsi. -
Hi All,
i need a report for the outgoing payment where i could display the account details, the doc remarks, row total and also the payment mode, whther by cash or by cheque. I have a query but i dont know how to get the mode of payment and also how to get the row total??
SELECT T0.[DocNum], T0.[DocDate], T1.[AcctName], T1.[Descrip], T0.[CashAcct], T0.[CheckAcct] FROM OVPM T0 INNER JOIN VPM4 T1 ON T0.DocEntry = T1.DocNum WHERE T0.[DocDate] = [%0]
How do i get the row total and the mode of payment incorporated in the query? apart from the doc date, can i also get a selection criteria for the mode of payment as well?? Can anyone please suggest a better query??
Thanks in advance,
JosephTry this one to start:
SELECT T0.DocNum, T0.DocDate, T1.AcctName, T1.Descrip, T0.CashAcct, T0.CheckAcct, T0.DocTotal, CASE WHEN T0.CashSum > 0 THEN 'Cash' WHEN T0.CreditSum > 0 THEN 'CC' WHEN T0.TrsfrSum > 0 THEN 'WIRE' ELSE 'Check' END AS 'Mode'
FROM dbo.OVPM T0
LEFT JOIN dbo.VPM4 T1 ON T0.DocEntry = T1.DocNum
WHERE T0.DocDate = [%0\] AND T0.JrnlMemo != 'Cancelled'
Thanks,
Gordon -
Query of Outgoing Payments Monthwise
Hi Gurus,
I have a written a simple query which gives me a summarized outgoing payment list group by vendor with date range. Query is working fine, now I want that report in monthwise (column) format from the given date range. Cau u help me how do I write this ...
Select T0.CardCode, T0.CardName, T1.GroupCode,T2.GroupName, sum(T0.DocTotal) as 'Total Sum'
from OVPM T0, OCRD T1, OCRG T2
where T0.CardCode = T1.CardCode and T1.GroupCode =T2.GroupCode and T0.DocDate>=[%0] and T0.DocDate <=[%1]
Group by T1.GroupCode, T2.GroupName
What I want is : If I give Date range of From 01-08-2011 to 31-10-2011 then the out come will be like as
Group Name August September October
Group A 100 150 125
Group B 200 150 0
Group C 500 150 200
Please help me find the way.
Regards,
SKTry this..
select p.GroupCode,p.GroupName,
sum([1]) as [Jan],
sum([2]) as [Feb],
sum([3]) as [Mar],
sum([4]) as [Apr],
sum([5]) as [May],
sum([6]) as [Jun],
sum([7]) as [Jul],
sum([8]) as [Aug],
sum([9]) as [Sep],
sum([10]) as [Oct],
sum([11]) as [Nov],
sum([12]) as [Dec]
from(Select
T0.CardCode, T0.CardName,
T1.GroupCode,T2.GroupName,
(T0.DocTotal) as 'Total',MONTH(T0.Docdate)as month
from OVPM T0, OCRD T1, OCRG T2
where T0.CardCode = T1.CardCode and T1.GroupCode =T2.GroupCode
and T0.DocDate>='[%0]' and T0.DocDate <='[%1]'
)S
PIVOT (sum(Total) FOR [month] IN
([4],[5],[6],[7],[8],[9],[10],[11],[12],[1],[2],[3])) P
group by p.GroupCode,p.GroupName
ORDER BY P.[GroupCode] -
Approval Query for Outgoing Payment
Hi All Experts,
I have to Create Approval for Outgoing Payment where payment means is Cash,Cheque or Bank Transfer but not Credit Card.
In other words approval should be raised for all payment means other than Credit card payment means.
For which I have Created Query as follows
select Distinct 'true' FROM dbo.OVPM T0
Left join dbo.VPM3 T1 on T0.DocEntry=T1.Docnum
WHERE T0.CreditSum=0 And T1.CreditAcct is null
payments goes for approval but Credit Card payment also goes for Approval which is not required.
Please Help me to Correct the Query.
Regards,
Gayatri Shukla.Hi,
Little modification to your query. Try this.
select Distinct 'true' FROM dbo.OVPM T0
Left join dbo.VPM3 T1 on T0.DocEntry=T1.Docnum
WHERE T0.CreditSum = 0
Regards,
Amrut Sabnis. -
Query to get summary for two types of row data
Hi Friends,
I have tried using aggregate functions and thought of using analytic functions and still trying... But I am sure some analytic function expert can quickly help me out in this.
With this data.
BID_ELMT_SEQ_ID PRF_NO BID_REQ_DT BID_ATRB_TYP_CD BID_ATRB_VAL
3575758 1 1/24/2011 2:27:32 PM MINDAYS 1
3575758 1 1/24/2011 2:27:32 PM WRAPDAYS 1-0
3575759 2 1/24/2011 2:27:32 PM MINDAYS 1
3575759 2 1/24/2011 2:27:32 PM WRAPDAYS 1-0
3575760 3 1/24/2011 2:27:32 PM MINDAYS 1
3575760 3 1/24/2011 2:27:32 PM WRAPDAYS 1-0
3575761 4 1/24/2011 2:27:32 PM MINDAYS 1
3575761 4 1/24/2011 2:27:32 PM WRAPDAYS 1-0 Is it possible to retrieve an output similar to this ? In short , the row values of BID_ATRB_TYP_CD to be grouped into two columns and values fetched for this
BID_ELMT_SEQ_ID PRF_NO BID_REQ_DT MIN_DAYS_VAL WRAP_DAYS_VAL
3575758 1 1/24/2011 14:27 1 1-0
3575759 2 1/24/2011 14:27 1 1-0
3575760 3 1/24/2011 14:27 1 1-0
3575761 4 1/24/2011 14:27 1 1-0 Regards,
SSNLooks pretty simple to me - I haven't tried it yet.
Can you share what you have tried so far and what has been the outcome of that effort? -
Authorization issue for Jump query from Summary to Detail
Hello Gurus,
I am facing an interesting issue in Jump query authorization.
I have a query on a summary cube which has Company code as a authorization relevant object .From this query I launch a query on detail cube.This details cube has company code and customer as authorization relevant objects.Customer is present in free characteristic for this query.Summary cube doesnt have the customer object at all.
When the user drillsdown on the Customer level in the details query he get the authorization error.After this if he just refreshes the query it works fine .
Can anybody please suggest any innovative workaround for this issue.
GautamHello Gurus,
I am facing an interesting issue in Jump query authorization.
I have a query on a summary cube which has Company code as a authorization relevant object .From this query I launch a query on detail cube.This details cube has company code and customer as authorization relevant objects.Customer is present in free characteristic for this query.Summary cube doesnt have the customer object at all.
When the user drillsdown on the Customer level in the details query he get the authorization error.After this if he just refreshes the query it works fine .
Can anybody please suggest any innovative workaround for this issue.
Gautam -
Query not able to Retrieve Summary Level Member
Dear all,
I have created a Planning application on BPC Netweaver 10.0.
I am trying to retrieve the Planning Data via BEx Query in Dashboard.
My Account dimension is hierarchical and I want the dashboard users to be able to select summary account when viewing the dashboard (Refer to Look.PNG)
However, the limitation is that only bottom level members are available in the list.
So I try to edit the query to summary level accounts available to choose from.
Query.PNG is my existing design where I can use the filter and prompt for values.
However, if I apply the setting in Query2.PNG, I can select SOME summary level account but the filter is not available anymore.
Is there anyway to allow users to choose summary account they would like to see?
Is the problem related to how the query was set in query designer? Why it drills down to bottom level automatically?
Thanks,
WinsonHi all,
When I look back and think about why the query does not give summary level members, I realized that in BPC Microsoft Version, Summary level data are dynamically calculated and the data were not stored in the database. They are instead calculated every time we have to retrieve the data.
Would that be the reason why the BEX query cannot return Summary level member?
Anyone who has met this issue before can share how they solve the problem?
Thanks,
Winson -
I need a query to print summary of table in a single query without using PLSQL..
table list
with t as
select 1 table_number , 't1' table_name from dual
union all
select 2 table_number , 't2' table_name from dual
union all
select 2 table_number , 't3' table_name from dual
select * from t;
Table1
with t1 as
select 'US' country_code , 'SYSTEM1' source, 1 emp_num , 'Not Processed' status from dual
union all
select 'India' country_code , 'SYSTEM1' source, 2 emp_num , 'Valid' status from dual
union all
select 'India' country_code , 'SYSTEM2' source, 3 emp_num , 'Error' status from dual
union all
select 'India' country_code , 'SYSTEM2' source, 4 emp_num , 'Valid' status from dual
select * from t1;
i need a query where with input parameter as table_number...
for eg 1 .. i want the output should be grouped by table_name ,country_code and source
output like
table_name country_code source total_records valid_records error_records not_processed_records valid_records_percentage
t1 India SYSTEM1 1 1 0 0 100
t1 India SYSTEM2 2 1 1 0 50
t1 US SYSTEM1 1 0 0 1 0
Total 4 2 1 1 50
and i need total for these in last recordAre you looking to get the table name dynamically? In that case try this.
SQL> select * from t;
TABLE_NUMBER TABLE_NAME
1 t1
2 t2
2 t3
SQL> select * from t1;
COUNTRY_CODE SOURCE EMP_NUM STATUS
US SYSTEM1 1 Not Processed
India SYSTEM1 2 Valid
India SYSTEM2 3 Error
India SYSTEM2 4 Valid
SQL> select case when grouping_id(table_name)
2 + grouping_id(country_code)
3 + grouping_id(source_) = 0 then table_name
4 else 'Total'
5 end table_name
6 , country_code
7 , source_
8 , count(*) total_record
9 , count(decode(status, 'Not Processed', 1)) not_processed
10 , count(decode(status, 'Valid', 1)) valid
11 , count(decode(status, 'Error', 1)) error_
12 from (
13 select t.table_name
14 , t1.country_code
15 , t1.source_
16 , t1.emp_num
17 , t1.status
18 from (
19 select table_name
20 , dbms_xmlgen.getxmltype('select * from ' || table_name) xml_output
21 from t
22 where table_number = 1
23 ) t
24 , xmltable
25 (
26 '/ROWSET/ROW' passing t.xml_output
27 columns
28 country_code varchar2(100) path 'COUNTRY_CODE',
29 source_ varchar2(100) path 'SOURCE',
30 emp_num number path 'EMP_NUM',
31 status varchar2(100) path 'STATUS'
32 ) t1
33 )
34 group
35 by rollup
36 (
37 table_name
38 , country_code
39 , source_
40 )
41 having grouping_id(table_name)
42 + grouping_id(country_code)
43 + grouping_id(source_) in (0, 3);
TABLE_NAME COUNTRY_CODE SOURCE_ TOTAL_RECORD NOT_PROCESSED VALID ERROR_
t1 US SYSTEM1 1 1 0 0
t1 India SYSTEM1 1 0 1 0
t1 India SYSTEM2 2 0 1 1
Total 4 1 2 1
SQL>
For this to work all the table that are passed must have the same structure. But then comes the question why do you have different table with same structure -
Why is the GROUP BY clause not working in my Query?
Dear All,
Below is the Query for a Summary Debtors Aged Analysis.
The GROUP BY clause does not seem to be working.
The Query returns all the unpaid invoices, instead of a single total row for each Customer.
If a Customer X has 10 unpaid invoices, 10 rows are displayed - one for each invoice.
I was expecting only 1 row for Customer X, 1 for Customer Y, etc.
This is what GROUP BY is supposed to do, but it is not doing its work.
What has gone wrong?
Thanks
Leon Lai
Here's my Query:
declare @taxdt datetime
set @taxdt
/*select 1 from jdt1 t0 where t0.TaxDate*/ = [%1]
SELECT
CASE
WHEN T0.Account = 1220101 THEN 'Prim Cust'
WHEN T0.Account = 1220102 THEN 'Fgn Cust'
WHEN T0.Account = 1220103 THEN 'Local Cust'
WHEN T0.Account = 1220104 THEN 'Staff Loan'
WHEN T0.Account = 1220105 THEN 'Dep with TP'
WHEN T0.Account = 1220106 THEN 'Adv to Cust'
WHEN T0.Account = 1220108 THEN 'Sund Drs'
ELSE 'Error ! ! !'
END AS 'Control A/c',
T1.CardCode AS 'BP Code',
T2.Notes2 AS 'BP Name',
SUM ((T0.Debit - T0.Credit)) AS 'Orig. Rs',
SUM ((T0.BalDueDeb - T0.BalDueCred)) AS 'Bal. Rs',
((SELECT SUM(T0.BalDueDeb) - Sum(T0.BalDueCred)
WHERE DateDiff(mm, T0.TaxDate, @taxdt) = 1))
AS '1 Mth Ago'
/* Similarly for other age brackets*/
FROM JDT1 T0
INNER JOIN OCRD T1 ON T0.ShortName = T1.CardCode
LEFT OUTER JOIN OCPR T2 ON T1.CardCode = T2.Cardcode
LEFT OUTER JOIN OJDT T3 ON T0.TransID = T3.TransID
LEFT OUTER JOIN OINV T4 ON T3.TransID = T4.TransID
LEFT OUTER JOIN ORIN T5 ON T3.TransID = T5.TransID
WHERE
T1.CardType = 'C'
and (Balance) != 0
and (T0.BalDueDeb - T0.BalDueCred) != 0
GROUP BY T0.Account, T1.CardCode, T2.Notes2, T0.TaxDateDear Neetu,
Thanks for your reply.
This Query is a modification of the Query you posted in SAP B1 SQL TIPS & TRICKS
http://wiki.sdn.sap.com/wiki/display/B1/SAPB1SQLB-FNDebtorsAgingReportbydate
So, maybe instead of referring to my Query, let's refer to yours. It may be easier for you to understand me.
Once I understand the problem, I can adapt your query to suit my requirements
So, let's start with a clean slate:
The Query you have posted is for a DETAILED Debtors Aging Report.
This lists all outstanding invoices, and ages them in the Age Brackets.
What I want is a SUMMARY Debtors Aging Report.
This will give the total amount owed by each Customer, and this amount is broken down in the Age Bracket Columns
There will be a single row listed for each customer, something like this:
Customer Total Due Current 1 Mth 2 Mth 3 Mth etc
Alfred 500,000 300,000 200,000
Charles 800,000 100,000 300,000 400,000
How can you modify your query to make it become a Summary Report (1 line for each customer even if he has many invoices)?
Thanks
Leon Lai
Here's your code
SELECT T1.CardCode, T1.CardName, T1.CreditLine, T0.RefDate, T0.Ref1 'Document Number',
CASE WHEN T0.TransType=13 THEN 'Invoice'
WHEN T0.TransType=14 THEN 'Credit Note'
WHEN T0.TransType=30 THEN 'Journal'
WHEN T0.TransType=24 THEN 'Receipt'
END AS 'Document Type',
T0.DueDate, (T0.Debit- T0.Credit) 'Balance'
,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')<=-1),0) 'Future'
,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>=0 and DateDiff(day, T0.DueDate,'[%1]')<=30),0) 'Current'
,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>30 and DateDiff(day, T0.DueDate,'[%1]')<=60),0) '31-60 Days'
,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>60 and DateDiff(day, T0.DueDate,'[%1]')<=90),0) '61-90 Days'
,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>90 and DateDiff(day, T0.DueDate,'[%1]')<=120),0) '91-120 Days'
,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>=121),0) '121+ Days'
FROM JDT1 T0 INNER JOIN OCRD T1 ON T0.ShortName = T1.CardCode
WHERE (T0.MthDate IS NULL OR T0.MthDate > [%1]) AND T0.RefDate <= [%1] AND T1.CardType = 'C'
ORDER BY T1.CardCode, T0.DueDate, T0.Ref1 -
OUTGOING PAYMENT ROW INFORMATION WHERE IS IT STORED. NEED FOR A REPORT
OUTGOING PAYMENT ROW INFORMATION WHERE IS IT STORED. NEED FOR A REPORT
Try this thread:
Query for outgoing payment
Thanks,
Gordon -
Approver name for outgoing payment
Hi Friends,
I want a query for outgoing payment with the Username of the person who approved this and along with requester (originator) name .To print on crystal report one for requester name and other approved person name.Hi Pradyuman,
Please check below Query for Approver Name for Outgoing Payment.
SELECT T3.U_NAME
FROM OVPM T0
INNER JOIN OWDD T1 on T0.DocEntry = T1.DocEntry
INNER JOIN WDD1 T2 on T1.WddCode = T2.WddCode
INNER JOIN OUSR T3 ON T2.UserID = T3.USERID
WHERE T2.Status = 'Y' and T1.ObjType = 46 And T0.DocNum = $[OVPM.DocNum]
Please try below Query for User Name for Login User.
SELECT T0.U_NAME FROM OUSR T0 WHERE INTERNAL_K = $[USER] FOR BROWSE
Please put above Two FMS in Two Different UDF to Get Result of above FMS.
Please also check below links.
Approved by User name query
Name of authorizers within an approval procedure
Hope this helps
Regards::::
Atul Chakraborty -
Query that show total discount on A/R Invoice
Dear all,
I would like to have query that show summary of each invoice number that show 'Total of discount' ( 'Total of discount' = total of discount in line item + discount of total invoice ). Data that I would like to show on this query is as follow :
Invoice No, Invoice Date, Customer Code, Total before discount, 'Total of discount', Total Amount, Vat amount
Please kindly suggest the way to get this data.
Thanks you in advanced.
AngnamHi Angnam K,
Try This one...hope this will serve your purpose.
SELECT DocEntry, DocNum, CardCode, CardName, DocDate, [Total Before Discount] , [Totaldiscount]+ [OinvDiscount] as [Total of discount], VatSum [Total Tax] FROM (
SELECT T0.DocEntry,T0.[DocNum], T0.[DocDate], T0.[CardCode], T0.[CardName], SUM(T1.[LineTotal])[Total Before Discount],
SUM(T1.[PriceBefDi] * T1.Quantity *T1.[DiscPrcnt])/100 as [Totaldiscount]
,Case When T0.[DiscPrcnt] <> 0 Then (SUM(T1.[LineTotal])/ T0.[DiscPrcnt]) Else 0 end [OinvDiscount] ,T0.VatSum
FROM OINV T0 INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry
Group By T0.DocEntry,T0.[DocNum], T0.[DocDate], T0.[CardCode], T0.[CardName], T0.[DiscSum] ,T0.[DiscPrcnt],T0.VatSum )Sales
thanks,
Kumar
Edited by: itskumaramit on Jul 13, 2011 12:43 PM -
I'm trying to display a summary count of distinct values in a table based on their group category in a lookup table.
The query for the summary page looks like this...
SELECT rfs_category, lookup_value_desc, COUNT (*) the_count
FROM seeker_rfs LEFT OUTER JOIN lookup_type_values
ON rfs_category = lookup_value
GROUP BY rfs_category, lookup_value_desc
What I want on my summary page is a list with the lookup_value_desc and it's corresponding count (number of records in the seeker_rfs Table with that value). As they add more categories to the lookup table, the list would become longer dynamically without having to change the report.
The min and max records per page are "0" and Page Break Properties are set to "No" yet it keeps page breaking on each individual category value (distinct lookup_value_desc).
How can I get the result set into a single list of values with their counts w/o page breaking?
Edited by: Mark Folden on Nov 19, 2008 6:57 AMThank you Andreas, it was the Column/Break Order Property.
I am not fond of this tool! Between the MG and RG's I must have changed the "Page Break" and "Base Printing On" Properties a thousand times (I kid you not) with basically NO effect on the report output what-so-ever. That's what was so frustrating. No matter what changes I made to the various properties, it never changed the report ouput! I was basically just relegated to going through the properties one by one making changes until I found it.
Not an intuitive tool, especially for a beginning novice like myself with no training. I think I now understand why the person I inherited this project from hated it so much. I much prefer Forms! (not to mention the increased availability of resources on that forum)
Thanks again Andreas...
M
Maybe you are looking for
-
Single invoice for multiple deliveries in Export scenario
Hi All I am trying to create a single invoice for multiple deliveries. In case of Local Sales i am able to do it. But when it comes to export sales the system is not allowing me to create Single invoice for 2 deliveries . This is a export scenario. C
-
Hi All, I was interested in knowing how we can add a new field to an existing emigall object and also how to process the logic after adding the field ie. how would emigall handle the field after we have added the field in emigall. I would appreciate
-
Public folders in Mixed Exchange environment
We are running - Exchange 2007 - a LOT of users and a LOT of PF - Exchange 2010 ( currently very limited ) - Exchange 2013 - about 2000 users The Exch 2010 environment was pretty much stood up and had 30 pilot accounts on it before we decided to go t
-
Trying to download itunes and its not working, can someone help plz??
I am trying to download itunes to my computer, and everything seemed to be loading ok, but then when I get to the terms&conditions and I try to hit agree, nothing happens, it's as if I can not even click it, does anyone have any idea on what i can do
-
Trailing problem on Nokia 3300 platform
Hi! i am developing a game on couple of platforms, which displays fast moving objects each frame. it's working fine on all platforms except Nokia 3300, on which the trailing of the moving objects is too annoying. i have used image buffer to draw each