Strike Through in ADOBE appears in the subsequent line items

Hello ADOBE Forms creators;
I am using the functionality of Strike through(line through) in my PO line items if the line item is deleted. However, in the following line item which is not marked as deleted if some of the fields have the same value as the deleted item, for example: if the quantity in the previous line(the deleted line item) is 5 and in the current line is also 5, this quantity in the current line item which is not marked as deleted gets the strikethrough as well. But if the value is not the same it will not get the strike through.
Can anyone put some light into this issue. The points will awarded to the correct answer(s).
Thanks,
Cyrus

What you are seeing is exactly as you described....ie. when the fields match in value, it applies to all. This has do to how you are navigating your DOM there in your Javascript. You are not making use of any indexing....just simply saying "any of my field values for quantity, apply this style". You are "referencing by name" to your fields.
You have:
this.parent.items.QUANTITY.blah.blah
when it should look something like (forgive me but off top of my head....look/search for correct syntax)....
this.parent.list.items[index].QUANTITY.blah.blah
basically you need to find the index of your "QUANTITY" children (and other like named fields). They are all "named" the same, so they will have some kind of index to resolved them correctly. It might be an index after "QUANTITY". I am guessing you will look at the index for IND_TXT and then find all other fields with that same index (ie. same row?).
Hope this helps.

