Generator of sequence numbers for any number of PDF forms

Hello

With the help of this forum, I now have a simple Workbench process that acts as a Web service to generate a sequence number.

When it is called by a PDF form it reads a value in a database, increment the value and then reads the db to return the value incremented to the form.

It works fine, but now I need something else: I have about 60 forms and each will have its own sequence.

The way I see what I have to do is:

-include a new column in the db table to store the IDs forms (I already did).

-modify the SQL statements to include the number of Ref form as a parameter of a WHERE clause (I already did).

and...

-Send the Ref form number from the PDF file during the call to the web service. = > I have not yet figured out how do.

-receive this Ref number in the workbench to use as a parameter in the WHERE clause.

Please could someone help me out here?   Or point to a few examples online that I could use as a guide?

Will I receive the news of the PDF in the form of XML file and extract the info from its structure?

Thanks much for the advice.

Marcos

Hello

Any variables created within a process are accessible by all of the finding.

You don't need to associate the value through the extra activity.

for example you can directly use the value of the variable in the SQL activity to increment & get the next number in the sequence.

Note that you must not even two activities SQL to do. A single SQL activity can execute multiple SQL queries.

Hope that helps.

Nith

Tags: Adobe LiveCycle

Similar Questions

  • Generate a sequence based on a number

    I have two tables... I want to generate the sequence 01, 02, etc., based on total_sections

    Table 1:
    CourseID Total_sections
    1 101
    1 102
    3 103
    2 104

    I would like to create a table based on the table above and the result should look like:

    CourseID Section_Num
    101 01
    102 01
    103 01
    103 02
    103 03
    104 01
    104 02

    How can I achieve this?

    And two more :)

    With 11g recursive subquery factoring:

    WITH t (course, number_of_sections, section_num) AS (
     SELECT course, number_of_sections, 1
     FROM your_table
     UNION ALL
     SELECT course, number_of_sections, section_num+1
     FROM t
     WHERE section_num < number_of_sections
    )
    SELECT course,
           to_char(section_num, '09') as section_num
    FROM t
    ;
    

    With a bit of XML:

    SELECT t.course,
           to_char(x.num,'09') as section_num
    FROM your_table t,
         XMLTable( '1 to xs:integer($n)'
                   passing t.number_of_sections as "n"
                   columns num for ordinality ) x
    ;
    
  • grep search for any number of words in quotes

    I understand (from what I've read) that what follows will be a single word between quotation marks:

    (?<=")\w+(?=")

    Can someone explain please how to modify this search grep in a way that allows me to find any number of words in a pair of double quotes (whether straight or "curly")?

    (Yes, I'm very new to this, but I searched a dozen sites and can't seem to find the answer.)

    Many thanks in advance,

    Ron Herrmann

    (?<>

  • Generate the sequence of random by number

    How to generate random random 4 digit number using the sequence or any other method. Please suggest

    Take a look at http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_random.htm#ARPLS040

    Concerning

    Etbin

  • Is there a tool or method for editing on a pdf form line items?

    We have recently created about 200 different forms of acrobat with field elements.  We started with MS Word and converted to PDF using Acrobat Professional, then we added in the form elements.  However, the customer wishes several lines deleted or modified, the borders of table changed etc.  Is there a tool out there that will allow me to change the PDF directly and delete a line or fill a void in a table?  We do not want back to versions of word and start all over again.

    For example, please read this file: http://kendallrace.com/cas.pdf we must eliminate this half described table cell at the top left, we must eliminate underscores in the middle of the page.  And sometimes the border of a table cell could be described not so we need to draw a line to finish the outline.

    Thanks in advance for the help,


    Trent

    You don't need to recreate the fields after edting the Word doc and create a new PDF. Just replace the old pages with the new. Fields, code, links, etc. will remain. To do this in Acrobat, select: Document > replace Pages

  • sequence numbers

    Hello

    I need to generate sequence numbers for each order based on the time of the edict
    table:order_edits
    
    has 2 columns
    id number (10)
    edit_time (date)
    date of the sample

    ID EDIT TIME
    9009-1/31 / 2010 13:10
    9009-1/31 / 2010 14:10

    9002 1/27 / 2010 09:00

    9007 1/15 / 2010 11:15
    9007 1/17 / 2010 09:00
    i am looking for sequence numbers for each orderid based on edit time
    Order_edit of TIME CHANGE ID
    9009-1/31 / 2010 13:10 1
    9009-1/31 / 2010 14:10 2

    9002 1/27 / 2010 09:00 1

    9007 1/15 / 2010 11:15 1
    9007 1/17 / 2010 09:00 2


    any help is appreciated                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

    Hello

    The ROW_NUMBER analytic function has been designed for this:

    SELECT       id, edit_time
    ,       ROW_NUMBER () OVER ( PARTITION BY  id
                                ORDER BY          edit_time
                        )    AS order_edit
    FROM      order_edits
    ORDER BY  id, edit_time          -- Optional
    ;
    

    If (id, edit_time) is not unique, each row will always get a separate number.

    The ORDER BY clause from the query (if it exists) is independent of the ORDER byclause Analytics . The two may be identical, they may be similar (see above), or they may have nothing at all in common.

  • 'Wild card' in find/replace changes 'any number' to ' ^ 9' instead of leaving as is.

    During a search, find/replace in indd, using the generic specification for any number (^ 9), I would have thought the change would leave the numbers in their original state but it change them all to ' ^ 9' - how can I find a large document and remove all values in dollars using find/replace - e.g. AUD 3 234 to 3234 AUD?

    Given that you have at least InDesign CS3, use GREP to search instead of text search:

    Search: AUD (\d+)\h(\d\d\d)

    Change from: AUD $1$ 2

    Or probably even better, change to: $1, $2 ~.<>

    $1 and $2 rely on the conclusions of the first and the second parenthesis.

    ~< adds="" a="" thin="" space="" between="" last="" number="" and="" currency="">

  • How do batch of files becomes from any number?

    HI -.

    I use variables of data within Photoshop CS5 (Win7) to reproduce a model with several different sources.  With this method, each output THAT PSD has a new title and 3 or 4 new images.  It works great except that, after all this, scripted magic that I manually rename the new batch of files.  The series of files that I am could start with "395.PSD" and continue for, say, 93 files - but Photoshop exits only beginning with '1' or '01.  It would be awesome if I could start with whatever number I need and just PSD start and increment by 1 until the end with a lot.

    Even more - even if I start with "39.PSD" - PShop will save out as ' 391,392,393,394,395,396,397,398,399, (here's the trouble) 3910, 3911, etc. ".

    So what I'm asking is - nobody knows how to say PShop to start numbering with any number I want AND that PShop continues in the order of this number correctly?

    I'm not sure that it is a function of Photoshop or possibly a script from Windows Explorer.  But I would like to get some suggestions from the experts.

    TIA your answers.

    JL

    You can batch rename your files in Bridge...

  • Can any body help to get a script that can generate the sequence (length 3) with a combination of numbers and characters example: T11... TA1... TZ9... then on

    Can any body help to get a script that can generate the sequence (length 3) with a combination of numbers and characters example: T11... TA1... TZ9... then on

    With the help of the clause type

    Select sqnc

    from (select sqnc

    from (select 'T00"sqnc, '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ' ordr

    of the double

    )

    model

    size of (0 I)

    measures (sqnc, ordr, length (ordr) len)

    rules iterate (1300) until (instr(sqnc[iteration_number],'~')! = 0)

    (sqnc [iteration_number] = case when sqnc [cv (i) - 1] is null

    then sqnc [0]

    of another substr (sqnc [iteration_number - 1], 1, 1) |

    -case when substr (sqnc [iteration_number - 1], 2, 1)<=>

    so when business substr (sqnc [iteration_number - 1], 3, 1)<>

    then substr (ordr [0], instr (ordr [0], substr (sqnc [iteration_number - 1], 2, 1)), 1)

    of another nvl (substr (ordr [0], instr (ordr [0], substr (sqnc [iteration_number - 1], 2, 1)) + 1.1),'~ ')

    end

    end |

    -case when substr (sqnc [iteration_number - 1], 3, 1)<>

    then substr (ordr [0], instr (ordr [0], substr (sqnc [iteration_number - 1], 3, 1)) + 1.1)

    else ' 0'

    end

    end

    )

    )

    where instr(sqnc,'~') = 0

    Concerning

    Etbin

  • need to generate unique sequence for each transaction number

    need to generate unique sequence for each transaction number

    Use sometihng like that



    use the orcl: sequence-next function val

  • Generate the sequence number

    
    create table t
    (id int primary key,
    dt date,
    file_no int,
    batch_no int,
    data varchar2(5)
    );
    
    insert into t values (1,trunc(sysdate),23,113,dbms_random.string('a',5)); -- 1.1.1
    insert into t values (2,trunc(sysdate),23,345,dbms_random.string('a',5)); -- 1.2.1
    insert into t values (3,trunc(sysdate),23,345,dbms_random.string('a',5)); -- 1.2.2
    insert into t values (4,trunc(sysdate),23,543,dbms_random.string('a',5)); -- 1.3.1
    insert into t values (5,trunc(sysdate),23,543,dbms_random.string('a',5)); -- 1.3.2
    insert into t values (6,trunc(sysdate),23,543,dbms_random.string('a',5)); -- 1.3.3
    --
    insert into t values (7,trunc(sysdate),24,333,dbms_random.string('a',5)); -- 2.1.1
    insert into t values (8,trunc(sysdate),24,333,dbms_random.string('a',5)); -- 2.1.2
    insert into t values (9,trunc(sysdate),24,333,dbms_random.string('a',5)); -- 2.1.3
    insert into t values (10,trunc(sysdate),24,222,dbms_random.string('a',5)); -- 2.2.1
    insert into t values (11,trunc(sysdate),24,222,dbms_random.string('a',5)); -- 2.2.2
    insert into t values (12,trunc(sysdate),24,111,dbms_random.string('a',5)); -- 2.3.1
    
    
    

    Oracle 11.1

    How can given this structure and data, I generate sequence at the end of each line numbers? Basically, the sequence number (x.y.z) is such that x (1.n) is awarded for each unique value in file_no. In each x, y (1.n) is assigned for each unique value of batch_no. Within each y, z (1.n) is assigned for all records of this batch. Sample data shows only dt but all sequences must reset and start over when dt changes.

    I tried using row_number() over (partition by dt, file_no) and such but nothing quite gives me what I'm looking for.

    Help? Thank you

    Hello

    HELEN wrote:

    If you look at my CREATE TABLE, the ID column is a primary key and represents the order of the data in the file.

    Done batch_no = 100 come before or after 101?  Batch_no = 100 a ID so much until after the id for batch_no = 101.

    Good point, but that won't happen because of the way the 'record' is generated. All batch_nos will be contiguous. So if batch_no 100 comes earlier in the file as 101, it should get some 2nd highest sequence number. Otherwise, lower. Basically, the 2nd part of the sequence must simialar logical number to the 3rd party (i.e. order by id) but that messes things. Still struggle with it. Any help appreciated.

    I think I understand.  You say that, because of the way that the ID is issued, it wouldn't matter if you used the highest id of the batch_no, or the lowest id, or the average, or if you chose one at random; you would get the correct order in all cases.

    The following query uses the id low in the order file_no and batch_nos.

    WITH got_min_ids AS

    (

    SELECT id, dt, file_no, batch_no, data

    MIN (id) over (PARTITION BY dt

    file_no

    ) AS min_id_file_no

    MIN (id) over (PARTITION BY dt

    file_no

    batch_no

    ) AS min_id_batch_no

    T

    )

    SELECT id, dt, file_no, batch_no, data

    DENSE_RANK () OVER (PARTITION BY dt

    ORDER BY min_id_file_no

    )

    || '.'

    || DENSE_RANK () OVER (PARTITION BY dt

    file_no

    ORDER BY min_id_batch_no

    )

    || '.'

    || ROW_NUMBER () OVER (PARTITION BY dt

    file_no

    batch_no

    ORDER BY id

    ) AS seq

    OF got_min_ids

    ORDER BY dt, min_id_file_no, min_id_batch_no, id

    ;

    The main request is in fact what I posted before, but instead of

    "ORDER BY file_no" and "ORDER BY batch_no", she uses

    "ORDER BY min_id_file_no" and "ORDER BY min_id_batch_no".  These values are calculated in the subquery, got_min_ids.

    Output (including the additional sample data I posted):

    ID FILE_NO DT BATCH_NO SEQ DATA

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

    1 23 25 April 2014 113 dXAad 1.1.1

    2 345 23 25 April 2014 pumVG 1.2.1

    3 345 23 25 April 2014 jLnbO 1.2.2

    4 23 25 April 2014 543 xKhCL 1.3.1

    5 23 25 April 2014 543 JQoWk 1.3.2

    6 23 25 April 2014 543 YjJeC 1.3.3

    7 24 25 April 2014 333 WjQNE 2.1.1

    8 24 25 April 2014 333 ScWSL 2.1.2

    9 24 25 April 2014 333 pXDSD 2.1.3

    10 222 24 25 April 2014 OSajn 2.2.1

    11 222 24 25 April 2014 QNpix 2.2.2

    12 24 111 OwkjI 2.3.1 April 25, 2014

    91 100 99 25 April 2014 sRWmT 3.1.1

    93 100 99 25 April 2014 IAEFd 3.1.2

    92 101 99 25 April odQxh 2014 3.2.1

    I know you said that this situation is impossible (that is, if ID 91 and 93 have the same batch_no, then id 92 cannot have a different batch_no), but the application works even if this rule is broken.

  • Select the table column group and generate a sequence number

    I have to select data from a table column group and generate a sequence for every reset of the sequence from 1 to leave.

    For example:

    Data:
    Col1 Col2 Col3 Col4
    A NA KA-2009-08-13
    B NA KA-2009-08-13
    C NA KA-2009-08-13
    A NA KA-2009-08-13
    B NA KA-2009-08-13
    A NA KA-2009-08-13

    Expected results of the Select statement:
    Col1 Col2 Col3 Col4 Seq_No
    A NA KA-2009-08-13 1
    A NA KA-2009-08-13 2
    A NA KA-2009-08-13 3
    B NA KA-2009-08-13 1
    B NA KA-2009-08-13 2
    C NA KA-2009-08-13 1

    How can it be possible with a SELECT statement? Is it possible to assign the following numbers for a group of columns and put it back when it changes? In the above example, all columns are the key to generate the seq number

    I know that this can be done using procedures stored and that is how I do it now by introducing a temporary table.

    Can someone help me with this? Please let me know if the question is too vague to understand!

    Thank you
    Nachi

    Use the row_number() analytics.

    Ravi Kumar

  • Can'I change my serial numbers for Photoshop elements Version 14 (X 6) to the serial number for Photoshop elements Version 10

    Can'I change my serial numbers for Photoshop elements Version 14 (X 6) to the serial number for Photoshop elements Version 10

    Serial numbers are only for a specific version... you can use the number 14 of your version to install version 10

  • I have Adobe Acrobat XI Pro on my computer and it works fine but now received a new computer (MAC) and want to install Adobe Acrobat Pro XI. I have the CD but no serial number. I think it was an upgrade. I have the client of # and the serial numbers for b

    I have Adobe Acrobat XI Pro on my computer and it works fine but now received a new computer (MAC) and want to install Adobe Acrobat Pro XI. I have the CD but no serial number. I think it was an upgrade. I have the client of # and the serial numbers for Adobe Standard 8 and 9 upgrade.

    Your serial number appears on your account page?

    https://www.Adobe.com/account.html . for numbers on your Adobe page... or

    Lost serial number http://helpx.adobe.com/x-productkb/global/find-serial-number.html

  • Could not find any number on the box that begins with 1057, none of the other work numbers as a "serial number".

    Could not find any number on the box that begins with 1057, none of the other work numbers as a "serial number".

    Serial numbers are normally only applies to the case of the disc.  If you do not find the case of disk while you might be dealing with a scenario of redemption code... depends on where you bought the software and what is the software.

    Quickly find your serial number

    Using redemption code

Maybe you are looking for

  • How to stop the background music?

    Installed firefox. During navigation it is background music nonstop. SOP how this music

  • Satellite Pro M70-113: cannot install Vista graphics driver and lines appears on the display

    Hello I have satellite pro m70-113 with ati x 700 graphics card. When I installed vista, he installed the default drivers for the x 700 'mobility radeon x 700-microsft Corp.-WDDM '. I've updated the display drivers for vista, that released by toshiba

  • Satellite C50-A-19 t - recovery disks does not

    I have a laptop Toshiba Satellite C50-A-19 t with windows OS 8.1 Recently, my laptop had start-up problems so I contacted toshiba support and they told me to get the backupmedia.toshiba.eu recovery disk and I ordered the drive and it arrived today. W

  • Research of offset

    Hi - I hope you can help me with this little problem: I have two sheets: one (1) with data and (2) for a vendor to print and write notes. My problem is simple. I want to automatically create a new selling point in the Sales sheet for the next custome

  • How to recover deleted files

    How to recovery of accidentally deleted files