Fetching user name

Discussion in 'Tally Developer' started by kosi, Jan 11, 2019.

    
  1. kosi

    kosi Member


    ;;Dear Learned Programmers
    ;;please help me fetch the user name at the field level
    ;;i want to see the person who has log in to tally at the field level
    ;;im trying to retrieve the name of the person who has log in to tally onto the sales order print template

    [#Form: Sales Order Color]

    ;;Background :Red;; @@SV_SALESORDERVOUCHER
    Delete: Print : Printed Invoice
    Add:print:Qoutation Print
    ;; Print After Save: @@PrintAfterSave
    ;;Delete : Key : SVAcctsInvoice

    [Report:Qoutation Print]
    Form:Qoutation Print
    Object:Voucher

    [Form:Qoutation Print]
    Part:Qoutation Print

    [Part:Qoutation Print]
    Line:Qoutation Print


    [Line:Qoutation Print]
    Field:Name field
    Local:Field:Name Field:Set as:""

    Thanks
    Regards
    Philip
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    $$CmpUserName
     


  3. Salman

    Salman Member


    Try this code


    [#Form: Sales Order Color]

    ;;Background :Red;; @@SV_SALESORDERVOUCHER
    Delete: Print : Printed Invoice
    Add:print:Qoutation Print
    ;; Print After Save: @@PrintAfterSave
    ;;Delete : Key : SVAcctsInvoice

    [Report:Qoutation Print]
    Form:Qoutation Print
    Object:Voucher

    [Form:Qoutation Print]
    Part:Qoutation Print

    [Part:Qoutation Print]
    Line:Qoutation Print


    [Line:Qoutation Print]
    Field:Name field
    Local:Field:Name Field:Set as:$$Cmpusername
     


  4. kosi

    kosi Member


    Thanks
    Working fine
     
    Salman likes this.


Share This Page