Invoice Template problem - Putting a Header field in repeating Lines rows

Dear experts,
I would be grateful for a problem I am having with an Invoice statement I am developing (Oracle Applications 11.5.10 with BI Publisher version 10.1.3.4). This is very similar to the one in Tim Dexter's Blog (Anatomy of a Template):
http://blogs.oracle.com/xmlpublisher/2007/03/anatomy_of_a_template_ii_heade.html
My requirement is to add a single line into the lines table, as seen in the Blog, which is a COMMENTS field from the header part of the XML and the problem is that it can be 1 line to maybe 5 lines. This is only on the first page. This causes problems as I don't know how to find out how far down the lines table I may be after adding this COMMENTS header field in here, to then know how many lines to loop over to ensure that the lines do not carry on printing over the bottom of the page e.g. if the COMMENTS is 3 lines - how do I know this to then only print 3 minus the maximum lines per page ($lpp) only on the first page?
Any pointers would be of great help.
Many thanks,
Mark

The COMMENTS field I've found out can be of any varible size and include carriage returns. For example, could be:
JD Trx special instructions 010908
FAO: PETER MUSCUTT
REF: FERRY ROAD 2351
========================
INCOME DUE TO COMPANY FOR
THE OPERATION OF EFERRY
ROAD CAR PARK
This causes such problems as being able to know how many lines this field will be, so that I know where to start the first Lines row in the invoice and also how many lines I can put on this first page (starting point - $lpp).
One method I thought would be to count how many characters there are in this field, when it reaches the line size on the invoice, increment a count varible that would be used to indicate the starting point for the first lines record. I would need to compare each character and if it is a carriage return, then increment the count also. This seems quite a heavy wieght way to solve this and would welcome any over ideas.
Thanks,
Mark

