EText  - FORMAT_NUMBER

Hi all, I'm trying to use the FORMAT_NUMBER function in a eText template.
My problem is that I don't know the sintax of this function and I didn't find info in the inet about it.
In the Report Designer's Guide the info about this function is the following:
FORMAT_NUMBER – Formats a number to display in desired format. For
example:
FORMAT_NUMBER("1234567890.0987654321", "999,999.99")
produces the following output:
1,234,567,890.10
The format I need is #####.## (without thousand separator). For example 43218.95
I tried several options with no success.
I would like to know the sintax of the format parameter. "999,999.99" is not working either.
Any idea about the FORMAT_NUMBER function will be very appreciated!!! :-)
Thanks in advance...
Marcelo

Please help me guys !

Similar Messages

  • Header and Footer in eText outbount Template

    Output generated with etext template needs Header and Footer margins fixed in Oracle Payments of R12 which has multiple invoices with more than 1 page.
    The template was designed with 60 lines per page, when generating the output say for example 100 invoices payment, the header(7 lines) and
    footer(3 lines) margins must be fixed and remaining 50 lines must print the
    invoices details and continue printing in next page leaving the header and
    footer margins which were fixed. That is between the header and footer margins
    the invoice details has to be printed.
    My query is how to fix the Header and Footer margins in etext outbound template?
    If anyone has solution pls. send me that.
    Appreciate your help in advance.

    hi..
    chk this presentation...
    http://csc-studentweb.lrc.edu/swp/Berg/articles/NW2004s_what_is_new.ppt#352,3,Why NW 2004s?
    http://www.sap-hefte.de/download/dateien/1090/086_leseprobe.pdf'
    hope this helps...

  • How to use XDOXSLT in rtf template layout for etext template creation

    <DEFINE CONCATENATION>     BookDetails
    <BASE LEVEL>     Category
    <ELEMENT> Name || '/' || Price     
    <DELIMITER>      '/'
    <END DEFINE CONCATENATION>     BookDetails
    With EFTProcessor the above details are created in xsl file as follows
    <xsl:template name="CONCAT_BookDetails">
    *I need to declare one more variable here
    EG: <xsl:value-of select="xdoxslt:set_variable($mycount, count(.//Category))"/>
    --and use this variable for any dyanamic process inside this template. How to achieve this in rtf template by declaring a xdoxslt function. How to declare this
    syntax in rtf layout so that it creates a varibale in xsl template using the EFTProcessor. Please help me out. The main point here is to include xslt functions in
    rtf template layout for etext template creation.*
    <xsl:for-each select=".//Category">
    <xsl:call-template name="CONCAT_BookDetails_V"/>
    </xsl:for-each>
    </xsl:template>

    in the next time use BI Publisher forum - BI Publisher
    <?format-number(ENTERED_CR,'##,##0.00')?>it's works for me
    output:
    444    ->  444.00
    444.55 ->  444.55

  • How to Print multiple Records under one level in Etext templates.

    Hi,
    I am working on the Etext templates and customizing the standard template “US NACHA PPD FORMAT”.
    This standard template don’t have a addenda record.. I have modified and it is working for single Addenda records. But when I have multiple ADDENDA records to be printed in one particular *<outboundpayment>* level, it is not printing.
    How do I modify the template so that Multiple Addenda records get printed?
    Note:     I have multiple *<MyPayables>* tags under *<OutboundPayment>* tags.
    Please help me in understanding this…
    Regards
    Pradeep G

    What you probably need to do is generate each bio
    individually with the
    <cfdocument...> tag just the way you want them. And
    then use some of
    the advanced <cfpdf...> functionality that allows you
    to append two or
    more individual PDF's into a single large PDF.
    Here are some resources that describe some of the
    <cfpdf...> functionality.
    http://www.coldfusionjedi.com/index.cfm/2007/7/9/ColdFusion-8-Working-with-PDFs-Part-1
    http://www.coldfusionjedi.com/index.cfm/2007/7/10/ColdFusion-8-Working-with-PDFs-Part-2
    http://cfpdf.blogspot.com/
    http://cfpdf.blogspot.com/2007/06/cfpdf-action-merge_27.html
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=cfpdf_02.html

  • Preview Etext template in XML Publisher Desktop (Template Builder)

    Is there a way, or are there plans, to be able to preview an eText template using the template builder, in MS Word, like you can with PDF type templates. This is a great feature when creating PDF output and saves a lot of time. It would be great to be able to do the same for eText templates.
    Cheers,
    Dave

    You can create a dummy data definition and dummy template(etext) in xml publisher admin responsibility.
    For the Data definition , in the bottom if you scroll down you will see a link for upload preview xml data file.
    After uploading the xml file access your template and you can see a preview icon.If you click it you will see a txt file popping up
    thanks
    prasanna

  • Sum of void and normal payments in Etext for Positive Pay

    Hi
    Have a question on EText
    My situation is that
    For example, i have the following amounts(issuin checks)
    100
    200
    300
    When I void 100$ total will be 500
    In oracle When we void it wont get a -100 amount.XML TAG SHOWS only +100.
    This is the issue..How can I get sum=500 in Etext
    In the last section with positivepayextract I sum up amounts..But I end up in 600 not 500
    How can I fix this?
    thanks
    kp

    Hi Vetri
    following is how xml looks like:
    <PositivePayDataExtract>
    <OutboundPayment>
    - <PaymentStatus>
    <Code>VOID</Code>
    <Meaning>VOID</Meaning>
    </PaymentStatus>
    - <PaymentAmount>
    <Value>100</Value>
    </OutboundPayment>
    <OutboundPayment>
    - <PaymentStatus>
    <Code>ISSUED</Code>
    <Meaning>Printed</Meaning>
    </PaymentStatus>
    - <PaymentAmount>
    <Value>200.19</Value>
    </OutboundPayment>
    </PositivePayDataExtract>
    When the detail records are @ level of <Outboundpayment> group. Here this will go for 2 times like for
    example
    accountno123 check no0001 100 ABC Corp
    accountno234 check no0002 200 ABC Corp
    Now when I write SUM @level of <PositivePayDataExtract> group..So it goes for only ONCE.
    totaldetail_record_count=2 total_amount_300 ....[should be 200-100=100]
    When I write your syntax like @<PositivePayDataExtract> group it just check ONLY ONCE and at the first record it cheks for condition
    SUM((OutboundPayment/PaymentAmount[OutboundPayment/PaymentStatus/Code ='ISSUED']/Value))
    SUM(OutboundPayment/PaymentAmount/Value
    [OutboundPayment/PaymentStatus/Code=’VOID’])
    BUT it DOES NOT go to 2nd record.
    Bank wants SUM in one line..and still struggling..
    Any thoughts?
    thanks
    kp

  • Can we have a for loop/ the loop control construct in an etext template?

    Hi All,
    Can we have a loop control construct in etext templates?
    I have to print a remittance advice of only 11 invoices per page only. How can I do this?
    Your help in this regard is really appreciated.
    Rgds,
    Kiran Panditi

    Hi Ravi,
    Do you use SharePoint Designer 2007?
    Have you tried to use sequence approval workflow with participants in serial order?
    http://office.microsoft.com/en-001/sharepoint-designer-help/understand-approval-workflows-in-sharepoint-2010-HA101857172.aspx
    If you use SharePoint Designer 2013, there is an "loop" operation available you can take a look.
    http://prasadtechtactics.blogspot.in/2012/07/sharepoint-designer-2013-workflows-part_24.html
    Thanks
    Daniel Yang
    TechNet Community Support

  • Creation of sequence in etext template

    Hi All,
    I am creating a custom etext template for a invoice payment which will be forwarded to bank.
    The file will be generated for each invoice payment made one at a time.
    So, I have a requirement where in need to generate a sequence number in of the fields of the extext template. When the first file is send to bank, the sequence should be 1, for the second run the sequence should display 2 and so on.
    Here we cannot use the <RESET AT LEVEL> as RECORD or LEVEL as we need to control the sequence outside the etext template and in the database. So, I believe we should use PERIODIC_SEQUENCE that controls the value in database level.
    My question is how to achieve the relation between the database value and the etext template value.
    ex:
    <DEFINE SEQUENCE> allrecordsequence
    <RESET AT LEVEL> PERIODIC_SEQUENCE
    <INCREMENT BASIS> /outboundtransaction/paymentsequence[sequencename=allrecordsequence]/lastvalue + 1
    <END DEFINE SEQUENCE> allrecordsequence
    In the etext template
    sequence(allrecordsequence)
    The value in the etext template is always generation as 1, as the database record paymentsequence/lastvalue is null.
    Here is the user guide notes:
    Reset at Level
    The reset at level subcommand defines where the sequence resets its starting number. It is a mandatory subcommand. For example, to number the payments in a batch, define the reset at level as Batch. To continue numbering across batches, define the reset level as RequestHeader.
    In some cases the sequence is reset outside the template. For example, a periodic sequence may be defined to reset by date. In these cases, the PERIODIC_SEQUENCE keyword is used for the reset at level. The system saves the last sequence number used for a payment file to the database. Outside events control resetting the sequence in the database. For the next payment file run, the sequence number is extracted from the database for the start at number (see start at subcommand).
    But the sequence value in the database is not getting incremented.
    Appreciate an early response as it is really urgent.
    Thank you in advance.

    I have developed the solution using the below approach-
    Requirement - ( My requirement was a little different to what was mentioned above)
         To generate a sequence number in the e-text template of a invoice payment file.
         In a day when the first file is send to the bank, the sequence should be 1, for the second file the sequence should be 2.
         For the next day run the sequence value should be reset to 1.
    Approach 1) Use the IBY_FD_EXTRACT_EXT_PUB hook and Use sequence in the e-text template.
    GET_INS_EXT_AGG procedure is called once only for the payment instruction.
    It will add XML data element under OutboundPaymentInstruction tag.
    Add a new XML tag with the successful count of the formatted payments in a day.
    SQL query.
    SELECT COUNT (1)
    INTO v_payment_count
    FROM iby_payments_all a
    WHERE UPPER (a.org_name) = <org_name>
    AND UPPER (a.payment_profile_sys_name) =
    'profile system name'
    AND TRUNC (a.creation_date) = TRUNC (SYSDATE)
    AND a.payment_service_request_id <
    (SELECT MAX (b.payment_service_request_id)
    FROM iby_payments_all b);
    In the e-text template use the sequence number
    <DEFINE SEQUENCE>     RecordSeq1
    <RESET AT LEVEL>     OutboundPaymentInstruction
    <INCREMENT BASIS>     LEVEL
    <START AT>          1
    <END DEFINE SEQUENCE >     RecordSeq1
    While referring to the sequence use :- SSPN_PAYMENT_COUNT + SEQUENCE_NUMBER(RecordSeq1)
    to get the latest count of payment files.
    Approach 2) Using payment system
    <DEFINE SEQUENCE>      RecordsSeq1
    <RESET AT LEVEL>      PERIODIC_SEQUENCE
    <INCREMENT BASIS>      LEVEL
    <START AT> /PaymentSequence[SequenceName=’RecordsSeq1’]/LastValue + 1
    <END DEFINE SEQUENCE > RecordsSeq1
    By using a PERIODIC_SEQUENCE it will periodically generate the numbers.
    SEQUENCE_NUMBER(RecordsSeq1) is used to generate the number.
    I believe we need to have a payment system defined and associate the same to a Payment Process Profile.
    Only then can it have association with the last sequence number in the database.
    Please correct me if the Approach#2 set up is incorrect.
    Since Payment system was not necessary for the payment profile that we have used I have used approach 1
    Approach 2 can be used as a guideline :)

  • Need to Generate a eText File for Payments

    Hi,
    I have a requirement to generate a eText Outbound file using Payment Process profile. I have understand the basic steps and template we need to use to generate the eTEXT output.
    Q1. But here is my question is that the XML tags will be repeated for more than one invoice then the below tags will repeat like this. For this case how to read the two blocks.
    Normal rtf we will use the loop condition but here how to use this in eTEXT file format. Please provide some example.
    Q2. And also if the multiple blocks will contains different data but here I need to print all the data in a single line up to a fixed length then again I go for second line if the fixed length
    reaches the maximum limit.
    <DocumentPayable>
    <DocumentNumber>
    <DocumentInternalIDSegment1>30076</DocumentInternalIDSegment1>
    <DocumentInternalIDSegment2>83026</DocumentInternalIDSegment2>
    </DocumentPayable>
    </DocumentNumber>
    <DocumentPayable>
    <DocumentNumber>
    <DocumentInternalIDSegment1>100100</DocumentInternalIDSegment1>
    <DocumentInternalIDSegment2>123456</DocumentInternalIDSegment2>
    </DocumentPayable>
    </DocumentNumber>

    Hi Prasana,
    Here is the dll compile in CVI. You should be able to use the file import the driver.
    The best thing would be for you to be able to compile the driver in case you want to modify something. You will also need to install the CVI run-time engine:
    CVI Run-time Engine
    With a little work you could compile the driver with MSVC++. You just need to replace some functions. At a glance, this are some of the functions that need to be changed.
    The first thing would be to use the NI-488.2 driver interface for MSVC++. You would only need to replace the header file with the ni488.h file. It would be a good idea to replace the OpenDev a
    nd CloseDev functions with the ibdev and ibonl functions. Make sure you include the object file in your project settings.
    The other function, which might require more work is the Fmt function. This is a CVI specific function to perform string formatting. You could replace with one of the standard library C functions, such as sprintf, to do the formating. Or you could redefine the Fmt using these standard functions.
    Hope this helps.
    DiegoF
    National Instruments.
    Attachments:
    hp8165.dll ‏50 KB

  • EText PERIODIC_SEQUENCE

    Hi
    One of my customer is using an eText template for NZ payments and he is getting below error when format payment program is run:
    java.lang.NumberFormatException: For input string: "null"
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:60)
         at java.lang.Integer.parseInt(Integer.java:461)
         at java.lang.Integer.parseInt(Integer.java:511)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:6131)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3490)
         at oracle.apps.iby.engine.ExtractFormatter.applyFormat(ExtractFormatter.java:114)
         at oracle.apps.iby.engine.ExtractFormatter.applyFormat(ExtractFormatter.java:259)
         at oracle.apps.iby.scheduler.FDFormatProgramUtils.doExtractAndFormatCore(FDFormatProgramUtils.java:342)
         at oracle.apps.iby.scheduler.FDFormatProgramUtils.doExtractAndFormatCommon(FDFormatProgramUtils.java:227)
         at oracle.apps.iby.scheduler.FDFormatProgramUtils.doPmtInstrExtractAndFormat(FDFormatProgramUtils.java:90)
         at oracle.apps.iby.scheduler.FDExtractAndFormatting.doExtractAndFormat(FDExtractAndFormatting.java:456)
         at oracle.apps.iby.scheduler.FDExtractAndFormatting.runMainLogic(FDExtractAndFormatting.java:278)
         at oracle.apps.iby.scheduler.FDExtractAndFormatting.runProgram(FDExtractAndFormatting.java:159)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Error: an error occurred during formatting. Please verify the template is valid.
    oracle.apps.iby.exception.PSException: Internal Error to Payment Server: For input string: "null"
         at oracle.apps.iby.engine.ExtractFormatter.applyFormat(ExtractFormatter.java:150)
         at oracle.apps.iby.engine.ExtractFormatter.applyFormat(ExtractFormatter.java:259)
         at oracle.apps.iby.scheduler.FDFormatProgramUtils.doExtractAndFormatCore(FDFormatProgramUtils.java:342)
         at oracle.apps.iby.scheduler.FDFormatProgramUtils.doExtractAndFormatCommon(FDFormatProgramUtils.java:227)
         at oracle.apps.iby.scheduler.FDFormatProgramUtils.doPmtInstrExtractAndFormat(FDFormatProgramUtils.java:90)
         at oracle.apps.iby.scheduler.FDExtractAndFormatting.doExtractAndFormat(FDExtractAndFormatting.java:456)
         at oracle.apps.iby.scheduler.FDExtractAndFormatting.runMainLogic(FDExtractAndFormatting.java:278)
         at oracle.apps.iby.scheduler.FDExtractAndFormatting.runProgram(FDExtractAndFormatting.java:159)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Upon research we pinpointed the patch that is causing the failure (9501440:R12.XDO.B) which delivers an updated version of the file: TemplateHelper.java.
    One of the bugs that is fixed in this version of file relates the way the periodic sequences generates next sequence number. Customer removed below sequence definition from the template and the issue is resolved.
    Sequences:
    <DEFINE SEQUENCE>     AllRecordsSeq
    <RESET AT LEVEL>     PERIODIC_SEQUENCE
    <INCREMENT BASIS>     RECORD
    <START AT>     /OutboundPaymentInstruction/PaymentInstructionInfo/InstructionReferenceNumber + 1
    <MAXIMUM>     999999
    <END DEFINE SEQUENCE >     AllRecordsSeq
    As per user guide I understand all the Periodic Sequences will have the data stored in database. Customer question is how does the next sequence number gets generated or where does the periodic sequence number store the value in database i.e., like they are looking for specific sequence name or the underlying functionality in derivation of sequence number. We ran below query in the customer instance and found the sequence name and that is the best research we could do.
    select * from xdo_eft_sequence_names where language='en' and territory='00';
    Will this sequence name be in database as an object? Could someone throw some light on some additional details on how the sequence number is generated?
    Thank you very much.

    Ron,
    The sequence info is stored in iby_payment_profiles
    PERIODIC_SEQUENCE_NAME_1 (2,3)
    RESET_VALUE_1 (2,3)
    LAST_USED_NUMBER_1 (2,3)
    and you reset using the "Reset Periodic Sequences" concurrent program
    by default this is not in the AP request set so you may have to add it if you don't see it as a valid concurrent request.

  • Problem in Formatting Number in eTEXT template

    Hi All
    We want to format the payment amount for check in the eTEXT template.
    We want a number with 2 digits after decimal point and a comma before 3 digits to the decimal point.
    We tried using
    Number, ####,###.##
    But for the data 135 it is printing 0000135.00, But we want it in 135.00
    Similary for data 1356.7, we would like to have 1,356.70
    I tried with some trial and errors, but no luck.
    your help is appreciated.
    Thanks & Regards
    Naga

    it should work,
    I would like to see your template,
    drop me xml and template to my id , its in profile.

  • Currency formatting issue in etext delimeter based  template

    Hi,
    I want display as below
    if amount is
    55 --55.00
    55.6 --55.60
    55.21 --55.21
    0 --0.00
    .21 --0.21
    null --blank
    It's urgent for me.Please help me...
    Thnaks
    Praveen

    use
    FORMAT_NUMBER function along with if condition to handle the null
    IF AMOUNT='null' THEN
    '' -- Blank
    ELSE
    FORMAT_NUMBER("987654321", "999,999.99")
    END IF;

  • Junk characters in etext report

    Hi all,
    I have 3 data tables in my etext .rdf template .This telmplate is for eft format report.
    The output report for the 1st and 3rd data table is ok in terms of display ,but I get '????????????????' in my through my 2nd data table in the report output .
    I lack experience in bi publisher
    could someone please suggest tips ?
    ta
    s

    What is your database characterset?
    Please see these docs.
    How to Setup Pasta Quickly and Effectively [ID 356501.1]
    How To Generate And Print Reports In PDF Format From EBS With The UTF8 Character Set [ID 443778.1]
    How To Print XML Publisher PDF Reports From The Concurrent Manager [ID 338990.1]
    Arabic Data Appears As Junk , Currently using Forms Patchset 16 & XML [ID 755786.1]
    Thanks,
    Hussein

  • Preview of Fixed Position Based eText template displays the formatting

    Hi,
    I am trying to create an EFT template using the eText Fixed Position Based instructions. I copied an existing Fixed Position Based template and made the changes that were needed. When I hit the Preview link, it displays the payments in the formatted template, not in the output that I'm trying to create by using the template.
    Can anyone tell me what step I'm missing? I have created other types of templates and they preview fine.
    Thanks

    There is no difference between DELIMITER_BASED and FIXED_POSITION_BASED
    you can pick up the fixed and convert it into delimiter based,
    allowed columns are MaximumLength,Format,Data,Tag,Comments. delete the rest of the columns.
    And for DELIMITER_BASED templates,After every data field row,you have to insert a delimiter row and put appropriate field delimiters in separate rows between the fields.

  • How do I set the delimiter to Tab in a etext template?

    HI , I would like to set a tab delimiter for an etext rtf template. Does any one know what section do I enter the parameter to do this (format,data level, detail, does it matter)? Also what is the correct snytax and the value for the tab delimiter? Thanks in advance!
    Matt

    I'm just starting a sizeable eText setup and I agree it's not documented well. I found useful analyzing the XDO file, which is created off the RTF template and used to actually process the XML data. Gives more clues on how the RTF needs to be structured. Issues I'm running into is that the RTF->XDO conversion is what it is, so there may be a need for custom pre-post- update of the XDO and/or the final output. But still beats formatting by hand.

Maybe you are looking for

  • With iPhoto 9.2.1: suddenly 2 Libraries and neither can be seen...

    I hate to add yet another post on the horrors of iPhoto 9.2.1, but after spending an hour reading everyone else's (and trying a variety of suggested fixes) nothing has worked and my situation seems unique so I thought I'd ask... After being prompted

  • Modifying the selection screen dynamically

    Hey folks, I have posted this question previously but no one understood the real problem. I have 4 fields Company Code material Number plant storage Location Unit when I select the company code AA01 from the F4 help I want to disable material number

  • Regarding table T006 "Message: Unit CDM is not created in language EN"

    Hello Experts, There is an issue in the T006 table. With the SE16 transaction if I list all the unit existing in the table T006, I found the unit CDM. If I list only the unit CDM, I have the error message : "unit CDM is not created in language EN". I

  • GOOGLE PASSWORD NOT WORKING

    Ever since I downloaded the new apple patch "IOS6" the password to google is not being accepted. If l log into google directly it will accept my pass.

  • Exchange Server Failed

    My organization's exchange server failed a couple of weeks ago. The symptoms were that the users were being prompted for password to access their outlook account and certificates errors. Also found that we were unable to access the EAC and powershell