PLD Freight in Repetative Area

Hi Experts,
I have 20 items in A/R Invoice, and have 1 Freight amount say at 1500/-
I am trying to give detail in the A/R Invoice PLD, for this I added one more Repetative Area, but the Freigt details are appearing 21 times (as many times the number of items there are in the invoice).
How can I make the detail appear only once in the another repetative area.
Is there any way to group the freight field, and prevent it from appearing more than 1 number of times
Regards,
Murtaza R.E.

Hi,
Could you please try out the following:
1. Create UDFs on Marketing Document header level - number of UDF
   depending on the max number of Additional Expenses from the OEXD
2. Use query like below for UDF1:
   SELECT T2.EXPNSNAME + ' ' + STR(T1.LINETOTAL) + ' ' +
          STR(T1.VATSUM) + ' ' + STR(T1.VATPRCNT)
          + ' ' + STR(T1.LINEVAT)
   FROM   OINV T0
     INNER JOIN INV3 T1
       ON T0.DOCENTRY = T1.DOCENTRY
     INNER JOIN OEXD T2
       ON T1.EXPNSCODE = T2.EXPNSCODE
   WHERE  T0.DOCNUM = $[OINV.DocNum]
     AND T1.LINENUM = 0
   Use query like below for UDF2:
   SELECT T2.EXPNSNAME + ' ' + STR(T1.LINETOTAL) + ' ' +
          STR(T1.VATSUM) + ' ' + STR(T1.VATPRCNT)
          + ' ' + STR(T1.LINEVAT)
   FROM   OINV T0
     INNER JOIN INV3 T1
       ON T0.DOCENTRY = T1.DOCENTRY
     INNER JOIN OEXD T2
       ON T1.EXPNSCODE = T2.EXPNSCODE
   WHERE  T0.DOCNUM = $[OINV.DocNum]
     AND T1.LINENUM = 1
and so on.
3. Add the UDF to the Layout.
NOTE: The line number is important as there can be more than
one additional expense for the same Document Number;
Note that the query draws the details of one single record per
from the Add Expenses Table. You can make the amendments in the
query as required by either removing or adding more fields;
like increase space between the fields etc
Hope this will help.
Regards,
Gagan Thareja
SAP Business One Forums Team

