Bill in query type

Hello!

I need to separate the ivoices opened by type. (Products / services / Export)

I did the following query, but I'm stuck:

Select

APS.trx_number "Invoice number"

HCA.account_number "CustomerID"

bill_p.party_name "name of the customer."

APS.due_date "due date."

Current_date - aps.due_date 'Days',

case

When CURRENT_DATE - aps.due_date < 0 then ' one time '.

When CURRENT_DATE - aps.due_date > 0 and CURRENT_DATE - aps.due_date < 30 then 0 '-30'

When CURRENT_DATE - aps.due_date > 30 and CURRENT_DATE - aps.due_date < 60 then 30-60'

When CURRENT_DATE - aps.due_date > 60 and CURRENT_DATE - aps.due_date < 90 then 60-90'

When CURRENT_DATE - aps.due_date > 90 and CURRENT_DATE - aps.due_date < 120 then 90-120'

else ' 120 +'

put an end to "Banding."

APS.amount_due_remaining "amount Due in the currency of origin."

case

When aps.invoice_currency_code <>"HUF" then aps.amount_due_remaining * aps.exchange_rate

of other aps.amount_due_remaining

'Sum' end Due in HUF,

APS.invoice_currency_code "currency."

APS. EXCHANGE_RATE 'rate. '

Of

ar_payment_schedules_all aps,

hz_cust_accounts bill_ca,

hz_parties bill_p,

hz_cust_accounts_all hca

where

APS.customer_id = bill_ca.cust_account_id

and aps.class = 'INV '.

and aps.status = 'OP '.

and bill_p.party_id = hca.party_id

and bill_ca.party_id = bill_p.party_id

Thanks for your help in advance,

Zsolt

ra_cust_trx_types_all table will have AR. transaction types

Tags: Oracle Applications

