Always record number is showing as 0/1 in the custom form

Hi All,
I have created a custom form(multi record) and its working fine in Oracle 11.5.8 with data base oracle 8i.
After that we have update database to Oracle 9i.
After updation onwards all the records in the form are showing as 0/1. That is current record numbers are not changing and always displaying as 0/1.
Can any one help me where is the problem.
Thanks,
Nav.

Need more information. When you do a query using SQL Plus what data is returned? What data are you expecting? What do you mean by 0/1? Do you mean a record has a value of zero or one, or do you mean a string '0/1'? Have you done a test creating a new form to see what data is returned when querying those records?

Similar Messages

  • ORA-01403 no_data_found when saving the record in the custom form

    My custom form has 2 windows with 3 blocks. The first window has the BATCH block while the second window contains the HEADERS and LINES blocks. User go to first window, enter the batch info and save the record with no issue. Now user go to second window, enter the header info and save. Now we have the ORA-01403 no_data_found error. My custom form only have few SQLs and I put exception blocks on all of them but no_data_found still shows.
    Besides explicitly-used SQL statements, I wonder where else may have triggered the NO_DATA_FOUND error?
    Thanks, Mike.

    Hi!
    If an exception is raised in forms and an exception handler
    tries to show the dbms_error_text function, you will get
    the ORA-01403 no_data_found message too, if there is no database error.
    Regards

  • I just purchased an ipad mini and an ipad air setting up facetime neither phone number is showing up to select for the reach me at number

    I have recently purchase the ipad mini and the ipad air while trying to set up face time neither one onf them have the phone number associated witht the data packages that they came with on the network.

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Fix Can’t Sign Into FaceTime or iMessage iOS 7
    http://ipadtutr.com/fix-login-facetime-imessage-ios-7/
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457
    Send an iMessage as a Text Message Instead with a Quick Tap & Hold
    http://osxdaily.com/2012/11/18/send-imessage-as-text-message/
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • How can i get the tax code from Condition record number

    Hi all,
    i have the Condition record number from which i have to get the tax code as i looked inthe KNOP that Condition record number there but no tax code is maintained there.
    so is there any other way to find the tax code for particular Condition record number
    Regards
    suresh

    hi suresh,
    can u tell me the field name for condition record number and in which table it is stored.
    because i knew one condition number which is stored in table EKKO and the field name is
    KNUMV- Number of the document condition.
    from ekko take relevant details and look for  ekpo where u find the tax code
    filed name of the tax code id MWSKZ- Tax on sales/purchases code

  • Modify Record Number in a Random Access File

    Hi Does anyone know if I can modify the record number in the random access file hardware.dat for each hardware record each time and update it in hardware.dat to display it? Also why does it say "Record does not exist" if I modify the record number for a hardware and try to update it but could not find that record?
    Here is the code below:
    // Exercise 14.11: HardwareRecord.java
    package org.egan; // packaged for reuse
    public class HardwareRecord
      private int recordNumber;
      private String toolName;
      private int quantity;
      private double cost;
      // no-argument constructor calls other constructor with default values
      public HardwareRecord()
        this(0,"",0,0.0); // call four-argument constructor
      } // end no-argument HardwareRecord constructor
      // initialize a record
      public HardwareRecord(int number, String tool, int amount, double price)
        setRecordNumber(number);
        setToolName(tool);
        setQuantity(amount);
        setCost(price);
      } // end four-argument HardwareRecord constructor
      // set record number
      public void setRecordNumber(int number)
        recordNumber = number;
      } // end method setRecordNumber
      // get record number
      public int getRecordNumber()
        return recordNumber;
      } // end method getRecordNumber
      // set tool name
      public void setToolName(String tool)
        toolName = tool;
      } // end method setToolName
      // get tool name
      public String getToolName()
        return toolName;
      } // end method getToolName
      // set quantity
      public void setQuantity(int amount)
        quantity = amount;
      } // end method setQuantity
      // get quantity
      public int getQuantity()
        return quantity;
      } // end method getQuantity
      // set cost
      public void setCost(double price)
        cost = price;
      } // end method setCost
      // get cost
      public double getCost()
        return cost;
      } // end method getCost
    } // end class HardwareRecord-------------------------------------------------------------------------------------------------
    // Exercise 14.11: RandomAccessHardwareRecord.java
    // Subclass of HardwareRecord for random-access file programs.
    package org.egan; // package for reuse
    import java.io.RandomAccessFile;
    import java.io.IOException;
    public class RandomAccessHardwareRecord extends HardwareRecord
      public static final int SIZE = 46;
      // no-argument constructor calls other constructor with default values
      public RandomAccessHardwareRecord()
        this(0,"",0,0.0);
      } // end no-argument RandomAccessHardwareRecord constructor
      // initialize a RandomAccessHardwareRecord
      public RandomAccessHardwareRecord(int number, String tool, int amount, double price)
        super(number,tool,amount,price);
      } // end four-argument RandomAccessHardwareRecord constructor
      // read a record from a specified RandomAccessFile
      public void read(RandomAccessFile file) throws IOException
        setRecordNumber(file.readInt());
        setToolName(readName(file));
        setQuantity(file.readInt());
        setCost(file.readDouble());
      } // end method read
      // ensure that name is proper length
      private String readName(RandomAccessFile file) throws IOException
        char name[] = new char[15], temp;
        for(int count = 0; count < name.length; count++)
          temp = file.readChar();
          name[count] = temp;
        } // end for
        return new String(name).replace('\0',' ');
      } // end method readName
      // write a record to specified RandomAccessFile
      public void write(RandomAccessFile file) throws IOException
        file.writeInt(getRecordNumber());
        writeName(file, getToolName());
        file.writeInt(getQuantity());
        file.writeDouble(getCost());
      } // end method write
      // write a name to file; maximum of 15 characters
      private void writeName(RandomAccessFile file, String name) throws IOException
        StringBuffer buffer = null;
        if (name != null)
          buffer = new StringBuffer(name);
        else
          buffer = new StringBuffer(15);
        buffer.setLength(15);
        file.writeChars(buffer.toString());
      } // end method writeName
    } // end RandomAccessHardwareRecord-------------------------------------------------------------------------------------------------
    // Exercise 14.11: CreateRandomFile.java
    // creates random-access file by writing 100 empty records to disk.
    import java.io.IOException;
    import java.io.RandomAccessFile;
    import org.egan.RandomAccessHardwareRecord;
    public class CreateRandomFile
      private static final int NUMBER_RECORDS = 100;
      // enable user to select file to open
      public void createFile()
        RandomAccessFile file = null;
        try  // open file for reading and writing
          file = new RandomAccessFile("hardware.dat","rw");
          RandomAccessHardwareRecord blankRecord = new RandomAccessHardwareRecord();
          // write 100 blank records
          for (int count = 0; count < NUMBER_RECORDS; count++)
            blankRecord.write(file);
          // display message that file was created
          System.out.println("Created file hardware.dat.");
          System.exit(0);  // terminate program
        } // end try
        catch (IOException ioException)
          System.err.println("Error processing file.");
          System.exit(1);
        } // end catch
        finally
          try
            if (file != null)
              file.close();  // close file
          } // end try
          catch (IOException ioException)
            System.err.println("Error closing file.");
            System.exit(1);
          } // end catch
        } // end finally
      } // end method createFile
    } // end class CreateRandomFile-------------------------------------------------------------------------------------------------
    // Exercise 14.11: CreateRandomFileTest.java
    // Testing class CreateRandomFile
    public class CreateRandomFileTest
       // main method begins program execution
       public static void main( String args[] )
         CreateRandomFile application = new CreateRandomFile();
         application.createFile();
       } // end main
    } // end class CreateRandomFileTest-------------------------------------------------------------------------------------------------
    // Exercise 14.11: MenuOption.java
    // Defines an enum type for the hardware credit inquiry program's options.
    public enum MenuOption
      // declare contents of enum type
      PRINT(1),
      UPDATE(2),
      NEW(3),
      DELETE(4),
      END(5);
      private final int value; // current menu option
      MenuOption(int valueOption)
        value = valueOption;
      } // end MenuOptions enum constructor
      public int getValue()
        return value;
      } // end method getValue
    } // end enum MenuOption-------------------------------------------------------------------------------------------------
    // Exercise 14.11: FileEditor.java
    // This class declares methods that manipulate hardware account records
    // in a random access file.
    import java.io.EOFException;
    import java.io.File;
    import java.io.IOException;
    import java.io.RandomAccessFile;
    import java.util.Scanner;
    import org.egan.RandomAccessHardwareRecord;
    public class FileEditor
      RandomAccessFile file; // reference to the file
      Scanner input = new Scanner(System.in);
      // open the file
      public FileEditor(String fileName) throws IOException
        file = new RandomAccessFile(fileName, "rw");
      } // end FileEditor constructor
      // close the file
      public void closeFile() throws IOException
        if (file != null)
          file.close();
      } // end method closeFile
      // get a record from the file
      public RandomAccessHardwareRecord getRecord(int recordNumber)
         throws IllegalArgumentException, NumberFormatException, IOException
        RandomAccessHardwareRecord record = new RandomAccessHardwareRecord();
        if (recordNumber < 1 || recordNumber > 100)
          throw new IllegalArgumentException("Out of range");
        // seek appropriate record in a file
        file.seek((recordNumber - 1) * RandomAccessHardwareRecord.SIZE);
        record.read(file);
        return record;
      } // end method getRecord
      // update record tool name in file
      public void updateRecordToolName(int recordNumber, String newToolName)
         throws IllegalArgumentException, IOException
        RandomAccessHardwareRecord record = getRecord(recordNumber);
        if (record.getRecordNumber() == 0)
          throw new IllegalArgumentException("Record does not exist");
        // seek appropriate record in file
        file.seek((recordNumber - 1) * RandomAccessHardwareRecord.SIZE);
        record.setToolName(newToolName);
        record = new RandomAccessHardwareRecord(
           record.getRecordNumber(), record.getToolName(), record.getQuantity(), record.getCost());
        record.write(file); // write updated record to file
      } // end method updateRecordToolName
      // update record in file
      public void updateRecordQuantity(int recordNumber, int newQuantity)
         throws IllegalArgumentException, IOException
        RandomAccessHardwareRecord record = getRecord(recordNumber);
        if (record.getRecordNumber() == 0)
          throw new IllegalArgumentException("Record does not exist");
        // seek appropriate record in file
        file.seek((recordNumber - 1) * RandomAccessHardwareRecord.SIZE);
        record.setQuantity(newQuantity);
        record = new RandomAccessHardwareRecord(
           record.getRecordNumber(), record.getToolName(), record.getQuantity(), record.getCost());
        record.write(file); // write updated record to file
      } // end method updateRecordQuantity
      // update record in file
      public void updateRecordCost(int recordNumber, double newCost)
         throws IllegalArgumentException, IOException
        RandomAccessHardwareRecord record = getRecord(recordNumber);
        if (record.getRecordNumber() == 0)
          throw new IllegalArgumentException("Record does not exist");
        // seek appropriate record in file
        file.seek((recordNumber - 1) * RandomAccessHardwareRecord.SIZE);
        record.setCost(newCost);
        record = new RandomAccessHardwareRecord(
           record.getRecordNumber(), record.getToolName(), record.getQuantity(), record.getCost());
        record.write(file); // write updated record to file
      } // end method updateRecordCost
      // add record to file
      public void newRecord(int recordNumber, String toolName, int quantity, double cost)
         throws IllegalArgumentException, IOException
        RandomAccessHardwareRecord record = getRecord(recordNumber);
        if (record.getRecordNumber() != 0)
          throw new IllegalArgumentException("Record already exists");
        // seek appropriate record in file
        file.seek((recordNumber - 1) * RandomAccessHardwareRecord.SIZE);
        record = new RandomAccessHardwareRecord(recordNumber, toolName, quantity, cost);
        record.write(file); // write record to file
      } // end method newRecord
      // delete record from file
      public void deleteRecord(int recordNumber) throws IllegalArgumentException, IOException
        RandomAccessHardwareRecord record = getRecord(recordNumber);
        if (record.getRecordNumber() == 0)
          throw new IllegalArgumentException("Account does not exist");
        // seek appropriate record in file
        file.seek((recordNumber - 1) * RandomAccessHardwareRecord.SIZE);
        // create a blank record to write to the file
        record = new RandomAccessHardwareRecord();
        record.write(file);
      } // end method deleteRecord
      // read and display records
      public void readRecords()
        RandomAccessHardwareRecord record = new RandomAccessHardwareRecord();
        System.out.printf("%-10s%-15s%-15s%10s\n","Record","Tool Name","Quantity","Cost");
        try  // read a record and display
          file.seek(0);
          while (true)
            do
              record.read(file);
            while (record.getRecordNumber() == 0);
            // display record contents
            System.out.printf("%-10d%-15s%-15d%10.2f\n",record.getRecordNumber(),
               record.getToolName(), record.getQuantity(), record.getCost());
          } // end while
        } // end try
        catch (EOFException eofException)  // close file
          return;  // end of file was reached
        } // end catch
        catch (IOException ioException)
          System.err.println("Error reading file.");
          System.exit(1);
        } // end catch
      } // end method readRecords
    } // end class FileEditor-------------------------------------------------------------------------------------------------
    // Exercise 14.11: TransactionProcessor.java
    // A transaction processing program using random-access files.
    import java.io.IOException;
    import java.util.NoSuchElementException;
    import java.util.Scanner;
    import org.egan.RandomAccessHardwareRecord;
    public class TransactionProcessor
      private FileEditor dataFile;
      private RandomAccessHardwareRecord record;
      private MenuOption choices[] = {MenuOption.PRINT, MenuOption.UPDATE, MenuOption.NEW,
              MenuOption.DELETE, MenuOption.END};
      private Scanner input = new Scanner(System.in);
      // get the file name and open the file
      private boolean openFile()
        try // attempt to open file
          // call the helper method to open the file
          dataFile = new FileEditor("hardware.dat");
        } // end try
        catch (IOException ioException)
          System.err.println("Error opening file.");
          return false;
        } // end catch
        return true;
      } // end method openFile
      // close file and terminate application
      private void closeFile()
        try // close file
          dataFile.closeFile();
        } // end try
        catch (IOException ioException)
          System.err.println("Error closing file.");
          System.exit(1);
        } // end catch
      } // end method closeFile
      // create, update or delete the record
      private void performAction(MenuOption action)
        int recordNumber = 0;  // record number of record
        String toolName;       // tool name of the hardware instrument
        int quantity;          // total amount of items
        double cost;           // hareware tool price
        int choice;            // choose an update option   
        int newRecordNumber;   // the updated record number
        String newToolName;    // the updated tool name
        int newQuantity;       // the updated quantity
        double newCost;        // the updated cost
        try // attempt to manipulate files based on option selected
          switch(action) // switch based on option selected
            case PRINT:
              System.out.println();
              dataFile.readRecords();
              break;
            case NEW:
              System.out.printf("\n%s%s\n%s\n%s","Enter record number,",
                "tool name, quantity, and cost.","(Record number must be 1 - 100)","? ");
              recordNumber = input.nextInt();  // read record number       
              toolName = input.next();         // read tool name
              quantity = input.nextInt();      // read quantity
              cost = input.nextDouble();       // read cost
              dataFile.newRecord(recordNumber, toolName, quantity, cost); // create new record
              break;
            case UPDATE:
              System.out.print("\nEnter record number to update (1 - 100): ");
              recordNumber = input.nextInt();
              record = dataFile.getRecord(recordNumber);
              if (record.getRecordNumber() == 0)
                System.out.println("Record does not exist.");
              else
                // display record contents
                System.out.printf("%-10d%-12s%-12d%10.2f\n\n", record.getRecordNumber(),
                   record.getToolName(), record.getQuantity(), record.getCost());
                System.out.printf("%s%s","\nEnter 1 to update tool name, ",
                  "2 to update quantity, or 3 to update cost : ");
                choice = input.nextInt();
                if (choice == 1)
                  System.out.print("Enter new record tool name : ");
                  newToolName = input.next();
                  dataFile.updateRecordToolName(recordNumber,newToolName); // update record
                                                                           // tool name            
                  // retrieve updated record
                  record = dataFile.getRecord(recordNumber);
                  // display updated record
                  System.out.printf("%-10d%-12s%-12d%10.2f\n", record.getRecordNumber(),
                     record.getToolName(), record.getQuantity(), record.getCost());
                else if (choice == 2)
                  System.out.print("Enter new record quantity : ");
                  newQuantity = input.nextInt();
                  dataFile.updateRecordQuantity(recordNumber,newQuantity); // update record
                                                                           // quantity             
                  // retrieve updated record
                  record = dataFile.getRecord(recordNumber);
                  // display updated record
                  System.out.printf("%-10d%-12s%-12d%10.2f\n", record.getRecordNumber(),
                     record.getToolName(), record.getQuantity(), record.getCost());
                else if (choice == 3)
                  System.out.print("Enter new record cost : ");
                  newCost = input.nextDouble();
                  dataFile.updateRecordCost(recordNumber,newCost); // update record cost            
                  // retrieve updated record
                  record = dataFile.getRecord(recordNumber);
                  // display updated record
                  System.out.printf("%-10d%-12s%-12d%10.2f\n", record.getRecordNumber(),
                     record.getToolName(), record.getQuantity(), record.getCost());
              } // end else     
              break;
            case DELETE:
              System.out.print("\nEnter an account to delete ( 1 - 100): ");
              recordNumber = input.nextInt();
              dataFile.deleteRecord(recordNumber);  // delete record
              break;
            default:
              System.out.println("Invalid action.");
              break;
          } // end switch
        } // end try
        catch (NumberFormatException format)
          System.err.println("Bad input.");
        } // end catch
        catch (IllegalArgumentException badRecord)
          System.err.println(badRecord.getMessage());
        } // end catch
        catch (IOException ioException)
          System.err.println("Error writing to the file.");
        } // end catch
        catch (NoSuchElementException elementException)
          System.err.println("Invalid input. Please try again.");
          input.nextLine();
        } // end catch
      } // end method performAction
      // enable user to input menu choice
      private MenuOption enterChoice()
        int menuChoice = 1;
        // display available options
        System.out.printf("\n%s\n%s\n%s\n%s\n%s\n%s","Enter your choice",
         "1 - List hardware records", "2 - Update a hardware record",
         "3 - Add a new hardware record", "4 - Delete a hardware record", "5 - End program\n?");
        try
          menuChoice = input.nextInt();
        catch (NoSuchElementException elementException)
          System.err.println("Invalid input.");
          System.exit(1);
        } // end catch
        return choices[menuChoice - 1];  // return choice from user
      } // end enterChoice
      public void processRequests()
        openFile();
        // get user's request
        MenuOption choice = enterChoice();
        while (choice != MenuOption.END)
          performAction(choice);
          choice = enterChoice();
        } // end while
        closeFile();
      } // end method processRequests
    } // end class TransactionProcessor-------------------------------------------------------------------------------------------------
    // Exercise 14.11: TransactionProcessorTest.java
    // Testing the transaction processor.
    public class TransactionProcessorTest
      public static void main(String args[])
         TransactionProcessor application = new TransactionProcessor();
         application.processRequests();
      } // end main
    } // end class TransactionProcessorTest-------------------------------------------------------------------------------------------------
    Below is the sample data to be entered into the random input file hardware.dat :
    Record                     Tool                        Quantity                Cost
    Number                   Name                
       3                      Sander                    18                         35.99
      19                      Hammer                128                      10.00
      26                      Jigsaw                   16                        14.25
      39                      Mower                    10                        79.50
      56                      Saw                        8                          89.99
      76                      Screwdriver            236                      4.99
      81                      Sledgehammer       32                        19.75
      88                      Wrench                      65                        6.48Message was edited by:
    egan128
    Message was edited by:
    egan128
    Message was edited by:
    egan128

    Hi Does anyone know if I can modify the record number
    in the random access file hardware.dat for each
    hardware record each time and update it in
    hardware.dat to display it?If the "record number" is data that is stored in the file, then you can modify it. More precisely: it is possible to modify it.
    The rest of the question had too many incompatible verbs for me to understand it.
    Also why does it say
    "Record does not exist" if I modify the record number
    for a hardware and try to update it but could not
    find that record?"Record does not exist" is a fairly reasonable error message for the situation where a program looks for a record but cannot find it. Are you asking why that particular lump of code actually does that?
    (One thousand lines of code removed)

  • Skype shows that it is calling the wrong number

    (Skype version 7.2.0.103 running on a Windows 8.1 desktop computer.)
    As of this morning I been having an issue with skype where it shows that it is calling the first of three numbers I have set up for a contact, even when it is in fact calling one of the other numbers.
    For inscance I select to call the second number for the contact (the office number), skype shows that it is calling the first number (the cell phone).  Skype actually calls the office number (as was selected), it just indicates that it is calling the cell number.
    Confusing/Annoying problem, but not critical.

    Was the iPod previous synced to another iTunes library/computer?
    Have you successfully synced from this iTunes library/computer before?
    Do the songs play in iTunes?           
    Do you have the right boxes checked to sync?
    iTunes: Syncing media content to iOS devices and iPod        
    Try syncing using the manual method
    Last
    - Restore from backup. See:                                                
      iOS: How to back up

  • Deleting existing  record from the oracle if same record number is passed

    Hi all ,
    My requirement is as follows.
    There is one condition in XI which restricts certain work groups,These work groups will be changing contantly.
    Now my requirement is that ,if a record number say 100 exists in my oracle database,when the same record number is passed again,it should delete the old record which is already in the database and insert this new record.In other words all the records which are sent must be inserted with out duplication.
    How to achieve this functionality through XI.
    let me know.
    Thanks,
    Srinivasa

    Hi ,My target structure is
    Target->Statement->Attachments-
                                                     action=UPDATE_INSERT
                                                      table=xxxxx
                                                    ->access-
                                                                   Field1                                                                               
    Field2  
                                                                   Field3   
                                                                   Field4   
                                                                   Workgfoup
    Now let me noe what are thte modifications required in this structure to achieve my functionality.
    Thanks

  • The Customer not showed in customer form

    Dears,
    how are you ??
    I am in a problem .
    I used hz_party_v2pub.update_person API to update the customer first name and last name .
    It updated already on table hz_parties and i checked it .
    But when i query it from the customer form ,it not showed me any customer ...
    Whyyyyyyyyyyyyyyyyyyyyyyyy??
    How to solve this ??

    And this is the code that i used for update customers first and last name
    set heading off
    set feedback off
    set pagesize 0
    set linesize 200
    set serveroutput on size 100000
    DECLARE
    cursor emp_old_data IS select * from xx_person_customer where COUNTER=107;-- BETWEEN 71 AND 100 ;
    p_person_rec HZ_PARTY_V2PUB.PERSON_REC_TYPE;
    xin_xout_object_version_number NUMBER;
    x_profile_id NUMBER;
    x_return_status VARCHAR2(2000);
    x_msg_count NUMBER;
    x_msg_data VARCHAR2(2000);
    BEGIN
    for i in emp_old_data loop
    p_person_rec.Party_rec.party_id := i.party_id;--10307;--12072; --<< party_id from 1d >
    xin_xout_object_version_number := I.OBJECT_VERSION_NUMBER; --<< OBJECT_VERSION_NUMBER from 1d >
    p_person_rec.person_FIRST_name := I.FISRT_NAME;
    p_person_rec.person_last_name := I.LAST_NAME; --<< this is the new last name >
    HZ_PARTY_V2PUB.update_person(
    fnd_api.g_false,
    p_person_rec,
    xin_xout_object_version_number,
    x_profile_id,
    x_return_status,
    x_msg_count,
    x_msg_data);
    dbms_output.put_line('***************************' );
    dbms_output.put_line('Output information ....');
    dbms_output.put_line('xin_xout_object_version_numb er: '||xin_xout_object_version_number);
    dbms_output.put_line('x_profile_id: '||x_profile_id);
    dbms_output.put_line('x_return_status: '||x_return_status);
    dbms_output.put_line('x_msg_count: '||x_msg_count);
    dbms_output.put_line('x_msg_data: '||x_msg_data);
    dbms_output.put_line('***************************' );
    END LOOP;
    commit;
    END;
    waiting your replay

  • How to find out the company code given the customer number

    I am new to SAP please help me out? How do you find out the answer.

    Hi,
    Goto T.Code SE11/Se16/SE16n.
    Key in the table name as KNB1.
    Enter your customer number.
    Execute.
    You will get your company code here.
    Another way is Goto XD02/XD03.
    Enter your customer number.On company code press F4.Enter the customer number and press Enter.A list of company code in which your customer presents will appear.
    Regards,
    Krishna.

  • Calendar Lov not showing in custom forms on EBS 12.1.1

    Hi,
    Previously i worked on Oracle Forms 6i but at present i am working on Forms 10g (Forms [32 Bit] Version 10.1.2.0.2 (Production)) with no patch.
    I build the custom forms and compile that in custom top on EBS 12.1.1 but the calendar lov is not showing.
    Build Step.
    Used TEMPLATE.fmb for scratch.
    Field name -Order date, Item Type- TextItem, SubclassInformation- TEXT_ITEM_DATE, DataType-Datetime, FormatMask -DD-MON-YYYY HH24:MI:SS,
    List Of Values- ENABLE_LIST_LAMP, Validate Form List- No
    Add 'KEY-LISTVAL' trigger in ORDER_DATE field and write 'calendar.show;' Trigger text but it's not working.
    If Above steps apply on forms-6i then calendar lov populated on EBS 11.5.10.2.
    I know this is very old topic and found lots of post for this topic but none of them help me.
    Could any one help me if anything i missed for Forms-10g with EBS12.1.1 ?
    Thanks in advance.

    Hi Srini,
    Thanks for your reply.
    You can see i followed the all the above steps as mentioned in the article.
    But still it's not working.
    If you implemented the Calendar LOV in EBS12.1.1 through forms 10g then please give me your steps.
    AS per my understanding the below is the required steps.
    1. Item Type - Text Item
    2. Subclass Information - TEXT_ITEM_DATE
    3. Data Type - Datetime or Date
    4. List of Values - Enable_List_Lamp
    5.Add key-LISTVAL trigger and written calendar.show;
    Thanks
    Edited by: user10977928 on Aug 6, 2012 1:25 AM

  • Date field submited via my custom form does not show in mysql database

    I created a form with the custom form wizard with a birthdate field having the date picker feature. i set the birthdate field to sumit date as date datatype. My birthdate column in mysql database is datatype date. but when i submit the form the date does not show in mysql database. what should i do pls. is the problem with my form or with my database birtdate column.
    Thanks

    zeeztaz wrote:
    iis the problem with my form or with my database birtdate column.
    Thanks
    please post the complete code of the page which contains that form, otherwise it will be impossible to detect the possible reason for this error.
    Cheers,
    Günter

  • Show record number in forms

    Hi Sir,
    When I retrieve 10 records, I would have a non-database column on form to show the record number from 1..10.
    When I delete one of the record in the middle of the 10 records, say record 5, all the other record number should be reflected correctly.
    and when I scroll down to see more record, it should start from record 11 onwards.
    Is there any way of doing this without writing to much code?
    Please help.
    Thanks.

    Try using a formula field that has for formula :system.trigger_record.
    I'm not sure, but if this doesn't do it, then you'd have to write lots of code. And that would also run quite slowly.
    null

  • Show record number in cube report

    Hi,
    There is record number for ODS and infoset, where I can get record number for Cube? I remember I can use formulary, however I can not find it.
    Thanks

    hi,
    not sure this is what you are looking
    count
    try in selection screen, mark 'output number of hits', and entry Max. no. of hits with a big number, estimate will bigger then the total rows you will get.
    after execute, there is one column 1ROWCOUNT which's filled with '1', click this column and click 'Total' (icon like E), the last row of table will show the total rows.
    or check how to count doc
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7e58e690-0201-0010-fd85-a2f29a41c7af
    hope this helps.

  • Internal number not showing while creating customer master record

    Dear All.
    After creation of account group and doing patner determination procedure, while creating customer master record it is showing all the 4 functions of partner in partner function tab page but the internal number is  not displaying. I have set number range internally.
    Thanks..
    CG Balaji

    > Dear All.
    >
    > After creation of account group and doing patner
    > determination procedure, while creating customer
    > master record it is showing all the 4 functions of
    > partner in partner function tab page but the internal
    > number is  not displaying. I have set number range
    > internally.
    >
    > Thanks..
    >
    > CG Balaji
    Hi,
    In your partner determination procedure for Customer master, apart from assigning a Pratner proc to your A/c grp, you also need to maintain the combination of your a/c group with the partner functions that you have in your procedure.
    On the left side panel, you have a link (i think 5th) saying Account group - Function assignment. In this, maintian the partner functions that you want to your a/c grp.
    This will allow taking INTERNAL numbers during customer creation.
    Thanks and reward points if useful

  • Number that shows as my phone number reads invalid...

    I pay the fee for unlimited calls in the US and also for having a line others can call.  I have always thought my incoming line was one number and for ages it has been.  Recently, even though the number still shows up on my end, if I call it, it rings as an invalid number.  If no one can call me, what is the point????????  Not to mention what about all my business cards that have THAT number printed on it?  How do I get this fixed?
    Nancy Rollins

    Hi, Nancy,
    You will need to contact Skype Customer Service directly to enquire and resolve this!  Here is a link to the instruction on how to contact Skype Customer Service via their secure portal: Contact Customer Service
    As you know you intend to contact Customer Service, skip past Step 2 of the instruction where several articles from the FAQ library will appear for you to review, and proceed to Step 3, Continue Support Request (the "button" appears at the lower right corner of the website page). You may also skip past in Step 4 where you will be referred back here to the Community; no need to do this as the Community is where you started.
    Regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

Maybe you are looking for

  • Web Service as Datasource for a Report

    hello. current situation: CR2008 (12.3.0.601) webservice is created. webservice is bound as datasource in CR. report creation works fine. but: i would like to provide key information for the tables specified in WS-XSD. something like (marked with '->

  • Configuration assistant error OPW-000001 cannot open password file

    Installing on RH9. The install gives a fail message on the configuration assistant portion. When I run dbca from the command line I get the error OPW-000001 cannot open password file The password file for the new database exists with the the permissi

  • I downloaded a movie but it is not playing

    I downloaded a movie but it isnt playing

  • Eclipse Pulsar question

    Hi, I'm trying to find out what the differences are between using the physical phone connection with eclipse pulsar and just using the emulator. If anyone could be of any assistance or could point me in the direction of somewhere where I could read m

  • F8 doesn't work / query could not be executed

    I've had a form that worked perfectly until I started to put some of the fields on a new canvas in a new window (in the same form). Since then, I get the error "ORACLE ERROR: query could not be executed" when pressing F8 or starting "execute_query" b