Item Description

Discussion in 'Requests' started by Sreejith, Jul 4, 2021.

    
  1. Sreejith

    Sreejith New Member


    In the Item user description, while printing I don't want to print the first line. Can anyone help with this?

    Sample
    Line a
    Line b
    Line c
    Line d

    In the print in the explode part I want to print like this

    Line b
    Line c
    Line d
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Where is your code??? have you made one?
     


  3. Sreejith

    Sreejith New Member


    Hi,

    Please find my code.

    [Part: SDINVBodyExp1]

    Line : SDINVBodyExp1
    Repeat : SDINVBodyExp1 : BasicUserDescription

    [Line: SDINVBodyExp1]

    Field : SDINVSlNo,SDINVParticular

    Local: Field: Default : Style : SDStyle1
    Local: Field: SDINVSlNo : Set as: ""
    Local: Field: SDINVParticular : Set as: If $$Line = 1 Then "" else $BasicUserDescription

    In the explode part I have given like this. In this case, the first line is not printing but the line is coming as blank. I want to remove that blank line.
     


  4. Sreejith

    Sreejith New Member


    Anyone can help on this issue.
     


  5. Himanshu-2002

    Himanshu-2002 Active Member


    Add this in Line Level

    Remove If: $$Line=1
     


  6. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Will not work.........cuz basicuserdescription is a aggregate UDF...........removing one line will remove all............

    Can be achieved through FUNCTION........... walk through the collection basicuserdescription......... make a index, cycle through ... remove Line=1 nd retain the balance and return the value............ and call for this Function in your Field.
     


Share This Page