What order entry Workflow activity that inserts records into RA_INTERFACE_LINES_ALL?

Hello!

I want to change the line Flow - generic, Bill only with the inventory Interface by creating a function that inserts records in RA_INTERFACE_DISTRIBUTIONS_ALL. What I have done to insert a function between CLOSE - LINE and END and this are the results:

1. it triggers all the lines which has no settings (discount and promotion) defined the distribution folder is written.

2. it fires at each main element that has promotion (buy one, get one) but does not fire on the lines of promotion.

3. it does not at all for the lines that gave it.

My question is, where do I insert my function successfully intercept this event? It is certainly in one of the online activities of invoice Interface, deferred payment and Close - line.

Thank you.

Jon

On further analysis, I discovered that it takes on all the lines in the OE_ORDER_LINES_ALL, but since if the line has discount or products free, it will create additional folders to offset the discount/free goods in the RA_INTERFACE_LINES_ALL, but only fires once, you must loop through all the records in the RA_INTERFACE_LINES_ALL that make up a line_id in the OE_ORDER_LINES_ALL of to be able to properly process records to RA_INTERFACE_DISTRIBUTIONS_ALL.

Thank you.

Jon

Tags: Oracle Applications

Similar Questions

  • Which inserts records in RA_INTERFACE_LINES_ALL of orders?

    Hello!

    Whenever you complete the Oracle sales order steps, the rows will be inserted in the RA_INTERFACE_LINES_ALL which is then processed by AutoInvoice so that AR transactions will be created.

    My question is, is that you insert records in the RA_INTERFACE_LINES_ALL table? It is the flow of work or any other procedure? If it is the workflow, which? order or line of work flow?

    Thank you.

    Jon

    Yes, it gets connected through the activity of the Interface of the invoice in the sales order line workflow. For those with billing of the activity header, it will be the workflow of the order.

  • Insert record into RA_CUST_TRX_LINE_SALESREPS_ALL-Options

    Hello

    We implement OIC and for the process of collection of AR to function, sales credits (no sale) must be created for the Bills of the AR. New AR FO bills there is no problem. But it is a problem for the Bills in the year 2008 that need to be connected with the OIC to calculate the commission. Already, some of the invoces received payments.

    Oracle does not recommend insert records directly on a base table. So, I would like to hear from someone who have other viable options. The no. Bills that need to be udpated with the record of sale of credit default (sales credit no.) is about 100 000 documents. Updates manual SO is not an option.

    Worst case, if we create no records of commercial credit for each invoice by creatign records in the base table, what are the most important things to keep an eye on?

    Any suggestions are greatly appreciated.

    Thanks in advance
    SA

    SA
    I suggest that you create a custom rather than this approach collection source. I want to say is this:

    1 create tables of mirror for ra_customer_trx_all, ra_customer_trx_lines_all, ra_cust_trx_line_gl_dist_all and ra_cust_trx_line_salesreps_all for these invoices.
    2. Insert your records for credits no sales or sale in this custom tables.
    3 create a custom source OIC on these tables.
    4. collect these paintings customized for calc and payment transactions.

    Thank you
    Claire

  • Insert record into audit_trail

    Hi guys,.

    would it not possible to manually insert a record into the goal of audit_trail?

    We want to audit access to certain tables by a handful of database user. We do not want to audit access of all users, for example in ' audit SELECT on <>diagram. < table > '.

    This is why I would like to create an avant-declencheur, who must insert a record into the audit_trail depends on the user.

    Thanks in advance for an answer.

    Michael

    SQL > select * from v version $;

    BANNER

    ---------------------------------------------------------

    Oracle Database 11 g Release 11.2.0.4.0 - 64 bit Production

    PL/SQL Release 11.2.0.4.0 - Production

    CORE Production 11.2.0.4.0

    AMT for 64-bit Windows: Version 11.2.0.4.0 - Production

    NLSRTL Version 11.2.0.4.0 - Production

    92d05c8e-821f-4ad6-9f1d-b412880e8a95 wrote:

    That's why I'm going to use a logon trigger, who runs the dependent 'Audit all statements during the session' on the user. Then, our monitoring tool must seek important sql statements.

    Thanks for all the suggestions.

    With the help of AUDIT all statements MADE BY...; It would be simpler than a logon trigger.

  • How to insert records into a table from a button?

    Hey,.

    I use Oracle form and I have a trigger button when button pressed.

    I have a project being given for one of my classes. Basically, I have a Customers table and they hit the news. When they press submit, it must insert it into the table.

    And here is the code I wrote to be inserted inside the button

    declare


    v_cust_id customer_detail.customer_id%type;

    v_f_name customer_detail.fname%type;

    v_l_name customer_detail.lname%type;

    v_destination customer_detail.destination%type;

    v_travel_date customer_detail.travel_date%type;

    v_address customer_detail.address%type;

    v_telephone customer_detail.telephone%type;


    Start

    insert into customer_detail

    values (v_customer_id, v_fname, v_l_name, v_destination, v_travel_date, v_address, v_telephone);

    end;

    /


    But its gives me an error. Is a PLsql Oracle form different syntax?

    Why do you need to insert in the command, when applications oracle has this native features?

    Make a form based on the table and just use

    COMMIT_FORM; on your BUTTON.

    Hope this helps

    Hamid

  • Insert records into statement

    Refresh us the data from the production environment by using the Task Scheduler tool (channels, programs, programs, etc.).  It is probably not the best way, but I inherited structure, is what it is.  Seen retrieve data on a database link, apply logic to the data (collection ontime, ontime delivery) and fill the tables.

    Procedures to insert in temporary tables, which carries data over a database link.  Then records are deleted and inserted into the actual table based on records from the temporary table using the IN clause on the primary key.  Some tables have several columns of hundreds (new legacy, not preferred) using an UPDATE is not feasible.  Here is an example of one of the procedures.

    DATE_CUTOFF is the create date or the date of update of the document.  NN_SHIPMENT_INFO_XA is the actual table.  NN_SHIPMENT_INFO_XA_TEMP is the temporary table.

    NN_SHIPMENT_INFO_XA has 292 columns, so deletion and insertion of 10 k lines takes nearly two hours.  I read what one of the most inefficient operators.  I tried to gather statistics on the temporary table every time, but that has not helped.  Break the view into pieces and reducing the number of columns is difficult because there are several layers of logic and tables between the database link and the layer of the end user.  Because of its complexity, I am committed to the design of my predecessor in the foreseeable future.  Is there a better way to build this procedure to make it run faster?

    Any suggestions are greatly appreciated.

    In the code you posted, you do:

    Select max (date_cutoff_nnsi_xa) - interval time '12'

    in last_cutoff_nnsi_xa

    of nn_shipment_info_xa

    Keep little and use last_cutoff_nnsi_xa as a predicate on the view using a part of the merge as you statement used to fill the temporary table.  So, the merger would look more like:

    merge into nn_shipment_info_xa targ

    using (select * from nn_shipment_info_xa_temp)

    where date_cutoff_nnsi_xa > last_cutoff_nnsi_xa) CBC

    on (targ.shipment_id = src.shipment_id)

    When matched then

    Update

    Set targ.col1 = src.col1,

    Targ.col2 = src.col2,

    ...

    -possibly

    where targ.col1 <> src.col1 and

    Targ.col2 <> src.col2

    ...

    When not matched then

    Insert (shipment_id, col1, col2,...)

    values (CBC, col1, src.shipment_id, src.col2,...)

    John

  • Problem in inserting records into a table (MS Access) where the name of the column against

    I have a table with the name of column say first #Name and when I insert a value in the table it gives an error and it does not let me insert some values which he... Is it possible to enter the value in this column by fleeing this hash. I have a constraint that I can not change the name of the column...

    If it was Oracle you would put quotes around the name of the column. Not sure if happens the same for MS Access, because I do not play with the toy databases.

    for example

    Insert into tablename ("First#Name") values ('Fred');
    
  • What are some possible PSU that can fit into a HP Envy Phoenix 800-030qe

    I'm looking for a new power supply and a GPU soon. It is difficult to tell an image on the internet if she will agree even with the dimensions of the case and the power supply. What I really would like to, it is MI CoolMaster V850 because will change from the GPU and everything to come. ID rather go a lot on what I bad finish to help and have some extra, then buy a new one when I start to change things more. No position would be great. I was looking at the GPU was the EVGA GTX 750ti FTW. Thank you

    This is the basic material: http://support.hp.com/us-en/document/c03804605

    Hello

    The EVGA NVIDIA GTX 750ti should work without modification of the power supply.  Save you money and keep the HP 600 watt PSU.

    HP Secure Boot Windows 8 themes Computer does not start after the installation of a video (Windows 8) card  

  • insert record behavior problem

    Although it might be a problem with mysql, I'm not sure. I use the built-in behavior insert record into DMWCS4 to download data from an online form directly to a MySWQL db table that I put in place via phpMyAdmin on the server. The SQL code of the db table is below:

    CREATE TABLE "tablename")

    "compid' int (11) NOT NULL AUTO_INCREMENT,

    'Title' varchar (55) NOT NULL DEFAULT,

    Varchar (55) "First name" DEFAULT NULL,

    Varchar (55) "First name" DEFAULT NULL,

    Varchar (55) 'Company' DEFAULT NULL,

    Varchar (55) 'Add1' DEFAULT NULL,

    Varchar (55) 'Add2' DEFAULT NULL,

    Varchar (55) 'City' NOT NULL,

    'The city' varchar (55) DEFAULT NULL,

    Varchar (55) 'Postal Code' DEFAULT NULL,

    DEFAULT NULL, 'County' varchar (55)

    Varchar (55) 'Phone' DEFAULT NULL,

    Varchar (55) 'Fax' DEFAULT NULL,

    'Email' varchar (55) DEFAULT NULL,

    'Do not contact the marker' enum('y','n') NOT NULL DEFAULT 'n',.

    PRIMARY KEY ('compid")

    ) ENGINE = InnoDB DEFAULT CHARSET = latin1 AUTO_INCREMENT = 1;

    the problem I have is that when the form is submitted, the Firstname column in the db, regardless of what is written on the form. I tried to change this line:

    Varchar (55) "First name" DEFAULT NULL,

    TO

    Varchar (55) 'Name' NOT NULL,

    but when I test the form using MAMP I get the message error '' Firstname' column cannot be null.

    I have no idea why this is happening - if I leave the column Firstname as DEFAULT NULL I get no names in the db table, but it won't let me change - any ideas on what is happening here would be greatly appreciated. Thanks in advance.

    Just noticed a typo in:

    $insertSQL = sprintf ("INSERT INTO panda (title, first name, name, company, Add1, Add2, city, city, zip code, County, phone, Fax, Email, 'Do not contact the marker') VALUES (%s %s %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)',

    GetSQLValueString ($_POST ['title'], "text").

    GetSQLValueString ($_POST [' name'], "text").

    There is a space between the first and last name in the second case. This could well be the cause of the problem.

  • MySQL Insert Record

    I have a database for a business application & I am trying to build a few pages simple insert to insert records into the database.

    I built the forms of insertion, but when I try to save inserta, the primary key is not automatically applicable to registration, as is automatic numbering should be applied to another field? However, the data are address in the table? I'm assuming that the database that automatically apply as it does in the application?

    what Miss me?

    Thank you

    Pete

    In MySQL:

    CREATE TABLE une_table)

    ID smallint (5) unsigned NOT NULL AUTO_INCREMENT,

    rest of the table

    PRIMARY KEY

    ) Engine = engine //some

  • Inserting record in the database and then display on the next Page

    Hello!

    For a while since I posted here, but I've been pulling my hair out on this one.  Here's what I want to do.  I have a page that I want to be able to enter text in two form fields, then click on "Insert disc", and then on the next page, I just submit display.  For example, on the "insert.php" page I want to enter the field ID and Joe 43569 in the first name field.  Then after I click on submit (or insert record) the next page will have a text that says: "congratulations Joe, your ID is 43569.»  Have a great day! "Or something to that effect.

    I have the database mySQL, set up and insert records into it since this page works correctly.  Here is the code of my insert.php page which I think is the issue.   I'm just confused as to which should be added to the page detail.php to have this sentence appears correctly.  Is there something that should be added to the code on the page insert.php?  Something after the detail.php on that first line?

    Thank you, thank you, thank you in advance.

    Brent

    $insertGoTo = 'detail.php ';
    If (isset {}
    $insertGoTo. = (strpos ($insertGoTo, '?'))? « & » : « ? » ;
    $insertGoTo. = $_SERVER ['QUERY_STRING'];
    }
    header (sprintf ("location: %s", $insertGoTo));
    }
    ? > <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""
    " < html xmlns =" http://www.w3.org/1999/xhtml ">
    < head >
    < meta http-equiv = "Content-Type" content = text/html"; Charset = UTF-8 "/ >"
    < title > Untitled Document < /title >
    < / head >

    < body >
    < do action = "<?" PHP echo $editFormAction;? ">" method = "post" name = "form1" id = "form1" >
    < table align = "center" >
    < tr valign = 'of basic">
    < td nowrap = "nowrap" align = "right" > ID: < table >
    < td > < input type = "text" name = "ID" value = "" size = "32" / > < table > "
    < /tr >
    < tr valign = 'of basic">
    < td nowrap = "nowrap" align = "right" > first name: < table >
    < td > < input type = "text" name = "lastName" value = "" size = "32" / > < table > "
    < /tr >
    < tr valign = 'of basic">
    < td nowrap = "nowrap" align = "right" > < table >
    < td > < input type = "submit" value = "Insert file" / > < table >
    < /tr >
    < /table >
    < input type = "hidden" name = "MM_insert" value = "form1" / >

    < / make >

    When you submit the form, the form fields values are passed to the query insert as variables of $_POST, but as soon as you redirect the user to another page, these variables are destroyed.

    There are two ways to preserve the values: use sessions and session variables, or add values to the end of the redirect URL query string. Using the variables of session is probably easier since you can do it at the top of the page that inserts data into the database without affecting the code of Dreamweaver Server behavior.

    Put this at the top of the current page:

    
    

    In details.php, add top of the page. You can then use $_SESSION ['ID'] and $_SESSION ['name'] to display the values.

  • Tuning sql insert that inserts 1 million lines makes a full table scan

    Hi Experts,

    I'm on Oracle 11.2.0.3 on Linux. I have a sql that inserts data into a table of History/Archives of a table main application based on the date. The application table has 3 million lines. and all the lines that are more then 6 months old must go in a table of History/Archives. This was decided recently, and we have 1 million rows that meet this criterion. This insertion in table archive takes about 3 minutes. Plan of the explain command shows a full table scan on the main Board - which is the right thing, because we are pulling 1 million rows in the main table in the history table.

    My question is that, is it possible that I can do this sql go faster?

    Here's the query plan (I changed the names of table etc.)

       INSERT INTO EMP_ARCH
       SELECT *
    FROM EMP M
    where HIRE_date < (sysdate - :v_num_days);
    call     count       cpu    elapsed       disk      query    current        rows
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    Parse        2      0.00       0.00          0          0          0           0
    Execute      2     96.22     165.59      92266     147180    8529323     1441230
    Fetch        0      0.00       0.00          0          0          0           0
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    total        4     96.22     165.59      92266     147180    8529323     1441230
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: FIRST_ROWS
    Parsing user id: 166
    Rows     Row Source Operation
    -------  ---------------------------------------------------
    1441401   TABLE ACCESS FULL EMP (cr=52900 pr=52885 pw=0 time=21189581 us)
    
    
    

    I heard that there is a way to use opt_param tip to increase the multiblock read County but did not work for me... I will be grateful for suggestions on this. can collections and this changing in pl/sql also make it faster?

    Thank you

    OrauserN

    (1) create an index on hire_date

    (2) tip 'additional' use in the 'select' query '

    (3) run ' alter session parallel DML'; before you run the entire statement

  • Insert data into another database with a script

    Hello.

    What is the best way to insert data into one database with a script

    INSERT INTO BF_PRUEBASMTP.bf_mtp_agr_inscription (ain_agreementid, ain_customerid, ain_paymethodsid, ain_servicemoduleid, referencia)

    SELECT AAG. AAG_AGREEMENTID, ACU. ACU_CUSTOMERID, 2, 2, ins. NUMERO_REFERENCIA

    OF BF_PRUEBASMTP.bf_mtp_agr_biller ABI

    JOIN IN-HOUSE

    BF_PRUEBASMTP. BF_MTP_AGR_AGREEMENT AAG ON ABI. ABI_BILLERID = AAG. AAG_BILLERID

    INNER JOIN 'CLIENTEUNICO. ALMUERZO" ins

    ON THE AAG. AAG_AGREEMENTID = ins. CONVENIOID

    INNER JOIN BF_PRUEBASMTP.bf_mtp_agr_customer ACU

    ON ACU.acu_typedocumentid = ins. TIPO_DOCUMENTO

    AND ACU.acu_numberid = ins. NUMERO_DOCUMENTO;

    CLIENTEUNICO. INSCRIPCIONES = SELECT * DE INSCRIPCIONES - to a DIFFERENT DATABASE


    Thank you very much.

    2931095 wrote:

    If I don't have permissions to create a database link. Is there another way to do this?

    Thank you.

    link to database IS the method by which an Oracle database accesses to a different database.

    If you are the ADMINISTRATOR, you should have permission.

    If you are not the ADMINISTRATOR, you should not have permission and need to talk to the ADMINISTRATOR that is allowed.

  • I do not understand this statement "It is a good idea to keep track that uses a bunch of Audio channels selected in the arrange window, unless you actively play or record on a software Instrument."

    It's a good idea to keep track that uses a bunch of Audio channels selected in the arrange window, unless you actively play or record on a software Instrument.

    Which no longer applies in Logic Pro X 10.2.3. In old versions of logic, selecting a range with a software instrument automatically would make this instrument in "Live" mode, which means that the instrument has begun to transform any MIDI in sound with a minimum of delay. This direct mode becomes an instrument need CPU power (on a single processor) and peut overload the audio engine. It is a waste of CPU if there is no direct game. Then select an audio track would ensure that No instrument is in direct mode. Now (LPX 10.2.2 or more) in direct mode can be turned on or off on a track, chosen or not - it is the R button on the track header.

  • What can be done so that the screen saver images is displayed in a specific order?

    What can be done so that the screen saver images is displayed in a specific order? (I have about 100 photos in the folder I want to use, but they are always displayed in a random order).

    Hi c. Singman,.

    The random order of the images is by design.  Read the following article about the installer:

    http://www.Microsoft.com/windowsxp/using/Setup/learnmore/tips/Smith1.mspx

    I hope this helps!

