TDL Code for adding Initials in GRN

Discussion in 'Free Source Codes' started by Pradipta Kumar Bayee, Mar 25, 2021.

    

  1. Dear Experts,

    I need one help

    I need 4 initials i.e. Prepared By, Verified By, Inspected By and Approved By in Bottom of the Receipt Note.
    I created all the initials but want to segregate in 4 different boxes. I need your help in getting the segregated boxes with initials..

    Please help me.
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Put up your code, so we can guide you...............
     



  3. Here is the codes

    [#Line: EXPSMP Authourity]
    Add : Left Field : After : Short Name Field : PKInspectedBy
    Local : Field : Name Field : Width : 15% Page
    Local : Field : Short Name Field : Width : 15% Page
    Local : Field : Simple Field : Set as : $$LocaleString:"Approved By"
    Local : Field : simple field : Width : 15% Page


    [Field:pKInspectedBy]

    Use : Name Field
    Set as : $$LocaleString:"Inspected by"
    Style : Small
    Cells : @@ExcelCellColumn - 14 * ($$Quotient:mad:@ExcelCellColumn:8)
    Align : Left
    Width : 15% Page
    Invisible : ((@@IsSales Or @@IsCreditNote) And Not ##SASpaceForInitial) Or +
    ((@@IsPurchase Or @@IsDebitNote) And Not ##PUSpaceForInitial) Or +
    ((@@IsSalesOrder Or @@IsJobOrderIn) And Not ##SOSpaceForInitial) Or +
    ((@@IsPurcOrder Or @@IsJobOrderOut) And Not ##POSpaceForInitial) Or +
    (@@IsRcptNote And Not ##RNSpaceForInitial) Or (@@IsDelNote And Not ##DNSpaceForInitial) Or +
    ($IsMaterialIn And Not ##RNSpaceForInitial) Or ($IsMaterialOut And Not ##DNSpaceForInitial) OR +
    (@@RejInvoice AND NOT ##RJInOutSpaceForInitial)
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    You said...you have made all 4 required fields. Above shows only one.

    The code is proper, so what exactly is the issue ??? show screenshot snaps.
     



  5. Dear Sir,

    Please find attached the image where you see all the initials are in single box. I just want to create 4 different boxes for for each initials.
     

    Attached Files:



  6. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    The Bottom Signature PART comes from.......


    [Part: EXPSMP SignOff]
    Parts : EXPINV Declaration
    Right Parts : EXPSMP Signature
    Vertical : No

    So you can see..... There is Left and Right part.......and it is not vertical, hence both PARTS are divided in half page width.

    The Part....EXPSMP Signature ..... has the Line, where you are trying to add your field. So it will be allocated only on the RIGHT 50% of the page.

    However, if you want the full width, then you need to re-design the whole Part: EXPSMP SignOff.
     


  7. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Also, you can try with the DECLARATION off in the Print settings.
     



  8. Thank you, Sir. Let me try it. I will ping in case I need your help.
     


Share This Page