Redo and undo operations in lingo.

I wanted to know how you people develop redo and undo method in a director project using lingo? Is there any standard function which keeps track of user interactions and provide the traditional method of redo and undo? Else should i develop a own logic? I'm new to lingo programming, so asking you experienced people how to go about it?

Thanks, finally i was able to create undo operation in lingo! Lists are very helpfull in lingo, i got to know these just after coding undo action, i was able to create with counters and two lists.
Here is just sample i did, not too great though!
global clicklist, counter, undolist, undocounter
on mouseUp me
-- store values in variables for undo operation
  spriteName = undolist.getAt(undocounter - 2)
  spriteX = undolist.getAt(undocounter - 1)
  spriteY = undolist.getlast(undocounter) 
  sprite(spriteName).loc = point(spriteX, spriteY)
  undolist.deleteAt(undocounter)
  undolist.deleteAt(undocounter-1)
  undolist.deleteAt(undocounter-2)
  undocounter = undocounter - 3
end

Similar Messages

  • Excessive generation of Redo and Undo

    Hi,
    In the application we are trying to update 5500 records, application has the facility to submit a batch job, which is still running for nearly 5 hours, and it has already generated 10 GB of redo and 5 GB of undo, until now only nearly 4000 records have been processed.
    Before we have updated nearly 25K-30K records and they took only half hour max. to finish processing.
    We have not applied any patch nor there is any change in the application.
    What exactly is causing so much redo and undo to be generated, how can I identify the problem area?
    Please advice.
    Database version 10.2.0.2 on Win2K3

    No, I confirmed no backup was/is running, again there is no change in the DATA or the conditions (as I mentioned earlier it's a sorta batch facility provided by the application), however, I found out that the custom table being used by the application is using is not having appropriate indexes on it, but right now the table is locked and I can't create the correct index, having said that,
    what I can think of is that since it's performing FTS, I notice "db file sequential read", that's ok that it'll take a long time to finish, but then why so much of UNDO and REDO?
    I further confirm there are no other processes running.
    SGA_TARGET = 1200M
    shared pool                                                             472
    large pool                                                               16
    java pool                                                                 8
    streams pool                                                             16
    DEFAULT buffer cache                                                    760
    log_buffer 6984704

  • Why can't i redo and undo on indesign?

    i recently downloaded indesign and i can not redo or undo

    Drag to the desktop first, that downloads the photo. Then from the desktop into iPhoto.

  • Segment shrinking and UNDO tablespace

    When i issued
    alter table <table_name> shrink space cascade;
    I got the error 'Unable to extend UNDO ...by 8' . Does Segment shrinking consume space from UNDO tablespace?
    Message was edited by:
    for_good_reason

    As Jonathan said, shrinking segment generates redo and undo data.
    But, this phoenomenon of undo shortage is not normal case.
    Shrinking segment might invole continous DML(deleting and re-inserting),
    but it's transaction seems to be committed internally at regular intervals.
    For this reason, shrinking operation should not hold undo area that long.
    But have no knowledge on exact behavior of shrink operation.
    Someone else will shed a light.
    How big your table and indexes?
    Some cases are reorted that shrinkage on big segment generates really large amount of undo data.
    This might be related with your problem. But not sure.
    Visit metalink note# 3888229.

  • Difference Between Redo logfiles,Undo Tablespace,Archive logfiles, Datafile

    Can some please highlight difference between Redo and Undo logs
    Also why do we need seperate archive logs when the data from redo logs can be directly written to Datafiles..
    You help will be highly appreciated...

    Also why do we need seperate archive logs when the data from redo logs can be directly written to Datafiles..
    Redo logs are the transaction logs of yours database , it is exactly a recorder of yours database activity ,by using redo logs i can take my database to a particular state, for further detail lets take an example.
    Suppose i have three disk (disk1,disk2 and disk3),i have one datafile in my database which is f1.dbf on my disk1,i have 2 redo log file i.e r1.log and r2.log which are on disk2.At disk3 i copy my database file f1.dbf from disk1 daily at 12:00 PM. On Monday i have successfully copied the f1.dbf file from disk1 to disk3 at 12:00 PM , at 1 PM on monday i insert some record in a table "test".
    Insert into test values (1)
    It means on monday at 1:00 PM within my datafile f1.dbf i have modified a block and this block contain the record of table test (1 values) , at 1:00 PM if you compare datafile f1.dbf at disk1 from disk3 , you will find only that f1.dbf will contain a new record of test table with values 1 but this will not be within backed up datafile f1.dbf at disk3 . At disk2 r1.log contain those record which i inserted on monday at 1:00 PM, it means i have redo (transactions log) of this datafile f1.dbf within r1.log, i can redo (again inserting) that record from redo log r1.log which i have done at 1:00 PM.
    Suppose at 2 PM on monday my disk1 smoked out , if disk1 smoked out f1.dbf has been also smoked out , then what will i do , i will put a new hard disk disk4 and will copy the database file f1.dbf from backup disk3 , this f1.dbf would not have record of "Insert into test values (1)" which occured after backup at 1:00 PM.After coping f1.dbf to new hard disk disk4 i will start reading and applying my redo log file r1.log after 12:00 PM which contain the (redo entry i.e redo vectors) "insert into test values (1)" to my new restored file f1.dbf at new disk4 , in short it is going to replay from recorder of my transactions log (r1.log) and after applying the redo from r1.log i will have exact data before crashing the hard disk1 at 2:00 PM.The only purpose of redo log file in this scenario is to recover the database in case of media failure , if i do not have r1.log then i can only recover my database till 12:00 PM which was copied from disk1 to disk3 but this recovered backup file does not have entry of "insert into test values (1)", i can only bring back my database to before failure current backup at 12:00 PM not just exact before the failure.
    You may think why the wastage of three disk for one information , one is at disk1 (f1.dbf),another one is at disk2 (r1.log) and last one is at disk3 for coping f1.dbf from disk1.You may think that it is ok with two disk (disk1 and disk3) why do we need another storage area for r1.log , basically r1.log is the transactions log until between yours current backup to the next backup.It does not contain the whole redo (transaction logs) of yours database but have information (transaction log) till yours next backup which is going to be start on next day tuesday at 12:00 PM ,when it gets filled it is switched to another redo log r2.log, when r2.log is filled then it switched back to r1.log , it overwrites whatever written at 12:00 PM "insert into test values (1)" with new database transactions , for the safety of this overcome this redo is archived and keep save till yours next backup.Redo log switching depneds on yours database transaction pace and its size, the more database activity the quickest redo filling and in turn redo log switching.
    Thats all why we need redo and archived log files, as far as the data from redo logs can be directly written to Datafiles is wrong , whenever you do any activity i.e DML , this DML modify the two block one is in within DB buffer cache another one in redo buffer cache , at every 3 seconds or 1/3 filing of redo buffer or commit occurs whichever occur first LGWR write transactions log from redo buffer to online redo log file.
    DBWR writes data (dirty buffer) from database buffer cache when checkpoint occurs (checkpointing a process which updates alls datafile headers with the SCN) before Oracle 8.0 it was LGWR which does the job of CKPT to update alls datafile header with SCN , but after Oracle 8.0 CKPT is now responsible to do this activity cause LGWR already keep involved in writing redo buffer data to redo log file.

  • Use of Vector in undo operation ?

    Hello,
    I am developing simple paint program. And want to use undo redo operation for drawing in drawing canvas. Actually I have done it with the help of Vector. But the problem is that it is not working properly. The first drawn shape is not removing with this operation and also the problem is that When i am using CTRL+Z for undoing last drawing. It is not removing last drawn shape with first undo operation. Let me know that what is the exact problem in my coding. I am not fully java programmer. So please tell me what to do for that. I want to draw n level of drawing on drawing canvas and also want to perform n level (first drawn shape) undo actions. And also want to know how to make redo button for same coding only use of Vector or ArrayList.
    My code is here:
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.BufferedImage;
    import javax.swing.*;
    import java.util.*;
    public class PaintUndo extends JFrame
         Display pan = new Display();
    public PaintUndo()
         addWindowListener(new WindowAdapter()
        {     public void windowClosing(WindowEvent ev)
              {     dispose();
                   System.exit(0);}});
         getContentPane().add("Center",pan);
           setBounds(1,1,600,400);
         JMenuBar  menu = new JMenuBar();;
         JMenu     submenu;
         JMenuItem item, redo;
         submenu = new JMenu("Edit");     
         item = new JMenuItem("UnDo");
        item.setMnemonic(KeyEvent.VK_Z);
            item.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_Z, ActionEvent.CTRL_MASK));
         item.addActionListener((ActionListener)pan);
         submenu.add(item);   
         menu.add(submenu);
         getContentPane().add("North",menu);
         setVisible(true);
    public class Display extends JComponent implements MouseMotionListener, MouseListener, ActionListener
         Vector   saves = new Vector();
         BufferedImage image = null;
         Graphics ig;
         Graphics pg;
         Point point;
        int x1=0;
        int y1=0;
    public Display()
         setBackground(Color.pink);
         addMouseMotionListener(this);
        addMouseListener(this);
    public void paintComponent(Graphics g)
         if (image == null)
              image = (BufferedImage) createImage(800,600);
              ig = image.createGraphics();
              ig.setColor(Color.white);
              ig.fillRect(0,0,800,600);
              ig.setColor(Color.blue);
              pg = getGraphics();
              pg.setColor(Color.blue);
         g.drawImage(image,0,0,this);
    public void mouseDragged(MouseEvent e)
            int x2 = e.getX(); int y2 = e.getY();
                Graphics gr = image.getGraphics();
                   gr.drawLine(x1, y1, x2, y2);
                repaint();
                x1 = x2; y1 = y2;
    public void mouseMoved(MouseEvent e)
    public void actionPerformed(ActionEvent a)
         if (a.getActionCommand().equals("UnDo") && saves.size() > 0)
              ig.drawImage((Image)saves.remove(saves.size()-1),0,0,null);
              repaint();
            public void mouseClicked(MouseEvent e) {
                System.out.println("mouse clicked....");
            public void mousePressed(MouseEvent e) {
                System.out.println("mouse pressed....");
                x1 = e.getX();
                   y1 = e.getY();
            public void mouseReleased(MouseEvent e) {
                System.out.println("mouse released....");
               Image tmg = createImage(800,600);
              Graphics tg = tmg.getGraphics();
              tg.drawImage(image,0,0,null);
              saves.add(tmg);
            public void mouseEntered(MouseEvent e) {
            public void mouseExited(MouseEvent e) {
    public static void main (String[] args)
         new PaintUndo();
    }This is complete code for undoing.
    Any help will be appreciated.
    Thanks in advance.
    Manveer

    The example code is set up for a protocol completely different than what you are doing, so you can't simply copy it and hope it works.  The example code expects that the other side will send a 4-byte header containing the number of data bytes that follow, then send the data.  The example code first reads that 4-byte header, casts it to an integer, and reads that number of bytes (the second Bluetooth Read).
    When you run this with your device, the first read gets your 4 bytes - FF FF 22 33 - and converts that to an integer.  0xFFFF2233 is decimal 4294910515.  So you then try to read this huge number of bytes and you get an error - looks like error 1, an input parameter is invalid, because you can't read 4GB at once.  You can probably get your code working with a single Bluetooth Read, with a 1 second timeout (because you have a 1 second delay between packets).  You'll want to wire in some number of bytes to read that is at least the size of the largest packet you ever expect, but don't use a ridiculously huge number that generates an error.  LabVIEW will return as many bytes as are available when the timeout expires, even if it isn't as many as you asked to read (you might also get a timeout error, though, which you'll need to clear).  You can then do whatever you need to do with that data - search for FF FF, typecast anything after that to array of U16, display it. 
    The output of the Bluetooth Read is a string, but it's not text - it's exactly the bytes that were sent.  The Y with the dots over it is the way ASCII 255 (0xFF) displays (at least in that font).  ASCII 34 (0x22) is ", and ASCII 51 (0x33) is the number 3.

  • Managing undo operations across components

    Hi,
    I've been able to share an IUndoManager between various RichEditableText components using the interactionManager property of their text flows and the EditManager class. This works great for undoing and redoing -- except when a component is removed from the display list.
    When a text field is re-added something odd seems to happen to its text flow generation property, which causes a mismatch when compared in the EditManager, thereby preventing the next operation to undo or redo.
    Are operations being applied to the text flow simply by removing and re-adding it to the display list? Or what's affecting this count?
    The failure is repeatable, and in each case the text flow's generation value is greater than the operation's endGeneration (in performUndo()) or beginGeneration (in performRedo()).
    What can be done to freeze the text flow or its generation value, or is there a better way of keeping the EditManager operation validation happy?
    Many thanks,
    Waj
    Flex 4.5.20967

    Hi:
    We studied your case. The operation num/count will increase when the container re-attached to the box. That's work as design. Seems you can only work around it. The following is my workaround for your special case. Hope it will be helpful:
    Main application:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
       creationComplete="creationCompleteHandler(event)">
    <s:layout>
    <s:VerticalLayout/>
    </s:layout>
    <fx:Script>
    <![CDATA[
    import flashx.undo.UndoManager;
    import mx.events.FlexEvent;
    protected var _textComp:TextComp;
    [Bindable]
    protected var _textOnDisplayList:Boolean = false;
    [Bindable]
    protected var _undoManager:UndoManager = new UndoManager();
    protected function creationCompleteHandler(event:FlexEvent):void
    _textComp = new TextComp();
    _textComp.init(_undoManager);
    addText();
    protected function addText():void
    _textComp.handleAddon();
    box.addElement(_textComp);
    _textOnDisplayList = true;
    protected function removeText():void
    if (box.contains(_textComp))
    box.removeElement(_textComp);
    _textOnDisplayList = false;
    ]]>
    </fx:Script>
    <s:Label text="Type some things (using flow operations such as insert, delete, cut &amp; paste etc.), remove text from display, re-add it then try to undo or redo.{'\n'}This fails because of a mismatch in EditManager (line 923 or 1018 for undo or redo, respectively)." paddingTop="10" paddingLeft="10"/>
    <s:HGroup width="100%" paddingLeft="10">
    <s:Button label="Remove from display" click="removeText()" enabled="{_textOnDisplayList}"/>
    <s:Button label="Add to display" click="addText()" enabled="{!_textOnDisplayList}"/>
    <s:Button label="Undo" click="_undoManager.undo()"/>
    <s:Button label="Redo" click="_undoManager.redo()"/>
    </s:HGroup>
    <s:HGroup id="box" paddingLeft="10"/>
    </s:Application>
    Component:
    <?xml version="1.0" encoding="utf-8"?>
    <s:BorderContainer xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx" width="400" height="300">
    <fx:Script>
    <![CDATA[
    import flashx.textLayout.edit.EditManager;
    import flashx.textLayout.elements.TextFlow;
    import flashx.textLayout.events.DamageEvent;
    import flashx.textLayout.tlf_internal;
    import flashx.undo.IUndoManager;
    use namespace tlf_internal;
    [Bindable]
    /** Main text flow. */
    protected var _text:TextFlow;
    public function init(undoManager:IUndoManager):void
    _text = new TextFlow();
    _text.interactionManager = new EditManager(undoManager);
    public function handleAddon():void
    _text.addEventListener(DamageEvent.DAMAGE, damageHandler);
    private function damageHandler(event:DamageEvent):void
    _text.setGeneration(_text.generation - 1);
    _text.removeEventListener(DamageEvent.DAMAGE, damageHandler);
    ]]>
    </fx:Script>
    <s:RichEditableText id="textBox" editable="true" width="100%" height="100%" textFlow="{_text}"/>
    </s:BorderContainer>

  • Undo operation on iPad..

    Has anyone noticed that the Undo operation on iPad is same as iPhone, which means you have to shake the device to undo? Shaking an iPhone is fine but very awkward for iPad give the size of the device. Needless to say, Shake to Undo is not intuitive for the first time user, even on iPhone. Very bizarre UI from Apple. I hope Apple will address this issue in the future release.

    There is a little-known gestural capability built into the keyboard on the iPad. If you simply touch and hold the "123" button, the number keyboard will come up immediately and you can just slide your finger to "Undo". When you lift your finger, the keyboard immediately returns to the alphabetic version. This sounds complicated, but it's not at all...and it's one quick, fluid motion. Like this:
    Touch "123", slide to "Undo", lift. There's no waiting for anything. Try it.

  • Redo and standby

    Hi Gurus!
    Let's assume this question is for 10.2.0.4 which seems to be the most common edition out there right now despite end of support coming up quicky...
    My question is regarding redo and standby. As I understand, the standby will receive redo from the primary (I am not interested in which MAXIMUM mode its in right now) via the Redo Transport Service.
    This "redo", this is redo from the redo log file or the redo buffer?
    As I understand, the redo logs contain committed and uncommitted changes (LGWR writing out to the discs).
    So when we talk about "redo" being sent to the secondary, we are actually considering uncommitted and committed changes??
    Could this be clarified please?
    Many thanks!
    DA

    Yes the redo protocol sent to the standby contains change vectors of block changes on behalf of committed & uncommitted transactions.
    It is (in case of physical standby) applied in exactly the same way as archivelogs and online logs are applied during recovery. We just do the same block modifications on the standby as on the primary and do not care about commit.
    Should we ever need to open the standby, then the before images (undo) of blocks that have been modified on behalf of uncommitted transactions get used to rollback these changes. So in the end, only committed transactions are seen.
    Kind regards
    Uwe Hesse
    http://uhesse.wordpress.com

  • DBWn and Undo

    Hello,
    I have an Oracle concept's question.
    I've read "Concepts" doc and some forum messages, but one thing is still not clear to me.
    I change data in the table (insert or update). Undo data are generated, LGWR writes redo and suppose that DBWN has already been writing blocks to datafiles. So there are some uncommitted data in the datafiles. In the end I rollback the transaction, so those new data should be erased from datafiles, right?
    How is it working? How Oracle know what to erase?
    Thx in advance
    A.

    Hi,
    Things are not that simple as they look.When you change some thing, Oracle first tries to find the block that you are willing to modify.When it gets the block either in the cache or by a physical read from the datafile to the cache, the transaction header of the block is checked and your transaction occupies some thing called ITL(interested transaction list) slot and maintains over there ITE(Interested transaction entry).For the same Oacle maintains an entry in the UNDO block and there it updates the information of your old image.The same information is maintained in V$transaction and X$ktuxe table.From there than Oracle update teh log buffer and maintains the change entry over there.Oracle maintains some thing called RBA(redo byte address) in your block header from where it knows where is the changed entry of your transaction is maintained in the redo plus it is also having an info where does your undo image is maintainesd in the same transaction header in a portion called UBA(undo byte address).From here Oracle knows that using the info that is stored at this location, it has to rollback the transaction in case we discard the transaction.Now if your block is in the cache only then there isnot much issue.Oracle will discard your snapshot blocks(CR blocks) releases teh ITL enteries and thus updates that the transaction is over.Also from the undo the information will be released/erased that the block is now not a part of transaction.If your block was flushed to the hard disk before the rollback happened, then some thing called Delayed block clean out will kick in.Wehn you would issue the rollback, Oracle will release the undo trnsacation table saying that the transaction is over but it will not immediately go to the datafile to update the block header for the same.It will cause too much of the physical IO forOracle to do.So whenthe next time you would pull the block, SCNs will be matched and if Oracle finds that there is still an active transaction entry maintained in the block heder, it will verify it from the undo that whether we have to use some old consistent copy for the block or not.Undo will tell that the transaction is over from its side so Oracle will clear the block status.
    Well I am sure there is alot more happening than what I have told you.Lets wait to hear from others too.
    Aman....

  • Rollback and UNDO

    Hi,
    I'm confuse about Rollback and Undo concepts, can some one explain it to me please?
    Felipe :)

    This is a copy of a previous post I made some time ago:
    There might be confusion while undo and rollback segment terms are used interchangeably in db world. It is due to the compatibility issue of oracle.
    Undo
    Oracle Database must have a method of maintaining information that is used to roll back, or undo, changes to the database. Such information consists of records of the actions of transactions, primarily before they are committed. These records are collectively referred to as undo.
    Undo records are used to:
    * Roll back transactions when a ROLLBACK statement is issued
    * Recover the database
    * Provide read consistency
    * Analyze data as of an earlier point in time by using Flashback Query
    When a ROLLBACK statement is issued, undo records are used to undo changes that were made to the database by the uncommitted transaction. During database recovery, undo records are used to undo any uncommitted changes applied from the redo log to the datafiles. Undo records provide read consistency by maintaining the before image of the data for users who are accessing the data at the same time that another user is changing it.
    Undo vs Rollback
    Earlier releases of Oracle Database used rollback segments to store undo. Oracle9i introduced automatic undo management, which simplifies undo space management by eliminating the complexities associated with rollback segment management. Oracle strongly recommends (Oracle 9i and on words) to use undo tablespace (automatic undo management) to manage undo rather than rollback segments.
    To see the undo management mode and other undo related information of database-
    SQL> show parameter undo
    NAME TYPE VALUE
    undo_management string AUTO
    undo_retention integer 900
    undo_tablespace string UNDOTBS1
    Since the advent of Oracle9i, less time-consuming and suggested way is—using Automatic Undo Management—in which Oracle Database creates and manages rollback segments (now called “undo segments”) in a special-purpose undo tablespace. Unlike with rollback segments, we don’t need to create or manage individual undo segments—Oracle Database does that for you when you create the undo tablespace. All transactions in an instance share a single undo tablespace. Any executing transaction can consume free space in the undo tablespace, and when the transaction completes, its undo space is freed (depending on how it’s been sized and a few other factors, like undo retention). Thus, space for undo segments is dynamically allocated, consumed, freed, and reused—all under the control of Oracle Database, rather than manual management by someone.
    Switching Rollback to Undo
    1. We have to create an Undo tablespace. Oracle provides a function (10g and up) that provides information on how to size new undo tablespace based on the configuration and usage of the rollback segments in the system.
    DECLARE
    utbsiz_in_MB NUMBER;
    BEGIN
    utbsiz_in_MB ;= DBMS_UNDO_ADV.RBU_MIGRATION;
    end;
    CREATE UNDO TABLESPACE UNDOTBS
    DATAFILE ‘/oradata/dbf/undotbs_1.dbf’
    SIZE 100M AUTOEXTEND ON NEXT 10M
    MAXSIZE UNLIMITED RETENTION NOGUARANTEE;
    Note: In undo tablespace creation, “SEGMENT SPACE MANAGEMENT AUTO” can not be set
    2.Change system parameters
    SQL> alter system set undo_retention=900 scope=both;
    SQL> alter system set undo_tablespace=UNDOTBS scope=both;
    SQL> alter system set undo_management=AUTO scope=spfile;
    SQL> shutdown immediate
    SQL> startup
    UNDO_MANAGEMENT is a static parameter. So database needs to be restarted.
    Reference: 10gR2 Administration Guide and Concepts
    Regards,
    Francisco Munoz Alvarez

  • Differance between Rollback Segements and Undo Tablespace/segments

    Hi everyone.
    I have some confusion that how Rollback Segements and Undo Tablespace/segments and different? Functionally they seem to be the same but why then Oracle recommends not using Rollback segments?...please explain. Kindly post any links useful in this regard.
    Thanks,
    Mukesh

    1.when does the changed data written to the undo tablespace?It never gets moved to the undo tablespace.
    The ORIGINAL data gets moved to the rollback/undo. Oracle assumes that most of the time the transaction is going to commit, so the change is made to the real block (in memory). At that time, enough information to roll back that change is written into the rollback segment.
    2.which process writes the changed data to the undo tbs?The server process. The one to which the user connects. The one the user gets by contascting the listener.
    3.What are the identifiactions which is used to undo the changes made(like SCN) ? plz...AFAIK, Transaction Id is the only thing used. SCN, a redo log construct, may be used to recreate the transaction ID in the rollback.

  • REJECT_CODE Vendor information and/or Operating Unit information is missing

    hi
    i am using Oracle Applications : 11.5.10.2.
    i am trying to load suppliers and suppliers data into oracle AP.
    i tried doing this with some sample data.
    i executed the following code below :
    insert into AP_SUPPLIERS_INT (VENDOR_INTERFACE_ID, VENDOR_NAME, SEGMENT1, STATUS)
    values (*10006*,'XXX Financials2','199999','NEW');
    i then ran the following process:
    Supplier Open Interface Import
    the supplier was added without errors
    i then inserted a record into the
    AP_SUPPLIER_SITES_INT table :
    vendor_interface_id =*10006*,
    LAST_UPDATE_DATE= SYSDATE,
    LAST_UPDATED_BY          ='123',
    VENDOR_SITE_CODE = 'true test' ,
    CREATION_DATE     =SYSDATE ,
    CREATED_BY     ='123' ,
    PURCHASING_SITE_FLAG= 'N' ,
    PAY_SITE_FLAG     = 'Y' ,
    ATTENTION_AR_FLAG     = 'N' ,
    ADDRESS_LINE1     ='gmmm df' ,
    ADDRESS_LINE2     ='gmmm dfdv' ,
    ADDRESS_LINE3     ='gmmm dfvdd' ,
    ADDRESS_LINE4     ='gmmm dfvdd' ,
    PAYMENT_METHOD_LOOKUP_CODE='Check' ,
    TERMS_DATE_BASIS     ='Current' ,
    ACCTS_PAY_CODE_COMBINATION_ID     = '1365' ,
    PREPAY_CODE_COMBINATION_ID     = '1470' ,
    PAYMENT_PRIORITY     = '99' ,
    TERMS_ID= '10001' ,
    INVOICE_AMOUNT_LIMIT =20,          
    PAY_DATE_BASIS_LOOKUP_CODE     = 'DISCOUNT' ,
    ALWAYS_TAKE_DISC_FLAG= 'A' ,
    INVOICE_CURRENCY_CODE     ='JMD' ,
    PAYMENT_CURRENCY_CODE     ='JMD' ,
    HOLD_ALL_PAYMENTS_FLAG='N' ,
    HOLD_FUTURE_PAYMENTS_FLAG     ='N' ,
    HOLD_UNMATCHED_INVOICES_FLAG= 'N' ,
    EXCLUSIVE_PAYMENT_FLAG= 'N' ,
    EXCLUDE_FREIGHT_FROM_DISCOUNT     = 'N' ,
    ORG_ID= '142' ,
    CREATE_DEBIT_MEMO_FLAG= 'N' ,
    OFFSET_TAX_FLAG= 'N'
    i then ran the following process:
    Supplier Sites Open Interface Import
    the process completes with a status of 'Normal'.
    below is an extract of the output :
    Supplier Sites Open Interface Import Execution Repor Page: 1
    Import Options: All
    Batch Size: 1000
    Print Exceptions Only: No
    Sites Open Interface Audit Report
    Org Id Supplier Number Supplier Name Site Name
    Total Sites Imported: 0
    *** No Data Exists for this Report ***
    Sites Open Interface Rejections Report
    Org Id Supplier Number Supplier Name Site Name Reason
    Total Sites Rejected: 0
    when i checked the AP_SUPPLIER_SITES_INT table ,
    the REJECT_CODE field has the value *'Vendor information and/or Operating Unit information is missing.'*
    I THINK ALL THE REQUIRED FIELDS ARE POPULATED
    why am i recieving this error ? is this caused by a bug? is there a required field that i didn't populated ?
    please help me to solve this ....
    thanks much!!

    Hi,
    Could you please check : Doc ID: 316368.1 of Metalink...
    Symptoms_+
    The Supplier Site Contacts Open Interface Import program is not importing certain contact
    information.
    The Supplier Site Contacts Open Interface Import Execution Report shows the following Rejection
    Reason:
    Vendor information and/or Operating Unit information is missing
    Cause_+
    The Last_name field is a required field.
    As per the Oracle Payables User's Guide.
    Appendix G-111
    AP_SUP_SITE_CONTACT_INT chart shows the LAST_NAME is a Required field
    Solution_+
    As per the Oracle Payables User's Guide.
    Appendix G-111
    AP_SUP_SITE_CONTACT_INT chart shows the LAST_NAME is a Required field
    If you test this out directly in the Suppliers window in Oracle Payables:
    Navigation: Suppliers-Entry
    Queried up a Supplier, then clicked into the Site field under the Contact tab.
    Entered the contact information and omitted the Last Name, when trying to save the record,
    the system gives the following message:
    *'FRM-40202: Field must be entered' and the cursor is on the Last Name field. This is a required*
    field and is the intended functionality.
    Hope this will help
    Regards,
    S.P DASH

  • Vendor information and/or Operating Unit information is missing.

    Hi,
    I am new to the interface and learning programing can any body pls help me on this accept i will be thank full
    I am running AP_SUPPLIER_SITES_INT and i got an error as
    Vendor information and/or Operating Unit information is missing.
    and also pls give me the diff b/w org_id and operating unit why the tables end with _all.
    Thanks in advance
    Thanks and regards
    Goutham
    Message was edited by:
    goutham konduru

    check out these:
    http://www.oracleappshub.com/oracle-application/_all-tl-vl-vf_vl_a_avn-and-what-else/
    http://www.oracleappshub.com/beginner/understanding-multi-organization-structure-in-ebs-part-1/

  • I erroneously deleted some background icons, that now have left me with only thumbnail images, what appears when I want to enlarge is a grey circle containing a black exclamation symbol, how can I get back full function and undo my mistake

    I have erroneoulsy deleted icons repetious images from the computer which then affected my iphoto images, leaving me in some cases only with the thembnail image.   When I try to enlarge or perform any other function all that appears is a black field containing a grey circle with a black exclamation symbol( !)
    within it.  How to I get back full function of these affected images and undo my goof up.   I have tried restore, but my attempts have not proved successful. 
    Help !!!
    silvercoho

    What exactly did you do to delete these?
    How did you try to "restore" and what did you try to restore?
    Probably the only solution is to restore your backup of the iPhoto library  from before you did this
    LN

Maybe you are looking for

  • Embedded SWF files auto starting in IE but set to not auto play - Chrome, Firefox, Safari work ok

    One of the web masters at my school has embedded several Captivate 5 swf files in a web page.  I had re-exported all of them to not auto start after we realized that the originals were set to auto play upon loading (someone else made the orginials...

  • Generic Profiles for HTML?

    I'm surprised at the lack of profiles for some very popular phones in Device Central... Palm, Blackberry and HTC for example... these phones might not have Flash built-in but they are the most popular phones available right now... surely I am missing

  • ASSIGN SALES CONTRACT TO SALES ORDER

    Hi, I have created a sales contract. now i want to assign that sales contract to sales order with same material and sold to party. But the price is not getting captured in material conditions after assigning it to sales contract. Assigning the contra

  • Email buttons inactive on some emails

    Certain email buttons are inactive on some of my Verizon.net - received emails: delete, move to folder. These buttons are "greyed". These messages may, going down, display the original message, a "page 2" logo and a block of Java programming comments

  • Changing frames on a button

    Hello, I was going to make a level select frame in my game, and to unlock the different level, you need to complete the previous level. I've done this, but I also want an effect on my button. So if level1 completed=true, it goes red, but if it's fals