UDF value is not print in Simple invoice format

Discussion in 'Tally Developer' started by surendra19, Nov 7, 2019.

    
  1. surendra19

    surendra19 Member


    Dear Experts,

    I have added a udf in default sale invoice. When I print invoice by select the printing option as "Print in Simple Format : Yes" then udf value is not print, but when select the printing option as "Print in Simple Format : No", then udf value is printed properly. My tried code as given below.

    [#Part: EXPINV OpPageBreak]
    Add: Part: before: EXPINV Column : EXPINV BrokerName

    [Part: EXPINV BrokerName]
    Line: brokernm
    Border: thin box
    Space Bottom: 0.20

    [Line: brokernm]
    Field: Simple Prompt, brokernm
    Local: Field: Simple Prompt : Info : $$LocaleString:"Broker Name :"

    [Field: brokernm]
    Use: Name field
    Set as:$BrokerNm

    Requested to please suggest me why it is not printed in simple invoice format.

    Thanks in advance
     


  2. gangstar

    gangstar Member


    [#Part: EXPINV OpPageBreak] delete this part Sir
    [#Part: EXPSMP Column]
     


  3. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Find [Form: Printed Invoice] in the TDE.....
    Look there and you will find a option "Simple Printed Invoice"

    Do your coding of new field there also.
     


  4. gangstar

    gangstar Member


    /*[#Field: EXPSMP TermsCol]
    Set as:$$LocaleString:"Broker Name";"Payment Terms"*/

    [#Part:EXPSMP Terms]
    Add:Lines:Before:EXPSMP TermsColumn:EXPSMP BROKER1,EXPSMP BROKER2

    [Line:EXPSMP BROKER1]
    Fields:EXPSMP BROKER1
    Option:GST EXPSMP TermsColumn:mad:@IsGSTOnAppl AND @@IsGSTTaxAnalysisWithItems

    [Field:EXPSMP BROKER1]
    Full Width:Yes
    Set as:$$LocaleString:"Broker Name: "
    Style:NORMAL BOLD
    Pre Printed:Yes

    [Line:EXPSMP BROKER2]
    Field:EXPSMP BROKER2
    Option:GST Print ItemTaxDetailsStyleTiny:mad:@IsGSTOnAppl AND @@IsGSTTaxAnalysisWithItems

    [Field:EXPSMP BROKER2]
    Full Width:Yes
    Set as:$BasicDueDateOfPymt ;;;DEMO FIELD NAME SIR
     


Share This Page