Total amount paid per month

Hi can someone check my sql,I what total amount paid for c_code not for people,the total amount paid for mar/apr you see its for all the people in organisation which is wrong
SELECT par.c_code,
                                   wm_concat( per.lastname)lastname,
                                              wm_concat(ATYPE.NAME) POSITION,
                                               SUM(PAY.amount)totalPaid,
                                               SUM(PAY.amount * DECODE(TO_CHAR(fpsch.payment_dt,'MONyyyy'),'APR'||fyea.YEAR,1,0))apr
                                      ,SUM(PAY.amount * DECODE(TO_CHAR(fpsch.payment_dt,'MONyyyy'),'MAY'||fyea.YEAR,1,0))may
FROM SMS_PARTIES per,
             SMS_ORGANISATION_CONTACTS con,
                SMS_PARTIES par,
                SMS_AGREEMENTS agr,
                SMS_AGREEMENT_YEARS AYEA,
                SMS_PAYMENTS PAY,
                SMS_AFFILIATION_TYPES atype,
                SMS_PAYMENT_BATCHES pbat,
                sms_fyea_open_vw fyea
             ,SMS_FUNDING_PAYMENT_SCHEDULES FPSCH
WHERE per.id = con.per_id
AND par.ID = con.ORG_ID(+)
AND ATYPE.ID(+) = CON.ATYPE_ID
AND par.ID = agr.PAR_ID
AND agr.ID = AYEA.AGR_ID
AND PAY.AYEA_ID = AYEA.ID
AND PAY.pbat_id  = pbat.id (+)
AND AYEA.fyea_year = fyea.YEAR
AND PBAT.FPSCH_ID = FPSCH.ID (+)
AND par.C_CODE IN ('C512','C70')
GROUP BY par.C_CODEC_CODE LASTNAME POSITION TOTALPAID APR MAY
C512 Goetham,Julies,Carolissen 2897574 1073574 912000
,Kleinhans,Goetham,Morris
,America,Julies,America,K
leinhans,Morris,America,C
arolissen,Julies,Goetham,
Kleinhans,Morris,Caroliss
en
C70 McPherson,McPherson,McPhe Treasurer,Treasurer,Chair 25344 5280 5280
rson,Meyer,Meyer,McPherso person,Treasurer,Chairper
n,Meyer,Meyer son,Chairperson,Treasurer
Edited by: user603350 on 2011/07/15 6:06 AM
Edited by: user603350 on 2011/07/15 6:09 AM

hi i have the create table script i hope someone will be able to help me
drop table SMS_AFFILIATION_TYPES;
drop table sms_months;
drop table SMS_FUNDING_PAYMENT_SCHEDULES;
drop table SMS_AGREEMENT_YEARS;
drop table SMS_PAYMENTS;
drop table SMS_AFFILIATION_TYPES;
drop table SMS_PAYMENT_BATCHES;
drop table SMS_FINANCIAL_YEARS;
drop view SMS_FYEA_OPEN_VW;
drop table SMS_AGREEMENTS;
drop table SMS_ORGANISATION_CONTACTS;
drop table SMS_PARTIES;
CREATE TABLE SMS_PARTIES
ID INTEGER NOT NULL,
C_CODE VARCHAR2(30 BYTE),
LASTNAME VARCHAR2(60 BYTE),
ORG_ID INTEGER,
par_type varchar2(10)
CREATE TABLE SMS_ORGANISATION_CONTACTS
PER_ID INTEGER NOT NULL,
ORG_ID INTEGER NOT NULL,
NOTE VARCHAR2(200 BYTE),
START_DT DATE,
END_DT DATE,
ATYPE_ID INTEGER
CREATE TABLE SMS_AGREEMENTS
ID NUMBER NOT NULL,
PAR_ID INTEGER,
SSCH_ID number)
CREATE TABLE SMS_AGREEMENT_YEARS
ID INTEGER NOT NULL,
AGR_ID NUMBER NOT NULL,
ASTA_ID INTEGER NOT NULL,
FYEA_YEAR INTEGER NOT NULL)
CREATE TABLE SMS_PAYMENTS
PBAT_ID INTEGER NOT NULL,
AMOUNT NUMBER(13,2) NOT NULL,
AYEA_ID INTEGER NOT NULL,
OFF_ID INTEGER,
SSCH_ID INTEGER
CREATE TABLE SMS_AFFILIATION_TYPES
ID INTEGER NOT NULL,
NAME VARCHAR2(80 BYTE) NOT NULL,
ATYPE_TYPE VARCHAR2(10 BYTE) NOT NULL,
DATE_CREATED DATE,
DATE_MODIFIED DATE,
MODIFIED_BY VARCHAR2(30 BYTE),
CREATED_BY VARCHAR2(30 BYTE),
REQUIRED INTEGER
CREATE TABLE SMS_PAYMENT_BATCHES
ID INTEGER NOT NULL,
BATCH_DT DATE ,
BATCH_NUMBER VARCHAR2(25 BYTE) ,
FPSCH_ID INTEGER
CREATE TABLE SMS_FINANCIAL_YEARS
YEAR INTEGER NOT NULL,
START_DT DATE NOT NULL,
END_DT DATE NOT NULL,
CREATED_BY VARCHAR2(80 BYTE),
DATE_CREATED DATE
CREATE OR REPLACE VIEW SMS_FYEA_OPEN_VW
(YEAR, START_DT, END_DT, FIN_YEAR)
AS
SELECT FYEA.YEAR
     ,start_dt
     ,end_dt
     ,YEAR || '/' || LPAD (LTRIM (SUBSTR (YEAR + 1, -2)), 2, 0) fin_year
     FROM SMS_FINANCIAL_YEARS fyea
     WHERE EXISTS (SELECT 1 FROM SMS_MONTHS
                         WHERE closed_dt IS NULL
                         AND fyea_year = YEAR)