Similar Messages

  • To Insert Header Field for  Vendor Line Item Display FBL1N

    Hai All,
    I got a requirement that i have to add a Header item in the standard Tcode FBL1N. The client requirement is to add the Balance Carry Forward Amount Field in the Header level of the Output display.
    I have inserted the Header Text in the output display by going through Settings =>Layout => Current Header Rows but iam not able to pass a variable to that pertaining output text.
    Pls provide me the solution regarding ....

    Please note that most vendor line items wont have a PC assigned to them.
    I am not sure if you are refering to classic view or new GL data.
    Anyway you can use the sum button, and sub total for your levels.
    If you want to get the information sub totalled by PC, then I guess you are using the new GL and document splitting.
    If that is the case you cannot use FBL1N for this.
    There is however a set of reports in Accounts Payable, called new Gl reports and they will provide you the general ledger view and not the entry level view, and you can use the sum and sub total option.
    Please award points if this is useful.
    Come back if you need further help.

  • The document signature field is repeatable

    Hi!
    I use signature fields in dynamic forms in Acrobat 7 without problems. In Reader and Acrobat 8 signature field is not displayed and in designer there is a warning that is it problem "The document signature field is repeatable" ...
    Does someone know how to workaround this "feature", please?
    Thanks,
    --- Jaroslav

    I forgot to mention one other item. If for some reason it is not possible to do this with a button, is it possible to disable or set to readonly the control?

  • Get matrix row data and put it into header field with formatted search ???

    Hi All,
    I ask your help concerning the following:
    On an invoice matrix I want to check all Itemgroup Codes of all items in the rows, if there are some rows' items with ItemGroupcode 101 and some others with anything else, then header field should be Y, otherwise N.
    My main problem is: how do I put a matrix row data to a header data with checking all rows in the matrix?
    A minor problem is that I can't get the formatted search to work on all rows when the formatted search is assigned to the user field in header.
    If I put the formatted search to a row field then the row field is filled with the proper value, but the same query assigned to the user field in header works only on the first row.
    What am I doing wrong?
    SELECT USEDPROD= CASE T0.ItmsGrpCod  WHEN 101 THEN Y ELSE N END FROM .[OITM] T0 WHERE T0.ItemCode = $[$38.1.0]
    (SBO 7.6)
    Any suggestions are welcome.
    Thanks.
    Bálint

    Dear Adele,
    Thanks for the answer. The major one cannot be solved. OK, I'll try to get a workaround.
    However I still do not understand why my query does not work in all selected rows, just in the first row, i.e. if I assign the query to a header field and I'm positioned in the first row it's OK, but when I add a new item to the second row or any of the next rows, the header field is not updated at all.
    Why is that so? Do you have any idea?
    Bálint

  • Problem having the cloumn fields in the heading(REP:1317)

    Hi
    I am having a problem having a column field in the Header.I followed the instructions in the help i.e creating a field and then referencing it with a boiler text(&<field name>).But When I run the report I get the error message
    "REP-1317: Boilerplate '<boilerplate name>' references field with source '<column name>' at wrong frequency."
    How do I set these two field in the same frequency.
    Can anybody help.
    Thanks

    Hi
    See my answer at YOUR topic "Unable to have the column fields in the header".
    Once more: the only way to solve the problem is to create in the Header the Repeating Frame linking with the group of "<field name>". Then it's possible to place Field to be referenced by "database_col" or boiler text such as "&<field name>".
    Andrew.

  • Template header field

    Hello all,
    I have been trying to get a field into the template header and after reading several other posts I found one that works.
    <?if@inlines:PARTY_NAME!=''?>For: <?PARTY_NAME?><?end if?>
    However, when I run it I don't get any of my detail fields. I do get my summed fields, which is confusing as well.
    If I take out the header field (above), I get my detail and summed fields.
    Thanks for the help.
    Kkerig

    Hi,
    Are you talking about system table or UDT?
    Thanks,
    Gordon

  • Problem in Consistent Header and Footer with Sub Templates in BI publisher

    Hi All,
    I have recently started working with OBI and used Sub templates for getting Consistent Header and Footer in all of our reports. I did this in the following way
    1. Created one template called HeaderFooter.rtf with Header and footer templates.
    2. placed the file in web server and called in the main Template with
    <?import: http://myserver.com:9704/xmlpserver/HeaderFooter.rtf?> I mean as static URL and it is working fine.
    3. Now as a part of generalizing the server i have added HTTPSERVER property in xdo.cfg file which is located in
    %BI_REPOSITORY%/Admin/Configuration.
    4. I have checked this property by placing <?xdoxslt:getXDOProperties($_XDOCTX)? in my rtf file and HTTPSERVER property is showing same as that of static.
    5. Now when i place <?import:http://{$HTTPSERVER}/HeaderFooter.rtf?> in my rtf it is ending with an error.
    so can anyone please help me out in this regard?

    Hi User XY,
    you might want to ask this in the [url http://forums.oracle.com/forums/forum.jspa?forumID=245]BI Publisher Forum
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • How to put an xml element in the header field?

    Hello friends,
    My requirement is like I've a particular element that needs to be printed on the header filed
    for ex --dept_no and dept_name in the header field...please let me know how..
    Thanks

    For each occurrence of DEPT_GROUP, a new section is created.
    These sections can have different header/footer.
    In case, you want different values to be displayed in header/footer section(as your requirement) or you want the page numbers to be reset for each group, you can use this command.
    Check the user guide http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e12187/T421739T481157.htm#4535398

  • RTF template design issue for header and body section

    Hi All,
    I have a RTF template having header and body sections.
    in header section i have order number, customer number etc.
    in body part i am displaying details for the respective order.
    But the problem is in header part my query is returning multiple row , so my requirement is for each row i.e order, i need to display the details accordingly.
    Ex: Header query returns order number : 1,2,3
    in my page i need below way:
    Order number :1
    a,b,c
    order number :2
    c,d,e
    order number :3
    g,h,g
    I tried to use loop in header section , but it is repeating only for header part not body part please help me on this.
    Thanks
    Deb

    Avinash thanks for your help,
    Actually in my requirement the header level and line level invoice numbers are different, in header level i have different invoices and for each invoice i need to display some other invoices along with some data.
    I have sent you the respective RTF file and Sample XML file to your mail, could you please help me on this, i am struggling whole day on this.
    the link between the header and line section is header_id.
    Thanks in advance
    Deb

  • NEW VERSION has a serious problem with the recepient fields

    TO
    CC
    BCC
    old version I could paste from excel a list of email addresses into the TO field and it would work perfectly even if:
    they had a "," (comma) at the end of each email
    or if
    they had a line break (one empty row)
    TB would just recognize them as valid - for example:
    "[email protected],
    [email protected]
    [email protected]"
    would be treated as
    [email protected]
    [email protected]
    [email protected]
    ~~~~~~~~~~~~ NEW VERSION BUG:
    it chokes at both the comma and the empty line -- it sends the message but puts a comma as
    ",[email protected]"
    when sending the [email protected] line for example.
    PLEASE FIX THIS PROBLEM.
    THANK YOU
    Also I find the graying of the header section when not active to be annoying BECAUSE IT MAKES IT HARD TO READ (BLACK ON GRAY HAS NO CONTRAST) -- WHY MAKE IT SO FANCY AND BAD? TB IS GREAT ALREADY
    THANK YOU

    Hi Toad - thanks for the note. I saw that you were able to recreate it -- your first reply talking about importing addresses .csv etc. is all fine but the way I have used TB for years is as follows. I run several mailing lists etc.
    for example
    I go to excel
    and I copy let's say a 100 rows (1 column) that contain either
    ~~~~~~~~~~~~~~~~~~~~~~
    [email protected]
    [email protected], [email protected]
    [email protected],
    <BLANK cell anywhere>
    ~~~~~~~~~~~~~~~~~~~~~~
    THEN I go to TB - put curser in BCC field (change TO to BCC) - and hit paste.
    It pastes it as one line.
    THEN I press RETURN
    and it separates it to multiple BCC lines.
    This has always worked.
    The new version chokes at this
    AT THE BLANK LINE
    AT THE COMMA
    ETC.....
    Thanks for reporting it b/c it's a very important bug.
    ''Toad-Hall [[#answer-670828|said]]''
    <blockquote>
    I've just tested this on my system.
    Test one:
    Copy pasted two email addresses from a column in an excel sheet.
    One was above the other - no blank rows.
    Pasted as two email addresses separated by a comma.
    Sent and received ok, so the commas did not cause an issue.
    Test two:
    Created a blank line/row in excel sheet between the two email addresses, then copy pasted the two plus the blank line.
    In TO field this was shown as: email address followed by two commas then last email address.
    When sent this caused the second email address to become invalid. After fist comma, it added double quotes followd by a comma (where the blank line was positioned) then added another double quote just before the @ in the second email address. this made the second email address invalid.
    So it is definately not working with blank lines.
    First email received ok, second email returned a Mail Delivery Service Delivery Status Notification - Recipient address rejected: User unknown in virtual mailbox table.
    However, if you imported the .csv file as an address book, you could use it within Thunderbird. If wanting to send one email to several people, then create Mailing Lists. This does not fix your scenario, but it will resolve the issue of sending one email to a group of valid email addresses.
    Info on Mailing lists.
    * https://support.mozilla.org/en-US/kb/how-create-and-use-mailing-lists
    </blockquote>

  • How to view "From" header field in OUTgoing messages in Mail? Frustrating.

    In Mail v.4.3 (in OSX 10.6.4), I need to view the "From" field in my outgoing messages as I am composing them. However, there seems to be no setting in Mail which allow this.
    I find this very frustrating because in Eudora (which I used to use), the "From" field in outgoing messages is visible by default. But in Mail, not only is it not visible by default, there seems to be no way to make it visible.
    In the "Customize..." button to the left of the Subject field in outgoing messages, one has the option to add as default outgoing message fields "cc," "bcc," "Reply-To," and "Subject," but none of those are what I want. It allows one to also view the address of the mail server, but that also is not what I'm looking for. What I want is to see my outgoing +email address+. And nowhere is there an option in the Preferences to turn this on. (At least as far as I could tell.)
    In fact, the only way to see the identity in the outgoing "From" field is to go to Preferences, then click on Accounts, and look there; or send oneself a test email. Both of which are a hassle and should be unnecessary.
    In case you're curious as to why I want to see my outgoing "From" header field:
    I have several different "personas" online, each of which uses a different email address: My work address (with a work-related domain); my family/personal address (with a different email address than my work address); an online avatar I use in various gaming sites (also with its own address, since I don't want to use my personal name/address in the gaming community); and so on. However, I have all incoming emails to all accounts auto-forwarded to the same central email account. Most of the time I'm just replying to business emails, so my outgoing "Full Name" and "Email Address" (in Preferences>Accounts) are generally set to my business name and address; but on occasion when I want to reply to a non-business email and not have the recipient see my business email address, I go in to Preferences>Accounts and change "Full Name" and "Email Address" (i.e. what is displayed to the user) to something different. And when I'm done with that, I change it back to my business address.
    However, sometimes I forget if I've changed it back or not, or forget what I've changed it to. In Eudora, All one needed to one was create a new outgoing email and it would display the "From" field so I could instantly see my outgoing identity. But in Mail, there is no "From" field in outgoing emails, so I'm constantly nervous and wondering which outgoing identity I may have changed to and accidentally forgotten to change back from.
    (Yes, yes, I know that if a recipient wanted to be snoopy, they could look at the "full headers" of any incoming email and see the name of my email server, which may different from my displayed email address; but we're not talking about spy-stuff here, I'm just trying to not confuse people and keep business separate from personal.)
    So: is there any way for me to see the outgoing "From" field in the emails I send? Or am I condemned to constantly (and mostly unnecessarily) checking "Preferences>Accounts" to see what I have enetered there?

    Thanks for replying.
    What is the "compose window" to which you are both referring? I could find no reference to such a thing in the Mail menus or Help.
    Do you mean the "Composing" pane in the Preferences? I don't see what either one of you is referring to there, but I did notice there something that could function as an awkward workaround: If I click on the "Automatically CC myself" box in Preferences>Composing, then when I start a new email, my email address is displayed in the "CC" field -- and luckily, Mail allows me to then delete my email address out of the CC field, so I don't have to spam myself with duplicate copies of all my emails. This way, I can at least briefly see what email address I'm using, before I delete it from the CC field. Pretty awkward and unnecessarily laborious, however -- still not a perfect solution.
    Or, by "composing window," are you referring to an outgoing email? As I said in my original comment, I do see what Ernie called "a small box with lines and an arrow at the bottom left of the header box." This is what I had to say about it:
    +"In the "Customize..." button to the left of the Subject field in outgoing messages, one has the option to add as default outgoing message fields "cc," "bcc," "Reply-To," and "Subject," but none of those are what I want. It allows one to also view the address of the mail server, but that also is not what I'm looking for. What I want is to see my outgoing email address. And nowhere is there an option in the Preferences to turn this on. (At least as far as I could tell.)"+
    In other words, when Ernie says, "click the box beside From," I can't do that -- because there is no such option. That's the whole problem in the first place. If there was a "From" field beside which I could click a box to make it appear, I would have done so! But there is no "From" field in the "Customize" section of the "small box with lines and an arrow at the bottom left of the header box."
    I find it completely mystifying that both of you seem to be able to see a "From" field available to be added to the header of outgoing emails, yet no such option is available to me in Mail. What possibly could be causing this? 10.6.4 is freshly installed on my machine, and Mail seems brand new and uncorrupted. And I'm using Mail 4.3, the latest version.
    Are you saying that everyone else can see an option to have a "From" field in their outgoing messages, but I uniquely don't? Very very very strange.

  • I can no longer access Bejeweled Blitz through my facebook account.  I get the message that says, "your browser sent a request that this server could not understand. Size of a request header field exceeds server limit".  Help please.

    I can no longer access Bejeweled Blitz through facebook.  I get the message, "your browser sent a request that this server could not understand. Size of a request header field exceeds server limit". I can access Bejeweled through FB using my husband's log in so to me that suggests the problem is with my log in. Help please.

    Contact FB or use another browser. 

  • Cannot retrieve my e-mail "browser sent request server could not understand. Size of request header field exceeds server limit"

    Upgraded to Firefox 5.0.1 yesterday. No, after logging on to firefox, which takes me to my comcast page and when I try to get
    my e-mail I get this message "your browser sent a request this server could not understand. Size of request header field exceeds server limit" Then it says something about "cookies" I also tried to connect to other sites and get similar messages. Just to let you know I am not a guru, and 80 years old, but I did not have this problem with the previous version. Question, why are the headers repeated? Could that be the problem???

    This issue can be caused by corrupted cookies.
    Clear the cache and the cookies from sites (e.g. comcast) that cause problems.
    "Clear the Cache":
    * Firefox > Preferences > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Firefox > Preferences > Privacy > Cookies: "Show Cookies"

  • How do I copy/paste full numerical-only account strings into the Projects WebADI template when the account segment fields in the template require use of the dropdown because they're formatted as alpha-numeric values?

    How do I copy/paste full numerical-only account strings into the Projects WebADI template when the account segment fields in the template require use of the dropdown because they're formatted as alpha-numeric values? I'm using the Integrator named "Projects - Transaction Import" and a custom Layout created based on the seeded Layout named "Transaction Import - Accounted". Do I need to somehow change my Layout to make the Document accept numerical values instead of requiring alpha-numeric values? I need to be able to populate the Document with a large amount of transactions and cannot feasibly go through every transaction to add the alpha-valued name of the account segment to every segment that requires it. The segments in particular causing the problem are "Expnd Type" and "Organization Name" which are both alpha-numeric and as such contain the segment number and name; I need to be able to only have to enter the Natural Account Number (6-digit number only) and the Organization Number (5-digit number only).

    How do I copy/paste full numerical-only account strings into the Projects WebADI template when the account segment fields in the template require use of the dropdown because they're formatted as alpha-numeric values? I'm using the Integrator named "Projects - Transaction Import" and a custom Layout created based on the seeded Layout named "Transaction Import - Accounted". Do I need to somehow change my Layout to make the Document accept numerical values instead of requiring alpha-numeric values? I need to be able to populate the Document with a large amount of transactions and cannot feasibly go through every transaction to add the alpha-valued name of the account segment to every segment that requires it. The segments in particular causing the problem are "Expnd Type" and "Organization Name" which are both alpha-numeric and as such contain the segment number and name; I need to be able to only have to enter the Natural Account Number (6-digit number only) and the Organization Number (5-digit number only).

  • HTTP Header fields in SOAP adapter - Part 2

    Hi All,
    With regards to my previous thread HTTP Header fields in SOAP adapter
    my header issue is solved and hence I have closed the thread but still I am not able to make the connection successful. The new problem is below
    My vendor requirement is to specify the header as "Ent-sender" but when we give the same in XI in communication channel it automatically convets into uppercase "ENT-SENDER".  Due to case-sensitive in vendor server the connection is not gettingestablished.
    Please help me out how to solve the problem.
    <b>Note:</b> Sorry for the new thread as it was created due to new problem and also the previuos thread is already too long.
    Regards,
    Dhill

    Hi Neaves,
      Thank you, I jave seen the note and find the below solution will be some what realated to my prblem.
    <u><b>The nosoap mode lets the adapter send the XI payload directly without wrapping it in the SOAP envelope. Although the main use of this mode is to send some plain text content directly to some web server, one can use this mode to send their own SOAP message (e.g., with arbitrary headers) to an external web service (See related questions). In this case, the XI payload must be formatted in the SOAP envelope.
               To use the nosoap mode, the channel must be configured to use no SOAP envelope.</b></u>
    If yes, can you please let me know how to use nosoap mode otherise let me the other possibilities.  I am already using tcpg2.zip to trace the SOAP adapter in which it was confirmed that XI is changing the header automatically into CAPS whatever case we give,
    Regards,
    Dhill

Maybe you are looking for

  • Does anyone have any good information on Responsive Search for SharePoint 2013?

    I've been having troubles finding information for a responsive/intuitive search. Anyone have any ideas? Thanks a lot!

  • Iphoto Book -- client approval

    I'm designing an Iphoto book for a client and want to send them a versionto look over. I tried saving it as a PDF in Iphoto, but doing it that way loses the "book format" -- no drop shadows or outlines to show the book dimensions. It loses the effect

  • Trial Version vs Full Version?

    I've just downloaded and installed the trial version of Sun Java Studio Creator, on my laptop running Fedora 2, and I'm not finding it intuitive at all. For example, I was trying to build a test website and I spent a 1/2 hour trying to figure out how

  • What is (roughly) the implementation duration for Oracle weblogic portal an

    Dear All i need to knwo r(oughly) how long does it take to implement oracle weblogic portal (for exmpale 5-7 months or 1 year,etc) for an company that contains around 2700 employees, and how much will it cost (roughly). thanks in advance for any help

  • Crash when plug or unplug USB device

    I have a Mac Book Pro that I plug into a Raritan KVM switch and use to sync files between the laptop and my desktop machine. I've been doing this for years with no problems, until I installed the Leopard OS. Now either when I plug in the USB connecto