Confusion in Order of row and statement level trigger

Hi can anyone tell me, if i create some trigger on table emp as in below order..
BEFORE INSERT .. ROW LEVEL
BEFORE INSERT .. STMNT LEVEL
AFTER INSERT .. ROW LEVEL
AFTER INSERT .. STMNT LEVEL
than what will will be order of execution of trigers?
How oracle will decide order?
plz provide me some documents related to triggers execution order..thnx in advance..!

PC wrote:
Hi.. Got answer about order..but 1 strange point i m feeling that
in case of, before insert.. stmnt level triger fire 1st then before insert.. row level.
but in case of after insert.. row level trigger fireing 1st then after insert.. stmnt level ..
can you explain this also..Why is it strange.
You've got a statement you are executing.
The first thing possible is that you are 'before' the statement.
The next thing possible is that the statement executes for each row.
Thus for each row, there is a point 'before' each row and a point 'after' each row.
Once the statement has executed, you are 'after' the statement.
So, it is only logical that the statement triggers surround the statement and the row triggers are within the statement, and of course 'before' comes before 'after'.

Similar Messages

  • Statement level trigger!!!!

    Hi Gurus,
    I have an issue here. I am inserting multiple rows in a table say A. so I wrote an after insert trigger for each row referencing new as new and old as old on table A. This trigger when fired inserts rows in table B.
    These rows are selected from say table C by using the :new.column (one of the coulmns that are about to be inserted in tableA) of table A as parameter and then inserted into table B. But I want that trigger to fire only once though I am inserting multiple rows.
    For this purpose I took out the "for each row and referencing new as new and old as old statements" to make it statement level trigger but in this case I am unable to use the :new.column of table A as parameters. Can anyone please suggest how to read the rows in statement level trigger that are being inserted in table A and pass them as parameters to select the values from table C and again insert them in table B. I know it is kinda confusing. Any suggestions...... Thanks in advance!!!!!

    Hi warren,
    Thnx for ur response. here is the code
    CREATE OR REPLACE TRIGGER ALPHA_AIR
    AFTER INSERT
    ON ALPHA
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    DECLARE
    l_source varchar2(10);
    l_amount number;
    l_comments varchar2(50);
    BEGIN
         SELECT      b_source,
              b_amount,
              b_comments
         INTO     l_source,
              l_amount,
              l_comments
         FROM BETA
         WHERE beta_id=:new.alpha_id:
         INSERT INTO GAMMA
    ( g_source,
         g_amount,
         g_comments,
         date )
         VALUES (
              l_source,
              l_amount,
              l_comments,     
              sysdate);
    END;
    The trigger is on table ALPHA and it selects data from BETA using :new.alpha_id as parameter. But for multiple rows inserted in table ALPHA, multiple times rows are inserted in table GAMMA. So I made it statement level trigger but I cannot pass :new.alpha_id as parameter in the select statement. Is there any way to do this. Hope it makes sense.

  • Difference between rew level triggers and statement level triggers

    Hi All
    I would like to know the exact difference between rew level triggers and statement level triggers.Please provide me with an example.
    Thanks
    Anand

    What is difference between row & statement?
    One statement can change many rows.
    Difference determines how many times the trigger fires or under what conditions.

  • Difference between sales order schedule line and item level data

    Hi All,
    Could you please let me know what is the difference between sales order schedule line and item level data?
    Thanks,
    Ramya

    Hi Ramya,
    Sales order schedule line contains del date, order qty, rounded qty, confirmed qty, delivery qty, schedule line category, purchase requisition etc.,  ie It contains the full details of sales order data with respect to the scheduled line of delivery.  The total quantity of a sales order item can be subdivided into schedule lines that contain the various subsets with the corresponding delivering dates.
    Sales order Item level data contains details of the item in the sales order like material code, net price, net value, UoM, PO details, reason for rejection if any, material group,billing date, plant etc., ie this
    contains the full details of item irrespective of scheduled line.
    Regards,
    R. Senthil Mareeswaran.

  • Any questions on Order Management Header and Item level?

    Hi,
    If you are interviewing somebody...And the position he wants is SD consultant.
    What kind of questions will you raise on OM header level and item level??
    Order management--Questions on Header level
                                  Questions on item level
    Thanks, would be better if you could also attach the answer.
    Thanks!!

    Dear Hoo,
    ORDER MANAGEMENT & SALES
    1.Briefly describe the types and structure of the sales document and give examples of data
    that you find on the different levels.
    Sales*related business transactions are recorded in the system as sales documents. There are, broadly
    speaking, four different groupings of sales documents:
    Sales queries, such as inquiries and quotations
    Sales orders
    Outline agreements, such as contracts and scheduling agreements
    Customer problems and complaints, such as free of charge deliveries and credit memo requests.
    Header Data
    The general data that is valid for the entire document is recorded in the document header. This data
    includes the:
    number of the sold*to party
    number of the ship*to party and the payer
    document currency and exchange rate
    pricing elements for the entire document
    delivery date and shipping point
    Item Data
    Whereas data in the document header applies to all items in the document, some data applies only to
    specific items. This data is stored at item level and includes the:
    material number
    target quantity for outline agreements
    number of the shipto party and the payer (an alternative shipto party or payer can be defined for a
    particular item)
    plant and storage location specifications
    pricing elements for the individual items
    Schedule Line Data
    An item consists of one or more schedule lines. The schedule line contains all the data that is needed
    for a delivery. For example, a customer orders 20 pieces of a material and you enter this as an item in
    the sales order. However, you can only deliver 10 pieces now and the remaining 10 pieces next month.
    In other words, you need to schedule two deliveries. The data for these deliveries (dates, confirmed
    quantities) are stored in two separate schedule lines. In sales documents where delivery data is not
    relevant *for example: contracts, credit and debit memo requests * the system does not create any
    schedule lines.
    Data recorded in the schedule lines includes the:
    schedule line quantity
    delivery date
    confirmed quantity
    2.What is the difference between an inquiry and quotation ?
    . Inquiry: Request made to a vendor for a quotation for required materials or services.
    No availability check is done for inquiry.
    . Quotation: Offer from a vendor to a purchasing organization regarding the supply of materials
    or performance of services subject to predefined terms and conditions.
    A quotation consists of a number of items, in which the total quantity and delivery date of an
    offered material or service are specified.
    The total quantity can be subdivided into several partial quantities with different delivery dates in the
    lines of a delivery schedule.
    3.Do you always have to have a material master record number when you enter an item on a
    sales document (inquiry and quote)? If not what would you have to use to be able to enter
    information at item level?
    No. Customer Material Information or Material Description.
    4.If a customer doesn't place an order with you after you have sent him a quotation, what happens to
    the quotation document?
    Remains active till the end of validity period.
    5.Can you have alternative items in a sales order?
    Yes.
    6.If you reference an inquiry when creating a quotation ,would the inquiry be updated?
    Yes.
    7.Can you copy one inquiry to many quotations ?
    No.
    8.Can you copy several previous documents into one sales order?
    Yes.
    9.Do you always have to copy the entire quantities at item level when you reference a
    previous document?
    No.
    10.Can you make sure that business data in a sales order is only possible to maintain at header
    level?
    Yes.
    11.From where is the delivering plant transferred into the sales order?
    Customer Master, Material Master.
    12.Which partner function is relevant for the delivering plant? The soldtoparty ,
    billtoparty, payer, carrier or the ship* to* party?
    Ship*to party.
    13.Can you manually change the delivering plant in the sales order once it was defaulted from
    the master data?
    Yes.
    14.For what or why do you use the incompletion log?
    To have a complete document so that it doesnu2019t affect subsequent processes.
    15.Can you have different incompletion logs for different item categories? Schedule line
    categories?
    Yes.
    16.If a document is incomplete can you still save the document?
    Yes.
    17.Which reference status can a document have at item level? Which statuses at header level?
    Item level: Partial, Full.
    Header level: Full.
    18.What's the advantage of using text as a reference instead of duplicating it?
    Can be modified if needed.
    19.What three sources provide data for the creation of a sales document?
    Material Master, Customer Master, Previous referenced documents.
    20.Can you change addresses of partners manually in the sales document?
    Yes.
    21.Name several input tools that make order entry faster and give a definition of them?
    Customer Material Information, Product Proposal , Referencing Documents.
    22.In which business environment would you use only the single*line entry screen to create
    and save the order?
    Telephone Sales, Simple Business.
    23.If you do not specify the delivering plant in the sales order, what could the system then not
    do?
    Delivery Scheduling.
    24.For what would you use the fast change function in sales entry?
    Alternate Plants, Delivery or Billing Blocks
    25.Name two ways to control that customers can receive only certain materials?
    Material Listing, Exclusion.
    26.What does the item category control?
    General Data
    . Should pricing be carried out for the item?
    . When should an item be regarded as completed? A quotation item, for example, can only be
    regarded as completed if the entire quantity has been copied into a sales order.
    . Is it an item that refers to a material or is it a text item?
    . Are schedule lines allowed for the item?
    . May general business data, for example, the terms of payment at the item level, deviate from
    those at the header level?
    . Should a system message appear if the item cannot be fully delivered?
    . Which fields are relevant for the incompletion log?
    . Which partner functions are allowed at the item level and which are mandatory?
    . Which output (for example, an order confirmation) is allowed for the business transaction and
    which output determination procedure is used?
    Shipping Data
    . Is an item relevant for delivery?
    . Should the weight and the volume of an item be determined?
    Billing Data
    . Is an item relevant for billing?
    . Should the cost of the item be determined?
    . Is it a statistical item? Pricing is carried out for statistical items. However, they are not added
    to the value of the order, that is, the customer is not charged for them.
    . Should a billing block be set automatically for an item? For example, this may be important for
    items whose prices have to be clarified before billing
    . Is it a returns item?
    . Name the influencing factors for determining the item category in the sales document?
    . Sales Document type, Item Category Group, Higher Level Item, Item Usage.
    . Name the influencing factors for determining the scehdule line category in the sales document?
    . Item Category, MRP Type.
    . What does the sales document type control?
    General Data
    . Can the document be entered only with reference to a preceding document?
    . Should the existing customer
    . material info record be taken into consideration?
    . Should the delivery date be proposed?
    . Must a customer number be entered when creating a document? For example, product
    proposals can be entered without reference to a particular customer.
    . Which order probability is defined?
    . Should the division be taken from the material master record for every item or should an
    alternative division specified in the header take precedence over the item specifications?
    . How should the system respond if the division entered in the header deviates from the division
    in the items?
    . Should a credit limit check be made?
    . From which number range should the document number for internal or external number
    assignment come?
    . Which fields are relevant for the incompletion log? The validity period, for example, is
    important for contracts and must therefore be specified in the document.
    . Can an incomplete document be saved or must all data be complete?
    . Which partner functions are allowed and which ones are mandatory?
    Shipping Data
    . Which delivery type should the delivery resulting from the order have?
    . Should delivery scheduling be carried out?
    . Should transportation scheduling be carried out?
    . Should a delivery block be set automatically for a specific reason? For example, a delivery
    block may be appropriate for a freeofcharge delivery.
    . You can define shipping conditions for a sales document type. These are copied into the
    document regardless of what is defined in the customer master record.
    Billing Data
    -->Which billing type should the invoice resulting from the order or the delivery have?
    Should a billing block be set automatically for a specific reason? For example, a billing block may be
    appropriate if a credit memo request should first be checked before it is used as the basis for a credit
    memo.
    -->Can the sales document type be determined by the system?
    No.
    -->In R/3, can you automatically substitute one product for another? How? What would you
    have to create?
    Yes. Product Selection / Material Determination.
    -->Give a definition of replenishment lead time?
    Total time for the inhouse production or for the external procurement of a product. In inhouse
    production the replenishment lead time is determined to cover all BOM levels.
    What's the difference between checking availability with or without replenishment lead time (RLT)?
    With RLT : Availability check is done only upto end of RLT. If material is not available the date on
    which RLT ends is displayed as Material Availability Date.
    Without RLT : Availability check is unrestricted. Displays Delivery Dates as on which partial deliveries
    can be made with available stock.
    -->Name at least three item categories?
    Standard Items : AFN, AGN, TAN.
    Free of charge Items: AFNN, AGNN, TANN.
    Non*stock Items : AFX, AGX, TAX.
    Text Items : AFTX, AGTX, TATX.
    -->Why would you use different item and schedule line categories?
    Item categories are defined to provide additional control functions for the sales documents and thus
    meet the demands resulting from the different business transactions.
    The items in a sales document are divided into one or more schedule lines. These schedule lines differ
    from each other with respect to date and quantity. For some schedule lines, material requirements
    planning is not carried out; for other schedule lines, it is carried out. Also goods receipt, not goods
    issue, is posted for a schedule line defined in a returns document.
    -->Can you change existing standard item categories?
    Yes.
    -->Can you create new sales order types?
    Yes.
    -->Different dates will be calculated in order entry scheduling . Can you name the lead time
    variables that will be taken into account?
    Transportation lead time, Pick/pack time, Loading time, Transit time .
    If you run out of stock in a specific plant can you check if there are quantities available in other plants?
    Yes.
    -->When you carry out availability check, which quantities or movements can the system take
    into consideration?
    The following elements can be included in the availability check:
    Stocks : safety stock, stock in transfer, stock in quality inspection, blocked stock.
    Inward and outward movements : purchase orders, purchase requisitions, planned orders, production
    orders, reservations, dependent reservations, dependent requirements, sales requirements, delivery
    requirements.
    -->Give some examples of sales document types (description, not necessary the short code)
    that already set up in the standard system?
    Indicator used to control the processing of the various sales documents which are defined in the
    system. E.g., OR, SO, BV, KR. Document types allow the system to process different kinds of business
    transactions, such as standard orders and credit memo requests, in different ways.
    -->Can you maintain texts for a specific customer and store them in the system? If yes, where?
    Yes. Customer Material Information.
    -->When the system checks availability which scheduling would it use first?
    Backward Scheduling.
    -->Name the influencing factors for the determination of the availability date?
    The following data is required for determining this date:
    Route from the shipping point to the ship*to party location
    Shipping point from which the goods are issued
    Loading group from the material master record
    Weight group determined from the order using the order quantity.
    -->Name the three delivery possibilities when there is not enough stock available?
    One Time Delivery, Complete Delivery, Partial Deliveries.
    -->Can you think of an example why you would have to create a text for a customer and copy it
    to the sales order?
    Customer specific instructions.
    -->What is the function of item category group?
    The item category group determines how a material is processed in the sales order. It defines, for
    example, that pricing does not take place for a free of charge item, such as a business gift; or that
    inventory management is not carried out for a service. When processing sales and distribution
    documents, the system uses the item category group to determine the item category. The system
    determines the item category based on the item category group of the material and the current
    business transaction, and proposes it in the respective document.
    When creating the material types non*stock material and services, DIEN is proposed in both cases for
    the item category group, because the order processing for both material types is identical: for
    example, pricing is carried out for both, but no availability check.
    -->On sales order, when the system confirms 20 pieces to be available at a certain date, would
    these 20 pieces still be available for other new sales order coming in later?
    No.
    -->What is a delivery group and why would you use it?
    The complete delivery and delivery group functions enable you to combine some or all of the items in a
    sales order so that they are delivered to the customer together. The system determines automatically
    the latest delivery date possible for the delivery group and adjusts the schedule lines accordingly.
    Corresponding requirements for material requirements planning (MRP) are changed or re*determined.
    -->What is backorder processing?
    The backorder processing functions enable you to list relevant sales documents for specific materials
    and process them from the point of view of availability. You can assign available to promise (ATP)
    stock to outstanding order quantities. In addition, you can withdraw already confirmed quantities and
    reassign them to different items.
    Backorder processing is only available for materials with individual requirements.
    -->Can you link items in a sales order? If yes, when would you do that?
    Yes. Promotional Items.
    -->For what would you use BOMu2019S in sales? What two methods of BOM processing do you have
    in sales order entry? How can you control if the system should/should not explode a BOM in
    the sales order.
    A bill of material (BOM) describes the different components that together create a product. A BOM for
    a bicycle, for example, consists of all the parts that make up the bicycle: the frame, the saddle,
    wheels, and so on. When you enter the material number of a bill of materials that is relevant for sales
    order processing, the system displays the material that describes the whole bill of materials as a main
    item. The components are displayed as sub*items.
    Processing by Main Item : ERLA & Processing by Sub*Item : LUMF
    BOM explosion can be prevented by specifying Item Category Group as NORM.
    Credit limit checks is an example of a very close link between which two SAP modules?
    SD & FI.
    -->What are the two techniques in delivery scheduling?
    Backward Scheduling & Forward Scheduling.
    -->How does a third party deal work? Do you use a special sales order type for that? How could
    the system know that you want to process a third party deal?
    By specifying item category as TAS using double*line entry in the sales order.
    No special order type is available.
    By the item category group and/or material type in Material Master .
    Name the several steps in consignment processing.
    Consignment fillup, Consignment issue, Consignment pickup, Consignment return.
    Whatu2019s the difference between consignment pick*up and consignment return?
    In consignment pick*up, customer returns consignment stock. When goods issue is posted, the
    relevant quantity is deducted from the customer's special stock and is added back to regular stock at
    the plant where the goods are returned. Total valuated stock remains the same since the returned
    stock was regarded as part of inventory even while it was at the customer's premises.This transaction
    is not relevant for billing.
    In consignment return, customer wishes to claim on consignment goods which have already been
    issued. When goods issue is posted, the relevant quantity is added to the customer's special stock at
    the plant where the goods are returned. Since the ownership of the goods is passed from the customer
    back to the company, the transaction is relevant for billing. In this case, the customer receives a credit
    memo for the returned goods.
    -->Can you control that an end user cannot copy a quote of customer A to a sales order for
    customer B? If yes, where?
    Yes. By customizing Copying Control for header data.
    Give some example for data that is copied from the customer (soldto, payer, shipto) to the sales
    order as well as for data that is copied from the material?
    General data, payment terms, shipping details, delivery agreements, delivering plant.
    -->What is returnable packaging processing?
    Returnable packaging consists of materials that are stored at the customer location but which remain
    the property of the company. The customer is only required to pay for the returnable packaging if he
    does not return it by a specified time.
    Name the two outline agreements in R/3 standard and explain the difference between them.
    Agreements are arrangements between business partners regarding the granting of conditions over a
    specified time period. The agreement contains conditions which apply over a particular time period and
    which are settled together at the same points in time. An agreement can be settled once or
    periodically. The two outline agreements include Contracts and Scheduling Agreements.
    Unlike a contract * which only contains an overall target quantity or value * a scheduling agreement
    also contains specific order quantities and delivery dates.
    -->How many documents do you create when you release, deliver and invoice the first order
    from a contract?
    Three : Sales order, Delivery note, Invoice.
    -->What types of output can you have in sales?
    Printer, Telex, Fax, Mail, EDI.
    -->Can you automate output processing ? Do you always have to specify it manually?
    yes. No.
    -->Where would you specify which data should be copied (at header, item and schedule line
    level)when you copy from one document to another one?
    Customizing Copy Control.
    I hope it will help you,
    Regards,
    Murali.

  • Diff. of trigger for row and statement ?

    whats the difference between
    trigger for row
    and
    trigger for statement

    The FOR EACH ROW option determines whether the trigger is a row trigger or a statement trigger. If you specify FOR EACH ROW, then the trigger fires once for each row of the table that is affected by the triggering statement. The absence of the FOR EACH ROW option indicates that the trigger fires only once for each applicable statement, but not separately for each row affected by the statement.

  • How to assign value in Statement level trigger?

    The below is my package body with trigger code..
    CREATE OR REPLACE PACKAGE BODY trigger_api AS
    TYPE t_change_rec IS RECORD (
    id tab1.id%TYPE,
    action tab1_audit.action%TYPE
    TYPE t_change_tab IS TABLE OF t_change_rec;
    g_change_tab t_change_tab := t_change_tab();
    PROCEDURE tab1_row_change (p_id IN tab1.id%TYPE,
    p_action IN VARCHAR2) IS
    BEGIN
    g_change_tab.extend;
    g_change_tab(g_change_tab.last).id := p_id;
    g_change_tab(g_change_tab.last).action := p_action;
    END tab1_row_change;
    PROCEDURE tab1_statement_change IS
    l_count NUMBER(10);
    BEGIN
    -- FOR i IN g_change_tab.first .. g_change_tab.last LOOP
    SELECT COUNT(*)
    INTO l_count
    FROM tab1;
    delete from tab1_audit where id=p_id;
    else
    dbms_output.put_line('Inside Else'||l_count);
    end if;
    -- END LOOP;
    -- g_change_tab.delete;
    END tab1_statement_change;
    END trigger_api;
    Trigger
    CREATE OR REPLACE TRIGGER tab1_asiu_trg
    -- AFTER INSERT OR UPDATE ON tab1
    AFTER DELETE ON tab1
    BEGIN
    trigger_api.tab1_statement_change;
    END;
    Calling Trgger
    Delete from tab1 where id='100';
    In the above package body which contains delete query, in that query i have to pass the value '100' i,e what are values i am giving in the (Delete from tab1 where id='100';) query.
    It shows error p_id Invalid Identifier..
    Thanks

    This wouldn't be related to your other threads would it by any chance?
    Re: How to call or not call a Trigger in same table based on condition?
    Re: Is it possible to use SELECT statement in TRIGGER?
    Can't you just stick to one thread to deal with your issue rather than asking it several times in different ways?
    You'll just cause confusion and frustrate people who are trying to help.

  • Row and Column Level Select Permission

    Hello Friends,
    I am using Oracle Oracle9i Enterprise Edition Release 9.2.0.1.0 and Windows XP. I have two questions. How to set :
    1. Row Level Select Permission?
    2.Column Level Select Permission?
    1. I have a table having 100 records in it. I don’t want to allow all the user to see them; means, if user1, user2 and user3 are going to select * from mytable then only they can get all the rows; while other users (including sys) should not able to get all rows, they should be capable of from 11th record.
    Though it can be managed by using another table, but I am just finding the other solution.
    2. Likewise, if I don’t want to allow to fetch all the columns; suppose column4 is having confidential info and only be visible by user1,user2 and user3 only, not by any othr user; what should I do?
    Please guide and help me.
    Regards

    You would need to use Virtual Private Database (VPD)/ row level security (RLS) to apply row-level security policies to the table. The DBMS_RLS package is used for this
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_rls.htm#sthref6168
    Unfortunately, column-level security wasn't available in 9.2. You would need to upgrade to Oracle 10g to get that functionality. Before that, you would have to create views that selected appropriate subsets of columns and grant permissions on those views to different users.
    Justin

  • Need help in Statement level triggers.

    Hi All,
    I would like to clarify few things about statement level triggers. here are my doubts,
    1. does a statement level trigger have access to the column values of each row that the trigger affects? if so provide me with some examples.
    Thanks,
    james.

    Not by default. If you need to see the column values in an after-statement trigger, you need to use a row-level trigger to accumulate the values in a package variable. This approach would use a before-statement trigger to clear the variable (a table of records based on the rowtype of the table, usually), the after-row trigger to add a row's column values, and then the after-statement trigger to loop through the PL/SQL table (array, collection, etc.) and do whatever is needed.

  • Getting iteration number in row level trigger

    Hi. Is there a way to get iteration number in row level trigger? Or to access data inserted in statement level trigger from row level trigger (statement level trigger are supposed to be executed before row level triggers but I cannot access them).
    I'm using Oracle 10g.

    My oracle version:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for 64-bit Windows: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    And business problem is like this:
    I need to have two log tables for some tables in my database:
    First log table is a statement level log. After insert or update or delete it should get one new row with mentioning date, time, sid, query type and some additional information.
    Second table should include all columns from table logged, date, time, sid and operation type.
    The problem is, I need exact the same date and time for each row in both log tables.
    Someone said that sysdate should return same value for query execution time. But it have nothing to do with triggers fired on this query.
    So you may say that I'm curious about getting exact same date and time for one statement level trigger and for each execution of row level trigger.

  • Before update and after Update trigger

    Hi,
    I am following the below approach to overcome ORA-04091: table XXXX is mutating error.
    1. In the after update row level trigger i am capturing rowids of changed rows into a table type (of type rowid) defined in a package.
    2. In the after update statement level trigger i am using the data from the table type ( that got populated in the first step) to do my work.
    3. In the before update statement level trigger i am resetting the table type defined in the package.
    Now, can the below situation occur causing the system to fail
    1. A Update to the table occurred causing the before update statement level trigger to fire and reset the table type.
    2. After that row level after update trigger gets executed and captures the required data.
    3. Now before the after update statement level trigger gets executed a new update to the table happened ( to some other row as multiple users are using the application) causing the
    before update statement level to fire and erase the data from the table type?
    I want to know if above situation can occur or is the execution or before and after update triggers atomic?
    Thanks for helping.
    TIA
    Harsha

    A collection in a package is local to the session. And a given session can be processing one SQL statement at a time. So any concurrent updates would be happening in a different session with a different logical collection.
    You may encounter problems if your session is trying to update the same rows that other sessions are trying to update (whether via the original update statement or via the updates issued by the trigger). You could encounter performance problems because of row level locks or you could encounter deadlocks. But your session's collection won't be initialized by some other session's actions (other than DDL that replaced the package itself).
    Justin

  • How can i open a PDF bank statement in numbers so that the rows and columns contain properly aligned data from statement?

    how can i open a PDF bank statement in "numbers" so that the rows and columns contain properly aligned data from statement?

    Numbers can store pdfs pages or clippings but does not directly open pdf files.  To get the bank statement into Numbers as a table I would open the bank statment in Preview (or Skim) or some pdf viewer.
    Then hold the option key while selecting a column of data.
    Then copy
    Then switch to numbers and paste the column into a table
    Then repeat for the other columns in the pdf document
    It would be easier (in my opinion) to download the QFX or CSV version from your bank

  • Delivery tolerance at header and item level in sales order

    Dear All,
    My client wants to maintain delivery tolerance at both header and item level. NOTE: The tolerance at sales order header is different than the delivery tolerance at sales order item.
    eg if i maintain 3% plus and minus tolerance at item, the header level tolerance can be 2%.
    Also if there are more than 1 line items, the system should give warning message, when it finds that the delivery tolerance at item level can be maintained but that of the header level cannot be maintained and vice varsa.
    Awaiting an early help and thankful for the same in advance.
    Regards,
    Avnesh Kamdar

    Hi Avnesh,
    Delivery tolerance can be made in the customer master,sales org data ---delivery tab.
    Delivery tolerance is always at item level.
    Reward points if it helps.
    Regards
    Karan

  • How can we revise the pricing both at header and item level of sales order?

    Dear All,
      Now there's one issue of the pricing to me. i want to revise the pricing both at header and item level of sales order. but after i finished the cutomize and tested it, it's more different as i thought. i found that the pricing can revise at the one side only,for example, if i revise the pricing at item level and it's grey and can't be revised at the header. on the other hand, it's the same result what's happened at item.
      So, in my opinion, we can't revise the pricing both at header and item, right? if not, please give me more advices and teach me how to solve the problem. thanks a lot.

    Dear Lakshmipathi,
      Thanks a lot for your kindly and useful answer for me and I learn more for the pricing technology.
      I didn't notice the way that you reminded ago therefore I also saw the button at the condition tab. And your suggestion makes me know more.
      And I had tested the way that you said, I met with a question. Below is my opinion for my testing.
      I had created one SO and the pricing was $10, then I revised the pricing from 10 to 15 by VK11. It can't be updated automatically at SO and I must update it manually by clicking the "Update" button. This is OK for my testing, but I have another question to disturb you for the use of "Active" button. When I click the button and nothing is responsed, it's quite different what you said. So, please give more detail for the Active button. Thanks a lot.

  • Pre-order points missing and pre-ordering problems at the store level.

    Hi
    During the week of July 6th-July 12 there was an ad for pre-ordering certain movies and getting 100 bonus points for each movie.  On July 12th I pre ordered Rio 2, The Amazing Spiderman 2, and Transformers:AOE (Steelbook edition).  The employee was able to successfully pre-order Rio 2 using the provided in store pre order card but had difficultly pre ordering Spiderman 2 and Transformers.  Rio 2 and Spiderman 2 had set release dates while at that time Transformers did NOT have a release date until recently.  These pre-orders were done in three different transactions. 
    Picking up Rio 2 on 7/15 was not a problem.  The employee did an exchange in the system.  The 100 bonus points never posted.
    The Amazing Spiderman 2 had a lot of problems.  The employee thought I already bought it and picked it up on 7/12 when I went to pick it up on 8/19 (the release date).  At the time of the pre order purchase, there was no announcement of the BB exclusive Magno pack for the same price as the regular blu ray release.  Again the employee did a return/rebuy.  This employee also stated that the employee who processed the pre-orders Spiderman and Transformers did it incorrectly since it looks like she did it as a normal transaction instead of a pre-order.  The points have yet to be posted.
    Transformers: AOE (Steelbook edition) now has an official release date of 9/30.  My question is will the system allow for employee to process the pre-order pick up since it is outside of the 45 day window?  I am hoping it won't be but seeing how the employees have been processing pre-orders incorrectly when picking them up I expect problems when doing so. 
    I have also noticed a price drop for transformers (6760435) from the time I pre-ordered it on 7/12.  Will the employees be able to adjust the price and give me the difference?
    Not all stores carry the pre-order cards making this a difficult process for everyone (it takes me on average 30 minutes to pick up 1 pre-order instead of in and out within 5 mins like usual) because someone didn't do it correctly the first time.  So my question is, how should employees process a pre-order if there is NO Pre-Order card in store??  I would love to continue to pre-order at best buy, but am getting tired of having employees screw up my pre-order.

     Hello ITDEFX101,
    Pre-ordering your movies during these 100 My Best Buy™ Bonus Point promotions is a great way to ensure that you are able to get your hands on some great movies as soon as possible after release, while simultaneously earning extra points. It is regrettable to hear that your pre-order experience with Rio 2 and The Amazing Spiderman 2 were not as smooth as we strive for these processes to be, and in the end, you state you didn’t even get the bonus points you expected.
    Using the information you registered with the forum, I was able to review your pre-orders for all three movies, as well as your My Best Buy™ account. Sadly, it does appear that there may have been some issues with your pre-orders, and I would like to address these with you privately, especially concerning your pre-order for Transformers: Age of Extinction. I am sending you a private message, which you may view once you’ve signed into the forum and clicked the envelope icon in the top right corner of the page.
    Sincerely, 
    Tasha|Social Media Specialist | Best Buy® Corporate
     Private Message

Maybe you are looking for

  • Can I use multiple swfs in iOS app?

    Hello everybody, I have to create an app for iOS from an existing Flash project. On the stage of the main flash multiple swfs are loaded dynamically . Is it possible to compile, in addition to the main file, all the other swfs too? If I load the swf

  • Individual Bass Control for Front/Rea

    Hey everyone! I was wondering if it is possible to control the bass and treble settings for each output on my soundcard individually, ie: the front and rear speakers. The reason I ask is because I have really nice speakers connected to the rear outpu

  • read-timeout-seconds not working

    (WL 5.1, SP 11) Hi all, I'm playing around with Read-Only entity beans, and I get a problem with the read-timeout-seconds property. I've set my weblogic-ejb-jar.xml like this: <ejb-name>product.entity</ejb-name> <caching-descriptor> <max-beans-in-cac

  • Extended Classic PO Output Message

    Hi, For some of my vendor i want to send from PO the copy created from SRM using R/3 Output Messaged, for some i will have them send from SRM itself. Is it possible to have in Extended Classic PO Output Message triggered from R/3 like Classic. Thanks

  • Using FCP X to record Skype type conversations?

    I've got a series of conversations I have to record for a project.  I'm just wondering if there is a way I could set up FCP X to record a Skype conversation?  Just the audio. I also use Logic Audio all the time, perhaps I could use Logic? If it's pos