Similar Questions

  • ORA-06504: PL/SQL: return variables of the game results or the query types do not match

    Hello!

    I have a simple object type and a proecdure in which I am trying to use it to insert into another table

    -object

    CREATE ORREPLACETYPEmt_mtg ASOBJECT

    (

    ACOL NUMBER ,

    BCOL NVARCHAR2 (100)

    );

    CREATE ORREPLACETYPEREF_MTG ASTABLEOFMt_MTG ;

    -same structure as the use of sampletbl target table in the cursor query

    create table tbl_MT_MTG

    (

    ACOL NUMBER ,

    BCOL NVARCHAR2 (100)

    );

    -procedure

    CREATE ORREPLACEINTERIORTEST_PROCEDURE1

    AS

    ref_cur sys_refcursor ;

    REFR ref_mtg ;

    BEGIN

    OPEN ref_cur FOR

    Select acol,

    BCOL

    DE sampletbl rownum<10;

    Fetch ref_cur in bulk collectintorefr;

    Insert intotbl_MT_MTG(acol,bcol)selectacol,bcol fromtable(refr);

    commit;

    CLOSE Ref_cur;

    END;

    /

    When I run this procedure fails with

    ORA-06504: PL/SQL: return variables of the game results or the query types do not match

    ORA-06512: at "TEST_PROCEDURE1", line 10

    ORA-06512: at line 2

    Any help on this please...

    Thanks to an OLD POST below

    so perfect helped me! Thank you

    Tubby

    After 5 years of more :-)

    How to store refcursor in collection How to store refcursor in collection

  • Query type pivot without aggregation function. Transposition of the

    Hi experts,

    Oracle 11g.

    I have a table (see the sample code to reproduce), which has a date, a group and this group (determined in another query) County. I need a query of type pivot, but without aggregate functions. It's just for a view reports. I can't understand it. Thanks for your help.
    CREATE TABLE temp_task
    AS
       SELECT TO_DATE ('15-NOV-2012') validation_date,
              'GROUP 1' AS group_number,
              42 AS monthly_count
         FROM DUAL
       UNION ALL
       SELECT TO_DATE ('14-DEC-2012') validation_date,
              'GROUP 1' AS group_number,
              33 AS monthly_count
         FROM DUAL
       UNION ALL
       SELECT TO_DATE ('15-NOV-2012') validation_date,
              'GROUP 2' AS group_number,
              10 AS monthly_count
         FROM DUAL
       UNION ALL
       SELECT TO_DATE ('14-DEC-2012') validation_date,
              'GROUP 2' AS group_number,
              32 AS monthly_count
         FROM DUAL
       UNION ALL
       SELECT TO_DATE ('15-NOV-2012') validation_date,
              'GROUP 3' AS group_number,
              7 AS monthly_count
         FROM DUAL
       UNION ALL
       SELECT TO_DATE ('14-DEC-2012') validation_date,
              'GROUP 3' AS group_number,
              9 AS monthly_count
         FROM DUAL;
    Using SQL but I must return the following:

    VALIDATION_DATE | GROUP 1 | GROUP 2 | GROUP 3
    15/11/2012. 42. 10. 7
    14/12/2012 | 33. 32. 9

    Hello

    You should always use an aggregate function while rotating.
    Even if you have really no aggregation, in other words, when what you see in the table, it's what you will get in the result set, you will have to use an aggregate function. Is there is only a value contrinuting for each cell, then you can use the MIN or MAX. It will not matter which; Since there is only 1 value, this value will be the greater of 1, and it will be also the lowest. For NUMBER of columns, you can also use SUM or AVG.

    SELECT       *
    FROM       temp_task
    PIVOT       ( MIN (monthly_count)
             FOR group_number IN ( 'GROUP 1'
                                 , 'GROUP 2'
                        , 'GROUP 3'
                        )
           )
    ORDER BY  validation_date
    ; 
    

    Output:

    VALIDATION_  'GROUP 1'  'GROUP 2'  'GROUP 3'
    ----------- ---------- ---------- ----------
    15-Nov-2012         42         10          7
    14-Dec-2012         33         32          9
    

    Looks like you're doing real aggregation somewhere, to get monthly_count. It would be perhaps easier and more efficient to do the swivel at this time. What is the big picture here? Post some sample data, as it is before you calculate monthly_count and desired outcomes from these data (if it is different from what you have already posted), then we'll see if we can not aggregte it and pivot it at the same time.

  • Matrix of query type

    Hi all

    I have the following query and gives her a desired as a result matrix.
    SELECT  DEPTNO,
     DECODE(DEPTNO,10,COUNT(*))TEN,
     DECODE(DEPTNO,20,COUNT(*))TWO,
     DECODE(DEPTNO,30,COUNT(*))THREE,
     DECODE(DEPTNO,40,COUNT(*))FOUR
    FROM EMP
    GROUP BY DEPTNO
    I want to have output as the format, below the pro can help me with the right query or give an approach for the same.
    Deptno    10         20       30      40
    Values    100       200     300     400
    Thanks in advance
    SELECT  c1,
            c2,
            c3,
            c4,
            c5
      FROM  (
              SELECT  'Deptno' c1,
                      10 c2,
                      20 c3,
                      30 c4,
                      40 c5,
                      1 weight
                FROM  DUAL
             UNION ALL
              SELECT  'Values',
                      COUNT(DECODE(DEPTNO,10,1)),
                      COUNT(DECODE(DEPTNO,20,1)),
                      COUNT(DECODE(DEPTNO,30,1)),
                      COUNT(DECODE(DEPTNO,40,1)),
                      2
                FROM  EMP
            )
      ORDER BY weight
    /
    
    C1             C2         C3         C4         C5
    ------ ---------- ---------- ---------- ----------
    Deptno         10         20         30         40
    Values          3          5          6          0
    
    SQL> 
    

    SY.

  • Fire of process on click of the link using query type

    APEX 3.2.0.0.27

    I have a report region based on a qry with links. Each line has a link to separate the region on the same page. I want a process to fire (manual data select the process for the region linked) when the link is clicked. The link is displayed as a button change. I set the link for an application. How to identify the application that should fire when the user clicks on the link. I also defined a separate button named: QRY. The actual process (after submit process) it's fire is conditionial on the express request = 1 IN the expression 1 column, I entered the name of the button (QRY).

    However the after submit the process is not fired.

    So, how to correlate the process consisting in fires when the user clicks on the link. Do not confuse the link which is represented by a button here, but in fact I have this link button, but also a 'normal' button which bears the name of QRY. When I click on the actual button named QRY then my process is triggered. However, it did not when the user clicks on the link 'button '.

    What I am doing wrong?

    So what you have is lines of report that can be presented in many ways, as well as the value of an other Item (Hidden)

    Can think of two ways

  • 1 concatenate the PK value with the request, use the PLSQL substr (substring) on demand to identify the type of demand but also to extract the value of the KP.

    JavaScript: doSubmit('SAVE_#PK_COLUMN_ALIAS#');

    Request: SUBSTR (: REQUEST, 1, INSTR(:REQUEST,'_')-1) and PK value is SUBSTR (: REQUEST, INSTR(:REQUEST,'_') + 1)
    Then assign the item suitable in a bidding process

  • Another method is to assign the item directly

    JavaScript: $s('','#PK_COLUMN_ALIAS#'); doSubmit('SAVE_#DEPT_NAME#');

    Replace the with the name of the page to put element
    Make sure that the item is not protected (this is the default option for the hidden items)

  • PivotY Query Type table (I think)

    Say if I have table with totals for months for people like below

    NAME OF MONTH TOTAL
    Paul 1 8797
    Paul 2 9089
    John 1 9890
    John 98090 2

    How can I run a select statement on this table to return the results as below, that is, I want a new column for each month and only one line for each person.

    NAME TOTAL_MONTH_1 TOTAL_MONTH_2
    PAUL 8797 9089
    John 9890 98090

    Thanks for any help
    with data as
    (
    
         select 'Paul' as NAME, 1 as month, 8797 as total from dual union all
         select 'Paul', 2, 9089 from dual union all
         select 'John', 1, 9890 from dual union all
         select 'John', 2, 98090 from dual
    
    )
    select name ,
         max(case when month=1 then total END) as TOTAL_MONTH_1,
         max(case when month=2 then total END) as TOTAL_MONTH_2
    from data
    group by name
    
  • As exclusion Type of standard application Manager

    Hello

    We have a Type of request that is currently in the standard Manager. We need to pass the query type to a manager of new competitors.

    Question is, what happens if the Type of application is now included in the new manager but not excluded in the standard Manager. In other words, what happens if the query type is included in the Standard and also the Manager of new competitors.

    Kind regards

    Aditya.

    Please ignore. I found the answer of Metalink Doc Id # 144922.1

    If a specialized Manager is created (which is still essentially a standard

    Manager using the FNDLIBR library) and a specialization rule is added the

    the standard handler is always first in the queue to look for work. If the MST

    Manager is busy, then the specialized Manager executes the job.

    Kind regards

    Aditya.

  • Query Archive for Data Archive Manager


    Hello

    Recently I create a query of Peoplesoft (value Type Archive and Public) to use for the data archives Manager. However, after that I saved and closed, when I try to search there again, I couldn't see to change. I know that the query was created because I can see it when I set up the Archive and when trying to create the same query, the system asked me to crush him.

    Is - it so this type of query works? How can I change the SQL code, I just created?

    Appreciate anyone's help.

    Simple search in the default query Manager, Query Type = User, unless you explicitly change the type = search Archive. If you want to search by type and name, place you in the advanced search.

    Kind regards

    Bob

  • Dynamic problem with lookup-query for the purpose of resource request

    Hi all
    I need to set up several IOM user exchange mailboxes, I can set up AD account and account of the mailbox without any problem, but only for the first ad and Exchange account. For the second and third, etc. I get the error: "Invalid login name" during Exchange of account provisioning. I discovered that this problem exists with Exchange Connector - it is not able to collect correct GUID. So in my xml Dataset I use dynamic query Lookup to select manually correct Alias, the login name and GUID. The query for the GUID is the sequel (I cloned RO for AD and Exchnage):

    AttributeReference available-in-bulk = "true" length = "32" widget = 'search query' type = 'String' attr-ref = "Object GUID" name = "Object GUID" >
    * < lookupQuery search-query = "select distinct UD_KFUSER_OBJECTGUID GUID, ud_KFUSER_uid like UD_KFUSER UD_KFUSER, orc orc Login, sta sta where UD_KFUSER.orc_key = orc.orc_key and orc.usr_key = ' $Form data." Take ' and UD_KFUSER. "UD_KFUSER_AD = 27 and orc.orc_status = STA.sta_status AND STA.sta_bucket! = 'Cancelled'" display-field = "GUID" save-field = "Object GUID" / > *.
    * < / AttributeReference > *.


    My questions are:

    1. I have to type * to run the query in the user interface, without * I got error:

    + < 17 February 2012 11:12:22 THIS > < error > < oracle.adfinternal.view.faces.config.ric +.
    h.RegistrationConfigurator > < BEA-000000 > < ADF_FACES - 60096:Server Exception durin
    PPR, #10 g
    oracle.iam.platform.canonic.base.NoteException: an error occurred during executin
    g the search query.
    to oracle.iam.platform.canonic.agentry.GenericEntityLookupActor.perform)
    GenericEntityLookupActor.java:337)
    Is this right?

    2. when I got correct values (from the search query) - they are missing on the details of the application and form of RO - what Miss me?

    I use OIM 11.1.1.5, in my xml dataset I use correct attr-Ref (labels), when I type the values manually, they are propagated to form RO and Exchange mailbox is created.
    Best
    MP

    I not had no problem when writing search query.
    This works very well for me.
    The request will be filled for the field, so why choose *?
    I used as

  • Selection in the SQL user-defined Type

    I can't try to fill a SQL can be set from a query type:
    SQL> select * from v$version;
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    CORE    10.2.0.3.0      Production
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    
    SQL> create type typ_colVarchar30 is table of varchar2(30)
      2  /
    
    Type created.
    
    SQL> declare
      2     v_colVarchar30 typ_colVarchar30;
      3  begin
      4     select table_name into v_colVarchar30 from user_tables;
      5  end;
      6  /
       select table_name into v_colVarchar30 from user_tables;
              *
    ERROR at line 4:
    ORA-06550: line 4, column 11:
    PL/SQL: ORA-00932: inconsistent datatypes: expected UDT got CHAR
    ORA-06550: line 4, column 4:
    PL/SQL: SQL Statement ignored
    
    
    SQL> drop type typ_colVarchar30;
    
    Type dropped.
    I can't use a collection of PL/SQL. It must be a SQL type.

    Thank you.

    Brian

    Use BULK COLLECT

    declare
        v_colVarchar30 typ_colVarchar30;
    begin
       select table_name bulk collect into v_colVarchar30 from user_tables;
    end;
    
  • How to set the result of the dynamic query in a refcursor ON param.

    Hello

    I created the following package.

    CREATE OR REPLACE package LGIS
    Is

    Type T_Cust_Acct_Arr is table of number;

    Type Invc_Base_Rec_Type is (Record
    Invoice_Control_No Customer_History.Invoice_Control_No%Type,
    Billing_Cycle_Id Eb_Oor_Cust_Online.Billing_Cycle_Id%Type,
    Bill_Cycl_Occr_No Eb_Oor_Cust_Online.Bill_Cycl_Occr_No%Type,
    Invoice_Dt Bill_Cycl_Occr_Inf.Invoice_Date%Type,
    Invc_Acct_Id Eb_Oor_Cust_Online.Customer_Acct_Id%Type,
    Acct_Id Eb_Oor_Cust_Online.Customer_Acct_Id%Type
    );

    Type Invc_Base_Refcur_Type is Ref Cursor
    Return Invc_Base_Rec_Type;

    Procedure P_Get_Approved_Whole_Invcs)
    In_From_Invc_Dt by Date,
    In_To_Invc_Dt by Date,
    In_Cust_Acct_List in T_Cust_Acct_Arr,
    Out_Eb_Invcs on Invc_Base_Refcur_Type
    On_Error_No number
    );

    End LGIS;
    /

    CREATE OR REPLACE PACKAGE BODY Lgis
    IS

    PROCEDURE P_Get_Approved_Whole_Invcs)
    In_From_Invc_Dt BY DATE,
    In_To_Invc_Dt BY DATE,
    In_Cust_Acct_List IN T_Cust_Acct_Arr,
    Out_Eb_Invcs on Invc_Base_Refcur_Type
    On_Error_No NUMBER
    )
    IS
    S_Query VARCHAR2 (4000);
    Invalid_Exception EXCEPTION;


    BEGIN
    On_Error_No: = 0;

    IF In_Cust_Acct_List.COUNT > 0 THEN
    FORALL i IN 1.In_Cust_Acct_List.COUNT
    INSERT INTO EB_CUST_ACCT_WHOLE_TMP (Cust_Acct_Val)
    VALUES (In_Cust_Acct_List (i));
    END IF;


    BEGIN
    S_Query: = 'Select Ch.Invoice_Control_No,';
    S_Query: = S_Query | ' Eoco.Billing_Cycle_Id,';
    S_Query: = S_Query | ' Eoco.Bill_Cycl_Occr_No,';
    S_Query: = S_Query | ' Bcoi.Invoice_Date,';
    S_Query: = S_Query | ' Eoco.Customer_Acct_Id as Invc_Acct_Id';
    S_Query: = S_Query | ' Eoco.Customer_Acct_Id as Acct_Id ';
    S_Query: = S_Query | "Of Eb_Oor_Cust_Online Eoco,';
    S_Query: = S_Query | "Customer_History Ch';
    S_Query: = S_Query | ' Bcoi Bill_Cycl_Occr_Inf,';
    S_Query: = S_Query | "Audit_Var_Log Avl,';
    S_Query: = S_Query | "Audit_Var_Def Avd,';
    S_Query: = S_Query | "Eb_Cust_Acct_Whole_Tmp Tmp';
    S_Query: = S_Query | "Where Avd.Audit_Var_Cd ="CYCLE_APPROVAL"';
    S_Query: = S_Query | ' And Avl.Audit_Var_Sub_Grp_Val = 0';
    S_Query: = S_Query | "And Avl.Audit_Var_Char_Val =" COMPLETE "';
    S_Query: = S_Query | ' And Eoco.Customer_Acct_Id = Tmp.Cust_Acct_Val';
    S_Query: = S_Query | ' And Eoco.Customer_Acct_Id = Ch.Customer_Acct_Id';
    S_Query: = S_Query | ' And Eoco.Billing_Cycle_Id = Ch.Billing_Cycle_Id';
    S_Query: = S_Query | ' And Eoco.Bill_Cycl_Occr_No = Ch.Bill_Cycl_Occr_No';
    S_Query: = S_Query | ' And Eoco.Billing_Cycle_Id = Bcoi.Billing_Cycle_Id';
    S_Query: = S_Query | ' And Eoco.Bill_Cycl_Occr_No = Bcoi.Bill_Cycl_Occr_No';
    S_Query: = S_Query | ' And Avd.Audit_Var_Id = Avl.Audit_Var_Id';
    S_Query: = S_Query | ' And Avl.Audit_Var_Grp_Id = Bcoi.Audit_Var_Grp_Id';


    IF (In_From_Invc_Dt IS NULL AND In_To_Invc_Dt IS NOT NULL) THEN
    S_Query: = S_Query | "And Bcoi.Invoice_Date < = In_To_Invc_Dt';
    END IF;

    IF (In_To_Invc_Dt IS NULL AND In_From_Invc_Dt IS NOT NULL) THEN
    S_Query: = S_Query | ' And Bcoi.Invoice_Date > = In_From_Invc_Dt';
    END IF;

    IF (In_From_Invc_Dt IS NOT NULL AND In_To_Invc_Dt IS NOT NULL) THEN
    S_Query: = S_Query | ' And Bcoi.Invoice_Date > = In_From_Invc_Dt';
    S_Query: = S_Query | "And Bcoi.Invoice_Date < = In_To_Invc_Dt';
    END IF;


    RUN IMMEDIATELY S_Query IN Out_Eb_Invcs;
    EXCEPTION
    WHILE OTHERS THEN
    On_Error_No: = - 1;
    RAISE Invalid_Exception;
    END;
    Exception
    When Invalid_Exception then
    On_Error_No: = - 1;
    Return;
    While others then
    On_Error_No: = - 1;
    END P_Get_Approved_Whole_Invcs;
    Lgis END;
    /

    It compiles without error. But at runtime, I get the following error:

    ORA-06504: PL/SQL: return variables of the game results or the query types do not match

    Please help solve this problem.

    Thank you
    Olivier

    Maybe it will work for you too->

    CREATE OR REPLACE Package Body Lgis
    Is
         Procedure P_Get_Approved_Whole_Invcs
         (
              In_From_Invc_Dt In Date,
              In_To_Invc_Dt In Date,
              In_Cust_Acct_List In T_Cust_Acct_Arr,
              Out_Eb_Invcs Out Invc_Base_Refcur_Type,
              On_Error_No Out Number
         )
         Is
              S_Query Varchar2(4000);
              Invalid_Exception Exception;
         Begin
              On_Error_No := 0;
    
              If In_Cust_Acct_List.Count > 0 Then
                   Forall I In 1..In_Cust_Acct_List.Count
                   Insert Into Eb_Cust_Acct_Whole_Tmp (Cust_Acct_Val)
                   Values (In_Cust_Acct_List (I));
              End If;
    
              Begin
                   S_Query := '     Select      Ch.Invoice_Control_No Invoice_Control_No, '
                            ||'                 Eoco.Billing_Cycle_Id Billing_Cycle_Id, '
                            ||'                 Eoco.Bill_Cycl_Occr_No Bill_Cycl_Occr_No, '
                            ||'                Bcoi.Invoice_Date Invoice_Dt, '
                            ||'                Eoco.Customer_Acct_Id As Invc_Acct_Id,'
                            ||'                Eoco.Customer_Acct_Id As Acct_Id '
                            ||'     From      Eb_Oor_Cust_Online Eoco, '
                            ||'                Customer_History Ch, '
                            ||'                Bill_Cycl_Occr_Inf Bcoi, '
                            ||'                Audit_Var_Log Avl, '
                            ||'                Audit_Var_Def Avd, '
                            ||'                Eb_Cust_Acct_Whole_Tmp Tmp '
                            ||'     Where      Avd.Audit_Var_Cd = '||chr(39)||'CYCLE_APPROVAL'||chr(39)
                            ||'     And      Avl.Audit_Var_Sub_Grp_Val = 0 '
                            ||'     And      Avl.Audit_Var_Char_Val = '||chr(39)||'COMPLETE'||chr(39)
                            ||'     And      Eoco.Customer_Acct_Id = Tmp.Cust_Acct_Val '
                            ||'     And      Eoco.Customer_Acct_Id = Ch.Customer_Acct_Id '
                            ||'     And      Eoco.Billing_Cycle_Id = Ch.Billing_Cycle_Id '
                            ||'     And      Eoco.Bill_Cycl_Occr_No = Ch.Bill_Cycl_Occr_No '
                            ||'     And      Eoco.Billing_Cycle_Id = Bcoi.Billing_Cycle_Id '
                            ||'     And      Eoco.Bill_Cycl_Occr_No = Bcoi.Bill_Cycl_Occr_No '
                            ||'     And      Avd.Audit_Var_Id = Avl.Audit_Var_Id '
                            ||'     And      Avl.Audit_Var_Grp_Id = Bcoi.Audit_Var_Grp_Id '
    
                   If (In_From_Invc_Dt Is Null And In_To_Invc_Dt Is Not Null) Then
                        S_Query:=S_Query||'     And Bcoi.Invoice_Date <= In_To_Invc_Dt ';
                   End If;
    
                   If (In_To_Invc_Dt Is Null And In_From_Invc_Dt Is Not Null) Then
                        S_Query:=S_Query||'     And Bcoi.Invoice_Date >= In_From_Invc_Dt ';
                   End If;
    
                   If (In_From_Invc_Dt Is Not Null And In_To_Invc_Dt Is Not Null) Then
                        S_Query:=S_Query||'     And Bcoi.Invoice_Date >= In_From_Invc_Dt '
                                        ||'     And Bcoi.Invoice_Date <= In_To_Invc_Dt ';
                   End If;
    
                   Dbms_Output.Put_Line ('Test');
                   Open Out_Eb_Invcs For S_Query;
                   Dbms_Output.Put_Line ('Test1');
                   Loop
                        Fetch Out_Eb_Invcs Into Ibrt_Type;
                        Exit When Out_Eb_Invcs%notfound;
                        Dbms_Output.Put_Line ('Invoice_Control_No: ' || Ibrt_Type.Invoice_Control_No);
                        Dbms_Output.Put_Line ('Billing_Cycle_Id: ' || Ibrt_Type.Billing_Cycle_Id);
                        Dbms_Output.Put_Line ('Bill_Cycl_Occr_No: ' || Ibrt_Type.Bill_Cycl_Occr_No);
                        Dbms_Output.Put_Line ('Invoice_Dt: ' || Ibrt_Type.Invoice_Dt);
                        Dbms_Output.Put_Line ('Invc_Acct_Id: ' || Ibrt_Type.Invc_Acct_Id);
                        Dbms_Output.Put_Line ('Acct_Id: ' || Ibrt_Type.Acct_Id);
                   End Loop;
                   Dbms_Output.Put_Line ('Test2');
                   Close Out_Eb_Invcs;
    
                   /* Exception
                   When Others Then
                   On_Error_No := -1;
                   Raise Invalid_Exception; */
              End;
         Exception
              When Invalid_Exception Then
                   On_Error_No := -1;
                   Return;
         /* When Others Then
         On_Error_No := -1; */
         End P_Get_Approved_Whole_Invcs;
    End Lgis;
    

    Your problem is now fixed.

    Kind regards.

    LOULOU.

  • Apple music student discount

    I chose Apple Music 3 months ago in my normal account. My girlfriend out you can get a discount if you are in College and I signed up for him. I just charged today for the first time and it was the normal price of Apple's music and not the price reduced for students. How can I instruct me as a student, not a normal person.

    you will need to contact apple directly for this support.

    It is a support forum and not the appropriate place for help with this query type.

    they will have access to your account details and should be able to help.

    I hope that you can mark my answer as helpful?

    Thank you

  • Problem to create a recovery media for 442BL NB305

    Hello world
    First of all, I apologize if responded to my question before
    I just buy Toshiba NB305 Netbook 442BL
    I created the flash recovery with the Toshiba recovery software but I don't want to keep my recovery only media on usb flash. As you know netbooks don't have a DVD burner and I want to have the recovery DVDs too. Then I used the external DVD burner to create recovery DVDs. But I couldn't do it. After a few minutes accumulate on an error.
    Unfortunately, he write unknown error.
    Now I need help to solve this problem. If one of the solutions below works, my problem is solved:
    (1) can I image my usb flashes? and to restore it I have to blink
    (2) can I image the recovery without software Toshiba recovery partition?
    And finally I can fix the problem of process writing
    Thank you

    Hi Bill,

    What type of DVD you used to burn recovery disk? I m still using DVD-R from Verbatim and TDK media, it works.

    But in my opinion the easiest way is that make a backup (image) of the USB. As far as I know that it works with a normal backup program like Acronis True Image. You can save the backup recovery USB stick on another drive, for example.

    But normally if you don t use the USB it will work if you need it. ;)

  • Getting Microsoft 2004 - Century of flight-graffics working Flight Simulator...

    Just bought a Dell vostro 220.  Said that I would have no problem with my flight simulator.  It has been uninstalled and reinstalled four times.  The graffics is undesirable.  He can't fly VFR.  The video card has been interlaced outside, and this isn't the answer.  I need a fix... Please, I beg you!   Bill

    What type of video card you have in the system?

    Here's a thread on what vid cards you should use to get the best FPS at best settings.

    http://www.TomsHardware.com/Forum/243202-33-Flight-Simulator-video-card

    MCP. MCDST. LVL 80

  • Problems of crash (blue screen)... Process of SVCHOS questions?

    HI all, one of my vendors of malware and after back and forth emails and analysis. A determined that my SVCHOS process are involved. I'm blocking during the analysis complete running anti virus and malware packages on my PC. During smart scans or individual analysis of files and directories, there are no crashes. I use IObit and moy.

    On C: drive I have that files of Windows and various software files containing program packages that I use. All data and so on is kept on an E drive and it is external.

    Can someone cause Adviser where to look to fix. And also, if the upgrades to Windows 10 it will solve... (Windows 10 has been improved, by me at the end of July this year).

    I think a little off here to say a source remote access to my PC. Is this possible via the functions of SVCHOS process?

    Thanks heaps.

    Bye now.

    JL

    0: kd > .bugcheck
    Code 00000101 Bugcheck
    Arguments 00000000'00000061 00000000'00000000 fffff880'009e7180 00000000 00000001'

    Processor 1 # hung to graduations to 61.

    0: kd >! IPB 1
    IPB for 1 processor to fffff880009e7180:
    Current IRQL - 0
    Net - Current fffff880009f1f40 next fffffa8009582690 slow fffff880009f1f40
    CPU Index number (0, 1) GroupSetMember 1 2
    County of interruption - 04c 31238
    Time - Interrupt the Dpc 00008981 00006878
    Kernel 00431b2a user 0009c3d8

    Note our IPB for xxx corresponds to the 3rd arg in bug control.

    0: kd >! IRQL
    Debugger saved IRQL for processor 0 x 0-13

    Check for processor #0, called the bug as the IRQL is 13 - IRQL CLOCK_LEVEL.

    0: kd > k
    Call child-SP RetAddr site
    fffff880 '0d6c4318 fffff800' 034e47fa nt! KeBugCheckEx

    See?

    Processor 0 # also sent the clock interrupt.

    D1: hal fffff80003a344f0! HalpHpetClockInterrupt (KINTERRUPT fffff80003a34460)

    0: kd > knL
    # Child - SP RetAddr call Site
    00 fffff880 '0d6c4318 fffff800' 034e47fa nt! KeBugCheckEx
    01 fffff880 '0d6c4320 fffff800 03497077' nt! : FNODOBFM: 'string' + 0x4e1e
    02 fffff880 '0d6c43b0 fffff800' 03a0e895 nt! KeUpdateSystemTime + 0 x 377
    03 fffff880 '0d6c44b0 fffff800' 03488e13 hal! HalpHpetClockInterrupt + 0x8d / / here
    04 fffff880'0d6c44e0 fffff800'03461821 nt! KiInterruptDispatchNoLock + 0 x 163
    05 fffff880 '0d6c4670 fffff800' 037482bf nt! KeFlushProcessWriteBuffers + 0 x 65
    06 fffff880 '0d6c46e0 fffff800' 03795f86 nt! ExpGetProcessInformation + 0x7f
    07 fffff880'0d6c4830 fffff800'037969 d 9 nt! ExpQuerySystemInformation + 0xfb4
    08 fffff880 '0d6c4be0 fffff800' 0348bb53 nt! NtQuerySystemInformation + 0x4d
    09 fffff880 '0d6c4c20 00000000' 7774df1a nt! KiSystemServiceCopyEnd + 0x13
    0 a 00000000' 00a3d7d8 00000000'00000000 0x7774df1a

    See frame #03.

    The interruption of clock sent system ultimately (time Windows) to maintain synchronization, but processor #1 has not responded for 61 seconds so the bug control has been called.

    If we check the interrupt descriptor table, we can see if the IPI.

    E1: fffff800034972f0 nt! KiIpiInterrupt

    As the IPI has occurred, this tells us one of our functions in the stack of the processor 0 required a PII.

    Tip - its chassis #05, nt! KeFlushProcessWriteBuffers + 0 x 65.

    Any kind of flushing (TLB, etc.) requires an interruption of the inter (IPI) processor as it is a work of several processor. Each unique processor to do this.

    0: kd >! IPI

    State of the PII for processor 1

    As a receiver, unsupported applications are waiting for processor (s) 0.

    TargetCount 0 PacketBarrier 0 IpiFrozen 5 [gel target] / / Frozen

    Processor 0, active query type: package ready
    WorkerRoutine fffff8000347e7f0 (nt! xHalReportIdleStateUsage)
    Parameter [0] parameter 0 [1] parameter 0 [2] 0

    0: kd > ~ 1
    1: kd > k
    # Child - SP RetAddr call Site
    00 00000000'00000000 00000000'00000000 0 x 0

    Transition to our processor that has failed, it is cancelled. Nothing.

    So, let's dig in the stock battery.

    fffff880 '0d6c3c08 fffff800' 0357dfd6 nt! KeBugCheck2 + 0xac6
    fffff880'0d6c3c10 fffff800'00000101
    fffff880 '0d6c3c18 00000000' 00000061
    fffff880 '0d6c3c20 00000000' 000004 d 0
    fffff880 '0d6c3c28 fffffa80' 0db07b50
    fffff880'0d6c3c30 00000000 00000001'
    fffff880 '0d6c3c38 fffff880' 0d6c3d40
    fffff880 '0d6c3c40 fffffa80' 0db07b50
    fffff880'0d6c3c48 fffff880'04527190 int + 0 x 2190
    fffff880 '0d6c3c50 fffffa80' 0bbc9000
    fffff880 '0d6c3c58 fffffa80' 0db07b50
    fffff880 '0d6c3c60 00000000' 0bb9f500
    fffff880'0d6c3c68 00000000' 00000000
    fffff880 '0d6c3c70 fffff800' 0360be80 nt! KiInitialPCR + 0 x 180
    fffff880'0d6c3c78 fffff800'00000000
    fffff880 '0d6c3c80 fffffa80' 0813c5f0
    fffff880'0d6c3c88 00000000' 00000000
    fffff880'0d6c3c90 00000000' 00000000
    fffff880'0d6c3c98 fffff800'00000003
    fffff880'0d6c3ca0 00000000 00000001'
    fffff880 '0d6c3ca8 00000000' 00040001
    fffff880 '0d6c3cb0 00000000' 00000002
    fffff880 '0d6c3cb8 fffff800' 035c331d nt! ExFreePoolWithTag + 0x22d

    Free a block of memory pool on protected file IObit pilot and then we hit the bug control.

    1: kd >! DPC
    Type of processor KDPC function
    1: Normal: 0xfffff880009eb9e8 0xfffff800035b0280 nt! PpmPerfAction

    1: kd > dt nt! _KDPC 0xfffff880009eb9e8
    + 0 x 000 type: 0 x 13 cm
    + 0 x 001 importance: 0 x 3 cm
    + 0 x number 002: 0 x 101
    + 0 x 008 DpcListEntry: _LIST_ENTRY [0xfffff880 ' 009e9300 - 0xfffff880 ' 009e9300]
    + 0 x 018 DeferredRoutine: 0xfffff800'035 b 0280 nt Sub! PpmPerfAction + 0
    + 0 x 020 DeferredContext: 0xfffff880' empty 009e7180
    + 0 x 028 SystemArgument1: (null)
    + 0 x 030 SystemArgument2: (null)
    + 0 x 038 DpcData: 0xfffff880' empty 009e9300

    DPC processor power management waiting to be repaired.

    So I would bit much bet money that IObit is in conflict with AVG here, or is it just the issue itself. IObit is well enough known to be absolutely terrible. Not only in development but also morally - https://forums.malwarebytes.org/index.php?/topic/29681-iobit-steals-malwarebytes-intellectual-property/

    Get rid of it.

Maybe you are looking for