Sequence Number problem.

I have situation like this:
I am creating text files from a procedure and i am making FILE NAME as follows.
v_file_name := v_document_code || '_' || p_printer_id || '_' || p_quote_ref_id || '_' || v_reference_id;
All above values i have in my procedure, now i need to insert a sequence number ( or a Auto Number thing) for a file such that everytime when any file created it should have a different number.
I tried sequence number concept but i am not getting any result.
I have made a sequence SEQ_DAT_FILE_NUMBER and used it as follows
v_file_number := ' SELECT SEQ_DAT_FILE_NUMBER.NEXTVAL '
|| ' FROM DUAL ' ;
v_file_name := v_file_number || '_' || v_document_code || '_' || p_printer_id || '_' || p_quote_ref_id || '_' || v_reference_id;
but i didn't get any result.
Please provide any information to solve this problem.
Thanks in Advance.
Regards,
AgrawalV

if you didn't get any result, what you have got.... i mean an error or an worng output or what....
there seems to be no problem in the code, except the method of fetching the sequence number in the variable,
v_file_number := ' SELECT SEQ_DAT_FILE_NUMBER.NEXTVAL '
|| ' FROM DUAL ' ; rather do like this:
SELECT SEQ_DAT_FILE_NUMBER.NEXTVAL INTO v_file_number FROM DUAL;