AND YEAR = (SELECT MIN(fyea_year) FROM SMS_MONTHS
                         WHERE closed_dt IS NULL);
CREATE TABLE SMS_MONTHS
ID NUMBER NOT NULL,
FYEA_YEAR INTEGER NOT NULL,
NAME VARCHAR2(30 BYTE) NOT NULL,
MONTH_NO INTEGER,
MONTH_END_DT DATE,
CLOSED_DT DATE,
DATE_MODIFIED DATE,
MODIFIED_BY VARCHAR2(30 BYTE),
CREATED_BY VARCHAR2(30 BYTE),
DATE_CREATED DATE
CREATE TABLE SMS_FUNDING_PAYMENT_SCHEDULES
ID INTEGER NOT NULL,
MON_ID NUMBER NOT NULL,
TAS_ID INTEGER,
SEQ INTEGER ,
RUN_DT DATE ,
PAYMENT_DT DATE ,
RUN_TYPE INTEGER ,
CUT_OFF_DATE DATE,
AGR_ID NUMBER,
PTYPE_CODE VARCHAR2(5 BYTE) DEFAULT 'EFT' NOT NULL
INSERT INTO SMS_PARTIES ( ID, PAR_TYPE, C_CODE, LASTNAME, ORG_ID ) VALUES (
57356, 'FAC', 'C512', NULL, null);
INSERT INTO SMS_PARTIES ( ID, PAR_TYPE, C_CODE, LASTNAME, ORG_ID ) VALUES (
57357, 'FAC', 'C70', NULL, null);
INSERT INTO SMS_PARTIES ( ID, PAR_TYPE, C_CODE, LASTNAME,
ORG_ID ) VALUES (
5186,'PER',null,'McPherson',57357);
INSERT INTO SMS_PARTIES ( ID,C_CODE,par_type,LASTNAME,
ORG_ID
) VALUES (
5187,null,'PER','Meyer',57356);
INSERT INTO SMS_ORGANISATION_CONTACTS ( PER_ID, ORG_ID, ATYPE_ID ) VALUES (
5186, 57357, 25523);
INSERT INTO SMS_ORGANISATION_CONTACTS ( PER_ID, ORG_ID, ATYPE_ID ) VALUES (
5187, 57357,25522);
INSERT INTO SMS_AFFILIATION_TYPES ( ID, NAME, ATYPE_TYPE ) VALUES (
25522, 'Treasurer', 'STYPE');
INSERT INTO SMS_AFFILIATION_TYPES ( ID, NAME, ATYPE_TYPE ) VALUES (
25523, 'Chairperson', 'STYPE');
INSERT INTO SMS_AGREEMENTS ( ID, PAR_ID, SSCH_ID ) VALUES (
258266, 57357, 3);
INSERT INTO SMS_AGREEMENTS ( ID, PAR_ID, SSCH_ID ) VALUES (
258263, 57356, 11);
INSERT INTO SMS_AGREEMENT_YEARS ( ID, AGR_ID, ASTA_ID, FYEA_YEAR ) VALUES (
53903, 258266, 2444, 2011);
INSERT INTO SMS_AGREEMENT_YEARS ( ID, AGR_ID, ASTA_ID, FYEA_YEAR ) VALUES (
1209077, 258263, 2444, 2011);
INSERT INTO SMS_PAYMENTS ( PBAT_ID, AMOUNT, AYEA_ID,
SSCH_ID ) VALUES (
64, 152000, 53903, NULL);
INSERT INTO SMS_PAYMENTS ( PBAT_ID, AMOUNT, AYEA_ID
,SSCH_ID) VALUES (
67, 2640, 1209077, 1209077);
INSERT INTO SMS_PAYMENT_BATCHES ( ID, BATCH_NUMBER,
FPSCH_ID ) VALUES (
64,'2011-002', 11494);
INSERT INTO SMS_PAYMENT_BATCHES ( ID, BATCH_NUMBER,
FPSCH_ID ) VALUES (
67,'2011-001', 11496);
INSERT INTO SMS_MONTHS ( ID, FYEA_YEAR, NAME, MONTH_NO, MONTH_END_DT, CLOSED_DT, DATE_MODIFIED,
MODIFIED_BY, CREATED_BY, DATE_CREATED ) VALUES (
16991, 2011, 'April', 1, TO_Date( '04/22/2011 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, TO_Date( '05/05/2011 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'), TO_Date( '05/05/2011 08:48:53 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SMSPUSER', 'SMSPUSER', TO_Date( '03/24/2011 09:47:34 AM', 'MM/DD/YYYY HH:MI:SS AM'));
INSERT INTO SMS_MONTHS ( ID, FYEA_YEAR, NAME, MONTH_NO, MONTH_END_DT, CLOSED_DT, DATE_MODIFIED,
MODIFIED_BY, CREATED_BY, DATE_CREATED ) VALUES (
16992, 2011, 'May', 2, TO_Date( '05/22/2011 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, TO_Date( '05/31/2011 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'), TO_Date( '05/31/2011 02:28:46 PM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SMSPUSER', 'SMSPUSER', TO_Date( '03/24/2011 09:47:34 AM', 'MM/DD/YYYY HH:MI:SS AM'));
INSERT INTO SMS_FUNDING_PAYMENT_SCHEDULES ( ID, MON_ID, TAS_ID, SEQ, RUN_DT, PAYMENT_DT, RUN_TYPE,
CUT_OFF_DATE, AGR_ID, PTYPE_CODE ) VALUES (
11494, 16991, NULL, NULL, TO_Date( '08/11/2011 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, TO_Date( '04/07/2011 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'), NULL, NULL, 258263
, 'EFT');
INSERT INTO SMS_FUNDING_PAYMENT_SCHEDULES ( ID, MON_ID, TAS_ID, SEQ, RUN_DT, PAYMENT_DT, RUN_TYPE,
CUT_OFF_DATE, AGR_ID, PTYPE_CODE ) VALUES (
11496, 16992, NULL, NULL, TO_Date( '08/11/2011 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, TO_Date( '05/18/2011 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'), NULL, NULL, 258266
, 'EFT');
INSERT INTO SMS_FINANCIAL_YEARS ( YEAR, START_DT, END_DT, CREATED_BY,
DATE_CREATED ) VALUES (
2009, TO_Date( '04/01/2009 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'), TO_Date( '03/31/2010 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SDMS01', TO_Date( '06/20/2008 04:50:35 PM', 'MM/DD/YYYY HH:MI:SS AM'));
INSERT INTO SMS_FINANCIAL_YEARS ( YEAR, START_DT, END_DT, CREATED_BY,
DATE_CREATED ) VALUES (
2010, TO_Date( '04/01/2010 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'), TO_Date( '03/31/2011 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SMSPUSER', TO_Date( '03/24/2010 09:47:34 AM', 'MM/DD/YYYY HH:MI:SS AM'));
INSERT INTO SMS_FINANCIAL_YEARS ( YEAR, START_DT, END_DT, CREATED_BY,
DATE_CREATED ) VALUES (
2011, TO_Date( '04/01/2011 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'), TO_Date( '03/31/2012 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SMSPUSER', TO_Date( '04/19/2011 11:40:08 AM', 'MM/DD/YYYY HH:MI:SS AM'));
INSERT INTO SMS_FINANCIAL_YEARS ( YEAR, START_DT, END_DT, CREATED_BY,
DATE_CREATED ) VALUES (
2006, TO_Date( '04/01/2006 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'), TO_Date( '03/31/2007 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SMS01', TO_Date( '06/17/2008 12:11:22 PM', 'MM/DD/YYYY HH:MI:SS AM'));
INSERT INTO SMS_FINANCIAL_YEARS ( YEAR, START_DT, END_DT, CREATED_BY,
DATE_CREATED ) VALUES (
2005, TO_Date( '04/01/2005 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'), TO_Date( '03/31/2006 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SMS01', TO_Date( '06/17/2008 12:11:31 PM', 'MM/DD/YYYY HH:MI:SS AM'));
INSERT INTO SMS_FINANCIAL_YEARS ( YEAR, START_DT, END_DT, CREATED_BY,
DATE_CREATED ) VALUES (
2008, TO_Date( '04/01/2008 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'), TO_Date( '03/31/2009 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SMS01', TO_Date( '03/20/2008 07:33:05 AM', 'MM/DD/YYYY HH:MI:SS AM'));
INSERT INTO SMS_FINANCIAL_YEARS ( YEAR, START_DT, END_DT, CREATED_BY,
DATE_CREATED ) VALUES (
2007, TO_Date( '04/01/2007 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM'), TO_Date( '03/31/2008 12:00:00 AM', 'MM/DD/YYYY HH:MI:SS AM')
, 'SMS01', TO_Date( '06/03/2008 12:42:36 PM', 'MM/DD/YYYY HH:MI:SS AM'));
ALTER TABLE sms_parties ADD (CONSTRAINT par_par_pk PRIMARY KEY (id)) ;
ALTER TABLE SMS_AGREEMENT_YEARS ADD (CONSTRAINT ayea_ayea_pk PRIMARY KEY (id)) ;
ALTER TABLE SMS_PAYMENT_BATCHES ADD (CONSTRAINT pay_bat_pk PRIMARY KEY (id)) ;
ALTER TABLE SMS_AGREEMENTS ADD (CONSTRAINT agr_agr_pk PRIMARY KEY (id)) ;
ALTER TABLE SMS_PARTIES ADD (
CONSTRAINT PAR_PAR_FK FOREIGN KEY (ORG_ID)
REFERENCES SMS_PARTIES (ID));
ALTER TABLE SMS_ORGANISATION_CONTACTS ADD (
CONSTRAINT OCON_ORG_FK FOREIGN KEY (ORG_ID)
REFERENCES SMS_PARTIES (ID));
ALTER TABLE SMS_ORGANISATION_CONTACTS ADD (
CONSTRAINT OCON_PER_FK FOREIGN KEY (PER_ID)
REFERENCES SMS_PARTIES (ID));
ALTER TABLE SMS_AGREEMENTS ADD (
CONSTRAINT AGR_PAR_FK FOREIGN KEY (PAR_ID)
REFERENCES SMS_PARTIES (ID));
ALTER TABLE SMS_AGREEMENT_YEARS ADD (
CONSTRAINT AYEA_AGR_FK FOREIGN KEY (AGR_ID)
REFERENCES SMS_AGREEMENTS (ID));
ALTER TABLE SMS_PAYMENTS ADD (
CONSTRAINT PAY_PBAT_FK FOREIGN KEY (PBAT_ID)
REFERENCES SMS_PAYMENT_BATCHES (ID));
ALTER TABLE SMS_AFFILIATION_TYPES ADD (
CONSTRAINT ATYPE_PK PRIMARY KEY (ID))
ALTER TABLE SMS_PAYMENT_BATCHES ADD (
CONSTRAINT PBAT_PK PRIMARY KEY (ID))
ALTER TABLE SMS_FUNDING_PAYMENT_SCHEDULES ADD (
CONSTRAINT FPSCH_AGR_FK FOREIGN KEY (AGR_ID)
REFERENCES SMS_AGREEMENTS (ID));
update sms_months set closed_dt=NULL;
commit;
select * from cat;
Edited by: user603350 on 2011/07/19 4:32 AM
Edited by: user603350 on 2011/07/19 4:36 AM
Edited by: user603350 on 2011/07/19 4:47 AM
Edited by: user603350 on 2011/07/19 4:59 AM
Edited by: user603350 on 2011/07/19 5:06 AM

Similar Messages

  • Get the Total Amount Paid of an A/R Invoice

    Hi to All.,
    Im doing a Report where in i should show the total amount paid in an A/R Invoice
    But my Problem is i dont know what table to get it ..
    thx in advance ..

    Hi!
    Try my query here. I'm using this to get my AR Balance base on the date I enter.
    The table I use here were OITR and ITR1 (table of internal reconciliation).
    SELECT
    T0.DocNum,
    T0.DocDate,
    T0.DocTotal,
    isnull(T3.ReconSum,0) as 'Paid to Date',
    ((T0.[DocTotal]) -isnull(T3.reconsum,0)) Balance
    FROM OINV T0 
    LEFT OUTER JOIN (
    SELECT a1.[SrcObjTyp],sum(isnull(a1.[ReconSum],0)) as 'ReconSum',a1.[SrcObjAbs] from OITR a0 INNER JOIN ITR1 a1 ON a0.ReconNum = a1.ReconNum and (a0.ReconDate < [%0]) and a0.iscard='C'
    GROUP BY a1.[SrcObjTyp],a1.[SrcObjAbs]) T3 on T0.[ObjType]=T3.[SrcObjTyp] and  T0.Docentry=T3.[SrcObjAbs]
    where T0.DocDate < [%0] and T0.DocTotal >0
    Hope this helps!
    Regards,

  • F110/ FBZP - maximum amount paid per Vendor in Payment run

    Hi
    How do i create payment run where i want to restrict the maximum paid to a vendor per transaction.
    If amount exceeds this, i still wish to pay, but to split over more than one payment order
    Our BACS payments are now being processed via FASTER PAYMENTS, and there seems to be a limit of £100,000 per transaction per vendor - anything over is being rejected by danske bank
    So far example above, if vendor is due 156,000 - i wish to make this payment still to them, but over 2 or 2 payment orders, none of them to be more than 100,000
    I have tried several methods via FBZP by using the maximum amount, but none of my settings seem to work so far,
    Please advise
    Many thanks for your help
    Tony

    Hi Tony,
    Not exactly the solution, but going forward you can try split the invoices and process it separately at the time of invoicing itself. Otherwise you can try the option installment payment terms, but there may be at least one day difference in payment.
    Warm regards,
    Murukan Arunachalam

  • Count by id not by total number of amount paid

    hi i what to count by total id not by total number of amount paid
    {SELECT COUNT(*)NoEcd,agr.SSCH_ID,SUM(amount)FROM SMS_AGREEMENTS agr,
                                                                                       SMS_AGREEMENT_YEARS yea,
                                                                                                     SMS_PAYMENTS PAY
                             WHERE agr.id = YEA.agr_id
                             AND agr.ssch_id IN(1,3,24)
                             AND PAY.AYEA_ID = yea.ID
                             AND yea.FYEA_YEAR IN( 2008)
                             GROUP BY agr.SSCH_ID  }
    NOECD | SSCH_ID| SUM(AMOUNT)
    *627* | 1 | 5186229
    *10181* | 3 | 114057485
    *336* | 24 | 1120882
    this is the number of id without total amount paid when i put total amount paid the total id change
    {SELECT COUNT(agr.SSCH_ID)NoEcd,agr.SSCH_ID FROM SMS_AGREEMENTS agr,
                                                                  SMS_AGREEMENT_YEARS yea
                --       SMS_PAYMENTS PAY
        WHERE agr.id = YEA.agr_id
        AND agr.ssch_id IN(1,3,24)
        --AND PAY.AYEA_ID = yea.ID
        AND yea.FYEA_YEAR = 2008
        GROUP BY agr.SSCH_ID;}
    i what this with the total amount paid like top
    NOECD| SSCH_ID
    *63* | 1
    *868* | 3
    *35* | 24
    Edited by: user603350 on 2011/07/11 11:59 PM
    Edited by: user603350 on 2011/07/12 1:29 AM
    Edited by: user603350 on 2011/07/12 1:58 AM
    Edited by: user603350 on 2011/07/12 2:00 AM
    Edited by: user603350 on 2011/07/12 2:21 AM
    Edited by: user603350 on 2011/07/12 2:24 AM
    Edited by: user603350 on 2011/07/12 2:25 AM

    hi i what to count by total id not by total number of amount paid
    i try to edited, i only what to count by id like in the last query,the last query muts have total piad like first query but with the total ecd in bold in last query
    {SELECT COUNT(*)NoEcd,agr.SSCH_ID,SUM(amount)FROM SMS_AGREEMENTS agr,
                                                                                       SMS_AGREEMENT_YEARS yea,
                                                                                                     SMS_PAYMENTS PAY
                             WHERE agr.id = YEA.agr_id
                             AND agr.ssch_id IN(1,3,24)
                             AND PAY.AYEA_ID = yea.ID
                             AND yea.FYEA_YEAR IN( 2008)
                             GROUP BY agr.SSCH_ID  }
    NOECD SSCH_ID SUM(AMOUNT)
    *627* 1 5186229
    *10181* 3 114057485
    *336* 24 1120882
    this is the number of id without total amount paid when i put total amount paid the total id change
    {SELECT COUNT(agr.SSCH_ID)NoEcd,agr.SSCH_ID FROM SMS_AGREEMENTS agr,
                                                                  SMS_AGREEMENT_YEARS yea
                --       SMS_PAYMENTS PAY
        WHERE agr.id = YEA.agr_id
        AND agr.ssch_id IN(1,3,24)
        --AND PAY.AYEA_ID = yea.ID
        AND yea.FYEA_YEAR = 2008
        GROUP BY agr.SSCH_ID;}
    i what this with the total amount paid like top
    NOECD SSCH_ID
    *63* 1
    *868* 3
    *35* 24

  • How do I total expenses per month

    I am using the check register template in numbers.  I added a table to calculate a running total of expenses per category per month.  I can get the table to keep a running total of expenses per category, but have not been able to add the per month value.  How do I add that part into my formula. Specifically, my formula so far is =SUMIF(Transactions :: $Category,A2,Transactions :: Amount).  Now all I need is to add the month value so I can see how much I am spending per month per category.

    Transactions
    Beginning Balance
    $126.37
    Type
    Date
    Description
    Category
    Amount
    Balance
    Debit
    3/19/12
    Gas at Shell
    Bills
    $          (50.54)
    $          75.83
    Debit Card
    3/20/12
    Starbucks
    Starbucks
    $          (1.79)
    $          74.04
    Debit Card
    3/21/12
    Freebirds Austin
    Food
    $          (9.72)
    $          64.32
    Debit Card
    3/23/12
    Smokey Mo’s
    Food
    $          (7.00)
    $          57.32
    Deposit
    3/26/12
    Deposit
    Deposit
    $          100.00
    $          1,444.57
    Debit Card
    Bills
    $          1,444.57
    DEP
    Bills
    $          1,444.57
    DEP
    Bills
    $          1,444.57
    Debit Card
    Bills
    $          1,444.57
    105
    Bills
    $          1,444.57
    DEP
    Bills
    $          1,444.57
    Debit Card
    Bills
    $          1,444.57
    Bills
    $          1,444.57
    Here is an example of the checking register table I am building
    Category
    Amount
    Home
    $          0.00
    Food
    $          (16.72)
    Bills
    $          (50.54)
    Credit Card
    $          0.00
    Entertainment
    $          0.00
    Starbucks
    $          (1.79)
    Total
    $          (69.05)
    And here is an example of the table for "March" that I am building. But, I only want March expenses to add in this table.  Once April comes around, I want a new table to show expenses per category for that month. 
    I am new to this community, to have patience please.

  • Chart: amount (count) of records per month (and year). How?

    I need to create a chart eventually. Can't get what formula to use. The data is:
    1 | 15 Jan
    2 | 20 Jan
    25 | 14 Mar
    26 | 16 Mar
    28 | 20 Mar
    The chart should show amount(count) of records per month(and year). So in this example:
    Jan: 2
    Mar: 3
    Hm... totally lost. Any tips?

    To do this it would be best to add a column in which you isolate the month from the rest of the date information. Here's an example:
    You may hide the Month-Isolated column if it impacts your presentation.
    The Month-Isolated formula is: =IF(ISBLANK(B), "", (MONTH(B)))
    The formula for the count in the Summary table is: =COUNTIF(Data Table :: $C, COLUMN())
    Hope this gets you on your way.
    Regards,
    Jerry

  • How can I indicate in a vendor a total amount invoice will be paid partiall

    Hello Friends,
    I'd appreciate very much you could indicate me how can I indicate in a vendor a total amount invoice will be paid partially in 12 months. I mean that for example, we have an invoice for 12000 Eur and the payment should be made 1200 Eur every month during a year.
    Thanks in advance for your help.
    Kind regards,

    Hi Shantanu,
    Installment Payment terms can be configured in OBB8 and OBB9 and that is the perfect solution to cater to this requirement.
    BUT
    What I understand from your question it looks like Prepaid Expenses scenario.. Also think of Recurring entry if you do not want to create a Vendor Invoice liability in one go..
    Regards,
    SAPFICO

  • I pay 25 euros for three moit for illustrator but I can not use it. I try to cancel my subscription, but it's impossible because it is written that I have not paid subscription! Yet adobe takes me 25 euro per month!

    I pay 25 euros for three moit for illustrator but I can not use it. I try to cancel my subscription, but it's impossible because it is written that I have not paid subscription! Yet adobe takes me 25 euro per month!

    Delphine,
    I believe this is one for a chat,
    Creative Cloud support (all Creative Cloud customer service issues, chat open between 5AM and 7PM PST/PDT on workdays)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html
    or for Adobe phone Support,
    http://helpx.adobe.com/adobe-connect/adobe-connect-phone-numbers.html

  • HT1904 how can i restrict the amount of purchases per month

    how do i restrict the dollar amount of purchases per month?

    Best method:  Remove your credit card information from the AppleID account in iTunes or App Store, Buy giftcards and redeem them.
    Or, you could use the PayPal option, and just transfer the allowance over.
    HTH

  • How to get denomination of Notes ? for the amount paid

    Dear Freinds
       i have requirement where the total amount obtained by a employee through Cash . They wanted to have denomination
    for the amount paid ito that employee
    ex : An X employee got RS.5550 rupees as cash. They wanted to know how much money has been paid in Denomination
    of  10 Rupee notes,20 Rupee notes,50 Rupee notes,100 Rupee note,500 Rupee note & 1000 Rupee notes.
    so the data has to be displayed should be
    since the employee is gettign 5550 --> it has to 1000*5 --> Five Thousand rupees notes --- 5 count should come
    500 will be paid as ---> 500 * 1  -
    Five hudress count is 1
    50 is the balance -
    it will be paid as fivty note -- Count is 1.
    so i have to get  5000------ count 5 , 500 count 1,50 count 1. Can any one go this type of denomination doing code please
    let me know how to proceed.
    Regards
    divya
    Edited by: Divya Kumari on Jul 8, 2011 2:18 PM

    Actually
    the scenario is that in some employees ( if you go employee subgroup) like daily labour and casual labours will be paid
    on daily bais for them they will not be paid to bank . I n that case  those type of employees will be paid by CASH. So in teh month end the company wanted to knwo what type and how much money paid .
    regards
    divya

  • CAR - minutes per month reporting

    CUCM - 9.1(1)
    I can report on the total amount of calls per month per number in CAR using:
    CAR > System Reports > Traffic > Summary by phone number
    I'm also trying to report on the total number of minutes a phone is in calls over a monthly period too.  How would I do this?
    Many thanks
    Trevyn

    If there's no pre-configured report for that, you could export the CDR data from the CAR web page and then use Excel to sort by number and calculate the total number of minutes for a certain month.

  • BT are overcharging me by £40 per month + other gr...

    Hello, everyone.
    This is my first post here, and it will be long, and in the form of a mixture of a rant and a complaint, and I want to apologise for that beforehand. I don't want to be *that guy* who comes into a room and instantly kicks off about something, but I'm at my wits' end, and I have never before been treated like this by any service provider.
    The reason I'm posting this here is because I literally can't find out how to complain to BT. Their pre-formulated "solutions" avail me not, I've tried calling and using the option of having them call me back, which they never did/do, and it's pointless for me to talk to some guy in a call centre halfway around the world who not only misunderstands the nature of my complaint, but, even if he did, would be powerless to change it.
    This is the complaint I sent to BT, which prompted the aforementioned call centre operator to contact me and suggest that I "change my password every day for a month". I live with two other people, and we all have numerous internet devices (laptops, stationary pcs, smart phones) - around 10 in total - and you want me to change the password *every day* for *one month* to see if that might solve the problem?
    Anyway, here it is:
    To whom it may concern
    I have been repeatedly abused and mistreated by BT. The last on a long and painful list of grievances is that when my broadband security password (never changed from the default one, and never shown to anyone outside my dwelling place) was hacked and my connection used to download up to FIVE TIMES my usage limit, you were not only too happy to take the obscene amounts of money you charge for gigabytes in excess of this pernicious download limit, (which, by the way, NO ONE informed me of when I was PETITIONED to switch to BT Broadband, during a call in which the glorified hawker (cursed be his name) managed to PROMISE me MINIMUM download speeds of 12 MB per SECOND (a guarantee I was mindless enough not to ask for in writing)), but you also deigned to wait THREE MONTHS before informing me that my usage had (suddenly, and suspiciously, you would think) gone from around my measly 10 allotted gigabytes per month to FIFTY. Add to this the fact that when I tried to get my landline activated at my humble abode (or so it must strike you as, to pay it such little heed), you never did appear on the date the PRINTED LETTER you had sent me stated, and when I called to inquire as to the reason of your hired guns' truancy, you informed me that regrettably, I had chosen an ILLEGAL COMBINATION in my package (this fact was very well hidden by your Byzantine sign-up procedure, as it showed no outward signs of condemnation of my ILLEGAL COMBINATION, but rather allowed me to COMBINE ILLEGALLY, take my money, arrange an activation date and SEND ME A LETTER CONFIRMING THIS, and then took NO FURTHER ACTION to notify me that my COMBINATION had been ILLEGAL FOR SIX WEEKS while I awaited my overdue landline activation with trepidation), so you were in fact not going to come and activate my landline, and had now CANCELLED my order. Again, WITHOUT TELLING ME. I then had to wait ANOTHER FOUR WEEKS before your hired buffoons ("I'm sorry, sir, but we subcontract the actual activation of the landline to the COMPLETELY UNRELATED company BT OPENREACH, so there is no way we can actually override the system and give you an earlier activation date"), after having cost me SEVERAL THOUSAND POUNDS in lost income (yet again!), finally came in to flick the switch ("That'll be £125, please!").
    At this point in time, I believe it would be prudent for you, as a company, to offer me some token of reimbursement as a measure of your no doubt elephantine remorse, regret and contrition by way of... well, what would you suggest?
    Now, I know that this is written in a sarcastic and choleric tone (I've tried being civil, patient and polite, but that has gotten me nowhere in a hurry), but surely that does not negate the validity of my complaint
    I should also note that I was notified that the problem might be online gaming. I have since stopped doing that altogether, but looking at my broadband usage now, it hasn't solved the problem at all. In fact, it has made no discernible interest whatsoever.
    The only explanation I can think of for the increased usage is that someone has hacked into my connection. Why else would I suddenly be downloading five times as much per month?
    I guess what I'm asking you people is what I should do to resolve this.
    If I cancel my DirectDebit payments, that might get BT's attention, but it also might result in them suspending my internet connection, and I work from home and am completely reliant on a fast and stable internet connection (did I mention it stops working / falls out every 20 minutes?), which is another reason why I would never have signed up for this plan in the first place if I knew I could only use 10 GB per month (which I nevertheless stayed within for the first months).
    If I leave BT, I'll probably have to pay for the outstanding months of the 18 month contract I was tricked into signing, and I would have to go without an internet connection until I can get with another ISP.
    If I upgrade my plan, I'll be giving these bloodsuckers even more of my money, not less.
    As I wrote earlier, I'm at the end of my tether, so any help or advice would be greatly appreciated.
    Thank you,
    KidC

    Hi this is a customer to customer self help forum for BT Residential Customers. As you refer to lost business maybe you should post on the  BT Business Forum, the only BT presence here are the Forum Moderators you could try contacting them at this link 
    http://bt.custhelp.com/app/contact_email/c/4951
    they normally reply by email or phone within 72 hours
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • [Q] Query for outstanding payment per month

    I have data like this:
    Bill: $100
    In January, I paid $50
    In Febuary, I paid $30
    In March, I paid $20
    I used 2 tables (table A and table B)
    Table A used to save total amount of the bill. Table B used to save how much I paid the bills. Table A Primary Key is the Foreign Key for Table B.
    I need to make a report like this:
    In January the report will be:
    Bill: $100
    Payment1: $50
    In Febuary:
    Bill: $100
    Payment1: $50
    Payment2: $30
    In March:
    Bill: $100
    Payment1: $50
    Payment2: $30
    Payment3: $20
    In May it won't appear because it already paid in March.
    This is my Query:
    SELECT A.BILL, A.BILL_DATE, B.PAYMENT, B.PAYMENT_DATE
    FROM TABLE_A AS A
    LEFT JOIN TABLE_B AS B ON A.BILL_NO = B.BILL_NO
    WHERE MONTH(A.BILL_DATE) <= @PERIOD_MONTH AND YEAR(A.BILL_DATE) = @PERIOD_YEAR

    Thanks for answering, but I just tried and I don't think its the result.
    This is my table structure:
    CREATE TABLE BILL
    BILL_ID INT INDENTITY NOTNULL
    BILL_DATE DATETIME
    BILL_AMOUNT NUMERIC(10,2)
    BILL_BALANCE NUMERIC(10,2)
    CREATE TABLE PAYMENT
    PAYMENT_ID INT IDENTITY NOTNULL
    BILL_ID INT
    PAYMENT_DATE DATETIME
    PAYMENT_AMOUNT NUMERIC(10,2)
    )INSERT INTO @BILL VALUES(1,'2014-01-01',100,0)PAYMENT 1INSERT INTO @PAYMENT VALUES(1,1,'2014-01-02',50)
    UPDATE BILL SET BILL_BALANCE = BILL_BALANCE + 50 WHERE BILL_ID = 1PAYMENT 2INSERT INTO @PAYMENT VALUES(1,1,'2014-02-01',30)
    UPDATE BILL SET BILL_BALANCE = BILL_BALANCE + 30 WHERE BILL_ID = 1
    Everytime I paid, BILL_BALANCE = BILL_BALANCE + PAYMENT_AMOUNT
    In january: 
    BILL_AMOUNT = $100
    BILL_BALANCE = $50
    In Feb:
    BILL_BALANCE = $80 etc.
    at first I have 11 Payment data, after I'm using cross join, it become 780 data.

  • I need to display, a record  count on a column within a table per month

    This is what i currently have...but not what i am looking for...
    select creation_date,
    sum(DECODE(to_char(creation_date, 'MM/DD/YYYY HH24:MI:SS'),'01', 1,0)) JAN,
    sum(DECODE(to_char(creation_date, 'MM/DD/YYYY HH24:MI:SS'),'02', 1,0)) FEB,
    sum(DECODE(to_char(creation_date, 'MM/DD/YYYY HH24:MI:SS'),'03', 1,0)) MAR,
    sum(DECODE(to_char(creation_date, 'MM/DD/YYYY HH24:MI:SS'),'04', 1,0)) APR,
    sum(DECODE(to_char(creation_date, 'MM/DD/YYYY HH24:MI:SS'),'05', 1,0)) MAY,
    sum(DECODE(to_char(creation_date, 'MM/DD/YYYY HH24:MI:SS'),'06', 1,0)) JUN,
    sum(DECODE(to_char(creation_date, 'MM/DD/YYYY HH24:MI:SS'),'07', 1,0)) JUL,
    sum(DECODE(to_char(creation_date, 'MM/DD/YYYY HH24:MI:SS'),'08', 1,0)) AUG,
    sum(DECODE(to_char(creation_date, 'MM/DD/YYYY HH24:MI:SS'),'09', 1,0)) SEP,
    sum(DECODE(to_char(creation_date, 'MM/DD/YYYY HH24:MI:SS'),'10', 1,0)) OCT,
    sum(DECODE(to_char(creation_date, 'MM/DD/YYYY HH24:MI:SS'),'11', 1,0)) NOV,
    sum(DECODE(to_char(creation_date, 'MM/DD/YYYY HH24:MI:SS'),'12', 1,0)) DEC,
    count(*) TOTAL
    from applsys.fnd_user
    where creation_date > to_date('01/01/2010','MM-DD-YYYY')
    GROUP BY creation_date
    order by 1;
    I need the amount of users added to be displayed per month..together with a total...
    output similar to this:
    COYDIV      JAN     FEB     MAR     APR     MAY     JUN     JUL     AUG     SEP     OCT     NOV     DEC      TOTAL
    101     4     0     1     0     0     0     0     0     0     0     0     0     5
    102     0     3     0     0     0     0     0     0     0     0     0     0     3
    103     0     1     1     0     0     0     0     0     0     0     0     0     2
    104     0     1     0     0     0     0     0     0     0     0     0     0     1
    105     0     0     1     0     0     0     0     0     0     0     0     0     1
    107     1     0     0     0     0     0     0     0     0     0     0     0     1
    108     0     1     0     0     0     0     0     0     0     0     0     0     1
    109     2     0     2     0     0     0     0     0     0     0     0     0     4
    117     0     0     2     0     0     0     0     0     0     0     0     0     2
    118     0     0     1     0     0     0     0     0     0     0     0     0     1
    119     0     0     1     0     0     0     0     0     0     0     0     0     1
    122     0     1     0     0     0     0     0     0     0     0     0     0     1
    201     1     0     0     0     0     0     0     0     0     0     0     0     1
    401     4     0     1     0     0     0     0     0     0     0     0     0     5
    403     0     1     0     0     0     0     0     0     0     0     0     0     1
    603     0     0     1     0     0     0     0     0     0     0     0     0     1
    609     0     0     3     0     0     0     0     0     0     0     0     0     3
    612     1     0     0     0     0     0     0     0     0     0     0     0     1
    615     0     2     0     0     0     0     0     0     0     0     0     0     2
    619     0     0     1     0     0     0     0     0     0     0     0     0     1
    2001     0     2     2     0     0     0     0     0     0     0     0     0     4
    2201     0     1     2     0     0     0     0     0     0     0     0     0     3
    2301     0     0     1     0     0     0     0     0     0     0     0     0     1
    2302     0     1     0     0     0     0     0     0     0     0     0     0     1
    2303     0     0     1     0     0     0     0     0     0     0     0     0     1
    5001     0     2     3     0     0     0     0     0     0     0     0     0     5
    TOTAL     13     16     24     0     0     0     0     0     0     0     0     0     53
    any ideas on how i can remedy my script

    Ok here goes
    1. boldVersion 11.1.0.7.0
    2. boldsample data
    "USER_ID","USER_NAME", "LAST_UPDATE_DATE", "LAST_UPDATED_BY", "CREATION_DATE", "CREATED_BY","LAST_UPDATE_LOGIN","SESSION_NUMBER","START_DATE","END_DATE","DESCRIPTION", "LAST_LOGON_DATE","PASSWORD_DATE","PASSWORD_ACCESSES_LEFT","PASSWORD_LIFESPAN_ACCESSES","PASSWORD_LIFESPAN_DAYS","EMPLOYEE_ID","EMAIL_ADDRESS","FAX","CUSTOMER_ID","SUPPLIER_ID","WEB_PASSWORD","USER_GUID","GCN_CODE_COMBINATION_ID","PERSON_PARTY_ID"
    2289, [email protected], 3/24/2010 12:37:23 PM, 2289, 1/18/2010 12:22:49 PM, 1295, 4975366, 24, 1/18/2010, ,Cecilia Buthelezi,4/6/2010 8:46:36 AM,3/24/2010 12:37:23 PM,,,30,8180,[email protected],,,,,,,20702
    2269, [email protected], 3/24/2010 3:40:47 PM, 2269, 1/14/2010 3:42:58 PM, 1295, 4917252, 10, 1/14/2010, ,Heather Summers, 3/24/2010 3:40:48 PM,3/24/2010 3:40:47 PM,,,30,2237,[email protected],,,,,,,7169
    3. boldexpected out put
    JAN     FEB     MAR     APR     MAY     JUN     JUL     AUG     SEP     OCT     NOV     DEC      TOTAL
    4     0     1     0     0     0     0     0     0     0     0     0     5
    0     3     0     0     0     0     0     0     0     0     0     0     3
    TOTAL     13     16     24     0     0     0     0     0     0     0     0     0     53
    etc
    4. boldExplanation of expected output
    a select statement using the creation date, for users added per month and total users added for months in which users were added.
    thanks
    Edited by: user11978142 on Apr 6, 2010 5:46 AM

  • Difference between SDL Amount posted to finance and amount paid to CPFBorad

    Hi ,
    Singapore Payroll -help required:-
    My issue is: - -> Every month there is a difference between SDL Amount  posted to finance and amount paid to CPF board.
    Please find following SDL break down from Jan u2013 May 2011.
    SDL FI Posting :-/376
    Jan 11     Feb 11     Mar 11     Apr 11     May 11
    (1,313.05)     (1,220.27)     (1,119.66)     (1,087.04)      (1,339.28)
    SDL in CPF Report-  pc00_m25_ccpf     
    Jan 11     Feb 11     Mar 11     Apr 11     May 11
    (1,350.00)     (1,574.00)     (1,389.00)     (1,392.00)     (1,373.00)
    Diff           
    Jan 11     Feb 11     Mar 11     Apr 11     May 11
    (-36.95)     (-353.73)     (-269.34)     (-304.96)     (-33.72)
    What could be the possibility for the errors?
    Regards
    Thomas
    Edited by: Thomas Padiyara on Jun 14, 2011 4:34 AM

    Thx Srini..
    I have taken a list of wage types marked for SDF through report-PC00_M99_DLGA20
    Then have checked that does GLu2019s are mapped o all wage types through report RPDKON00.
    It seems to be fine.
    For evaluation calss -6 is used for monthly printing. Anyway that is not marked for any of the wage types.
    I have analyzed the details in QAS system for March month.
    The details are as follows:-
    1.     Wage type report - (S_PH9_46000172) = 1119.66
    2.     CPF report (PC00_ M25_CCPF) -1389.00.
    3.     Posting amount (credit amount 1389.85 sgd - debit amount 270.19 sgd) = 1119.66
    It seems to be the debit amount is also getting displayed in the CPF report.
    How the debit and credit amt is displaying same as for few employees.
    One example is given as follows:-
    WT     WT description               
    /305     E'yee,CPF-curr     2,539.00-Debit           SGD
    /305     E'yee,CPF-curr           2,539.00-Credit     SGD
    /305     E'yee,CPF-curr           1,152.00-Credit     SGD
    /307     E'yer,CPF port     2,031.00-Debit           SGD
    /307     E'yer,CPF port           2,031.00-Credit     SGD
    /307     E'yer,CPF port           923-Credit     SGD
    /370     E'yee, CDAC, a     1-Debit           SGD
    /370     E'yee, CDAC, a           1-Credit     SGD
    /370     E'yee, CDAC, a           1-Credit     SGD
    /376     E'yer, SDF                          11.25-Debit           SGD
    /376     E'yer, SDF                              11.25-Credit     SGD
    /37I     Total Medisave     45-Debit           SGD
    /37I     Total Medisave           45Credit     SGD
    /307 three entries (2 credit, one debit)
    /376 two entries (one credit, one debit)
    Why?
    Edited by: Thomas Padiyara on Jun 14, 2011 10:34 AM

Maybe you are looking for

  • Help Please - e-mailing to a Category

    I've set up a group of 14 addresses as a category. When I create a new e-mail and type the category name into the addressees all looks fine, but when I send the e-mail it's only sending to three of the addresses. Can anyone help please??

  • HT1369 playing a movie in itunes

    I am having difficulty playing two movies I added from digital download in my Itunes. I have a Windows 8 PC and unable to pay the movies on my desktop or laptop.

  • TS1741 iOS 7 update - Remote app no longer rotate to side view

    The remote app used to be able to rotate before iOS 7 to the wide view to navigate. It no longer rotates.

  • Photoshop Killer

    So first of all, I know this shouldn't be in the MacBook Pro thread, but I couldn't find a thread that was specific for my problem. My question is, is there a real Photoshop killer application out there? I have tried Pixelmator, but I don't like the

  • JMX script for monitoring JMS servers in a cluster

    hi I am new to writing scripts. I will appreciate if I can get some help in writing a JMX script for monitoring JMS Servers in a cluster a well as monitoring the distributed queues thanks