Maybe you are looking for

  • A few quirks after a 6 s iCloud restore iphone

    Yesterday, I went to the Genius Bar for my iphone battery testing 6.  They have made a reset on my phone and restore from iCloud (fully and recently supported).  Once done with the basic restore process (about an hour), I left it home, plugged in, co

  • How is it when I send photos to send to send to someone... the legends do not give.

    How is it when I send photos to send to send to someone... the legends do not give.

  • [Win 7] PROBLEM mit Service Pack 1 (auch bei Server 2008)

    Aus einem other Forum: ----- PROBLEM so far:-Active Protection System hat ein problem mit der windows-shell-dll (?)-System - update (lenovo) will nicht Something offizielles update system gibt zum're auch http://support.microsoft.com/kb/2492938/en-us

  • software of fingerprint reader problem

    Hello Yes.  I just bought this new Dell Latitude E 5440 with Windows 7 64 Bit Enterprise Edition is installed.  I downloaded most of the drivers successfully.  But could not find a compatible fingerprint reader software.  I have the drivers for it ju

  • Access to resources on the inside and DMZ problem

    Hi Techies, I have a pix515 do remoteaccess VPN. People are able successfully to VPN in the box but are not able to access resources on the DMZ or the Interior. DMZ is directly connected to the PIX and inside is behind a CSS. Could you people point m