Similar Messages

  • Add NEW REPETATIVE AREA

    hI
    i have made one PLD.
    Two repetative area, one for parameter listing , one for query data , are used in that pld.
    When i tried to add one more Repetative area, i have seen that Add icons or menuprompt for  Repetative area , is deactive.
    So i cann;'t add repetative area in PLD.
    Please help me
    on this matter.
    Kunal

    Hi Dhanalakshmi 
    Thanks
    i had worked on QUERY PLD.
    Yes, we cann't add  more then existing two default repetative area
    So for summary report, i will have to make new another QPLD  with Same Query.
    This is Greatest Limitation of QPLD.
    Thanks for valuable information.
    Regds
    Kishore

  • Display the Repetative area in Incoming and Outgoing payments

    Hi Experts,
    Can any one help me how to Display the Repetative area Header,Repetative area and Repetative area Footer in the
    Incoming and Outgoing payments....
    Urgent .... Pls...
    Karthi

    Hi Sumpath,
    Then how can i get printout for posted Incoming payments with Row Level data.
    Per day 10 Numbers of Payments are made, For that i need to take printout daily with row details...
    By default SAP Print out also not executing row level datas, i dont why or any other procedure to enable row level datas..
    karthi

  • PLD - duplicating repetative area data

    I have a requirement to print each line on a delivery note multiple times depending on the line quanity (e.g. if the line quanity is 2 it will be printed twice, if it is 25 it will be printed 25 times, etc). Can this be done using PLD?

    Hello ...
    I doubt that through the PLD may be possible, the truth is that the only way to print more lines across the table is another different table (2 tables that are not related)
    But no way to establish some control over this.
    Best regards,

  • To fix the size fixed in repetative area

    hi
    friends i want to fix the size for repetitive area whether the row level item is one or 10 it should be fixed can any one help me regarding this issue

    Hi,
    Please refer below link for complete information:
    http://www.pioneerb1.com/wp-content/uploads/2012/04/HowTo_PrintLayouts_PLD_88.pdf
    Thanks & Regards,
    Nagarajan

  • After 10 lines in repetative area i want under line

    plz tell me

    Hi Uday
    This will be tricky but I will give you enough to get started with and the rest you will have to do by yourself. Your scenario is that every 10th line must be underlined. To do this you will need 2 text fields with borders on Low set to 1. Next you will need a few formula fields to calculate off the row number. Then a formula using Substring2 to get the last digit (to the right) and check if it is a zero. I am assuming that there will be less than 1000 rows in the report.
    Field_1 = LineNum() - will tell us the line count for each row.
    Field_2 = ToString(Field_1) - this will convert the number to string.
    Field_3 = Length(Field_2) - How many digits, will ignore 1 as it is less than 10.
    Field_4 = Field_3 = 2 - Where there are 2 digits, ie less than 100.
    Field_5 = Field_3 = 3 - Where there are 3 digits, ie between 100 an d 1000.
    Field_6 = SubString(Field_2, 1) - Will return last digit of string. where number is 2 digits. Link this to Field_5 to calculate when the Line Number is 2 digits.
    Field_7 = SubString(Field_2, 2) - Will return last digit of string where number is 3 digits. Link this to Field_6 to calculate when the Line Number is 3 digits.
    Field_8 = Field_6==0 - Will return a 0 or 1 for True or False if the return is a zero.
    Field_9 = Field_7==0 - Will return a 0 or 1 for True or False if the return is a zero.
    Field_10 = Text Box with line at bottom - will be used for underline for 2 digits. Set a link to Field_8.
    Field_11 = Text Box with line at bottom - will be used for underline for 3 digits. Set a link to Field_9.
    The Field numbers above are just for illustrative purposes, but will change using the next available number on your layout file. I have only done partial testing on this, but in theory it should work. Let me know how it goes.
    Kind regards
    Peter Juby

  • In repetative area after 12 lines i want  uderline and next 24,36,48......

    i want  uderline and next 24,36,48......
    or
    *last line of the page* .under line will be apper
    plz tell me experts

    Do you want to display only 12 line only in a page ?
    If so then mark margin in End of report - Top margin in PLD.
    Also set number of lines to 12 in print preferences settings.
    Also ensure PLD paper format & printer paper format should be same.
    Jeyakanthan

  • IN REPETATIVE AREA ATTER 9 RECORDS, LOWER BORDER  FOR 10 RECORD NOT FOR ALL

    LOWER BORDER  FOR 10 RECORD NOT FOR ALL RECORDS  (remaining 9 records)
    please clarify as much as possible

    hi Uday
    you have to tell the subject shart & sweet and give the message according to the subject elaborate and clearly.
    then which area do you want to see ?
    regards

  • PLD Layouts - Identifying which are default for specified users

    Hi Experts,
    We have around 30 invoice layouts - we are in the process of deleting the older obsolete layouts.
    However, some them are set as default layouts for specifc users.  I was hoping to write a query to identify layouts and which users have them set as default.
    The layout header table is RDOC.  Which tables contain the list of users assigned to each layout?
    Thanks
    Greig

    The table where this information is stored is RDFL
    SELECT DoumntDode, UserId, DfltReport, CardCode
    FROM [dbo].[RDFL]
    Sample data
    DoumntDode      UserId       DfltReport   CardCode
    JDT7              12           JDT70003        -1
    RDR1              -1           RDR10003        C20000
    DoumntDode = RDOC.DocCode
    UserId = OUSR.UserId..........................-1 indicates all users
    similarly if CardCode has -1 then specific users all BP's
    Suda

  • Freight in PLD

    Hello Experts,
    I have a situation like below. Any suggestion highly appreciated
    in an AR invoice, there are, say, two kind of freights namely...
    1. A
    2. B
    Now if i give value to two of this charges, (A = 1000, B= 500), i need to show accordingly in PLD report.
    But in INV3 - >Line total , there is only one value showing  (A = 1000)
    Which table should i refer to for this? Thanks in advance
    Regards,
    Sarkar R

    Hi Rupa,
    1.Create a new repetitive area.
    2.Add linetotal of Freight in Repetitive area
    Hope this helps.
    Regards,
    Bala

  • Tax Breakup in PLD

    Dear All,
    I require the following tax breakup in PLD
    Ex:
    Total................................................303743.40.......A
    Packing charges.................................2316............B
    Excise [email protected]%..............................30606..........C=(AB)10%
    [email protected]%..........................................612............D=C*2%
    [email protected]%..........................................306.............E=C*1%
    Transportation charges(Freight).............3937.............F
    [email protected]%.......................................10655.............G=((ABCDEF)(ABCDE+F)0.04)3%
    Octroi service [email protected]%...................107.............H=G*1%
    [email protected]4...............................................14091...........I= (ABCDEFG+H)*4%
    In PLD this is structure which client is expecting for A/R Invoice since this is mandatory for his business practice.
    We have created 2 set of tax code for octroi, octroi service charges, vat which are apllicable at line item and freight charges ie transportation charges.
    In PLD, Till Hcess it is coming fine but tax after transportation are coming twice since we are applying
    octroi_1, octroi service charges_1,VAT_1 at line item and octroi_2, octroi service charges_2 and VAT_2  at freight.
    In PLD it shows
    octroi_1
    octroi service charges_1
    VAT_1
    octroi_2
    octroi service charges_2
    VAT_2
    Instead we want it to as shown in above example.
    Any solution will be highly appreciable..........
    swapnil

    Hi,
    Pls check the link.
    How to convet Amount To Words in PLD
    Also,
    may be the following will help u as u can placed the tax on the position u want.
    If tou want the tax break up , for that you have to mke the formula using the ostt and por4(purchase) and inv4 for invoice pld. table .
    Every taxcode has a unique nota fiscal id .Use that in ur PLD .
    Ex:
    First inser a repetitive area.
    Suppose Hcess id is 90 in ostt.
    1. Make a text field in repetive area and give 90 to it .
    2. make a db field and fetch nota id from ostt.
    3. make a formula field and Compare text field and db field .
    4. link the test field and db field with formula field .
    5. make a db field and fetch taxamount from por4.
    6. link this filed also to formula field
    7 . make a new formula field and multiple the amount field and previous formula field .
    8. make a new formula field in repetitive area footer and do copulmn sum of last formula field which have the result of multiplication.
    Same u have to repeat for taxrate .
    However u should go for Crystal report for such type of requirement .
    Rgds,
    Premraj

  • User defined field insertion problem in Stock Taking Report (PLD)

    We are creating one PLD for one of our customer for Stock Taking Report by modifying the existing sytem report. We will insert two user defined fields (Rack & Bin) from OITW table and link these with the warehouse code field which is at report header as there are different warehouse for the item and material is kept in different rank and bin in different warehouse. But after inserting these fields we found that repetative area becomes blank in the report.
    So please let us know how to overcome this problem.
    Thanks & with regards.
    Aloke
    Edited by: ALOKE BANDYOPADHYAY on Sep 4, 2010 4:42 PM

    Hi Aloke,
    This PLD is one of the hard coded PLD. You are not able to add UDF freely. I believe you may only add UDF from OITM table. Try you own report instead.
    Thanks,
    Gordon

  • Tax Combinatiom. Tax rate, tax Amount in the PLD of sales Invoice

    Hello guys,
    This i seached in previous forum and got partial result
    Plz help me ragrding this
    for my query plz scroll down
    To accomplish this, you will have to create a new repetitive area (Repetitive Area1)and create the following 7 hidden fields in this new Repetitive Area1:
    Field_1 > Type = Text > Value = 1 {VAT. For BED, value = -90} (you can find this value from OSTT table, numerator field)
    Field_2 > Type = DB > Table = Sales Tax Authorities; Column = Numerator
    Field_3 > Type = Formula > Value = Field_1==Field_2 (from step 1 & 2)
    Field_4 > Type = DB > Table = AR Invoice Tax Amt Per Doc; Column = Tax Rate {this is required to display the tax rate in the document footer. For Eg. 4% for [email protected]%. If you just want to display the tax amount, do not create this field} - Link this to Field_3
    Field_5 > Type = DB > Table = AR Invoice Tax Amt Per Doc; Column = Tax Amount - Link this to Field_3
    Field_6 > Type = Formula > Value = Field_3*Field_4
    Field_7 > Type = Formula > Value = Field_3*Field_5
    Now in Repetitive Area Footer1 (i.e. the footer of the new repetitive area), create the following fields (visible):
    To display the Tax Rate: Field_8 > Type = Formula > Value = ColSum(Field_6)
    To display the Tax Amount: Field_9 > Type = Formula > Value = ColSum(Field_7)
    NOTE: You cannot display the tax name with this method. So to do that, you will have to create a Text field with the tax name in the repetitive area footer1, link it to Field_8 and then next to it, create Field_8 & Field_9 to display the relevant values
    I did exaclty the same way and i am getting result too
    But it is working for only 1 item , for 2nd the result is getting added up 4 times
    ex : for item1 10000 base value
    excise at 8% = 800
    when i select 2nd item total value becomes suppose 20,000
    excise at 8% becomes =3200
    which sholud be 1600
    Plz suggest
    i am in serious trouble

    Hi Manish,
    you have to mke the formula using the ostt and inv4 for invoice pld. table .
    Every taxcode has a unique nota fiscal id .Use that in ur PLD .
    Ex:
    First insert a repetitive area.
    Suppose Hcess id is 70 in ostt.
    1. Make a text field in repetive area and give 70 to it .
    2. make a db field and fetch nota id from ostt.
    3. make a formula field and Compare text field and db field .
    4. link the text field and db field with formula field .
    5. make a db field and fetch taxamount from inv4.
    6. link this filed also to formula field
    7 . make a new formula field and multiple the amount field and previous formula field .
    8. make a new formula field in repetitive area footer and do copulmn sum of last formula field which have the result of multiplication. This is what we have done. Hope it helps.
    Thanks,
    Joseph

  • Plz Help in PLD

    I Have designned a simple report in PLD which consist of two fields. The Customer Name and the Dates on which he is delivered goods. The Query base PLD By default shows the Report like:
    Customer       Delivery Date
    Crest              01/05/2007
    Crest              05/08/2007
    Crest              06/09/2007
    What I want is that I want to show the name of the Customer only once (possibly somewhere in header and in repetative area only Delivery Dates would be shown). i.e. the report should be like:
    Customer : Crest
    Delivery Dates:
    01/05/2007
    05/08/2007
    06/09/2007
    How Can I do this plz help someone.....

    Hi
    Highlight the repetitive area. Print Layout Designer>Repetitive Area>Sort. Sort on Cust Code, tick Summary.
    Print Layout Designer>Group>Group1. Now add a formula field in Repetitive Area -
    SortValue().
    Now your report will group on the Customer code (displayed in Repetitive Area (Header). Make the Customer Code field in Repetitive Area not visible)
    Daan

  • Query Pld Output

    Hello Experts,
    I have done a query pld in which item code , description, is repeating. How to restrict this?
    My Current out put is
    Itemcode    Item Desc      Qty   Rate       Batch No.  Batch Qty
    001            ABC                 10  15000          01           05
    001            ABC                 10  15000          02           03
    001            ABC                 10  15000          03           02
    My desired out put should be
    Itemcode    Item Desc      Qty   Rate       Batch No.  Batch Qty
    001            ABC               10   15000          01           05
                                                                    02           03
                                                                    03           02

    Hi Consultant
    For this no need to Create Crystal Report, It can be possible through Group by and Sort by in PLD.
    For Using Sort By
    Click on the repetative area in field index
    Go to Printlayout designer on menu bar - repetative area - sort
    It will open another window sort
    1.In the field name give item no.  and second Item Name
    2.sort type alpha numeric
    3.Check summary and uncheck new page
    All the items with item code 001 will come in series.
    Now we have to use group by
    For Using Group By
    Place Two formula fields in repetative area Above
    001 ABC 10 15000 01 05
    Put SortValue() for first
    and also Sort Value for Second also.
    Select two fields then go to Print Layout designer group.  Select group 1 over there
    Then the out put will be as
    001 ABC
    001 ABC 10 15000 01 05
    001 ABC 10 15000 02 03
    001 ABC 10 15000 03 02
    Hide the field ItemCode and Name.
    We can have
    001 ABC
                 10 15000 01 05
                 10 15000 02 03
                 10 15000 03 02
    Thanks & Regards
    Siva Reddy

Maybe you are looking for

  • Align Right

    Hi, I'am downloading a idox to a txt file with gui_download. And i'm cutting the blank spaces between the fields.but in one ofe the fiels i want that the field appers with all is lenght and with teh value of 0 align to the right. i have used one invi

  • How do i transfer video from my iphone 3gs with ios5 to my mac?

    I've recently shot to videos that are to big to email. How do I import the video or isn't it possible? I've tried with itunes, imovie, iphoto and image capture, but my phone only shows up as a device in itunes. Anybody got any ideas?

  • Bank Reconciliation Reports

    When processing a manual bank reconcilation are there any reports that can be produced to give a hard copy of the reconciliation available? thanks

  • Need a function Module to retrive the weekly absence data from PNP logical

    hi all, i have generated a report for absence data according to my report when u enter the start date and end date and absence type it will give u the list of employees and starting date and end date and absence hours. But my client wants the report

  • Word document disappear after saving

    I was working on a wrod document and after i saved the document i went to close it. After closing the document i went to submit it via email and the paper is nowhere on my computer. My recent files says i was not on word for the last 2 days! Can i fi