Similar Messages

  • Final total cannot appear when the last line item reached the page end

    Hi All,
    My report included 2 pages. Problem is the final total cannot appear when the last line item reached the page end. (page 2)
    final total will appear on the middle of last page (page 3) when i comment (type    = 'BOTTOM').
    Below is the program.
      CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          device   = 'PRINTER'
          dialog   = 'X'
          form     = 'ZBOTM_VOUCHER'
          language = sy-langu.
      sort itab by vblnr.
      LOOP AT itab INTO wa_itab.
        move wa_itab-vblnr to reguh-vblnr.
        move wa_itab-lifnr to reguh-lifnr.
        move wa_itab-rbetr to reguh-rbetr.
        reguh-rbetr = reguh-rbetr * -1.
        CALL FUNCTION 'WRITE_FORM'
          EXPORTING
            window  = 'MAIN'
            element = 'DETAIL'.
        t_rbetr = reguh-rbetr + t_rbetr.
        AT LAST.
          CALL FUNCTION 'WRITE_FORM'
            EXPORTING
              window = 'LINE'.
          CALL FUNCTION 'WRITE_FORM'
            EXPORTING
              element = 'TOTAL'.
              type    = 'BOTTOM'
              WINDOW  = 'MAIN'.
        ENDAT.
    Thanks.

    Hi,
    Where should I include the code for bottom?
    How to open text editor?
    Thanks.
    Edited by: Alice8 on Feb 7, 2011 9:09 AM

  • Asset No. of the scrapped asset not appearing in the GL Line item display

    Hi Friends,
    As a part of the year end process the users have written of some of the assets thru T Code "ABAVN" - Asset Scrapping without revenue. The losses arising were posted to the particular GL Account as was defined in the config. However, when viewing the GL line item display we are not able to see the Asset No. against each of the line representing the loss arising from the scrapping of the asset. We tried changing the layout but still the asset no. does not get populated in the Asset column. Would need the help of freinds as to how can we change the settings so that against line item in GL we are able to see the Asset No. as well.
    Thanks!
    Regards,

    Haven't tried it before but perhaps you could try using asset no. sort keys in the 'retirement loss' gl account.
    Think the asset no. appears only on the asset cost and acc.depreciation line items ie. offsetting accounts don't have such.

  • Icons keep appearing overlying the menu line. This error remains even after a reinstall

    Adobe Acrobat 11 pro. Running under Windows 7. Continually failed to update and now the program appears corrupt and cannot be corrected even after a new installation. Acrobat icons appear over the top line menus so that it is impossible to close a file or the program. The program appears normal when you open it but the moment the mouse pointer passes over the top line icons appear where the pointer has passed.

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    iTunes for Windows: "Registry settings" warning when opening iTunes

  • Iterating through bseg line items and picking the vendor line item

    Hello,
    I am creating a report in which i want to show the list of vendors (with their WHT's). The output will be based on selection of a certain period(range). I guess i have to first iterate through BKPF and get those documents that lie in the given range, then i 'll have to iterate through the selected documents in BSEG and pick out the vendor line items (KOART = 'S'). Will i be using GET for this..
    Is this the right way? secondly, if yes, can sumone show me how to iterate through BKPF and BSEG and get vendor details.?
    Thanks..
    SHehryar

    Hey,
    Instead of selecting data from BKPF-BSEG you could use BKPF-BSIK-BSAK.
    BSIK and BSAK have the same details as BSEG and are use by SAP for reporting purposes.
    Similarly for customer the table are BSID, BSAD and for GL the tables are BSIS and BSAS.
    BSIK will have the open items and BSAK will have the cleared items.
    -Kiran

  • HT3783 I have created a distribution list of 22 names in my Contacts Folder.  When I try to send an e-mail using the alias, only 7 of the 22 names appear in the address line.  Why don't all the names appear?

    I have created a mail box with 22 names in it.  When I want to send an e-mail to this address and its recipients, only 7 of the 22 names appear in the address line of the e-mail.  Why won't the remaining 15 names and addresses appear in the address line?

    okay, this is actually a common problem.  from your main screen select the blackberry key (next to track ball)->options->security->general settings->include address book->no->reset phone->problem should be fixed!
    let me know if this works for you,
    Andrew
    Andrew Hager
    U.S. Cellular Corporation
    Smartphone Specialist

  • Several contacts have the same email address. How can I choose which contact name appears on the address line in Mail?

    Several contacts have the same email address. How can I choose which contact name appears on the address line in Mail?

    you can't really, but you might be able to filter them by message content into folders for each, or color them with tags

  • When sending an email my From: box says "undisclosed recipient" rather than my actual name...want my name to appear in the From: line

    When I compose and send an email my name and email address show on the screen. But when it is sent the "From:" changes to "undisclosed recipients". I have a screen print of what I am talking about...but don't see on this screen how to send it to you.
    Hopefully you can give advice to a new user of Thunderbird.
    Margaret

    Woops...found the problem. My address book had the name "undisclosed recipients" next to my email address. I edited that name to say "Margaret Parsons" and presto my name appears in the "From" line on my sent emails. Yeaa....problem solved, given enough time and poking around Thunderbird...sure love this email.
    Margaret

  • Unable to update profit center or plant code in the customer line item

    Hi,
    We require the profit center and plant code and division in FI
    documents (Posted through billing document or through direct FI entry)
    We are unable to input plant or profit center in the customer line item
    while using F-21 or any other FI transaction
    The plant and profit center is not appearing even in customer line item
    in RV document (From SD billing)
    We have made the Field status group as optional for the reconcilation
    accounts.
    Regards
    Sembian

    Hi
    Profit center / cost center are generally entered in revenue & expense line items (P&L items). Customer / vendor master and line items are balance sheet items which will not show profit / cost centers.
    Regards
    Neeraj

  • Sample Material in the 3rd Line item of the Sales Order

    Hi,
    We have configured the system in the sales order as follows.
    1. Commercial Material
    2. Bonus Material.(ie Free Material)
    Now, i want to add the 3rd line item in the sales order as Sample with different Material number. How go about this. kindly let me.
    Regards
    Ravi

    Hi there,
    Enter the material in the sales order & change the item catg manually in VA02.
    But free goods & sample materials are dealt differently..
    Freegoods is entered as TANN item catg along with nornam TAN item in standard order OR.
    But sample materials or free of charge items are processed through different order type FD for eg.
    Even thought the item catg proposed in FD is TANN,, the whole process will not have pricing as TANN items arenot relevant for pricing.
    Regards,
    Sivanand

  • Payment Term to appear compulsorily in all line items

    Hi All,
    There is a requirement from the client that payment term should appear compulsorily in all line
    items in FBL5N.
    To make the above possible one solution proposed is that to make payment term as a required
    entry in field status group of customer GL reconciliation account , and make payment term optional in Field status of  the following posting keys which is now suppressed
    05- Outgoing Payment
    07- Other Clearing
    15- Incoming payment
    17- Other clearing
    18- Payment Clearing
    Are there any drawback if we go ahead with the above configuration, or is there any better solution. Please get back immediately as its an urgent requirement.
    Regards
    Milind Nair

    hello,
    Isnt there anyone who can provide a solution.
    Regards
    Milind Nair

  • Particular sales order of the same line item hv created multiple production

    sir,
    I am having a problem in MD04. A particular sales order of the same line item hv created multiple production order.and continously planning is going on... I didn't get why it happens.
    Will u please suggest me what should i do in this case?
    Regards
    Meenu

    Hello sir,
    yes, ofcourse, for the finished material have the BOM with some semifinished productes which are to be produced .
    In co02 , we can go through the collective production order.
    One more thing is that, in the multiple production order date(scheduling date) shows in forward(future dates).
    For ex:09-05-2010.
    Regards
    Meenu

  • Only the last line item is shown in main window...

    Hello Experts,
    I created a custom form for the standard checque program RFFOUS_C. Now, in my MAIN window, I
    called a subroutine in a custom program which loops through the line items but the problem is
    only the last line item is being shown. I tried using CONTROL_FORM to create a new line
    but it does not work. Note that I did not customize RFFOUS_C since it is being used by
    multiple companies. Below is my code:
    SAPSCRIPT:
    510-C
    Begin of insertion DEVK940799 11/10/2008 DEL_HIDALGO
    DEFINE &LTYC_XBLNR& = ''
    DEFINE &LTYC_BLDAT& = ''
    DEFINE &LTYC_SGTXT& = ''
    DEFINE &LTYC_DMBTR& = ''
    PERFORM WRITE_LINE_ITEMS IN PROGRAM Z9999RFI_Z2574FFI_RA
    USING &REGUH-LAUFD&
    USING &REGUH-LAUFI&
    USING &REGUH-XVORL&
    USING &REGUH-ZBUKR&
    USING &REGUH-LIFNR&
    USING &REGUH-VBLNR&
    CHANGING &LTYC_XBLNR&
    CHANGING &LTYC_BLDAT&
    CHANGING &LTYC_SGTXT&
    CHANGING &LTYC_DMBTR&
    ENDPERFORM
    PROTECT
         &LTYC_XBLNR&     &LTYC_BLDAT&     &LTYC_SGTXT&     &LTYC_DMBTR&
    ENDPROTECT
    End of insertion DEVK940799 11/10/2008 DEL_HIDALGO
    PROGRAM:
    IF gt_regup[] IS NOT INITIAL.
        CALL FUNCTION 'OPEN_FORM'
           EXPORTING
    *         APPLICATION                       = 'TX'
    *         ARCHIVE_INDEX                     =
    *         ARCHIVE_PARAMS                    =
    *         DEVICE                            = 'PRINTER'
    *         DIALOG                            = 'X'
             form                              = lcc_z2574ffi_ra
    *         LANGUAGE                          = SY-LANGU
    *         OPTIONS                           =
    *         MAIL_SENDER                       =
    *         MAIL_RECIPIENT                    =
    *         MAIL_APPL_OBJECT                  =
    *         RAW_DATA_INTERFACE                = '*'
    *         SPONUMIV                          =
    *       IMPORTING
    *         LANGUAGE                          =
    *         NEW_ARCHIVE_PARAMS                =
    *         RESULT                            =
           EXCEPTIONS
             canceled                          = 1
             device                            = 2
             form                              = 3
             OPTIONS                           = 4
             unclosed                          = 5
             mail_options                      = 6
             archive_error                     = 7
             invalid_fax_number                = 8
             more_params_needed_in_batch       = 9
             spool_error                       = 10
             codepage                          = 11
             OTHERS                            = 12.
        IF sy-subrc <> 0.
    *        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        LOOP AT gt_regup INTO lw_regup.
          m_line_items 'LTYC_XBLNR' lw_regup-xblnr.
          m_line_items 'LTYC_BLDAT' lw_regup-bldat.
          m_line_items 'LTYC_SGTXT' lw_regup-sgtxt.
          m_line_items 'LTYC_DMBTR' lw_regup-dmbtr.
          DELETE ex_output WHERE value IS INITIAL.
          CALL FUNCTION 'WRITE_FORM'
           EXPORTING
             element                        = '510-C'
             function                       = 'APPEND'
    *         TYPE                           = 'BODY'
             window                         = 'MAIN'
    *       IMPORTING
    *         PENDING_LINES                  =
           EXCEPTIONS
             element                        = 1
             function                       = 2
             type                           = 3
             unopened                       = 4
             unstarted                      = 5
             window                         = 6
             bad_pageformat_for_print       = 7
             spool_error                    = 8
             codepage                       = 9
             OTHERS                         = 10.
          IF sy-subrc <> 0.
    *        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
          CALL FUNCTION 'CONTROL_FORM'
            EXPORTING
              command   = 'NEW-LINE'
            EXCEPTIONS
              unopened  = 1
              unstarted = 2
              OTHERS    = 3.
          IF sy-subrc <> 0.
    *        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
        ENDLOOP.
        CALL FUNCTION 'CLOSE_FORM'
    *       IMPORTING
    *         RESULT                         =
    *         RDI_RESULT                     =
    *       TABLES
    *         OTFDATA                        =
           EXCEPTIONS
             unopened                       = 1
             bad_pageformat_for_print       = 2
             send_error                     = 3
             spool_error                    = 4
             codepage                       = 5
             OTHERS                         = 6.
        IF sy-subrc <> 0.
    *        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ENDIF.

    Hi,
    Write the at last event in the program and check if it works
      At last.
           CALL FUNCTION 'CONTROL_FORM'
            EXPORTING
              command   = 'NEW-LINE'
            EXCEPTIONS
              unopened  = 1
              unstarted = 2
              OTHERS    = 3.
          IF sy-subrc  0.
           MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
    Regards,
    Sravanthi

  • We cannot see the segment in the vendor line item

    Hi,
    We have updated the Segment field as Optional in OB41 transaction for posting key equal to 21 and the same for the corresponding GL account. When we create a document in FB01 transaction with SA type for example, we can't see the segment field in the vendor line item.
    Could you tell me if we need to do something more to see the segment?
    Thanks in advance,
    SAP user

    Hi,
    whe we are  entering  the vendor line item we can enter the Fund and fund Center, our segment will be derived from the fund ( we have done it in a substitution, if the segment is empty we derive it from the fund) and in BSEG table we can see that the segment is filled correctly. But we cannot change it because this fields segment don't appear in the screen. We have reviewed the SAPMF05A 0332 Screen (screen that we can see when we are entering the vendor line item and we push in "More data" button) but the segment field don't appear.
    Thanks in advance,
    Sap Userr

  • Cumulative amount in the same line item for the same account

    Hi
    I have an account which appears more than once in the same accounting document.Can I cumulate the amount in the same line item.
    IF it's possible, please how can i do it.
    Thanks in advance

    Hi Maher,
    Assumption:
    You have an accounting document in which more than one line item is there with the different amount. All the other details of the line items are same.
    Solution:
    If you want to make it one line item, key the amounts as zero in other line items and add the value to a single line item.
    Warm regards,
    Murukan Arunachalam

Maybe you are looking for

  • My iPhone does not appear in itunes

    After downloading and updating the latest update, when connecting my iPhone to iTunes it is not showing in the source? I have reset my iPhone but still not showing. Can anybody help?

  • Best college laptop?

    Looking to buy laptop as a gift for incoming freshman engineering student in the fall.  Which MacBook Pro?  Screen Size?  HD size? Thanks

  • Import Excel into MS SQL

    I have an MS Excel document, not a csv, that I want to import into my MS SQL table. I'm using CF8. I can find articles on importing a csv, but it would be easier if I could import an Excel file directly. It's a very simple three column table with hea

  • Regarding mail

    how to send the pdf file as an attachment to some other mail...... give me sufficient examples........ fine solution reward with maximum points.........

  • How do you port forward on an airport express?

    So I am trying to port forward because of my minecraft server. I have made the server yet i am trying to port forward. I found my IPv4 and I put it in the DCHP reservations, I also added the MAC adress. Then I went to port settings and in every port