Similar Messages

  • FILE SEQUENCE NUMBER PROBLEM

    Our requirement is to generate file sequence number using FTP adaptor so that we acheive the following pattern
    for eg.,
    VAP001.xml
    VAP002.xml
    VAP003.xml
    VAP010.xml
    VAP011.xml
    i.e., the sequence number will be a fixed length and it should be lpadded with zeroes.
    We tried to the following
    VAP%SEQ%.xml
    then BPEL generated as
    VAP1.xml
    VAP2.xml
    VAP10.xml
    We also tried this i.e.,
    VAP00%SEQ%.xml
    bpel generated
    VAP001.xml
    VAP002.xml
    VAP0010.xml
    Pls guide us with a solution. THis is very urgent and important for our business.
    Regards

    Our requirement is to generate file sequence number using FTP adaptor so that we acheive the following pattern
    for eg.,
    VAP001.xml
    VAP002.xml
    VAP003.xml
    VAP010.xml
    VAP011.xml
    i.e., the sequence number will be a fixed length and it should be lpadded with zeroes.
    We tried to the following
    VAP%SEQ%.xml
    then BPEL generated as
    VAP1.xml
    VAP2.xml
    VAP10.xml
    We also tried this i.e.,
    VAP00%SEQ%.xml
    bpel generated
    VAP001.xml
    VAP002.xml
    VAP0010.xml
    Pls guide us with a solution. THis is very urgent and important for our business.
    Regards

  • Re-sequence number problem

    hi all
    i created two text items in form one for sequence number and other for non sequence, i want when i add 01 in non sequence item-text so the sequence number does not change and it should remain the same? is it possible plz help me out thanks in advance.
    sarah
    Edited by: SarahSarahSarah on Aug 30, 2009 12:37 AM

    here is the code:
    on key-commit trigger
    begin
    if
    :ins1.EDNO is null
    then
    SELECT sarahseq.NEXTVAL INTO :ins1.serial FROM DUAL;
    end if;
    :ins1.branch1 := :ins1.branch;
    :ins1.class1 := :ins1.class;
    :ins1.year1 := :ins1.year;
    :ins1.serial1 := :ins1.serial;
    :ins1.cno1 := :ins1.cno;
    :ins1.edno1 := :ins1.edno;
    :global.data := :branch || ' ' || :class || ' ' || :year || ' ' || :serial || ' ' || :cno || ' ' || :edno;
    commit_form;
    call_form ( 'c:\temp\plate no.fmx', no_hide, no_replace, no_query_only );
    END;
    sarah

  • Sequence number  problem in control file

    hI,
    I have table called mast_route which contains route,seq_no fields.
    I need to load the data using sql loader.while loading i have to reset the sequence based on the route.
    that means whenevr a different route is encountered the sequence number should be set 1.
    I have to load the data as shown below.
    ROUTE               SEQ_NO
    10B,               1
    10B,               2
    10B,               3
    10B,               4
    10B,               5
    10B,               6
    10B,               7
    10B,               8
    10B,               9
    10B,               1
    10B,               1
    10B,               1
    10B,               1
    10B,               1
    10B,               1
    10B,               1
    10C,               1
    10C,               2
    10C,               3
    10C,               4
    10C,               5
    10C,               6
    10C,               7
    10C,               8
    10C,               9
    10C,               1
    10D,               1
    10D,               2
    I used the following loader script,but its not working
    load data
    infile 'routedest_master.csv'
    append      into table mast_route
    fields terminated by "," optionally enclosed by '"'     
    TRAILING NULLCOLS
    ( route,
    seq_no ?? here i need to insert the sequence number based on route ,
    any idea pls
    cheers
    RRK

    hi,
    I have another field called "Destination" in my table.
    under one route there may be several destinations.
    Here the sequence number indicates the unique destination number under a route.
    the sample data looks as follws.
    ROUTE,          DEST,          SEQ_NO
    10B,          204,          1
    10B,          223,          2
    10B,          242,          3
    10B,          290,          4
    10B,          303,          5
    10B,          513,          6
    10B,          521,          7
    10B,          539,          8
    10B,          577,          9
    10B,          60,1          0
    10B,          626,          11
    10B,          725,          12
    10B,          839,          13
    10C,          1011,          1
    10C,          369,          2
    10C,          377,          3
    10C,          384,          4
    10C,          388,          5
    10C,          56,               6
    10C,          689,          7
    10C,          87,               8
    10C,          888,          9
    10D,          354,          1
    10D,          360,          2
    10D,          398,          3
    10D,          495,          4
    10D,          501,          5
    10D,          66,               6
    10D,          66,               7
    10D,          765,          8
    10D,          765,          9
    10D,          837,          10
    10D,          899,          11
    10D,          906,          12
    10E,          205,          1
    10E,          306               2
    10E,          34,               3
    10E,          348               ,4
    I guess ,now u can understand the prob.
    cheers
    RRK

  • Need to query the database to get the last sequence number

    Hi all
    I am trying to get the last sequence number of the last row inserted into my Oracle database. Please could someone give me the SQL which would allow me to do this - using Oracle SQL Explorer I have confirmed that there is a sequence on the table which is called: XYZ_SEQ and the code for this is:
    CREATE SEQUENCE "MY_USER_NAME"."XYZ_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 21 CACHE 20 NOORDER NOCYCLE ;
    My Java application is inserting a row into my table and to insert a new row I need to have the last sequence inserted +1 so the new row can be added.
    Any help would be much appreciated.

    Hi,
    Welcome to the forum!
    If you are using a sequence just do (example):
    INSERT INTO TABLE_NAME
       (COL1,
        COL2)
    VALUES
       (SEQUENCE_NAME.NEXTVAL,
        OTHER_VALUE);to obtain (and use) the next number in the sequence when you are inserting.
    If you have a sequence to use for a specific table, you should use it when your insert new data (no matter your are doing that: java application, procedure, etc). Doing this you avoid some problems when you have the sequence 'out of date' about the associated data.
    Regards,
    Edited by: Walter Fernández on Sep 19, 2009 10:08 AM
    Edited by: Walter Fernández on Sep 19, 2009 10:10 AM

  • Error While Generating Sequence Number. Contact your system Administrator

    Hi All,
    I have developed a form to provide our client with 'an easy to fill' User Interface. This form will be used instead of the standard form present in Business Suite.
    Some columns of the table, on which form is based, are getting populated via generation of sequence numbers.
    Now the problem is, after deploying custom form developed by me in the instance, Standard form is showing this error
    " Error While Generating the Sequence Number. Please contact the System Administrator "
    I am unable to trace why this error had started appearing..
    Any suggestions would be of great help...
    Thanks in Advance,..

    Forms version 6i,
    Database version 9.2.0.6.0
    Sequences which I am using are used there in Standard form also..
    So evrytime i need to save the record, I am selecting NEXTVAL of it into
    the respective item of the datablock..

  • Multiple email addresses against Vendor. What is the ID / sequence number?

    We have a particular vendor with multiple e-mail addresses. These can be viewed via XK03, looking at the address details of the vendor and expanding the e-mail address.
    What I see for one particular vendor are two lines, each with a different e-mail address.
    Line one has a radio button (standard number) selected, has some text saying ' Remittance advice' and an ID of 001.
    Line two has a radio button unselected, has text saying 'PO' and an ID of 002.
    The problem that we have is that when PO's are e-mailed it sends it to the e-mail address on line 1 rather than line 2. Obviously this ID/sequence number is configured somewhere and I assume that the PO's somehow need to told to use ID 002 instead of 001, but where is this defined?.
    Jas

    SAP takes the email adress (fax number) that has the radio button for standard default.
    The text  ' Remittance advice'  is just a note which does not control anything, especially not that this one is taken for the  ' Remittance advice'  only and all others would use the second mail adress.
    If you want it different, then you have to code this yourself in an exit.

  • Sequence number different in DB than from assignSequenceNumber()

    I am using TopLink 10.1.3 DP4 (I think - inside JDev build 3565). I am attempting to use a sequence in a schema that I DO NOT OWN - I cannot make modifications tot he database sequence because there are other applications in place running against it.
    The database sequence is in a 10g database, with an interval of 1 and a cache of 20.
    My object uses the value of the sequence as the sole element of its primary key. I am creating a new object, registering it with a UnitOfWork using registerNewObject(obj). It seems that this does not make a clone, since the object returned by this method is the same identity as the object passed in.
    My project sequencing policy is set as follows:
    <project-sequencing-policy>
    <sequencing-policy>
    <preallocation-size>1</preallocation-size>
    <sequencing-type>Use native sequencing</sequencing-type>
    <name-field-handle>
    <field-handle/>
    </name-field-handle>
    <counter-field-handle>
    <field-handle/>
    </counter-field-handle>
    <sequencing-policy-table></sequencing-policy-table>
    </sequencing-policy>
    </project-sequencing-policy>
    Platform is 10g
    <platform-name>Oracle10g</platform-name>
    The sequence is accessed through a synonym (since JDev couldn't seem to reference a sequence in a different schema from a user's login).
    <sequence-number-name>EVENT_SEQ_SYN</sequence-number-name>
    <uses-sequencing>true</uses-sequencing>
    When I commit my new object, I can see the insert statements in the log claiming a value of 'x' for the primary key. The row in the database actually has a primary key of 'y', where 'x = y - preallocation size' and 'y = sequence last number - preallocation size'. I think I would get the right number if I could set the preallocation size to 0 (performance problems understood) but TopLink chokes on this at run-time.
    Is this problem familiar to anyone?
    Failing using native sequencing, I tried to write custom SQL for the insert statement, but I couldn't find any decent examples anywere on how to do that. I found in a deep google search an example that showed you could use hash (#) to reference the value of a property, but what if the value that needs to be inserted in the database is held in an indirect referenced object? For example, if I was trying to write an insert sql for a Pet object with an indirect reference (valueHolder) to its owner, and I needed to put the owner id in the row - how would I write that insert statement in the 'custom sql' pane in workbench?
    Thanks for your help.
    Dave

    Very strange case.
    I tried to reproduce it using TopLink Employee example - and couldn't.
    Here's the code:
        //  to get debug info
        session.setLogLevel(SessionLog.ALL);
        session.login();
        UnitOfWork uow = session.acquireUnitOfWork();
        Employee emp = new Employee();
        emp.setFirstName("sequencingTest");
        uow.registerNewObject(emp);
        uow.assignSequenceNumber(emp);
        uow.commit();
        System.out.println("firstName = "+emp.getFirstName() +"; id="+ emp.getId());And here's the log:
    [TopLink Info]: 2006.01.26 04:49:05.734--DatabaseSessionImpl(18)--Thread(Thread[main,5,main])--TopLink, version: Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060116)
    [TopLink Config]: 2006.01.26 04:49:06.171--DatabaseSessionImpl(18)--Connection(19)--Thread(Thread[main,5,main])--connecting(DatabaseLogin(
         platform=>Oracle9Platform
         user name=> "test"
         datasource URL=> "jdbc:oracle:thin:@localhost:1521:orcl"
    [TopLink Config]: 2006.01.26 04:49:10.140--DatabaseSessionImpl(18)--Connection(39)--Thread(Thread[main,5,main])--Connected: jdbc:oracle:thin:@localhost:1521:orcl
         User: TEST
         Database: Oracle Version: Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
         Driver: Oracle JDBC driver Version: 10.1.0.4.0
    [TopLink Finest]: 2006.01.26 04:49:10.625--DatabaseSessionImpl(18)--Thread(Thread[main,5,main])--sequencing connected, state is Preallocation_NoTransaction_State
    [TopLink Finest]: 2006.01.26 04:49:10.718--DatabaseSessionImpl(18)--Thread(Thread[main,5,main])--sequence PROJ_SEQ: preallocation size 1
    [TopLink Finest]: 2006.01.26 04:49:10.718--DatabaseSessionImpl(18)--Thread(Thread[main,5,main])--sequence ADDRESS_SEQ: preallocation size 1
    [TopLink Finest]: 2006.01.26 04:49:10.718--DatabaseSessionImpl(18)--Thread(Thread[main,5,main])--sequence EMP_SEQ: preallocation size 1
    [TopLink Info]: 2006.01.26 04:49:11.453--DatabaseSessionImpl(18)--Thread(Thread[main,5,main])-- login successful
    [TopLink Finer]: 2006.01.26 04:49:11.703--DatabaseSessionImpl(18)--Thread(Thread[main,5,main])--acquire unit of work: 48
    [TopLink Finest]: 2006.01.26 04:49:11.703--UnitOfWork(48)--Thread(Thread[main,5,main])--Register the new container bean Employee: sequencingTest
    [TopLink Finest]: 2006.01.26 04:49:11.734--DatabaseSessionImpl(18)--Thread(Thread[main,5,main])--Execute query ValueReadQuery()
    [TopLink Fine]: 2006.01.26 04:49:11.750--DatabaseSessionImpl(18)--Connection(39)--Thread(Thread[main,5,main])--SELECT EMP_SEQ.NEXTVAL FROM DUAL
    [TopLink Finest]: 2006.01.26 04:49:12.328--DatabaseSessionImpl(18)--Thread(Thread[main,5,main])--sequencing preallocation for EMP_SEQ: objects: 1 , first: 3,469, last: 3,469
    [TopLink Finest]: 2006.01.26 04:49:12.328--UnitOfWork(48)--Thread(Thread[main,5,main])--assign sequence to the object (3,469 -> Employee: sequencingTest )
    [TopLink Finer]: 2006.01.26 04:49:12.328--UnitOfWork(48)--Thread(Thread[main,5,main])--begin unit of work commit
    [TopLink Finer]: 2006.01.26 04:49:12.421--DatabaseSessionImpl(18)--Connection(39)--Thread(Thread[main,5,main])--begin transaction
    [TopLink Finest]: 2006.01.26 04:49:12.437--UnitOfWork(48)--Thread(Thread[main,5,main])--Execute query InsertObjectQuery(Employee: sequencingTest )
    [TopLink Finest]: 2006.01.26 04:49:12.625--UnitOfWork(48)--Thread(Thread[main,5,main])--Assign return row DatabaseRecord(
         EMPLOYEE.VERSION => 1)
    [TopLink Fine]: 2006.01.26 04:49:12.625--UnitOfWork(48)--Connection(39)--Thread(Thread[main,5,main])--INSERT INTO EMPLOYEE (EMP_ID, L_NAME, F_NAME, GENDER, END_DATE, START_DATE, MANAGER_ID, START_TIME, END_TIME, ADDR_ID, VERSION) VALUES (3469, NULL, 'sequencingTest', NULL, NULL, NULL, NULL, {t '09:00:00'}, {t '17:00:00'}, NULL, 1)
    [TopLink Fine]: 2006.01.26 04:49:12.640--UnitOfWork(48)--Connection(39)--Thread(Thread[main,5,main])--INSERT INTO SALARY (SALARY, EMP_ID) VALUES (0, 3469)
    [TopLink Finer]: 2006.01.26 04:49:12.781--DatabaseSessionImpl(18)--Connection(39)--Thread(Thread[main,5,main])--commit transaction
    [TopLink Finer]: 2006.01.26 04:49:12.796--UnitOfWork(48)--Thread(Thread[main,5,main])--end unit of work commit
    [TopLink Finer]: 2006.01.26 04:49:12.796--UnitOfWork(48)--Thread(Thread[main,5,main])--release unit of work
    firstName = sequencingTest; id=3469
    If I understood correctly, the problem is x showing up in insert as a value to be assigned to PK and y actually inserted into the db. If that's the case could there be a BeforeInsert trigger on the table? To test try inserting through jdbc using concrete pk value.

  • A sequence number error in a form

    I am currently creating a form with a sequence number in forms 10g
    <pre>
    table name: emp
    table desc: emp_id number,emp_name varchar2(20),emp_no number
    </pre>
    i have to generate the emp_id automatically.
    <pre>
    create sequence emp_seq
    minvalue 1
    start with 1
    increment by 1
    cache 20
    </pre>
    I use pre_insert trigger in block
    <pre>
    begin
    select emp_seq.nextval into :emp.emp_id from dual
    end
    </pre>
    problem;
    I can not insert a record because of sequence number in :emp.emp_id
    no compilation error but there is no automatic sequence number appeared in :emp.emp_id after run a form.
    It used to work before(fine with automatic sequence number in :emp.emp_id).
    it happens after I changed layout format and someone add more columns in emp table.
    eventhough i did not use sequence number in emp.emp_id
    in pre-insert-trigger
    <pre>
    begin
    select nvl(max(emp_id),0)+1
    into :emp.emp_id
    from emp;
    </pre>
    still can not show up any number in :emp.emp_id
    please help me out

    Thank you . It works now.
    would you mind explain to me; what I can not use automatic sequence number in emp.empid text field in pre-insert-trigger in my case
    is it trigger confliction in my forms?

  • Sequence Number does not allowed here

    Hi,
    I am inserting rows in a table called membership with seqence number membership_id.nextval. But i am getting error like
    "Sequence number not allowed here"
    Before i inserted about 3852 rows in that table
    Here is the statement i am using
    INSERT INTO MEMBERSHIP (membership_id,ACTIVIST_ID,G_N_ID,ROLE_ID,
    REGION_ID,START_dATE,END_DATE,STATUS,state_id)
    SELECT membership_id.nextval,a.activist_id,G.g_n_id,R.ROLE_ID,
    '',mwlgmemship.start_date,'','Active',''
    FROM activist a,
    role r,
    group_network g,
    final.mwlgmemship mwlgmemship,final.mwlgmem mwlgmem
    WHERE
    a.first_name=mwlgmem.fname and a.last_name=mwlgmem.lname and a.c_zip_code=mwlgmem.czip and
    a.c_country=mwlgmem.country and mwlgmem.person_id=mwlgmemship.person_id and
    to_char(mwlgmemship.grno)=g.g_n_reference and mwlgmemship.role_id=r.role_id order by r.role_id
    I could not understand the problem, please help me
    I am selecting the other fields from other tables.
    Thanks
    Srinivas

    Restrictions on Sequence Values You cannot use CURRVAL and NEXTVAL in the following constructs:
    A subquery in a DELETE, SELECT, or UPDATE statement
    A query of a view or of a materialized view
    A SELECT statement with the DISTINCT operator
    A SELECT statement with a GROUP BY clause or ORDER BY clause
    A SELECT statement that is combined with another SELECT statement with the UNION, INTERSECT, or MINUS set operator
    The WHERE clause of a SELECT statement
    The DEFAULT value of a column in a CREATE TABLE or ALTER TABLE statement
    The condition of a CHECK constraintAbove text is from the sql reference manual.
    HTH
    Regards
    Raj

  • Sequence number in ADF FORM.

    hi All,
    I have a table with ID as primary key and have a sequence created for this primary key and have a trigger for generating sequence number while inserting the record in table.
    How can i map this Sequence in ADF so while inserting record from Form i can skip the ID column.
    Regards,
    Suresh kumar

    I am using MySQL and primary key is auto incremented in my table. Therefore I have selected
    SQL Plateform     :     SQL92     
    Data Type Map     :     Java
    When I am trying to create entiry object, I do not get option of selecting DBSequence. I did some documents reading, I found out that DBSequence is part of "*Java Extended for Oracle*" Data type Map.
    While creating the EO , in the Attribute Settings, I click the Browse and search for DBSequence. I found out oracle.jbo.domain.DBSeqence.
    Can someone please let me know that I am going to face any problem in future by using DBSequence in his manner?
    Thanks in Advance.

  • Sequence number in filenames

    Hello,
    When DB dumps next segment of its log, new files are named autolog_name.XXX, where XXX is my problem. I thought that when I perform full backup, this number will reset and start with "001" but it did not
    How can I reset this sequence number in filenames generated by autolog?

    > Hello,
    >
    > I agree that DB won't know which is correct. But if I
    > make full DB backup and keep it safe (1), old log
    > backup are useless,
    Nope - you can always use an "older" backup and apply the archive logs, this is the same as using a newer backup and use newer archivelogs.
    >  so I thought that I can start
    > numerating backup files from "001" again. I change
    > name of autolog media after every successfull full
    > backup, so there files would not be overwritten
    > anyway.
    >
    If you have a problem with the backup for whatever reason, you won't be easily be able to recover an "older" one with that scenario. I have no idea, what problem you have with the "filenamenumbers" but if that is ok for you it's for me too
    Markus

  • Sequence Number in PLD_Sales Quotation

    Hi,All
    I want to show sequence number in PLD. My Problem is  i can't use LineNum() because in some rows in matrix
    that no price, i  will not show data in PLD.
    Now,if i use LineNum() when i print preview in column system will skip record that no have price and the sequence number is not  proper.
    How to manage for get number order ascending sequence ?
    Please help me in this regard,
    Venkatesh.R

    Hi .....
    Try to be as specific as possible ...
    1 .- I created a formula field - assigned to it in MY CASE THE FIELD F_174 --
    This formula has the status field for the lines are visible or not ..
    2 .- I have left as "invisible" field  LineNum()
    3 .- I created a new formula field - IN TURN THIS AREA IS F_175 --
    The second field contains the following formula ColSum(F_174)
    This field is the field position LineNum() (replaces)
    4 .- All areas covered are bound to repeat F_174 (to appear when it meets the condition of the formula)
    With all these steps allowed me to see so correlative lines, even when there are lines that are not visible to not meet the condition.
    I hope it will help
    Best regards,

  • "Sequence number already exists in table" maintining Data Sources

    Hi fellows, i am seting up a new connector in GRC 10.0, but when configuring the connector for the User detailed Data sources i get the same error; "Sequence number already exists in table".
    I have tried with over 200 numbers which I know for sure are available and still get the same error. Where can I find the table with this information?
    Can the information be removed to clean up table space?
    Thanks for your help!!!

    Hi Gabriela
    I recall getting this error a lot and it seemed to be a buffering/memory problem where it was remember the old value was getting remember. I had to exit out of the IMG navigation and reenter it again. It'd happen if I deleted one entry and then went to add another (even after saving). Not sure if you are getting this
    Other thing is to check the backed tables to see if any orphaned values on the primary key
    Regards
    Colleen

  • Aperture 2 install - serial number problem

    Disclaimer: I'm pretty good on a pc. Absolutely terrible on Mac, never had so many problems with tech :/
    So...I have my serial number from the back of the Aperture 2 "Installing your software" booklet. Checked that I'm entering "I's" not "1's." Got dashed between the sequences. Capslock on etc. Searched forum, quite a few posts on serial number problems. None matched.
    Enter serial number. Second window pops up stating I've entered an upgrade serial number (I only have the expired trial version of Aperture installed), and requesting my "serial number."
    I'm lost now. Checked my original docs, there's nothing on Aperture trial version. Fired up the trial and I see what looks like a license key (to Apple, not me) on the launch screen. That's not accepted by Aperture 2.
    Any thoughts on this appreciated.

    M_Austin wrote:
    Thanks, think you solved this Wish the label said something like that, the box only says Aperture 2, not upgrade license. So I'm guessing I have to pay $199, and keep this $99 package to upgrade it? I hope not. I'll ask at the store.
    There is a tiny label on the bottom edge of the box. Mine says "Aperture 2.0 Retail". The tiny label on my box for Final Cut Express 4 says "Final Cut Express 4.0 UPG". Does yours not say "UPG" on that little label? If not, you should be able to return it for the full version (plus pay the difference, of course). If it does say "UPG" you might be out of luck as most open software can't be returned.

Maybe you are looking for