Save the Voucher number this Format type, mm, yy, sequence #.

HelloW All

I need automatic sequence number to produce with good Type, Date of coupon, good Date month year and sequence number just like

When I save my account of the cash book with the voucher number from 20/07/2009 I need a date

CB/P/7/2009/00001


CB = cash book
P = payment voucher
7 = good month
2009 = year
00001 is sequence

Any idea


Concerning


Wasim Ismail

Hi popo Ismail Khan,.

You must precede the sequence generated with the cash book, date and whatever your other needs.

Use can use the code below:

declare
seq_num number;
begin

    seq_num := :||'/'||:||'/'||:,'MM')||'/'||to_char(,'YYYY')||'/'||.nextval;

You can then use seq_num in your application as the sequence.

I hope you understand the logic.

Modify the code according to your need replacing with the name of appropriate and point data block.

It will be useful.

Check the answer as useful / OK, if this can help you

Carole

Published by: Carole Punj 20 July 2009 00:30

Published by: Carole Punj on July 20, 2009 00:36

Published by: Carole Punj on July 20, 2009 00:37

Tags: Oracle Development

Similar Questions

  • Error: "Canoe Photo window Viewer save the changes to this picture because there is a problem with the property of photo file" when trying to upload photos from the iPhone to the Windows Photo Viewer.

    Original title: saving photos and videos, common sense?

    JW why I can't save a picture to the top of the right way in my windows photo viewer and Media Player (same for video too) so when I download my pictures frim my iphone on the computer a few photos have been taken vertically, and when I go to put the image a gardener would come saying ' canoe photo window Viewer save the changes to this picture because there is a problem with the file of. properties of photos? What can I do to fix this?

    JW why I can't save a picture to the top of the right way in my windows photo viewer and Media Player (same for video too) so when I download my pictures frim my iphone on the computer a few photos have been taken vertically, and when I go to put the image a gardener would come saying ' canoe photo window Viewer save the changes to this picture because there is a problem with the file of. properties of photos? What can I do to fix this?

    =============================================
    I don't know if the following links answer your question, but
    they may be worth a visit:

    Good luck and * proceed at your own risk *.

    FWIW... There is a very long discussion (several pages) to the
    following link:

    Cannot change the imported iPhone 4S photo
    https://discussions.Apple.com/thread/3444951?start=0&TSTART=0

    More Discussion

    iPhone 4S image properties is not compartible with Windows?
    Editing can be done on the computer due to the error
    "Windows Photo Viewer cannot save changes to this picture.
    because there is a problem with the properties of the image file".
    Any help?
    https://discussions.Apple.com/message/17291884#17291884

    More Discussion:

    We cannot turn a few photos in Windows 7 (but can turn others)
    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-pictures/cant-rotate-some-photos-in-Windows-7-but-can/3a809845-9144-4BB1-9bb3-ab4f5b856524

    A simple solution is to open the photos in paint or most other
    digital image editor and modify it.

    Some people have reported success using the following free download
    to remove the metadata.

    Property restrictions stripper iphone 4S (JPEG & PNG Stripper)
    http://www.SteelBytes.com/?mid=30&cmd=download&PID=15

    Here's a way to turn...

    Easily turn locked iPhone 4 and 4 s Photos in Windows 7 with
    the rotator Lossless JPEG free
    http://www.daleisphere.com/easily-rotate-locked-iPhone-4-and-4S-photos-in-Windows-7-with-the-free-JPEG-lossless-Rotator/

    Free download JPEG Lossless rotating
    http://annystudio.com/software/jpeglosslessrotator/

  • I transferred my Lightroom 5.7.1 my cell phone to my PC. I put in the serial number, you press "next" and another box came up saying that the updated code was for and upgraded version and I should put in the old version the serial number - this I can't f

    I transferred my Lightroom 5.7.1 my cell phone to my PC. I put in the serial number, you press "next" and another box came up saying that the updated code was for and upgraded version and I should put in the old version the serial number - this that I can't find

    you will need to this previous version number and serial number.

    If you purchased the previous version of adobe or registered with adobe, check your account: ID Adobe

    in otherwise, find the serial number of your product Adobe quickly

  • Installed CC 30-day trial.  Getting the error "Lightroom can't create a catalog named"ightroom catalog on volume OC (c) because Lightroom can't save the changes to this place". Tried to "Choose a different catalog" same mistake several times.

    Installed CC 30-day trial.  Getting the error "Lightroom can't create a catalog named"ightroom catalog on volume OC (c) because Lightroom can't save the changes to this place". Tried to "Choose a different catalog" same mistake several times.

    Hello

    Try resetting preferences

    Note:-back up your Lightroom Catalog beforehand and save Photoshop preferences

    * Now reset preferences Hold Down CTRL + ALT + SHIFT (WIN) CMD + OPTION + SHIFT (MAC) while starting Lightroom. A dialog box appears prompting you to restore Preferences (LR)

    Once done open again Lightroom

    Make sure you have a lot of read/write of the location where you save the catalog... To create a folder on your desktop, confirm, then try to create the catalog again it

    I would like to know if there is a question...

    Thank you

    Assani

  • Trying to save the file in pdf format and instead its projection upward as we just drop. Half of my files are beautiful and half are not. Why!

    I am trying to save a file in pdf format. It appears in my folder as a file. I have a little need to do so. Registration of the same file with different names. Some work and some aren't.

    All registration documents are called files. What determines its type is the file extension. If it goes to something else especially an extension that the file viewer does not recognize he can just say instead of his type of format file.

    First thing to try is to verify that pdf is the extension (the characters after the last period) if there is no or an extension that you recognize, rename the file, and add the .pdf at the end of the name.

    If the file is a true pdf file it will load now.

    If she does not then of two things is true. The file is corrupted sense that it must be recreated. Or the file belongs to another application that is more installed on your computer.

    Once Finally, scenario, the extension is correct and does not rename but still it says file instead of pdf.

    In this case, like acrobat or Adobe reader software was uninstalled and deleted the associated file.

    Even if the association can manually be fixed which is totally dependent on having a Mac or Windows computer, and you have not mentioned it or I forgot. You can just reinstall the program that you want the associated file. The installer will fix it for you.

    On Windows computers, the file extension may be hidden. If you have a Windows system and don't know how to change extensions to the visible, let us know. I don't know if the Mac have a similar feature.

  • Changes to the definition that is not reflected in the program using this control type.

    Hello

    I'm having a problem with a type definition, that once I have make changes by adding another element to the enum changes do not appear in the program and the program control is grayed.  I had this problem yesterday, but just decided to remove the type definition file and rebuild a new.  But today when I did change the enum in the program say it is disabled.  I joined the program and the control file.  I wish you to know why I'm having this problem since it seems to happen whenever I make a change to the control.  I am running LabVIEW 2010 on a Dell dimension 2400 using Windows XP with service pack 3 5.1.2600.  I was wondering if LabVIEW 2010 has all the questions running on XP which can cause this kind of problem.

    I tried your program in 2010sp1 and in 2011, and I have no problem. Once you modify the type definition and add items to the enum, the instances will become gray until you 'apply changes' or 'save' the typedef. After that, all instances of the typedef is updated with new items.

  • Save the analysis in PDF format

    I want to scan and save a document in pdf format. However, the Windows settings, Scan & Fax appear only to allow me to save in files such as JPEG picture, etc. I can't find a way to change the settings. Help please!

    As Malke said... also, if your scanning software does not support scanning to PDF you may be interested in Scan to PDF software ofhttp://www.softi.co.uk/ (I recently evaluated this software for use of clients).   It works well but costs $29.99, there is a free 30-day trial.  I have not found a free or shareware equivalent that works reliably.

    "Robertc1969" wrote in the new message: * e-mail address is removed from the privacy... *

    I want to scan and save a document in pdf format. However, the Windows settings, Scan & Fax appear only to allow me to save in files such as JPEG picture, etc. I can't find a way to change the settings. Help please!

  • I want to save the files in tif format in windows 7, 64-bit operating system and Office 2010.

    Hi team, support

    I'm using windows 7, 64-bit and Office 2010 operating system. I want to save web files(e-invoices) in .tif format.

    Because the tif format is only way to download web files(e-invoices) in the download system.

    Please tell us how can I save the files directly in tif like Window XP format.

    He had no problem when I used Windows XP. I could save the files in tif through Microsoft Office Image Writer as a default format.

    A tif file is simply an image

    Office 2010 does not include Microsoft Office Image Writer, he made the MS featured xps document writer and send to OneNote (according to the version of office)

    http://Office.Microsoft.com/en-us/Word-help/save-as-XPS-HA102351576.aspx

    http://www.Microsoft.com/en-GB/download/details.aspx?ID=20261#system-requirements

    You can also think about saving to PDF

    Nothing else; Re-post for groups of office, not this group of generic programs because it has nothing to do with the victory

  • other browsers allow to choose from "never save the password 4 this site": do you really think I want to save the password for my paypal, example 4?

    It of a shame that we can choose only beetween "Save password for this site" or "not now", while for certain Web site, we never really want to save the password, generally for sites like paypal...

    Hi, you can do that in firefox so well - click on the dropdown arrow at the bottom left.

  • Vs file SDCard to save the greatest number of audio files

    I have to record the number of voicemails in my application

    If I use the memory file so that it is not sufficient, and if I use the SD card to save the file and what if the device that the user using dosent contain SD card?

    I mean file:///store vs. file:///SDCard

    I want to do like 1 the application should check if the user have any sd card installed if there is then record audio in file:///SDCard/BlackBerry/, or else it should save in-store file:///store/home/user

  • Save the brochure in PDF format in order to 'read '.

    I have a model in which the provision is in the order of printing for the sixteen pages

    I want to save a PDF file in the order in which it should be read.

    I searched online and no instructions I've tried works.

    She always saves the PDF file in the print order, follows page 7 page 10

    Is there anyway to save a PDF file in which page 11 follows page 10?

    Not only is it located in the margins of the printer, but it seems that each Board has been implemented on a single page and pages not face to face.

    He is not going to be a way to solve this problem in acrobat.

    I think that the only way is going to be by a new single-page-size InDesign document and place the contents inside, either by placing PDFs in a, or by copying existing content into.

  • CS6: save the psb in pdf format. only the options psb, thought, & tiff!

    Hello!

    I use photoshop cs6 and I need to save my file of psb in pdf format so that I can send by e-mail. I've already flattened the layers and it's 8-bit/channel. Is there something I can do?

    Thank you!

    Save as tiff and then save them in pdf format. There is no option to convert directly from the psb in pdf format.

    Gene

  • Save the document in PDF format via plugin

    We can save the Document as a PDF through:

    1. Save as-> PDF

    2. file-> Scripts-> SaveDocsAsPDF

    But I have a case where, I need to save the document using my plugin.

    Can save us the document currently open as a PDF file by using the SDK CS6?

    If so, with what result?

    Thank you

    Yes, you can. Check SnpDocumentActionHelper.cpp in Illustrator SDK.

  • How to: save the image in multiple formats AND edit file names every time automatically?

    Hello!

    First of all, I hope I'm not opening a discussion that has already been asked/Treaty. a lot. I couldn't find a solution to my particular problem until now in the web and I hope someone can help me.

    I work with Adobe Photoshop CC 2015.

    My problem is: I work a lot with product photos (whole/collage of several elements) and I want to speed up the process-saving in multiple formats (JPEG and PNG, sometimes TIFF as well).

    The initial situation is: I have a main PSD file (to keep things clean and centralized) with several layers, each layer containing a different element. I need to check/uncheck layer visibility often, add/remove elements of collage to generate variants of game.

    With every change that I agree (very minor steps), I have to go to SAVE AS... (Shift + ctrl + s)-> SET a format (JPEG, PNG, TIFF)-> EDIT file name (according to whole-variation [e.g. "Assembly-set01_lightbulb" / "Assembly-set01_lightbulb_cable" /...]---> save.) Fact.

    And then REPEAT the steps together, define another format drop-down list, change the name of the file again (since the file original .psd remains without additions) and so on...

    This process could his insignificant, but for me, when it comes to the variations set, consumes a lot of time, in particular, by taking changes in layers is a matter of 2 clicks.

    So what I know: There is an option to automate the in some workflows. I can create an action, where hitting a predefined key, the original PSD is saved as JPEG and PNG. But that's all. No change of name of file or the destination can be performed (AFAIK).

    Now what I want: I want to hit a predefined key, SAVE as... context-window, JPEG (...) is defined by default as defined format, I can modify the file name and/or ideally choose another folder to save to (...). Press enter-> the file is saved in JPEG format with the file name and alternative way edited. A new RECORD under... context window appears, PNG (...) is defined as the default format defined, I can still ideally to change the file name and press ENTER to find:

    -the original (unchanged) PSD file,

    -a copy of this image to JPEG with file name changed (... _xxx.jpg) [in another folder path, if I wanted to.

    -a copy of this PNG image with file name changed (... _yyy.png) [so somewhere else if I wanted]

    All this with the push of a single button(-combination) and my entry to change the names of files.

    Is it possible? I hope that my request is understandable and you could understand, what I want to achieve. The process itself is quite simple, but I have too complex concepts on how I want to maximize my workflow.

    Thanks in advance.

    Regards, Phil

    Hi Phil,

    This is something impossible in Photoshop as if now that the process you are looking for is very personalized and can be reached only in Photoshop.

    The only way that you can save a JPEG and PNG file is by creating an action, and that's what you have already tried and does not give you an option to change the file name or destination location.

    Concerning

    Sarika

  • Save the pdf file as format changes to text file

    Hello

    When you save a pdf file as a text file in the format of the resulting text different from the original PDF file ist.

    For example:

    PDF-file text

    X 1                                                X1                         (missing blank)

    X 1234-4567 X (new line added)
    1234-4567

    Would it be possible that some characters see and not visible of those responsible for this behavior?

    Any help will be appreciated

    Concerning

    JH

    It depends a lot on how PDF files is created.  If they are simple conversions for example Word documents, then the output text file will also be probably simple.

    If after that the original text of the creation has changed, added, moved,..., then there may be hidden items in which can no longer be transformed into a similar looking text file.

Maybe you are looking for